/* =========================================================
   CeleryHost — Landing styles
   Brand: #13C4C3 (from logo)
   Aesthetic: black + cyan illuminating gradients + grid lines
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg: #050505;
  --bg-elevated: #0E0E0F;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.045);

  /* Text */
  --text: #F4F5F7;
  --text-soft: #C7CBD1;
  --text-muted: #8A8F98;
  --text-dim: #5B6068;

  /* Brand */
  --cyan: #13C4C3;
  --cyan-bright: #67F2F1;
  --cyan-deep: #0BA1A0;
  --cyan-glow: rgba(19, 196, 195, 0.45);
  --cyan-faint: rgba(19, 196, 195, 0.10);

  /* Lines */
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(19, 196, 195, 0.22);

  /* Gradients */
  --grad-cyan: linear-gradient(135deg, #13C4C3 0%, #67F2F1 50%, #13C4C3 100%);
  --grad-cyan-soft: linear-gradient(135deg, rgba(19,196,195,0.18), rgba(103,242,241,0.06));
  --grad-text: linear-gradient(120deg, #67F2F1 0%, #13C4C3 50%, #0BA1A0 100%);

  /* Radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Layout */
  --container: 1180px;
  --nav-h: 72px;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Light theme override ---------- */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elevated: #F4F6F8;
  --bg-card: rgba(11, 161, 160, 0.04);
  --bg-card-hover: rgba(11, 161, 160, 0.08);

  --text: #0A0F1A;
  --text-soft: #2C3340;
  --text-muted: #5B6473;
  --text-dim: #8A92A0;

  --cyan: #0BA1A0;
  --cyan-bright: #13C4C3;
  --cyan-deep: #088A89;
  --cyan-glow: rgba(11, 161, 160, 0.35);
  --cyan-faint: rgba(11, 161, 160, 0.08);

  --border: rgba(10, 15, 26, 0.10);
  --border-strong: rgba(10, 15, 26, 0.18);
  --border-cyan: rgba(11, 161, 160, 0.30);

  --grad-cyan: linear-gradient(135deg, #0BA1A0 0%, #13C4C3 50%, #0BA1A0 100%);
  --grad-cyan-soft: linear-gradient(135deg, rgba(11,161,160,0.12), rgba(19,196,195,0.04));
  --grad-text: linear-gradient(120deg, #0BA1A0 0%, #088A89 50%, #066D6C 100%);
}

[data-theme="light"] body {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FA 100%);
  color: var(--text);
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(10, 15, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 15, 26, 0.045) 1px, transparent 1px);
}
[data-theme="light"] .bg-glow { opacity: 0.45; filter: blur(100px); }
[data-theme="light"] .bg-glow-top {
  background: radial-gradient(ellipse at center, rgba(11,161,160,0.20) 0%, transparent 60%);
}
[data-theme="light"] .bg-glow-bottom {
  background: radial-gradient(ellipse, rgba(11,161,160,0.12) 0%, transparent 65%);
  opacity: 0.4;
}
[data-theme="light"] .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav-logo img {
  filter: none;
}
[data-theme="light"] .footer-logo {
  filter: none;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(11,161,160,0.14) 0%, transparent 65%);
}
[data-theme="light"] .btn-primary {
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(11, 161, 160, 0.4),
    0 8px 30px -8px var(--cyan-glow);
}
[data-theme="light"] .btn-ghost {
  background: rgba(10, 15, 26, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(10, 15, 26, 0.08);
  color: var(--cyan);
}
[data-theme="light"] .plan-card.is-featured {
  background: linear-gradient(180deg, rgba(11,161,160,0.06), rgba(11,161,160,0.01));
  box-shadow:
    0 0 0 1px var(--border-cyan),
    0 20px 50px -15px rgba(11, 161, 160, 0.25);
}
[data-theme="light"] .featured-badge,
[data-theme="light"] .toggle-btn.is-active {
  color: #FFFFFF;
}
[data-theme="light"] .save-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}
[data-theme="light"] .toggle-btn:not(.is-active) .save-badge {
  background: rgba(11, 161, 160, 0.15);
  color: var(--cyan-deep);
}
[data-theme="light"] .feature-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .security-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .security-extras,
[data-theme="light"] .legal-dl,
[data-theme="light"] .legal-table,
[data-theme="light"] .legal-toc {
  box-shadow: 0 2px 12px -4px rgba(10, 15, 26, 0.06);
}
[data-theme="light"] .refund-card,
[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, rgba(11,161,160,0.10), rgba(11,161,160,0.02));
  border-color: var(--border-cyan);
}
[data-theme="light"] code {
  background: rgba(11, 161, 160, 0.08);
  color: var(--cyan-deep);
}
[data-theme="light"] .cookie-consent {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 20px 60px -10px rgba(10, 15, 26, 0.15),
    0 0 30px -8px var(--cyan-glow);
}
[data-theme="light"] .cookie-text h4 { color: var(--text); }
[data-theme="light"] .nav-mobile {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav-toggle span {
  background: var(--text);
}
[data-theme="light"] ::selection {
  background: var(--cyan);
  color: #FFFFFF;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; padding: 0; }
code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(19,196,195,0.08);
  color: var(--cyan-bright);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
}

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--cyan); color: #000; }

/* ---------- Background system ---------- */
.bg-grid {
  position: fixed; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%),
              radial-gradient(ellipse 80% 50% at 50% 100%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 80%),
                     radial-gradient(ellipse 80% 50% at 50% 100%, #000 20%, transparent 75%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}
.bg-glow-top {
  top: -250px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 900px;
  background: radial-gradient(ellipse at center, rgba(19,196,195,0.28) 0%, transparent 60%);
  opacity: 0.6;
}
.bg-glow-bottom {
  bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 700px;
  background: radial-gradient(ellipse, rgba(19,196,195,0.18) 0%, transparent 65%);
  opacity: 0.4;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  padding: 6px 14px;
  border-radius: var(--r-full);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-bright);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.gradient-text {
  background: var(--grad-text);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-cyan);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #001515;
  box-shadow:
    0 0 0 1px rgba(19, 196, 195, 0.6),
    0 8px 30px -8px var(--cyan-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(103, 242, 241, 0.85),
    0 12px 40px -8px var(--cyan-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-cyan);
  color: var(--cyan-bright);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  transition: all 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(19, 196, 195, 0.4));
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--cyan-bright); }
.nav-links a.has-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-badge {
  display: inline-flex;
  align-items: center;
  background: var(--grad-cyan);
  color: #001515;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-full);
  line-height: 1;
}
[data-theme="light"] .nav-badge { color: #FFFFFF; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Theme & language toggles in nav */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--border-cyan);
  color: var(--cyan-bright);
  background: var(--cyan-faint);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.lang-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 1px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.10);
  color: var(--text);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .lang-btn.is-active {
  background: rgba(10, 15, 26, 0.08);
  color: var(--text);
  box-shadow:
    0 1px 2px rgba(10, 15, 26, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
  filter: saturate(1.1);
}

@media (max-width: 720px) {
  .nav-controls { gap: 6px; }
  .theme-toggle { width: 32px; height: 32px; }
  .theme-toggle svg { width: 14px; height: 14px; }
  .lang-btn { padding: 4px 8px; font-size: 0.72rem; }
  .lang-flag { font-size: 0.82rem; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}
.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: var(--text);
  font-size: 1.1rem;
  padding: 8px 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Soft cyan wash behind hero content */
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(19,196,195,0.18) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 900px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero-image {
  margin-top: 56px;
  width: 100%;
  max-width: 1180px;
  position: relative;
  padding: 0 8px;
}
.hero-image::before {
  /* Cyan aura behind the dashboard composition */
  content: '';
  position: absolute;
  inset: 40px -40px -60px;
  background: radial-gradient(ellipse at center, var(--cyan-glow) 0%, transparent 65%);
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* ---------- Placeholder ---------- */
[data-placeholder] .placeholder-label {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  z-index: 3;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(19, 196, 195, 0.04) 0 12px,
      transparent 12px 24px
    );
}
[data-placeholder] .placeholder-label strong {
  color: var(--cyan-bright);
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 700;
}
[data-placeholder].is-empty .placeholder-label { display: flex; }

/* ---------- Trust strip ---------- */
.trust {
  padding: 24px 0 48px;
  border-bottom: 1px solid var(--border);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-bright);
}

/* ---------- Features ---------- */
.features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--cyan-faint), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r);
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Logo showcase rows ---------- */
.logos {
  padding: 72px 0;
  text-align: center;
}
.logos-bordered {
  border-top: 1px solid var(--border);
}
.logos-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.logos-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-bright);
}
.logos-sub {
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}
.logos-sub strong {
  color: var(--text-soft);
  font-weight: 600;
}
.logos-image {
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.logos-image-wide { max-width: 1200px; }

@media (max-width: 720px) {
  .logos { padding: 56px 0; }
  .logos-caption { font-size: 0.7rem; margin-bottom: 12px; }
  .logos-sub { font-size: 0.92rem; margin-bottom: 28px; }
}

/* ---------- Security section ---------- */
.security { padding: 120px 0; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.security-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.security-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--cyan-faint), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.security-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.security-card:hover::before { opacity: 1; }

.security-badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.security-badge img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}
.security-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.security-card > p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.security-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.security-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.security-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367F2F1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

.security-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
  padding: 26px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-width: 920px;
  margin: 0 auto;
}
.security-extras li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.security-extras .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367F2F1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 960px) {
  .security-grid { grid-template-columns: 1fr; }
  .security-extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .security { padding: 80px 0; }
  .security-extras {
    grid-template-columns: 1fr;
    padding: 22px 24px;
  }
}

/* ---------- Pricing ---------- */
.pricing { padding: 120px 0; position: relative; }

.billing-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 5px;
  margin-top: 32px;
}
.toggle-btn {
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease);
}
.toggle-btn:hover { color: var(--text); }
.toggle-btn.is-active {
  background: var(--grad-cyan);
  color: #001515;
  box-shadow: 0 4px 20px -4px var(--cyan-glow);
}
.save-badge {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  color: #001515;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.toggle-btn:not(.is-active) .save-badge {
  background: rgba(19, 196, 195, 0.15);
  color: var(--cyan-bright);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.plan-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}

.plan-card.is-featured {
  background: linear-gradient(180deg, rgba(19,196,195,0.08), rgba(19,196,195,0.02));
  border-color: var(--border-cyan);
  box-shadow:
    0 0 0 1px var(--border-cyan),
    0 20px 80px -20px var(--cyan-glow);
  transform: translateY(-8px);
}
.plan-card.is-featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  padding: 1px;
  background: var(--grad-cyan);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cyan);
  color: #001515;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 6px 20px -4px var(--cyan-glow);
}

.plan-head { margin-bottom: 24px; }
.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.plan-tag {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.plan-price .currency {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-soft);
}
.plan-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367F2F1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.plan-features li strong { color: var(--text); font-weight: 700; }

.pricing-foot {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* Footer payment logos (white SVGs) */
.pay-logo {
  height: 22px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}
.pay-logo:hover { opacity: 1; }
[data-theme="light"] .pay-logo { opacity: 0.85; }

/* Inline payment logos (in prose lines like "Pay securely with [PayPal] or [Stripe]") */
/* `display: inline-block` overrides the global `img, svg { display: block }` reset above. */
.pay-logo-inline {
  display: inline-block;
  height: 16px;
  width: auto;
  vertical-align: -3px;
  margin: 0 4px;
}

/* ---------- Refund banner ---------- */
.refund { padding: 60px 0; }
.refund-card {
  background: linear-gradient(135deg, rgba(19,196,195,0.10), rgba(19,196,195,0.02));
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.refund-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}
.refund-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  position: relative;
  z-index: 1;
}
.refund-icon svg { width: 32px; height: 32px; }
.refund-text { position: relative; z-index: 1; }
.refund-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.refund-text p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-cyan); }
.faq-item[open] {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
}
.faq-item summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367F2F1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--cyan-bright); }
.faq-body {
  padding: 0 26px 22px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* ---------- Final CTA ---------- */
.cta-final { padding: 80px 0 120px; }
.cta-card {
  background: linear-gradient(135deg, rgba(19,196,195,0.10), rgba(19,196,195,0.02));
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .eyebrow { margin-bottom: 18px; }
.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.cta-card p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 28px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo {
  height: 32px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(19, 196, 195, 0.3));
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-legal-small {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-legal-small strong { color: var(--text-soft); font-weight: 600; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-bright);
  margin-bottom: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pay-label { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Cookie consent banner (loads on every page) ---------- */
.cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 110px;
  max-width: 680px;
  margin: 0;
  z-index: 45;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow:
    0 20px 60px -10px rgba(0, 0, 0, 0.55),
    0 0 40px -8px var(--cyan-glow);
  animation: cookie-slide-up 0.5s var(--ease);
}
@keyframes cookie-slide-up {
  from { transform: translateY(140%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--cyan-faint);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}
.cookie-icon svg { width: 22px; height: 22px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.cookie-text p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-decoration-color: rgba(103,242,241,0.35);
  text-underline-offset: 2px;
}
.cookie-text a:hover { text-decoration-color: var(--cyan-bright); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

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

/* ---------- WhatsApp bubble ---------- */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px -5px rgba(37, 211, 102, 0.5),
    0 0 0 0 rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: all 0.3s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-bubble:hover {
  transform: scale(1.08);
  box-shadow:
    0 14px 40px -5px rgba(37, 211, 102, 0.7),
    0 0 0 12px rgba(37, 211, 102, 0);
}
.whatsapp-bubble svg { width: 30px; height: 30px; }

@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 16px; }
  .plan-card.is-featured { transform: none; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  /* Keep .nav-controls (theme + lang toggles) visible in the mobile header,
     but hide the bulky "Get Started" CTA — the hamburger menu has its own copy. */
  .nav-cta > a.btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: calc(var(--nav-h) + 60px) 0 80px; }
  .features, .pricing, .faq { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 48px; }
  .refund-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 18px;
  }
  .cta-card { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-bubble { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-bubble svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Enterprise CTA card (full-width, below pricing grid) ---------- */
.enterprise-card {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(19, 196, 195, 0.10), rgba(19, 196, 195, 0.03));
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.enterprise-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 360px; height: 240%;
  background: radial-gradient(closest-side, var(--cyan-glow), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.enterprise-card-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.enterprise-card-text { flex: 1; min-width: 0; }
.enterprise-card-text .eyebrow { margin-bottom: 10px; }
.enterprise-card-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--text);
}
.enterprise-card-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 64ch;
}
.enterprise-card-cta { flex-shrink: 0; }

[data-theme="light"] .enterprise-card {
  background: linear-gradient(135deg, rgba(11, 161, 160, 0.07), rgba(11, 161, 160, 0.02));
}

@media (max-width: 720px) {
  .enterprise-card { padding: 22px 20px; }
  .enterprise-card::before { width: 260px; }
  .enterprise-card-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .enterprise-card-text h3 { font-size: 1.25rem; }
  .enterprise-card-cta { width: 100%; }
  .enterprise-card-cta .btn { width: 100%; }
}

/* ---------- Modal (Enterprise inquiry form, reusable) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modal-fade 0.2s var(--ease);
}
[data-theme="light"] .modal-backdrop { background: rgba(10, 15, 26, 0.45); }
.modal-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  animation: modal-pop 0.25s var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
[data-theme="light"] .modal-card { box-shadow: 0 24px 60px rgba(10, 15, 26, 0.18); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
[data-theme="light"] .modal-close:hover { background: rgba(10, 15, 26, 0.06); }
.modal-close svg { width: 20px; height: 20px; display: block; }
.modal-head { margin-bottom: 22px; padding-right: 36px; }
.modal-head .eyebrow { margin-bottom: 10px; }
.modal-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.modal-head p { color: var(--text-muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
  width: 100%;
  box-sizing: border-box;
}
.form-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--cyan-bright);
  background-color: rgba(19, 196, 195, 0.05);
}
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field textarea,
[data-theme="light"] .form-field select { background-color: rgba(10, 15, 26, 0.03); }
[data-theme="light"] .form-field input:focus,
[data-theme="light"] .form-field textarea:focus,
[data-theme="light"] .form-field select:focus { background-color: rgba(11, 161, 160, 0.05); }
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) { border-color: rgba(244, 67, 54, 0.5); }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .modal-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Thank-you page ---------- */
.thanks {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  min-height: calc(100vh - var(--nav-h));
}
.thanks-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.thanks-card::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 110%; height: 200%;
  background: radial-gradient(closest-side, var(--cyan-glow), transparent 65%);
  opacity: 0.32;
  pointer-events: none;
}
.thanks-card > * { position: relative; z-index: 1; }

.thanks-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  color: var(--cyan-bright);
  animation: thanks-pop 0.55s var(--ease) 0.05s backwards;
}
.thanks-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 28px rgba(19, 196, 195, 0.45));
}

.thanks-card .eyebrow { margin-bottom: 12px; }
.thanks-card h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
}
.thanks-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 50ch;
}

.thanks-points {
  text-align: left;
  background: rgba(19, 196, 195, 0.04);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 0 0 32px;
}
[data-theme="light"] .thanks-points { background: rgba(11, 161, 160, 0.04); }
.thanks-points-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin: 0 0 14px;
}
.thanks-points ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.thanks-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.thanks-points li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan-bright);
}

.thanks-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 32px;
}

.thanks-change h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}
.thanks-change > p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 auto 20px;
  max-width: 46ch;
}
.thanks-change .btn { display: inline-flex; }
.thanks-alt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 56px 0 0;
  padding-top: 4px;
}
.thanks-alt a {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.thanks-alt a:hover { opacity: 0.85; }

.thanks-help-mail {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.thanks-help-mail:hover { opacity: 0.85; }

.thanks-home { margin-top: 36px; }
.thanks-home a {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.thanks-home a:hover { color: var(--cyan-bright); }

@media (max-width: 640px) {
  .thanks { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .thanks-card { padding: 36px 22px; border-radius: 16px; }
  .thanks-icon { width: 76px; height: 76px; margin-bottom: 22px; }
  .thanks-card h1 { font-size: 1.7rem; }
  .thanks-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .thanks-points { padding: 18px 18px; }
}

@keyframes thanks-pop {
  from { opacity: 0; transform: scale(0.55); }
  to { opacity: 1; transform: scale(1); }
}
