@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

/* ===== LIGHT THEME (default) ===== */

:root {
  --white: #FFFFFF;
  --bg: #F8F7F4;
  --bg-warm: #F2F0EB;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-tertiary: #8A8A8A;
  --teal: #0ABAB5;
  --teal-dark: #089E9A;
  --teal-light: #E6FAF9;
  --teal-glow: rgba(10, 186, 181, 0.12);
  --border: #E8E6E1;
  --border-light: #F0EEE9;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --nav-bg: rgba(255, 255, 255, 0.35);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.55);
  --card-dark-bg: #0d1b2a;
  --card-dark-mid: #132d46;
  --opa-bg: var(--text-primary);
  --btn-primary-bg: var(--text-primary);
  --btn-primary-color: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.32);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-highlight: rgba(255, 255, 255, 0.5);
  --section-glass-bg: rgba(248, 247, 244, 0.4);
  --section-glass-blur: 28px;
  --section-glass-border: rgba(255, 255, 255, 0.4);
  --ambient-overlay: rgba(248, 247, 244, 0.22);
}

/* ===== DARK THEME ===== */

[data-theme="dark"] {
  --white: #141922;
  --bg: #0B0F1A;
  --bg-warm: #111827;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --teal: #14D9D3;
  --teal-dark: #0FC9C4;
  --teal-light: rgba(20, 217, 211, 0.1);
  --teal-glow: rgba(20, 217, 211, 0.15);
  --border: #1E293B;
  --border-light: #1A2332;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(11, 15, 26, 0.35);
  --nav-bg-scrolled: rgba(11, 15, 26, 0.55);
  --card-dark-bg: #0a1120;
  --card-dark-mid: #0f1d33;
  --opa-bg: #0F172A;
  --btn-primary-bg: #14D9D3;
  --btn-primary-color: #0B0F1A;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --section-glass-bg: rgba(11, 15, 26, 0.35);
  --section-glass-blur: 28px;
  --section-glass-border: rgba(255, 255, 255, 0.1);
  --ambient-overlay: rgba(11, 15, 26, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
}

#root {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== App content above 3D scene ===== */

.app-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.app-content section {
  position: relative;
  max-width: 100%;
}

/* ===== Single seamless ambient overlay behind all content =====
   Replaces the old per-section glass backdrop so there are no
   visible section boundaries. The globe behind shows through
   continuously; individual cards still carry their own glass. */

.app-content::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, transparent 0%, var(--ambient-overlay) 70%),
    var(--ambient-overlay);
  z-index: 0;
  pointer-events: none;
}

/* ===== Glass morphism utility classes ===== */

.glass-chip {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* ===== Gradient text for titles ===== */

.gradient-text {
  background: linear-gradient(135deg, var(--teal), #14D9D3, #1AEAE4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Keyframes ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Fancy scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible .stagger-item:nth-child(1) { transition-delay: 0.05s; }

.reveal.visible .stagger-item:nth-child(2) { transition-delay: 0.1s; }

.reveal.visible .stagger-item:nth-child(3) { transition-delay: 0.15s; }

.reveal.visible .stagger-item:nth-child(4) { transition-delay: 0.2s; }

.reveal.visible .stagger-item:nth-child(5) { transition-delay: 0.25s; }

.reveal.visible .stagger-item:nth-child(6) { transition-delay: 0.3s; }

.reveal.visible .stagger-item:nth-child(7) { transition-delay: 0.35s; }

.reveal.visible .stagger-item:nth-child(8) { transition-delay: 0.4s; }

.reveal.visible .stagger-item:nth-child(9) { transition-delay: 0.45s; }

/* Scroll progress bar */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #1AEAE4, var(--teal));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  z-index: 9999;
  transform-origin: left;
  transition: transform 0.15s linear;
  pointer-events: none;
  box-shadow: 0 0 12px var(--teal-glow);
}

@keyframes progress-shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ===== Custom thin scrollbar ===== */

::-webkit-scrollbar { width: 6px; }

::-webkit-scrollbar-track { background: var(--bg); }

::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 100px; }

::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }
/* Shared button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}

.btn-primary:hover {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 32px var(--teal-glow), 0 0 40px rgba(10, 186, 181, 0.15);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-primary {
  box-shadow: 0 2px 16px rgba(20, 217, 211, 0.25);
}

[data-theme="dark"] .btn-primary:hover {
  background: #1AEAE4;
  color: #0B0F1A;
  box-shadow: 0 8px 40px rgba(20, 217, 211, 0.35), 0 0 60px rgba(20, 217, 211, 0.15);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
}

/* Shared section styles */
section {
  padding: 48px 48px;
  position: relative;
}

.section-label {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal), #14D9D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
}

/* ===== Shared section intro — soft radial spotlight =====
   Fades the distracting background behind section headers so text
   reads clearly without a hard-edged box. Used by every section header. */
.section-intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 12px 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
}

.section-intro::before {
  content: '';
  position: absolute;
  inset: -40px -80px;
  background: radial-gradient(
    ellipse 60% 55% at 50% 50%,
    rgba(248, 247, 244, 0.92) 0%,
    rgba(248, 247, 244, 0.7) 35%,
    rgba(248, 247, 244, 0) 75%
  );
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] .section-intro::before {
  background: radial-gradient(
    ellipse 60% 55% at 50% 50%,
    rgba(11, 15, 26, 0.92) 0%,
    rgba(11, 15, 26, 0.7) 35%,
    rgba(11, 15, 26, 0) 75%
  );
}

.section-intro .section-title,
.section-intro .section-desc {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .section-intro .section-title,
[data-theme="light"] .section-intro .section-desc {
  text-shadow: 0 1px 14px rgba(248, 247, 244, 0.8);
}

.section-intro .section-desc {
  max-width: 640px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .section-intro {
    padding: 16px 24px 32px;
  }
  .section-intro::before {
    inset: -24px -32px;
  }
}

@media (max-width: 960px) {
  section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 
new commit 10 */
.glass-nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 100;
  padding: 0 12px 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  width: calc(100% - 48px);
  border-radius: 100px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 4px 24px rgba(0, 0, 0, 0.08);
}

.glass-nav.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--glass-border);
}

[data-theme="dark"] .glass-nav {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 40px rgba(10, 186, 181, 0.03);
}

[data-theme="dark"] .glass-nav.scrolled {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(10, 186, 181, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-light {
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--teal);
  color: #fff !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 20px var(--teal-glow), 0 0 40px rgba(10, 186, 181, 0.1);
}

[data-theme="dark"] .nav-cta {
  box-shadow: 0 2px 12px rgba(20, 217, 211, 0.2);
}

[data-theme="dark"] .nav-cta:hover {
  background: #1AEAE4;
  color: #0B0F1A !important;
  box-shadow: 0 4px 20px rgba(20, 217, 211, 0.35), 0 0 40px rgba(20, 217, 211, 0.1);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.theme-toggle:focus {
  outline: none;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 50%;
}

.theme-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
  transform: rotate(15deg) scale(1.05);
  box-shadow: 0 0 20px rgba(10, 186, 181, 0.15);
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.nav-hamburger:focus {
  outline: none;
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 50%;
}

.nav-hamburger:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}

.nav-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.glass-nav.menu-open .nav-hamburger span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.glass-nav.menu-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
.glass-nav.menu-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile dropdown menu — only visible when menu-open on small screens */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 22px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .nav-mobile-menu {
  background: rgba(11, 15, 26, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(10, 186, 181, 0.08);
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a:focus {
  background: var(--teal-light);
  color: var(--teal);
}

.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 100px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.nav-mobile-cta:hover {
  background: var(--teal);
  color: #fff;
}

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .glass-nav {
    max-width: 100%;
    width: calc(100% - 32px);
    gap: 16px;
    padding: 0 10px 0 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 12.5px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 12.5px;
  }
}

/* Tablet portrait / large phone — collapse to hamburger */
@media (max-width: 960px) {
  .glass-nav {
    padding: 0 8px 0 18px;
    width: calc(100% - 24px);
    top: 12px;
    height: 52px;
    gap: 8px;
  }

  .nav-logo-img {
    height: 34px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu {
    display: flex;
  }

  .glass-nav.menu-open .nav-mobile-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .glass-nav {
    top: 10px;
    height: 48px;
    width: calc(100% - 16px);
    padding: 0 6px 0 14px;
    gap: 6px;
    border-radius: 100px;
  }

  .nav-logo-img {
    height: 30px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .nav-hamburger {
    width: 34px;
    height: 34px;
  }

  .nav-mobile-menu {
    padding: 14px 14px;
    border-radius: 18px;
  }

  .nav-mobile-menu a {
    padding: 12px 14px;
    font-size: 14.5px;
  }

  .nav-mobile-cta {
    padding: 13px 18px;
    font-size: 13.5px;
  }
}

/* Very narrow screens — hide theme toggle to prevent overflow */
@media (max-width: 360px) {
  .theme-toggle {
    display: none;
  }
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 160px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Hero spotlight — opaque radial fade behind text, seamlessly blends into the
   ambient overlay at its edges so there is no visible boundary. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 45% 75% at 38% 42%,
    rgba(248, 247, 244, 0.96) 0%,
    rgba(248, 247, 244, 0.88) 35%,
    rgba(248, 247, 244, 0.55) 60%,
    rgba(248, 247, 244, 0) 90%
  );
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(
    ellipse 45% 75% at 38% 42%,
    rgba(11, 15, 26, 0.96) 0%,
    rgba(11, 15, 26, 0.88) 35%,
    rgba(11, 15, 26, 0.55) 60%,
    rgba(11, 15, 26, 0) 90%
  );
}

.hero h1,
.hero-sub {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .hero h1,
[data-theme="light"] .hero-sub {
  text-shadow: 0 1px 14px rgba(248, 247, 244, 0.8);
}

/* Teal radial glow behind content */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  overflow: clip;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 186, 181, 0.1) 0%, rgba(10, 186, 181, 0.03) 40%, transparent 70%);
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Subtle grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 186, 181, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 186, 181, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulseDot 2s ease infinite;
}

/* Title */
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(34px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 28px;
  word-break: break-word;
}

.hero-line {
  display: block;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal), #14D9D3, #1AEAE4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  font-weight: 400;
  margin-bottom: 48px;
  padding: 0 8px;
}

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Glowing primary button */
.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.4), rgba(20, 217, 211, 0.1));
  z-index: -1;
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* Glass secondary button */
.btn-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Browser mockup --- */
.hero-visual {
  width: 100%;
  max-width: min(1120px, 100%);
  margin-top: 32px;
  position: relative;
  will-change: transform;
}

.hero-browser {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .browser-bar {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) { background: #FF6058; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #28CA42; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: -34px;
}

.browser-content {
  background: var(--card-dark-bg);
  overflow: hidden;
}

.browser-graphic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

/* Kept here because .feature-reel's .reel-slot reuses the glass card look */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ===================================================================
   Feature Reel — horizontal focus strip below the browser mockup.
   One showcase at a time: center slot is highlighted, flanking
   slots peek in at reduced scale and opacity. Track slides every 3s.
   =================================================================== */
.feature-reel {
  position: relative;
  margin-top: 16px;
  padding: 14px 0 20px;
  opacity: 0;
  isolation: isolate;
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="light"] .feature-reel {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Header row: label · currently-showing title · counter */
.feature-reel .reel-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 0 24px 10px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.15);
}

.feature-reel .reel-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.feature-reel .reel-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(10, 186, 181, 0.85);
  animation: reelLivePulse 1.4s ease-in-out infinite;
}

@keyframes reelLivePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.75); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

.feature-reel .reel-title-main {
  justify-self: center;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: reelTitleSwap 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-reel .reel-title-main em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--teal), #14D9D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75));
  letter-spacing: -0.01em;
}

[data-theme="light"] .feature-reel .reel-title-main em {
  background: linear-gradient(135deg, #067672, #0ABAB5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
}

.feature-reel .reel-title-sub {
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .feature-reel .reel-title-sub {
  color: var(--text-primary);
  text-shadow: none;
}

@keyframes reelTitleSwap {
  0%   { opacity: 0; transform: translateY(8px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0);   filter: blur(0); }
}

.feature-reel .reel-counter {
  justify-self: end;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.feature-reel .reel-counter-sep { margin: 0 4px; opacity: 0.5; }

/* Horizontal viewport with spotlight + edge mask */
.feature-reel .reel-viewport {
  position: relative;
  margin-top: 10px;
  height: 140px;
  overflow-x: clip;
  overflow-y: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Soft teal spotlight fixed behind the center slot */
.feature-reel .reel-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 200px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(10, 186, 181, 0.22) 0%,
    rgba(20, 217, 211, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(4px);
  z-index: 0;
}

/* The sliding rail */
.feature-reel .reel-track {
  --slot-w: 300px;
  --slot-gap: 20px;
  position: absolute;
  top: 50%;
  left: calc(50% - var(--slot-w) / 2);
  display: flex;
  gap: var(--slot-gap);
  /* translate so the slot at index --idx sits dead center */
  transform: translate(
    calc(-1 * var(--idx) * (var(--slot-w) + var(--slot-gap))),
    -50%
  );
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 1;
}

/* Each slot */
.feature-reel .reel-slot {
  position: relative;
  width: var(--slot-w);
  min-height: 108px;
  padding: 16px 20px 16px 16px;
  border-radius: 14px;
  background: rgba(11, 15, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition:
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 800ms ease,
    filter 800ms ease,
    background 800ms ease,
    border-color 800ms ease,
    box-shadow 800ms ease;
}

[data-theme="dark"] .feature-reel .reel-slot {
  background: rgba(11, 15, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .feature-reel .reel-slot {
  background: rgba(248, 247, 244, 0.82);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Distance-based visual treatment */
.feature-reel .reel-slot.active {
  background: linear-gradient(
    135deg,
    rgba(10, 186, 181, 0.12) 0%,
    rgba(20, 217, 211, 0.04) 100%
  );
  border-color: rgba(10, 186, 181, 0.45);
  box-shadow:
    0 18px 48px rgba(10, 186, 181, 0.28),
    0 0 0 1px rgba(10, 186, 181, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
  opacity: 1;
  filter: none;
}

[data-theme="light"] .feature-reel .reel-slot.active {
  background: linear-gradient(
    135deg,
    rgba(10, 186, 181, 0.12) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.feature-reel .reel-slot.near {
  opacity: 0.85;
  transform: scale(0.94);
  filter: saturate(0.85);
}

.feature-reel .reel-slot.far {
  opacity: 0.55;
  transform: scale(0.86);
  filter: saturate(0.6);
}

.feature-reel .reel-slot.distant {
  opacity: 0.2;
  transform: scale(0.78);
  filter: saturate(0.2) blur(1px);
}

/* Active top indicator line */
.feature-reel .reel-slot.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), #14D9D3, transparent);
  box-shadow: 0 0 8px rgba(10, 186, 181, 0.6);
  animation: reelActiveLine 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reelActiveLine {
  0% { opacity: 0; transform: scaleX(0.4); }
  100% { opacity: 1; transform: scaleX(1); }
}

/* Slot icon */
.feature-reel .reel-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-reel .reel-icon svg {
  width: 22px;
  height: 22px;
}

.feature-reel .reel-slot.active .reel-icon {
  transform: scale(1.08) rotate(-3deg);
}


.reel-icon-orange { background: rgba(245, 124, 0, 0.14); color: #F57C00; }
.reel-icon-teal   { background: rgba(10, 186, 181, 0.14); color: var(--teal); }
.reel-icon-purple { background: rgba(142, 36, 170, 0.14); color: #8E24AA; }

.feature-reel .reel-text {
  min-width: 0;
  flex: 1;
}

.feature-reel .reel-slot-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.feature-reel .reel-slot-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .feature-reel .reel-slot-sub {
  color: var(--text-primary);
}

.feature-reel .reel-slot.active .reel-slot-title,
.feature-reel .reel-slot.active .reel-slot-sub {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.feature-reel .reel-slot.active .reel-slot-sub {
  font-size: 12px;
}

.feature-reel .reel-slot-index {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}

.feature-reel .reel-slot.active .reel-slot-index {
  color: var(--teal);
  opacity: 1;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
  animation: fadeUp 0.8s ease 2.5s forwards;
}

.hero-scroll-indicator span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border-radius: 11px;
  border: 2px solid var(--text-tertiary);
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 960px) {
  .hero {
    padding: 100px 24px 100px;
  }
  .hero-scroll-indicator { display: none; }

  .feature-reel .reel-head {
    grid-template-columns: auto 1fr;
    padding: 0 16px 14px;
  }
  .feature-reel .reel-title-main { display: none; }
  .feature-reel .reel-track {
    --slot-w: 240px;
    --slot-gap: 14px;
  }
  .feature-reel .reel-viewport { height: 150px; }
}

@media (max-width: 600px) {
  .hero {
    padding: 90px 16px 80px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 44px);
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 14.5px;
    margin-bottom: 32px;
  }

  .hero-visual { margin-top: 20px; }

  .browser-bar { padding: 10px 12px; }
  .browser-url { font-size: 10px; margin-left: 0; }
  .browser-dot { width: 8px; height: 8px; }

  .feature-reel .reel-track {
    --slot-w: 200px;
    --slot-gap: 10px;
  }

  .feature-reel .reel-slot {
    padding: 12px 14px;
    min-height: 92px;
  }

  .feature-reel .reel-viewport { height: 140px; }

  .feature-reel .reel-icon {
    width: 36px;
    height: 36px;
  }

  .feature-reel .reel-slot-title { font-size: 13px; }
  .feature-reel .reel-slot-sub { font-size: 11px; }
}

@media (max-width: 380px) {
  .hero { padding: 84px 12px 60px; }
  .hero h1 { font-size: clamp(26px, 9vw, 36px); }
}
.ticker-section {
  position: relative;
  z-index: 1;
  clear: both;
  margin-top: 120px;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

[data-theme="dark"] .ticker-section {
  background: rgba(11, 15, 26, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 28px;
}

.ticker-overflow {
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-item .ti-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
  box-shadow: 0 0 6px rgba(10, 186, 181, 0.4);
}
.manifesto {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.4s;
}

.manifesto .section-desc {
  max-width: 640px;
  margin-bottom: 28px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
  background: transparent;
  transition: background 0.4s;
}

.stat-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 28px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .stat-card {
  background: rgba(14, 19, 32, 0.78);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 8px 28px rgba(0, 0, 0, 0.45);
}

.stat-card:hover {
  background: var(--teal-light);
  border-color: rgba(10, 186, 181, 0.4);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 14px 40px rgba(10, 186, 181, 0.18);
}

.stat-number {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  background: linear-gradient(135deg, var(--teal), #14D9D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}
.features {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.4s;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: transparent;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .features-grid {
  border-color: rgba(255, 255, 255, 0.06);
}

.feature-card-clickable {
  cursor: pointer;
}

.feature-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
  padding: 0;
  background: transparent;
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(10, 186, 181, 0.12),
    transparent 60%
  );
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-card-inner {
  position: relative;
  z-index: 1;
  padding: 40px 32px 36px;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] .feature-card-inner {
  background: rgba(14, 19, 32, 0.65);
  border-right-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.feature-card:hover .feature-card-inner {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 60px rgba(10, 186, 181, 0.04);
}

[data-theme="dark"] .feature-card:hover .feature-card-inner {
  background: rgba(14, 19, 32, 0.85);
  box-shadow: inset 0 0 60px rgba(10, 186, 181, 0.06);
}

.feature-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.feature-number {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--teal);
  opacity: 0.5;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-number {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.12) 0%, rgba(10, 186, 181, 0.06) 100%);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(10, 186, 181, 0.15);
}

[data-theme="dark"] .feature-icon {
  background: linear-gradient(135deg, rgba(20, 217, 211, 0.15) 0%, rgba(20, 217, 211, 0.05) 100%);
  border-color: rgba(20, 217, 211, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(10, 186, 181, 0.2) 0%, rgba(10, 186, 181, 0.1) 100%);
  border-color: rgba(10, 186, 181, 0.35);
  box-shadow: 0 0 20px rgba(10, 186, 181, 0.15);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.feature-card:hover h3 {
  color: var(--teal);
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.feature-accent-line {
  margin-top: 24px;
  height: 2px;
  width: 32px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-accent-line {
  opacity: 1;
  transform: scaleX(1);
  width: 48px;
}

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.showcase {
  background: transparent;
  transition: background 0.4s;
}

.showcase-header {
  text-align: center;
}

.showcase-header .section-desc {
  text-align: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 0;
  font-family: inherit;
  color: inherit;
  text-align: left;
  min-height: 220px;
}

[data-theme="light"] .bento-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.bento-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-dark-bg) 0%, var(--card-dark-mid) 50%, var(--card-dark-bg) 100%);
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.bento-media-dual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.bento-media-dual .bento-img-primary,
.bento-media-dual .bento-img-secondary {
  object-fit: contain;
  object-position: center;
}

.bento-backend-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: 8px 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(0deg, rgba(13, 27, 42, 0.82), rgba(13, 27, 42, 0.4));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bento-backend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.bento-backend-sep {
  opacity: 0.4;
  color: var(--teal);
}

[data-theme="light"] .bento-backend-strip {
  color: var(--text-primary);
  background: linear-gradient(0deg, rgba(248, 247, 244, 0.9), rgba(248, 247, 244, 0.5));
}

.bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.6) 60%, transparent 100%);
}

.bento-label h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #fff;
}

.bento-label span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.b1 { grid-column: 1 / 8;  grid-row: 1 / 3; }
.b2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.b3 { grid-column: 8 / 13; grid-row: 2 / 3; }
.b4 { grid-column: 1 / 5;  grid-row: 3 / 4; }
.b5 { grid-column: 5 / 9;  grid-row: 3 / 4; }
.b6 { grid-column: 9 / 13; grid-row: 3 / 4; }

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(240px, auto);
  }
  .b1, .b2, .b3, .b4, .b5, .b6 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 12px;
  }
  .bento-card { min-height: 220px; }
  .bento-label { padding: 18px; }
  .bento-label h4 { font-size: 14px; }
  .bento-label span { font-size: 11px; }
}

/* ===================================================================
   Showcase detail modal
   =================================================================== */
.sc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  animation: scModalFade 260ms ease forwards;
}

@keyframes scModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sc-modal-card {
  position: relative;
  width: min(1080px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 20px;
  background: var(--bg-warm, #f8f7f4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(10, 186, 181, 0.12);
  animation: scModalRise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-theme="dark"] .sc-modal-card {
  background: #0f1422;
  border-color: rgba(255, 255, 255, 0.06);
}

@keyframes scModalRise {
  from { opacity: 0; transform: translateY(24px) scale(0.96); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}

.sc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sc-modal-close svg { width: 18px; height: 18px; }

.sc-modal-close:hover {
  background: rgba(10, 186, 181, 0.85);
  transform: rotate(90deg);
}

.sc-modal-media {
  background: linear-gradient(135deg, #0a0f1a 0%, #0d1b2a 100%);
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.sc-modal-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58vh;
  object-fit: contain;
}

.sc-modal-media.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #000;
}

.sc-modal-media.pair img {
  max-height: 48vh;
}

.sc-modal-body {
  padding: 28px 36px 34px;
}

.sc-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.sc-modal-body h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--text-primary);
}

.sc-modal-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 720px;
}

.sc-modal-chip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.sc-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(10, 186, 181, 0.08);
  border: 1px solid rgba(10, 186, 181, 0.25);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.sc-modal-chip:hover {
  background: rgba(10, 186, 181, 0.15);
  border-color: rgba(10, 186, 181, 0.5);
  transform: translateY(-1px);
}

.sc-modal-chip .sc-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px rgba(10, 186, 181, 0.6);
}

@media (max-width: 720px) {
  .sc-modal { padding: 12px; }
  .sc-modal-body { padding: 22px 20px 26px; }
  .sc-modal-media.pair {
    grid-template-columns: 1fr;
  }
  .sc-modal-media.pair img { max-height: 40vh; }
}
.protocols {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.4s;
}

.protocols .section-desc {
  text-align: center;
  margin-bottom: 56px;
}

.proto-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
}

.proto-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .proto-chip {
  background: rgba(14, 19, 32, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.proto-chip:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .proto-chip:hover {
  background: rgba(14, 19, 32, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.proto-chip .pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(10, 186, 181, 0.5);
}

.proto-chip-soon {
  opacity: 0.85;
}

.proto-chip-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.proto-soon-badge {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-tertiary);
  background: none;
  border: none;
  padding: 0;
}
.opa-wrap {
  padding: 0 48px 48px;
}

.opa-section {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.opa-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 186, 181, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.opa-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 186, 181, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.opa-section .section-label {
  color: var(--teal);
}

.opa-section .section-title {
  color: #fff;
}

.opa-section .section-title em {
  -webkit-text-fill-color: transparent;
}

.opa-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.opa-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.opa-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.opa-point .op-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 12px rgba(10, 186, 181, 0.4);
}

.opa-point .op-check svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.opa-point p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.opa-point strong {
  color: #fff;
}

.opa-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opa-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.opa-card:hover {
  background: rgba(10, 186, 181, 0.1);
  border-color: rgba(10, 186, 181, 0.3);
  transform: translateX(8px);
  box-shadow: -4px 0 20px rgba(10, 186, 181, 0.1);
}

.opa-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.opa-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .opa-wrap {
    padding: 0 24px !important;
  }
  .opa-section {
    grid-template-columns: 1fr;
    padding: 64px 36px;
  }
}
.cta-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 48px;
  position: relative;
}

/* Soft teal radial accent behind the CTA — no hard glass boundary */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 70%, rgba(10, 186, 181, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.cta-section .section-title {
  margin-bottom: 20px;
  max-width: 680px;
}

.cta-section .section-intro .section-desc {
  text-align: center;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
footer {
  background: var(--section-glass-bg);
  backdrop-filter: blur(var(--section-glass-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--section-glass-blur)) saturate(1.2);
  border-top: 1px solid var(--section-glass-border);
  padding: 56px 48px 32px;
  transition: background 0.4s, border-color 0.4s;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo .footer-logo-dark {
  display: none;
}

[data-theme="dark"] .footer-logo .footer-logo-light {
  display: none;
}

[data-theme="dark"] .footer-logo .footer-logo-dark {
  display: block;
}

.footer-beta {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 186, 181, 0.2);
}

[data-theme="dark"] .footer-beta {
  border-color: rgba(20, 217, 211, 0.25);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--section-glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

@media (max-width: 960px) {
  footer {
    padding: 48px 24px 28px;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  transition: background 0.4s, border-color 0.4s;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.modal-header {
  margin-bottom: 32px;
}

.modal-header h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-submit-emoji {
  font-size: 1.3em;
  line-height: 1;
  display: inline-block;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

[data-theme="dark"] .spinner {
  border-color: rgba(11, 15, 26, 0.3);
  border-top-color: #0B0F1A;
}

.form-error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-success h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.modal-success p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.modal-success .btn-primary {
  margin-top: 8px;
}

/* Animations */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 600px) {
  .modal-overlay {
    padding: 12px;
    align-items: flex-start;
    padding-top: 20px;
  }
  .modal-content {
    padding: 28px 20px;
    border-radius: 20px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .modal-header { margin-bottom: 24px; }
  .modal-header h3 { font-size: 24px; }
  .modal-header p { font-size: 13px; }
  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .modal-form { gap: 14px; }
  .form-group input,
  .form-group textarea {
    font-size: 15px;
    padding: 11px 14px;
  }
}

@media (max-width: 380px) {
  .modal-content {
    padding: 24px 16px;
  }
  .modal-header h3 { font-size: 22px; }
}
.cookie-consent {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: cookieSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  width: 100%;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(10, 186, 181, 0.08);
  color: var(--text-primary);
}

[data-theme="dark"] .cookie-consent-inner {
  background: rgba(11, 15, 26, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(20, 217, 211, 0.12);
}

.cookie-consent-text {
  flex: 1;
  min-width: 0;
}

.cookie-consent-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: 0.005em;
}

.cookie-consent-text p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-consent-text a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.cookie-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.cookie-btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
  background: var(--bg-warm);
}

.cookie-btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-color);
}

.cookie-btn-primary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--teal-glow);
}

[data-theme="dark"] .cookie-btn-primary:hover {
  background: #1AEAE4;
  color: #0B0F1A;
  box-shadow: 0 4px 20px rgba(20, 217, 211, 0.35);
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}
