.brand-signature {
  gap: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.brand-name,
.brand-first,
.brand-last {
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.brand-name {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.98rem !important;
}

.brand-dot {
  display: none !important;
}

.brand-pulse {
  width: 1.72rem !important;
  height: 1.72rem !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 68% 26%, rgba(255, 122, 79, 0.34), transparent 40%),
    radial-gradient(circle at 24% 78%, rgba(54, 217, 139, 0.26), transparent 42%),
    linear-gradient(145deg, rgba(75, 140, 245, 0.24), rgba(12, 18, 30, 0.86)) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.10),
    0 0 20px rgba(75, 140, 245, 0.16),
    0 0 18px rgba(255, 122, 79, 0.08) !important;
}

.brand-pulse::before {
  content: none !important;
}

.brand-pulse::after {
  content: "" !important;
  position: absolute !important;
  inset: 0.45rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7aabff, #ff8a5b 55%, #36d98b) !important;
  opacity: 0.28 !important;
  box-shadow: 0 0 18px rgba(75, 140, 245, 0.30) !important;
  animation: brandOrbPulse 2.35s ease-in-out infinite !important;
}

.brand-pulse span {
  width: 0.46rem !important;
  height: 0.46rem !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 35% 28%, #fff 0 12%, #9ec0ff 28%, #ff8a5b 68%, #36d98b 100%) !important;
  box-shadow:
    0 0 12px rgba(122, 171, 255, 0.58),
    0 0 18px rgba(255, 122, 79, 0.22) !important;
  animation: brandDotPulseClean 2.35s ease-in-out infinite !important;
}

#contact-form .form-field {
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(9, 13, 22, 0.70);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  line-height: 1.45;
  padding: 0.95rem 1rem;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#contact-form textarea.form-field {
  min-height: 9.5rem;
  resize: vertical;
}

#contact-form .form-field::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

#contact-form .form-field:focus {
  border-color: rgba(var(--accent-rgb), 0.58) !important;
  background: rgba(10, 16, 27, 0.86);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14) !important;
}

.newsletter-submit {
  flex: 0 0 auto !important;
  min-inline-size: 10.25rem !important;
  padding-inline: 1.55rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 639px) {
  .newsletter-submit {
    width: 100% !important;
    min-inline-size: 0 !important;
    padding-inline: 1.35rem !important;
  }
}

@keyframes brandOrbPulse {
  0%, 100% {
    transform: scale(0.78);
    opacity: 0.24;
  }
  50% {
    transform: scale(1.55);
    opacity: 0.48;
  }
}

@keyframes brandDotPulseClean {
  0%, 100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.18);
  }
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 122, 79, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  color: #fff;
  border-color: rgba(122, 171, 255, 0.36);
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 122, 79, 0.18), transparent 44%),
    rgba(122, 171, 255, 0.11);
  transform: translateY(-1px);
}

.theme-icon {
  grid-area: 1 / 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0.72) rotate(-8deg);
}

html[data-theme="light"] {
  color-scheme: light;
  --accent: #2f6feb !important;
  --accent-hover: #1f5fd2 !important;
  --accent-rgb: 47, 111, 235 !important;
  --accent-dim: rgba(47, 111, 235, 0.11) !important;
  --accent-glow: rgba(47, 111, 235, 0.18) !important;
  --accent-shadow: rgba(47, 111, 235, 0.18) !important;
  --bg-dark: #f5f8fc !important;
  --bg-dark-2: #eef3f9 !important;
  --bg-dark-3: #e6edf6 !important;
  --glass: rgba(255, 255, 255, 0.72) !important;
  --glass-border: rgba(22, 38, 64, 0.12) !important;
  --glass-hover: rgba(255, 255, 255, 0.9) !important;
  --text-primary: rgba(10, 18, 32, 0.92) !important;
  --text-muted: rgba(21, 33, 54, 0.66) !important;
  --text-faint: rgba(21, 33, 54, 0.44) !important;
  --separator: rgba(18, 34, 58, 0.12) !important;
  --panel-bg: rgba(255, 255, 255, 0.76) !important;
  --panel-border: rgba(47, 111, 235, 0.15) !important;
  --panel-line: rgba(47, 111, 235, 0.11) !important;
  --warm-rgb: 236, 104, 62 !important;
  --warm-amber-rgb: 210, 126, 32 !important;
}

html[data-theme="light"] body {
  background: var(--bg-dark) !important;
  color: rgba(10, 18, 32, 0.92) !important;
}

html[data-theme="light"] #scroll-bg {
  background: #f5f8fc !important;
}

html[data-theme="light"] #scroll-bg:before {
  background:
    linear-gradient(rgba(47, 111, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 235, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 14% 10%, rgba(47, 111, 235, 0.16), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(var(--warm-rgb), 0.13), transparent 30%),
    radial-gradient(circle at 22% 78%, rgba(54, 217, 139, 0.08), transparent 28%) !important;
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%, 100% 100% !important;
  opacity: 0.75 !important;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .88), rgba(0, 0, 0, .62) 52%, rgba(0, 0, 0, .42)) !important;
}

html[data-theme="light"] #scroll-bg:after {
  background: linear-gradient(115deg, transparent 0 18%, rgba(47, 111, 235, 0.07) 19%, transparent 20% 44%, rgba(var(--warm-rgb), 0.06) 45%, transparent 46% 72%, rgba(54, 217, 139, 0.045) 73%, transparent 74%) !important;
  opacity: 0.32 !important;
}

html[data-theme="light"] .grain {
  opacity: 0.025 !important;
  mix-blend-mode: multiply !important;
}

html[data-theme="light"] #preloader {
  background: var(--bg-dark) !important;
}

html[data-theme="light"] .text-white,
html[data-theme="light"] .text-white\/95,
html[data-theme="light"] .text-white\/90 {
  color: rgba(10, 18, 32, 0.92) !important;
}

html[data-theme="light"] .text-white\/80,
html[data-theme="light"] .text-white\/75,
html[data-theme="light"] .text-white\/70,
html[data-theme="light"] .text-white\/65,
html[data-theme="light"] .text-white\/60,
html[data-theme="light"] .text-white\/55,
html[data-theme="light"] .text-white\/50 {
  color: rgba(21, 33, 54, 0.64) !important;
}

html[data-theme="light"] .text-white\/45,
html[data-theme="light"] .text-white\/40,
html[data-theme="light"] .text-white\/35,
html[data-theme="light"] .text-white\/30,
html[data-theme="light"] .text-white\/25 {
  color: rgba(21, 33, 54, 0.46) !important;
}

html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-white\/\[0\.07\],
html[data-theme="light"] .border-white\/\[0\.08\] {
  border-color: rgba(18, 34, 58, 0.11) !important;
}

html[data-theme="light"] .text-gradient {
  background: linear-gradient(100deg, #0b1220 0 30%, #2f6feb 48%, #ff7a4f 72%, #0b1220 100%) !important;
  background-size: 240% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

html[data-theme="light"] .glass,
html[data-theme="light"] .service-card,
html[data-theme="light"] .method-step,
html[data-theme="light"] .case-card,
html[data-theme="light"] .fit-panel,
html[data-theme="light"] .cta-strip,
html[data-theme="light"] .newsletter-card,
html[data-theme="light"] .ai-map {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 96% 0%, rgba(var(--warm-rgb), 0.06), transparent 34%),
    var(--panel-bg) !important;
  border-color: rgba(22, 38, 64, 0.12) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 18px 58px rgba(29, 47, 76, 0.10) !important;
}

html[data-theme="light"] .glass-hover:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .case-card:hover,
html[data-theme="light"] .method-step:hover {
  border-color: rgba(var(--accent-rgb), 0.28) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.92),
    0 20px 64px rgba(29, 47, 76, 0.14),
    0 0 28px rgba(var(--accent-rgb), 0.09) !important;
}

html[data-theme="light"] #site-header nav {
  border-color: rgba(22, 38, 64, 0.12) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 252, 0.78)) !important;
  box-shadow:
    0 16px 46px rgba(24, 40, 68, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.88) !important;
}

html[data-theme="light"] #site-header nav .hidden.md\:flex {
  background: rgba(47, 111, 235, 0.055) !important;
  border-color: rgba(22, 38, 64, 0.08) !important;
}

html[data-theme="light"] #site-header nav .hidden.md\:flex>a:not(.btn-primary):hover,
html[data-theme="light"] #site-header nav .hidden.md\:flex>a[data-active=true]:not(.btn-primary),
html[data-theme="light"] #site-header nav>div>a[data-active=true]:not(.btn-primary),
html[data-theme="light"] #mobile-menu .mobile-link[data-active=true] {
  background: linear-gradient(135deg, rgba(47, 111, 235, 0.11), rgba(var(--warm-rgb), 0.08)) !important;
}

html[data-theme="light"] #mobile-menu > div {
  background: rgba(245, 248, 252, 0.96) !important;
  border-color: rgba(18, 34, 58, 0.12) !important;
}

html[data-theme="light"] .brand-name,
html[data-theme="light"] .brand-first,
html[data-theme="light"] .brand-last {
  color: rgba(10, 18, 32, 0.94) !important;
}

html[data-theme="light"] .theme-toggle {
  color: rgba(13, 24, 42, 0.72);
  border-color: rgba(22, 38, 64, 0.12);
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 122, 79, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.88),
    0 8px 22px rgba(29, 47, 76, 0.10);
}

html[data-theme="light"] .theme-toggle:hover {
  color: rgba(10, 18, 32, 0.94);
  border-color: rgba(47, 111, 235, 0.26);
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: scale(0.72) rotate(8deg);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme="light"] .btn-ghost {
  color: var(--text-muted) !important;
  border-color: rgba(22, 38, 64, 0.13) !important;
}

html[data-theme="light"] .btn-ghost:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

html[data-theme="light"] #szolgaltatasok .speak-btn,
html[data-theme="light"] #szolgaltatasok .speak-btn[data-astro-cid-g5jplrhu] {
  color: rgba(var(--accent-rgb), 0.96) !important;
  background: rgba(var(--accent-rgb), 0.08) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.20) !important;
  box-shadow: none !important;
}

html[data-theme="light"] #szolgaltatasok .speak-btn:hover,
html[data-theme="light"] #szolgaltatasok .speak-btn[data-astro-cid-g5jplrhu]:hover,
html[data-theme="light"] #szolgaltatasok .service-card:hover .speak-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #2f6feb, #4b8cf5) !important;
  border-color: rgba(var(--accent-rgb), 0.46) !important;
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.18) !important;
}

html[data-theme="light"] .article {
  color: rgba(16, 27, 47, 0.78) !important;
}

html[data-theme="light"] .article h2,
html[data-theme="light"] .article h3,
html[data-theme="light"] .article strong,
html[data-theme="light"] .article blockquote,
html[data-theme="light"] .newsletter-card h2,
html[data-theme="light"] .brand-section-head h2,
html[data-theme="light"] .belief-layout h2,
html[data-theme="light"] .method-step h3,
html[data-theme="light"] .case-card h3,
html[data-theme="light"] .fit-panel h3,
html[data-theme="light"] .cta-strip h3,
html[data-theme="light"] .belief-list p {
  color: rgba(10, 18, 32, 0.94) !important;
}

html[data-theme="light"] .case-card dt {
  color: rgba(47, 111, 235, 0.58) !important;
}

html[data-theme="light"] .article code {
  background: rgba(47, 111, 235, 0.08) !important;
}

html[data-theme="light"] .article pre {
  background: #101827 !important;
}

html[data-theme="light"] .share-btn {
  color: rgba(21, 33, 54, 0.62) !important;
  border-color: rgba(22, 38, 64, 0.13) !important;
  background: rgba(255, 255, 255, 0.56) !important;
}

html[data-theme="light"] .share-btn:hover {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

html[data-theme="light"] .newsletter-input,
html[data-theme="light"] #contact-form .form-field {
  color: rgba(10, 18, 32, 0.9) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(22, 38, 64, 0.14) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .newsletter-input::placeholder,
html[data-theme="light"] #contact-form .form-field::placeholder {
  color: rgba(21, 33, 54, 0.4) !important;
}

html[data-theme="light"] .newsletter-input:focus,
html[data-theme="light"] #contact-form .form-field:focus {
  border-color: rgba(var(--accent-rgb), 0.42) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12) !important;
}

html[data-theme="light"] footer .orb {
  background: radial-gradient(circle, rgba(var(--warm-rgb), 0.16), rgba(47, 111, 235, 0.1) 42%, transparent 72%) !important;
}
