/* ============================================================
   TECHALEXUS LLC — Global Stylesheet
   AI Automation & Digital Marketing Agency
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-soft-2: #eef0f9;
  --bg-dark: #080912;
  --bg-dark-2: #0e1020;
  --panel: #ffffff;

  --ink: #0b1020;
  --text: #3b4254;
  --muted: #6b7385;
  --muted-light: #9aa1b4;
  --line: #e6e8f2;
  --line-soft: #eef0f7;

  --brand: #6366f1;
  --brand-2: #8b5cf6;
  --accent: #22d3ee;
  --accent-2: #34d399;
  --warn: #f59e0b;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,.12), rgba(34,211,238,.12));
  --grad-text: linear-gradient(120deg, #818cf8, #c084fc 45%, #5eead4);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(16,20,40,.06), 0 1px 1px rgba(16,20,40,.04);
  --shadow: 0 10px 30px -12px rgba(16,20,40,.18);
  --shadow-lg: 0 30px 60px -20px rgba(16,20,40,.28);
  --shadow-brand: 0 18px 40px -14px rgba(99,102,241,.5);

  --container: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
ul { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(99,102,241,.45); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }

p { color: var(--text); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: #c7cbe0; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section.dark .eyebrow { color: #a5b4fc; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
.section.dark .section-title { color: #fff; }
.section.dark .section-sub { color: #9aa1c4; }

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

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: .98rem; line-height: 1;
  padding: 14px 22px; border-radius: var(--r-full); border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer; text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(99,102,241,.62); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; transform: translateY(-2px); background: #1a2138; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--brand); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,20,40,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 18px; }

.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.16rem; }
.logo:hover { color: var(--ink); }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-brand); flex: none;
}
.logo .mark svg { width: 19px; height: 19px; }
.logo .lite { color: var(--muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text); font-weight: 550; font-size: .96rem; padding: 9px 13px; border-radius: var(--r-sm);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
body.menu-open .nav-toggle .ic-open { display: none; }
body.menu-open .nav-toggle .ic-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-dark); color: #cdd2ea; overflow: hidden; padding: clamp(74px, 11vw, 130px) 0 clamp(64px, 9vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(99,102,241,.35), transparent 60%),
    radial-gradient(50% 50% at 12% 18%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(40% 60% at 60% 100%, rgba(139,92,246,.22), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(75% 65% at 50% 30%, #000 40%, transparent 100%); mask-image: radial-gradient(75% 65% at 50% 30%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 880px; margin-inline: auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px; border-radius: var(--r-full);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #d6dbf2; font-size: .85rem; font-weight: 550;
  margin-bottom: 26px;
}
.hero-badge .pill { background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: var(--r-full); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .gx { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #aab0d2; max-width: 660px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: #8b92b8; display: inline-flex; gap: 8px; align-items: center; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent-2); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: clamp(48px, 7vw, 74px); padding-top: 38px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .n { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero-stats .stat .n .gx { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .l { font-size: .86rem; color: #8b92b8; margin-top: 4px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-dark-2); border-top: 1px solid rgba(255,255,255,.06); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 60px); flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: #aeb4d4; font-weight: 600; font-size: .96rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Cards / Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden; scroll-margin-top: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); color: var(--brand); border: 1px solid rgba(99,102,241,.18);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.card-list { display: grid; gap: 9px; margin-bottom: 20px; }
.card-list li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--text); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--grad-soft) ;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* ---------- Process / Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step .num {
  width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step:nth-child(1) .num { background: linear-gradient(135deg,#6366f1,#818cf8); }
.step:nth-child(2) .num { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.step:nth-child(3) .num { background: linear-gradient(135deg,#0ea5e9,#22d3ee); }
.step:nth-child(4) .num { background: linear-gradient(135deg,#10b981,#34d399); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--muted); }
.step .arrow { position: absolute; right: -22px; top: 46px; color: var(--line); z-index: 2; }
.step .arrow svg { width: 26px; height: 26px; }
.steps .step:last-child .arrow { display: none; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border-color: transparent; background: var(--bg-dark); color: #c7cbe0; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card.featured:hover { transform: translateY(-12px); }
.price-card.featured h3, .price-card.featured .price .amt { color: #fff; }
.price-tag { position: absolute; top: 18px; right: 18px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: var(--r-full); text-transform: uppercase; }
.plan-name { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.price-card.featured .plan-name { color: #fff; }
.plan-desc { font-size: .92rem; color: var(--muted); margin: 6px 0 20px; min-height: 42px; }
.price-card.featured .plan-desc { color: #9aa1c4; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price .amt { font-size: 2.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-note { font-size: .82rem; color: var(--muted-light); margin-bottom: 22px; }
.price-card.featured .price-note { color: #8b92b8; }
.plan-feats { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-feats li { position: relative; padding-left: 28px; font-size: .94rem; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(52,211,153,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.price-card.featured .plan-feats li::before { background-color: rgba(52,211,153,.22); }
.pricing-foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: .96rem; }

/* ---------- Outcomes ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.metric { text-align: center; padding: 30px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.metric .big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lbl { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.section.dark .metric { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section.dark .metric .lbl { color: #9aa1c4; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.section.dark .quote { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.quote .stars { color: var(--warn); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.quote p { font-size: 1rem; color: var(--text); flex: 1; }
.section.dark .quote p { color: #c7cbe0; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.quote .by .nm { font-weight: 700; color: var(--ink); font-size: .95rem; }
.section.dark .quote .by .nm { color: #fff; }
.quote .by .rl { font-size: .84rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 70px); align-items: center; }
.about-copy p { color: var(--text); margin-bottom: 16px; font-size: 1.04rem; }
.about-copy p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.fact .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.fact .v { font-weight: 700; color: var(--ink); margin-top: 6px; font-size: 1.02rem; }
.fact .s { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--r-full); background: var(--bg-soft); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.chip svg { width: 16px; height: 16px; color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq-item summary .ic svg { width: 16px; height: 16px; color: var(--brand); }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--grad); }
.faq-item[open] summary .ic svg { color: #fff; }
.faq-item .ans { padding: 0 24px 22px; color: var(--muted); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow-sm); }
.cinfo .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo .k { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.cinfo .v { font-weight: 650; color: var(--ink); font-size: 1.02rem; }
.cinfo a.v:hover { color: var(--brand); }
.cinfo .s { font-size: .86rem; color: var(--muted); }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem; color: var(--ink); background: #fff; font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 122px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99,102,241,.14); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; display: none; padding: 12px 16px; border-radius: var(--r-sm); }
.form-status.show { display: block; }
.form-status.ok { background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.25); }
.form-status.err { background: rgba(239,68,68,.08); color: #b91c1c; border: 1px solid rgba(239,68,68,.22); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--bg-dark); color: #cdd2ea; padding: clamp(44px, 7vw, 72px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(99,102,241,.45), transparent 60%), radial-gradient(40% 80% at 85% 100%, rgba(34,211,238,.25), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #aab0d2; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #9aa1c4; padding: clamp(56px, 8vw, 84px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #8b92b8; font-size: .95rem; max-width: 320px; margin-bottom: 20px; }
.footer-brand .social { display: flex; gap: 10px; }
.footer-brand .social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; color: #aeb4d4; transition: background .2s, color .2s, transform .2s; }
.footer-brand .social a:hover { background: var(--grad); color: #fff; transform: translateY(-2px); border-color: transparent; }
.footer-brand .social svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #9aa1c4; font-size: .95rem; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .88rem; color: #6f76a0; }
.footer-bottom .legal-mini { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-mini a { color: #6f76a0; }
.footer-bottom .legal-mini a:hover { color: #c7cbe0; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 80; max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 20px 22px; display: none; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie.show { display: flex; animation: cookieIn .4s var(--ease); }
@keyframes cookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie p { font-size: .9rem; color: var(--muted); flex: 1; min-width: 220px; }
.cookie .actions { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 18px; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--bg-dark); color: #cdd2ea; padding: clamp(60px, 9vw, 96px) 0 clamp(40px, 6vw, 60px); position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 80% 0%, rgba(99,102,241,.3), transparent 60%); }
.legal-hero .container { position: relative; z-index: 2; }
.legal-hero .crumb { font-size: .9rem; color: #8b92b8; margin-bottom: 16px; }
.legal-hero .crumb a { color: #a5b4fc; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.legal-hero .updated { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #9aa1c4; }
.legal-hero .updated svg { width: 16px; height: 16px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.toc ul { display: grid; gap: 2px; }
.toc a { display: block; font-size: .9rem; color: var(--muted); padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: all .18s; }
.toc a:hover { color: var(--brand); background: var(--bg-soft); border-left-color: var(--brand); }

.legal-content { max-width: 760px; }
.legal-content > p:first-child { font-size: 1.1rem; color: var(--ink); }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 14px; scroll-margin-top: 100px; }
.legal-content h2:first-of-type { margin-top: 8px; }
.legal-content h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.legal-content p { margin-bottom: 16px; color: var(--text); }
.legal-content ul, .legal-content ol { margin: 0 0 18px; padding-left: 4px; display: grid; gap: 9px; }
.legal-content ul li { position: relative; padding-left: 26px; color: var(--text); }
.legal-content ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal-content ol { counter-reset: li; padding-left: 0; }
.legal-content ol > li { position: relative; padding-left: 38px; counter-increment: li; color: var(--text); }
.legal-content ol > li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); color: var(--brand); font-weight: 700; font-size: .82rem; display: grid; place-items: center; }
.legal-content a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-sm); padding: 18px 22px; margin: 22px 0; }
.legal-callout p { margin: 0; font-size: .96rem; color: var(--muted); }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .94rem; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.legal-table tr:last-child td { border-bottom: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .pricing, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .arrow { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 8px; }
  .toc { position: static; margin-bottom: 24px; padding: 18px; background: var(--bg-soft); border-radius: var(--r); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px 22px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; border-radius: 10px; }
  .nav-links .btn { margin-top: 8px; }
  .nav-actions .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .cards, .pricing, .testimonials, .steps, .metrics, .facts, .form-row, .contact-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie .actions { width: 100%; }
  .cookie .actions .btn { flex: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .08s !important; }
}
