/* ============================================================
   LEXLY — Landing page
   Dark, premium, marketing. Shares the app's design tokens.
   ============================================================ */

:root {
  --bg:        #0A0A0F;
  --bg-2:      #0c0c12;
  --surface:   #13131A;
  --surface-2: #17171f;
  --surface-3: #1c1c26;

  --violet:        #7C3AED;
  --violet-bright: #8B5CF6;
  --violet-soft:   #a78bfa;
  --violet-dim:    rgba(124, 58, 237, 0.14);
  --violet-line:   rgba(124, 58, 237, 0.34);

  --white:    #F8F8FF;
  --text:     #EDEDF2;
  --text-2:   #a9a9b8;
  --text-3:   #6c6c7c;
  --text-4:   #4a4a57;

  --line:    rgba(255, 255, 255, 0.07);
  --line-2:  rgba(255, 255, 255, 0.11);
  --line-3:  rgba(255, 255, 255, 0.16);

  --green:  #34d399;
  --amber:  #fbbf24;

  --shadow-lg: 0 24px 60px -12px rgba(0,0,0,0.6);
  --shadow-md: 0 8px 30px -8px rgba(0,0,0,0.5);
  --shadow-glow: 0 30px 90px -20px rgba(124,58,237,0.45);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --serif: 'Newsreader', Georgia, serif;
  --header-h: 70px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'cv05' 1, 'ss01' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

*::-webkit-scrollbar { width: 11px; }
*::-webkit-scrollbar-track { background: var(--bg); }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 20px; border: 3px solid var(--bg); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform .14s, background .15s, box-shadow .15s, border-color .15s, opacity .15s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--violet-bright), var(--violet));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124,58,237,0.75), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(124,58,237,0.9), inset 0 1px 0 rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--line-3); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Brand mark ---------- */
.mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--violet-bright), var(--violet));
  box-shadow: 0 6px 18px -4px rgba(124,58,237,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.mark svg { color: #fff; }
.brand-row { display: flex; align-items: center; gap: 11px; }
.brand-row .name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.brand-row .name b { color: var(--violet-soft); font-weight: 600; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; gap: 20px; width: 100%; }
.nav {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
}
.nav a {
  padding: 8px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 9px 16px; font-size: 13.5px; }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 9px; place-items: center; border: 1px solid var(--line-2); color: var(--text); margin-left: auto; }

/* mobile drawer */
.mobile-nav { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(124,58,237,0.20), transparent 60%),
    radial-gradient(700px 500px at 10% 30%, rgba(124,58,237,0.10), transparent 60%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(900px 600px at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(900px 600px at 50% 0%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 9px; border-radius: 30px;
  background: var(--violet-dim); border: 1px solid var(--violet-line);
  color: var(--violet-soft); font-size: 12.5px; font-weight: 500;
  margin-bottom: 24px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 700; color: var(--white); text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--violet-soft), var(--violet-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); line-height: 1.6;
  margin-top: 22px; max-width: 520px; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust .stars { display: flex; gap: 2px; color: var(--amber); }
.hero-trust span { font-size: 13px; color: var(--text-3); }
.hero-trust b { color: var(--text); font-weight: 600; }

/* ---------- Chat mockup ---------- */
.hero-mock { position: relative; }
.mockup {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.mockup:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.mock-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.mock-title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-left: 4px; }
.mock-title .lex { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(150deg,#1f1830,#15121d); border: 1px solid var(--violet-line); display: grid; place-items: center; }
.mock-title .lex svg { color: var(--violet-soft); }
.mock-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-row { display: flex; gap: 10px; }
.mock-row.user { flex-direction: row-reverse; }
.mock-av { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; }
.mock-av.lex { background: linear-gradient(155deg,#1f1830,#15121d); border: 1px solid var(--violet-line); }
.mock-av.lex svg { color: var(--violet-soft); }
.mock-av.usr { background: linear-gradient(150deg,#3a3a4a,#23232e); border: 1px solid var(--line-2); color: var(--text-2); }
.mock-bubble { font-size: 12.5px; line-height: 1.5; padding: 10px 13px; border-radius: 13px; max-width: 84%; }
.mock-bubble.lex { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--text); }
.mock-bubble.usr { background: linear-gradient(180deg,var(--violet-bright),var(--violet)); color: #fff; border-top-right-radius: 4px; }
.mock-bubble strong { color: var(--white); font-weight: 600; }
.mock-bubble.lex .cite { color: var(--violet-soft); font-weight: 500; }
.mock-input {
  margin: 4px 18px 18px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 10px 10px 10px 14px;
}
.mock-input span { font-size: 12.5px; color: var(--text-4); flex: 1; }
.mock-send { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(180deg,var(--violet-bright),var(--violet)); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card {
  position: absolute; z-index: 3;
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: 13px; padding: 11px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px;
}
.float-card .fc-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-t { font-size: 12px; font-weight: 600; color: var(--white); }
.float-card .fc-s { font-size: 11px; color: var(--text-3); }
.float-card.alert { bottom: -20px; left: 26px; }
.float-card.alert .fc-ic { background: rgba(251,191,36,0.14); color: var(--amber); }
.float-card.doc { top: 70px; right: -30px; }
.float-card.doc .fc-ic { background: rgba(52,211,153,0.14); color: var(--green); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.sec-pad { padding: 90px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--violet-soft); margin-bottom: 14px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700; color: var(--white); text-wrap: balance;
}
.sec-head p { font-size: 16px; color: var(--text-2); margin-top: 16px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform .18s, border-color .18s, background .18s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(280px 160px at 50% -20%, var(--violet-dim), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--violet-line); background: var(--surface-2); }
.service-card:hover::after { opacity: 1; }
.service-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--violet-dim); border: 1px solid var(--violet-line); color: var(--violet-soft);
}
.service-card h3 { font-size: 16.5px; font-weight: 600; color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em; }
.service-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  font-size: 19px; font-weight: 700; color: var(--violet-soft);
  background: var(--violet-dim); border: 1px solid var(--violet-line);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 9px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.step-connector { position: absolute; top: 52px; right: -13px; color: var(--text-4); z-index: 2; }

/* ---------- Lexly en acción ---------- */
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.action-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; transition: border-color .18s, transform .18s; }
.action-card:hover { border-color: var(--violet-line); transform: translateY(-3px); }
.action-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11.5px; font-weight: 600; color: var(--violet-soft); background: var(--violet-dim); border: 1px solid var(--violet-line); padding: 4px 11px; border-radius: 20px; margin-bottom: 18px; }
.ac-row { display: flex; gap: 9px; margin-bottom: 11px; }
.ac-row.user { flex-direction: row-reverse; }
.ac-av { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; }
.ac-av.lex { background: linear-gradient(155deg,#1f1830,#15121d); border: 1px solid var(--violet-line); color: var(--violet-soft); }
.ac-av.usr { background: linear-gradient(150deg,#3a3a4a,#23232e); border: 1px solid var(--line-2); color: var(--text-2); }
.ac-bubble { font-size: 12.5px; line-height: 1.5; padding: 9px 12px; border-radius: 12px; }
.ac-bubble.user { background: linear-gradient(180deg,var(--violet-bright),var(--violet)); color: #fff; border-top-right-radius: 4px; }
.ac-bubble.lex { background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); border-top-left-radius: 4px; }
.ac-bubble.lex strong { color: var(--white); font-weight: 600; }
.ac-bubble.lex .cite { color: var(--violet-soft); font-weight: 500; }
.ac-foot { margin-top: auto; padding-top: 14px; font-size: 11.5px; color: var(--text-4); display: flex; align-items: center; gap: 7px; }
.ac-foot svg { color: var(--green); }

/* ---------- Trust badges (footer) ---------- */
.trust-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.trust-row .tb { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 13px; }
.trust-row .tb svg { color: var(--green); flex-shrink: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column;
}
.testi .quote-mark { font-family: var(--serif); font-size: 54px; line-height: 0.6; color: var(--violet-line); height: 24px; }
.stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.testi blockquote {
  font-size: 14.5px; line-height: 1.62; color: var(--text); flex: 1;
  font-style: normal;
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--white); flex-shrink: 0; border: 1px solid var(--line-2); }
.testi-author .ta-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testi-author .ta-role { font-size: 12.5px; color: var(--text-3); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .18s, border-color .18s;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border-color: var(--violet-line);
  background: linear-gradient(180deg, rgba(124,58,237,0.10), var(--surface) 55%);
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg,var(--violet-bright),var(--violet)); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 5px 14px; border-radius: 20px;
  box-shadow: 0 6px 16px -4px rgba(124,58,237,0.7); white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 600; color: var(--white); }
.plan-tag { font-size: 13px; color: var(--text-3); margin-top: 4px; min-height: 19px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 4px; }
.plan-price .amt { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 14px; color: var(--text-3); font-weight: 500; }
.plan-price .free { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; color: var(--white); }
.plan-cta { margin: 22px 0 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.plan-features li svg { color: var(--violet-soft); flex-shrink: 0; margin-top: 2px; }
.plan.featured .plan-features li svg { color: var(--violet-bright); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; color: var(--white); text-wrap: balance; }
.contact-info p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin-top: 14px; }
.contact-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.contact-line .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--violet-soft); flex-shrink: 0; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: .15s; }
.socials a:hover { color: var(--white); border-color: var(--violet-line); background: var(--surface-3); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.fld input, .fld textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.fld input::placeholder, .fld textarea::placeholder { color: var(--text-4); }
.fld input:focus, .fld textarea:focus { border-color: var(--violet-line); box-shadow: 0 0 0 3px var(--violet-dim); }
.fld textarea { resize: vertical; line-height: 1.55; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--green); margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 70px 0; }
.cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(124,58,237,0.05));
  border: 1px solid var(--violet-line); border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; color: var(--white); text-wrap: balance; }
.cta-inner p { font-size: 16px; color: var(--text-2); margin-top: 14px; }
.cta-inner .hero-actions { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
}
.footer-bottom .copy { font-size: 12.5px; color: var(--text-3); }
.footer-disc { font-size: 11.5px; color: var(--text-4); max-width: 540px; line-height: 1.5; }

/* ============================================================
   Reveal animation (base = visible)
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.reveal { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .mockup { transform: none; max-width: 480px; }
  .mockup:hover { transform: none; }
  .float-card.alert { left: 8px; }
  .float-card.doc { right: 8px; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .header-cta .login-link { display: none; }
  .menu-toggle { display: grid; }
  .steps { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .action-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* mobile drawer */
  .mobile-nav {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
    padding: 14px 0 18px;
  }
  .mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 13px 28px; font-size: 15px; color: var(--text); font-weight: 500; }
  .mobile-nav a:active { background: rgba(255,255,255,0.04); }
  .mobile-nav .mn-cta { padding: 16px 28px 4px; display: flex; flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .sec-pad { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .contact-form { padding: 22px 18px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 22px; }
  .footer-top { grid-template-columns: 1fr; }
}
