/* ==========================================================================
   AEOlabs.app - global stylesheet
   ========================================================================== */

:root {
  --bg: #06070d;
  --bg-2: #0b0d18;
  --panel: #0f1220;
  --panel-2: #141832;
  --line: #1f2440;
  --text: #e7eaf6;
  --muted: #8a90b3;
  --cyan: #4cf3ff;
  --cyan-2: #00d4ff;
  --violet: #8b5cf6;
  --violet-2: #6d28d9;
  --magenta: #ff5edb;
  --green: #2bd9a4;
  --red: #ff4d6d;
  --grad-1: linear-gradient(135deg, #4cf3ff 0%, #8b5cf6 60%, #ff5edb 100%);
  --grad-2: linear-gradient(120deg, #00d4ff 0%, #8b5cf6 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 0 1px rgba(76, 243, 255, .15), 0 20px 60px rgba(76, 243, 255, .12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(76, 243, 255, .12), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--cyan); }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text); }
.muted { color: var(--muted); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  border: 1px solid rgba(76, 243, 255, .3);
  border-radius: 999px;
  background: rgba(76, 243, 255, .06);
  margin-bottom: 18px;
}

/* -------------------- Header / nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 7, 13, .65);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.brand svg { width: 28px; height: 28px; }
.brand .dot { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: .95rem;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-2);
  color: #06070d;
  font-weight: 600;
}
.btn-primary:hover {
  color: #06070d;
  box-shadow: 0 12px 28px rgba(0, 212, 255, .35);
}
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(76, 243, 255, .4); color: var(--text); }
.btn-link {
  color: var(--cyan);
  padding: 0;
  font-weight: 500;
  background: transparent;
}
.btn-link:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

/* -------------------- Sections -------------------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(76, 243, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 243, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 .gradient-text { display: inline; }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 24px 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-orb { position: relative; min-height: 420px; }
.hero-orb svg {
  width: 100%; height: auto;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 80px rgba(76, 243, 255, .35));
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* -------------------- Logo strip -------------------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: .85;
}
.logo-strip span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  font-size: 1rem;
}

/* -------------------- Pillars -------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 243, 255, .35);
  box-shadow: var(--shadow-glow);
}
.pillar .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(76, 243, 255, .08);
  border: 1px solid rgba(76, 243, 255, .25);
  margin-bottom: 18px;
}
.pillar .icon svg { width: 28px; height: 28px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar .tag {
  display: inline-block;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* -------------------- Stats band -------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(139, 92, 246, .08), rgba(76, 243, 255, .03));
}
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -.03em;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--muted); font-size: .92rem; }

/* -------------------- How it works -------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02);
  position: relative;
}
.step .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* -------------------- Testimonials -------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02);
}
.quote p { font-style: italic; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-2);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #06070d;
}
.who .name { font-weight: 500; }
.who .role { color: var(--muted); font-size: .85rem; }

/* -------------------- CTA band -------------------- */
.cta-band {
  padding: 56px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(76, 243, 255, .25);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(76, 243, 255, .15), transparent 60%),
    radial-gradient(600px 200px at 50% 100%, rgba(139, 92, 246, .15), transparent 60%),
    rgba(15, 18, 32, .6);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* -------------------- Footer -------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 80px;
  color: var(--muted);
  font-size: .9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.foot-grid h4 {
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--cyan); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------- Pricing -------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 540px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .35); }
.price-card.featured {
  border-color: rgba(76, 243, 255, .5);
  background:
    radial-gradient(400px 200px at 50% -10%, rgba(76, 243, 255, .15), transparent 60%),
    linear-gradient(180deg, rgba(76, 243, 255, .04), rgba(139, 92, 246, .04));
  position: relative;
  box-shadow: var(--shadow-glow);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-2);
  color: #06070d;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .15em;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: 4px; }
.price-card .tagline { color: var(--muted); margin-bottom: 24px; }
.price-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.price-card .price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card ul li {
  display: flex;
  gap: 10px;
  font-size: .95rem;
  color: var(--text);
}
.price-card ul li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card ul li.disabled { color: var(--muted); text-decoration: line-through; }
.price-card ul li.disabled::before { content: '×'; color: var(--muted); text-decoration: none; }
.price-card .btn { margin-top: auto; }

/* -------------------- Auth pages -------------------- */
.auth-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 80px 24px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(139, 92, 246, .12), transparent 60%),
    rgba(15, 18, 32, .8);
  backdrop-filter: blur(10px);
}
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
}
.auth-card .switch {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.auth-card .switch a { color: var(--cyan); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .02em;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(6, 7, 13, .6);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(76, 243, 255, .5);
  box-shadow: 0 0 0 3px rgba(76, 243, 255, .12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.honey { position: absolute; left: -10000px; }

/* -------------------- Captcha -------------------- */
.captcha {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: rgba(6, 7, 13, .5);
  margin-bottom: 16px;
}
.captcha-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.captcha-prompt strong { color: var(--text); }
.captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.captcha-tile {
  aspect-ratio: 1;
  background: rgba(15, 18, 32, .8);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .12s ease, transform .12s ease;
  overflow: hidden;
}
.captcha-tile:hover { transform: scale(1.04); }
.captcha-tile.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(76, 243, 255, .35) inset;
}
.captcha-tile svg { width: 80%; height: 80%; }
.captcha-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--muted);
}
.captcha-refresh {
  background: transparent;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-size: .8rem;
  padding: 4px 6px;
  font-family: inherit;
}

.captcha.captcha-flash {
  animation: captcha-flash .55s ease-out;
}
@keyframes captcha-flash {
  0%   { box-shadow: 0 0 0 0 rgba(76, 243, 255, .6); border-color: rgba(76, 243, 255, .8); }
  100% { box-shadow: 0 0 0 12px rgba(76, 243, 255, 0); border-color: var(--line); }
}

/* -------------------- Thank-you state -------------------- */
.thank-you-section {
  padding: 110px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thank-you-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% 20%, rgba(76, 243, 255, .14), transparent 70%),
    radial-gradient(700px 360px at 50% 80%, rgba(139, 92, 246, .14), transparent 70%);
  pointer-events: none;
}
.thank-you-wrap { max-width: 760px; position: relative; }
.thank-you-hero {
  position: relative;
  animation: thank-fade .55s ease-out both;
}
.thank-you-icon-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 44px;
}
.thank-you-icon {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad-2);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(76, 243, 255, .35),
    0 0 60px rgba(76, 243, 255, .45),
    0 30px 80px rgba(76, 243, 255, .35);
  z-index: 2;
  animation: thank-pop .5s .1s ease-out both;
}
.thank-you-icon svg {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: thank-tick .55s .35s ease-out forwards;
}
.thank-you-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  margin: -64px 0 0 -64px;
  border-radius: 50%;
  border: 1px solid rgba(76, 243, 255, .5);
  animation: thank-ring 2.4s ease-out infinite;
  z-index: 1;
}
.thank-you-ring:nth-child(2) { animation-delay: .8s; }
.thank-you-ring:nth-child(3) { animation-delay: 1.6s; }
.thank-you-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 18px;
}
.thank-you-sub {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.55;
}
@keyframes thank-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes thank-pop {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
@keyframes thank-tick {
  to { stroke-dashoffset: 0; }
}
@keyframes thank-ring {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.4); opacity: 0; }
}
@media (max-width: 700px) {
  .thank-you-section { padding: 70px 0 90px; }
  .thank-you-icon-wrap { width: 104px; height: 104px; margin-bottom: 32px; }
  .thank-you-icon { box-shadow: 0 0 0 1px rgba(76, 243, 255, .35), 0 0 40px rgba(76, 243, 255, .35); }
  .thank-you-ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
  .thank-you-sub { font-size: 1.05rem; }
}

/* -------------------- Toast / notice -------------------- */
.notice {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-error {
  background: rgba(255, 77, 109, .08);
  border: 1px solid rgba(255, 77, 109, .35);
  color: #ffb1bf;
}
.notice-success {
  background: rgba(43, 217, 164, .08);
  border: 1px solid rgba(43, 217, 164, .35);
  color: #a9f3d6;
}
.shake { animation: shake .42s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* -------------------- Generic content -------------------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
}
.prose p { color: var(--text); }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; color: var(--cyan); font-family: 'Space Grotesk', sans-serif; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li, .prose ol li { margin: 6px 0; }
.prose blockquote {
  border-left: 3px solid var(--cyan);
  padding: 6px 18px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .02);
}
.faq summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: '+'; color: var(--cyan); font-size: 1.2rem; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] { border-color: rgba(76, 243, 255, .3); }
.faq p { margin: 12px 0 0; color: var(--muted); }

/* -------------------- Page header -------------------- */
.page-head {
  text-align: center;
  padding: 110px 0 60px;
  position: relative;
}
.page-head h1 { margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* -------------------- Service detail -------------------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block.flip > :first-child { order: 2; }
.service-block .visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(76, 243, 255, .1), transparent 60%),
    rgba(15, 18, 32, .6);
  padding: 32px;
  display: grid; place-items: center;
  min-height: 280px;
}
.service-block .visual svg { max-width: 100%; }
.service-block ul { padding-left: 18px; color: var(--muted); }

/* -------------------- Checklist -------------------- */
.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  list-style: none;
  padding: 0;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}
.checks li::before {
  content: '◆';
  color: var(--cyan);
  flex-shrink: 0;
}

/* -------------------- Mobile -------------------- */
@media (max-width: 900px) {
  .hero-grid, .service-block, .service-block.flip > :first-child { grid-template-columns: 1fr; order: initial; }
  .hero-orb { min-height: 280px; }
  .pillars, .price-grid, .steps, .testimonials, .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(6, 7, 13, .96);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 40px; }
  .cta-band { padding: 36px 24px; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px; }
}

/* -------------------- Theme toggle button -------------------- */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: rgba(76, 243, 255, .45);
  color: var(--cyan);
  transform: translateY(-1px);
}
.theme-toggle .theme-sun  { display: none; }
.theme-toggle .theme-moon { display: block; }
[data-theme="light"] .theme-toggle .theme-sun  { display: block; }
[data-theme="light"] .theme-toggle .theme-moon { display: none; }

/* -------------------- Smooth theme transition -------------------- */
html { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }
body, .site-header, .pillar, .step, .quote, .price-card, .auth-card,
.captcha, .captcha-tile, .field input, .field textarea, .stats,
.cta-band, .site-footer, .faq details {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ============================================================ */
/* LIGHT THEME                                                  */
/* ============================================================ */
[data-theme="light"] {
  --bg:        #f6f8fc;
  --bg-2:      #ffffff;
  --panel:     #ffffff;
  --panel-2:   #eef1fa;
  --line:      #dfe3f1;
  --text:      #0a0d1f;
  --muted:     #5a6080;
  --cyan:      #00a4c2;
  --cyan-2:    #008fac;
  --violet:    #7c3aed;
  --violet-2:  #5b21b6;
  --magenta:   #d946ef;
  --shadow:    0 12px 40px rgba(40, 60, 120, .1);
  --shadow-glow: 0 0 0 1px rgba(0, 164, 194, .18), 0 12px 40px rgba(0, 164, 194, .14);
  --grad-1: linear-gradient(135deg, #00a4c2 0%, #7c3aed 60%, #d946ef 100%);
  --grad-2: linear-gradient(120deg, #00b8d4 0%, #7c3aed 100%);
}

[data-theme="light"] body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, .10), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(0, 164, 194, .10), transparent 60%),
    var(--bg);
}
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .82);
  border-bottom-color: var(--line);
}
[data-theme="light"] .nav-toggle { color: var(--text); }
[data-theme="light"] .nav.open .nav-links {
  background: rgba(255, 255, 255, .98);
  border-bottom-color: var(--line);
}

[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0, 164, 194, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 164, 194, .07) 1px, transparent 1px);
}
[data-theme="light"] .hero-orb svg {
  filter: drop-shadow(0 30px 80px rgba(0, 164, 194, .25));
}

[data-theme="light"] .eyebrow {
  background: rgba(0, 164, 194, .08);
  border-color: rgba(0, 164, 194, .35);
}

[data-theme="light"] .pillar,
[data-theme="light"] .step,
[data-theme="light"] .quote,
[data-theme="light"] .auth-card,
[data-theme="light"] .price-card {
  background: linear-gradient(180deg, #ffffff, #fafbff);
  border-color: var(--line);
}
[data-theme="light"] .pillar:hover,
[data-theme="light"] .price-card:hover {
  border-color: rgba(0, 164, 194, .4);
  box-shadow: 0 20px 50px rgba(40, 60, 120, .08);
}
[data-theme="light"] .price-card.featured {
  background:
    radial-gradient(400px 200px at 50% -10%, rgba(0, 164, 194, .14), transparent 60%),
    linear-gradient(180deg, rgba(0, 164, 194, .04), rgba(124, 58, 237, .04));
  border-color: rgba(0, 164, 194, .55);
  box-shadow: 0 0 0 1px rgba(0, 164, 194, .12), 0 18px 50px rgba(0, 164, 194, .14);
}
[data-theme="light"] .pillar .icon {
  background: rgba(0, 164, 194, .08);
  border-color: rgba(0, 164, 194, .25);
}

[data-theme="light"] .stats {
  background: linear-gradient(180deg, rgba(124, 58, 237, .04), rgba(0, 164, 194, .03));
  border-color: var(--line);
}

[data-theme="light"] .logo-strip {
  opacity: 1;
  border-color: var(--line);
}

[data-theme="light"] .field input,
[data-theme="light"] .field textarea {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}
[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus {
  border-color: rgba(0, 164, 194, .55);
  box-shadow: 0 0 0 3px rgba(0, 164, 194, .15);
}
[data-theme="light"] .auth-card {
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(124, 58, 237, .08), transparent 60%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(40, 60, 120, .08);
}

[data-theme="light"] .captcha {
  background: #f6f8fc;
  border-color: var(--line);
}
[data-theme="light"] .captcha-tile {
  background: #eef1fa;
}
[data-theme="light"] .captcha-tile.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 164, 194, .35) inset;
}

[data-theme="light"] .btn-ghost {
  background: rgba(0, 0, 0, .02);
  border-color: var(--line);
  color: var(--text);
}
[data-theme="light"] .btn-ghost:hover { border-color: rgba(0, 164, 194, .45); }
[data-theme="light"] .btn-primary { color: #ffffff; }

[data-theme="light"] .cta-band {
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(0, 164, 194, .14), transparent 60%),
    radial-gradient(600px 200px at 50% 100%, rgba(124, 58, 237, .14), transparent 60%),
    rgba(255, 255, 255, .85);
  border-color: rgba(0, 164, 194, .35);
}

[data-theme="light"] .site-footer {
  border-top-color: var(--line);
}
[data-theme="light"] .foot-bottom { border-top-color: var(--line); }

[data-theme="light"] .faq details {
  background: #ffffff;
  border-color: var(--line);
}
[data-theme="light"] .faq details[open] { border-color: rgba(0, 164, 194, .35); }

[data-theme="light"] .price-card ul li.disabled { color: var(--muted); }
[data-theme="light"] .cmp-head { background: #f0f3fa; }

[data-theme="light"] .thank-you-section::before {
  background:
    radial-gradient(600px 300px at 50% 20%, rgba(0, 164, 194, .12), transparent 70%),
    radial-gradient(700px 360px at 50% 80%, rgba(124, 58, 237, .12), transparent 70%);
}
[data-theme="light"] .thank-you-icon {
  box-shadow:
    0 0 0 1px rgba(0, 164, 194, .35),
    0 0 60px rgba(0, 164, 194, .35),
    0 30px 80px rgba(0, 164, 194, .25);
}
[data-theme="light"] .thank-you-icon svg { stroke: #ffffff; }
[data-theme="light"] .thank-you-ring { border-color: rgba(0, 164, 194, .55); }

[data-theme="light"] .captcha.captcha-flash {
  animation: captcha-flash-light .55s ease-out;
}
@keyframes captcha-flash-light {
  0%   { box-shadow: 0 0 0 0 rgba(0, 164, 194, .5); border-color: rgba(0, 164, 194, .8); }
  100% { box-shadow: 0 0 0 12px rgba(0, 164, 194, 0); border-color: var(--line); }
}

[data-theme="light"] .notice-error {
  background: rgba(220, 38, 80, .08);
  border-color: rgba(220, 38, 80, .35);
  color: #b91c4a;
}
[data-theme="light"] .notice-success {
  background: rgba(20, 160, 110, .08);
  border-color: rgba(20, 160, 110, .35);
  color: #0d8a5d;
}
