/* =============================================================
   SYNQRATE — Design system & styles
   Palette derived from the logo: deep indigo/violet + gold core
   ============================================================= */

:root {
  /* Brand */
  --violet:      #6B34D6;
  --violet-2:    #8A4BEA;
  --indigo:      #3A2A8C;
  --royal:       #2B3FBE;
  --gold:        #F6A623;
  --gold-2:      #FFC24B;
  --gold-deep:   #E8890B;
  --green:       #12B981;
  --green-2:     #0E9E6E;

  /* Neutrals */
  --ink:         #150E32;   /* deep purple-navy (dark sections) */
  --ink-2:       #1E1544;
  --text:        #1A1533;
  --muted:       #635E82;
  --line:        #E9E6F4;
  --bg:          #F7F6FC;
  --bg-tint:     #F1EEFA;
  --card:        #FFFFFF;
  --white:       #FFFFFF;

  /* Effects */
  --grad-brand:  linear-gradient(135deg, var(--royal) 0%, var(--violet) 55%, var(--violet-2) 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  --grad-text:   linear-gradient(100deg, var(--royal), var(--violet) 60%, var(--violet-2));
  --shadow-sm:   0 2px 8px rgba(31,20,74,.06);
  --shadow:      0 12px 34px rgba(31,20,74,.10);
  --shadow-lg:   0 28px 70px rgba(31,20,74,.18);
  --shadow-brand:0 18px 40px rgba(107,52,214,.28);
  --r:           18px;
  --r-lg:        26px;
  --maxw:        1200px;
  --ease:        cubic-bezier(.22,.7,.3,1);

  --font-head: "Prompt", "Sarabun", system-ui, sans-serif;
  --font-body: "Sarabun", "IBM Plex Sans Thai", "Prompt", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
svg { width: 100%; height: 100%; display: block; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 66px); text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); background: rgba(107,52,214,.09);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.55rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(107,52,214,.38); }
.btn-gold { background: var(--grad-gold); color: #3A2606; box-shadow: 0 16px 34px rgba(230,137,11,.32); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(230,137,11,.42); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--violet); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(247,246,252,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(31,20,74,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; letter-spacing: .02em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a.nav-link {
  font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--text);
  padding: 9px 15px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-menu a.nav-link:hover { color: var(--violet); background: rgba(107,52,214,.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 100px;
  padding: 8px 15px; cursor: pointer; min-width: 54px; transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--violet); color: var(--violet); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(120px, 16vw, 168px) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(246,166,35,.16), transparent 60%),
    radial-gradient(70% 60% at 8% 20%, rgba(107,52,214,.14), transparent 55%),
    linear-gradient(180deg, #FBFAFE 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(107,52,214,.10) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500;
  font-size: .86rem; color: var(--indigo); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 7px 15px 7px 12px; border-radius: 100px; margin-bottom: 22px;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,185,129,.18); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 700; }
.hero h1 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.18rem); margin: 22px 0 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-trust { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--muted); font-size: .93rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--text); font-weight: 500; }
.hero-badges span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--grad-brand) ; -webkit-mask: center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  mask: center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* Hero visual card */
.hero-visual { position: relative; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative; z-index: 2;
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-head .dot-row { display: flex; gap: 6px; }
.dash-head .dot-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-head .dot-row i:first-child { background: #FF8A80; } .dash-head .dot-row i:nth-child(2){ background: var(--gold); } .dash-head .dot-row i:nth-child(3){ background: var(--green); }
.dash-title { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--muted); }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.stat { background: var(--bg-tint); border-radius: 14px; padding: 14px 16px; }
.stat.green { background: rgba(18,185,129,.10); }
.stat .s-label { font-size: .78rem; color: var(--muted); }
.stat .s-val { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--text); margin-top: 2px; }
.stat.green .s-val { color: var(--green-2); }
.stat .stars { color: var(--gold); display: inline-flex; gap: 1px; }
.stat .stars svg { width: 15px; height: 15px; display: inline-block; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 78px; padding: 6px 4px 0; }
.dash-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad-brand); opacity: .85; }
.dash-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.dash-chips span { font-size: .78rem; font-weight: 600; font-family: var(--font-head); color: var(--indigo);
  background: rgba(107,52,214,.08); padding: 5px 11px; border-radius: 100px; display: inline-flex; align-items: center; gap: 5px; }
.dash-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.hero-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
}
.hero-float .fic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.hero-float .fic svg { width: 17px; height: 17px; }
.hero-float.f1 { top: -18px; left: -14px; } .hero-float.f1 .fic { background: var(--grad-gold); color: #3A2606; }
.hero-float.f2 { bottom: 24px; right: -18px; } .hero-float.f2 .fic { background: var(--green); }
.hero-float small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .74rem; }

/* ---------- Icon chips ---------- */
.ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ic svg { width: 25px; height: 25px; }
.ic-brand { background: rgba(107,52,214,.10); color: var(--violet); }
.ic-gold  { background: rgba(246,166,35,.14); color: var(--gold-deep); }
.ic-green { background: rgba(18,185,129,.12); color: var(--green-2); }
.ic-danger{ background: rgba(255,107,90,.10); color: #E0533C; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(107,52,214,.22); }
.card h3 { font-size: 1.14rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .98rem; }

.problem-card h3 { font-size: 1.08rem; }

/* ---------- Solution ---------- */
.solution-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.solution-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 10px 18px 10px 12px; font-family: var(--font-head); font-weight: 500;
  font-size: .97rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s;
}
.chip:hover { transform: translateY(-3px); border-color: rgba(107,52,214,.3); }
.chip-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; flex: none; }
.chip-ic svg { width: 17px; height: 17px; }
.solution-hub {
  margin-top: 42px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  font-weight: 600; color: var(--indigo); background: rgba(107,52,214,.07);
  border: 1px dashed rgba(107,52,214,.35); padding: 12px 22px; border-radius: 100px;
}

/* ---------- Modules ---------- */
.modules-list { display: grid; gap: 20px; }
.module {
  display: grid; grid-template-columns: 92px 1fr; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(107,52,214,.22); }
.module-head { background: linear-gradient(180deg, #F7F4FE, #F1ECFB); display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 14px; padding: 26px 0; border-right: 1px solid var(--line); }
.module-num { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--violet-2); opacity: .6; }
.module-ic { width: 46px; height: 46px; }
.module-body { padding: 26px 28px; }
.module-body h3 { font-size: 1.28rem; }
.module-tag { color: var(--violet); font-weight: 600; font-family: var(--font-head); font-size: .98rem; margin: 4px 0 16px; }
.module-list { display: grid; gap: 9px; margin-bottom: 20px; }
.module-list li { display: flex; align-items: flex-start; gap: 10px; color: #453F63; font-size: .98rem; }
.li-ic { width: 21px; height: 21px; border-radius: 6px; background: rgba(18,185,129,.14); color: var(--green-2);
  display: grid; place-items: center; flex: none; margin-top: 3px; }
.li-ic svg { width: 14px; height: 14px; }
.module-benefit { background: var(--bg-tint); border-left: 3px solid var(--gold); border-radius: 12px; padding: 14px 18px; }
.benefit-label { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold-deep); }
.module-benefit p { color: var(--text); font-weight: 500; margin-top: 3px; font-size: 1rem; }

/* ---------- ROI ---------- */
.roi-card { text-align: center; }
.roi-num { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--green-2);
  margin: 16px 0 6px; line-height: 1; letter-spacing: -.02em; }
.roi-unit { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.roi-card .ic { margin: 0 auto; }
.roi-card h3 { font-size: 1.1rem; }
.roi-disclaimer { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 28px; }

/* ---------- How it works ---------- */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; align-items: stretch; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.step-label { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--violet); }
.step h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: .98rem; }
.step-line { display: none; }

/* ---------- Industries ---------- */
.industry-card { display: flex; flex-direction: column; }
.usecase-label { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold-deep); margin: 16px 0 6px; }
.industry-card h3 { margin-bottom: 2px; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 30px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item .ic { width: 46px; height: 46px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.trust-item p { color: var(--muted); font-size: .96rem; }

/* ---------- CTA / demo ---------- */
.cta {
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(246,166,35,.22), transparent 60%),
    radial-gradient(60% 90% at 10% 90%, rgba(138,75,234,.35), transparent 60%),
    var(--ink);
  color: #fff; border-radius: 0; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 30px 30px; }
.cta-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; position: relative; z-index: 2; }
.cta .kicker { background: rgba(255,255,255,.12); color: var(--gold-2); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-sub { color: rgba(255,255,255,.8); font-size: 1.1rem; margin: 16px 0 26px; }
.cta-note { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: .93rem; margin-top: 22px; }
.cta-line { margin-top: 18px; }
.cta-line a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-family: var(--font-head); }
.cta-line a svg { width: 22px; height: 22px; }

/* Form card */
.form-card { background: #fff; border-radius: var(--r-lg); padding: 30px 30px 34px; box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card .form-lead { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635E82' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(107,52,214,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-status { font-size: .95rem; margin-top: 14px; padding: 12px 15px; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: rgba(18,185,129,.12); color: var(--green-2); border: 1px solid rgba(18,185,129,.3); }
.form-status.err { display: block; background: rgba(224,83,60,.1); color: #C7402B; border: 1px solid rgba(224,83,60,.3); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand-name { font-size: 1.5rem; }
.footer .brand-mark { width: 40px; height: 32px; }
.footer-tag { margin-top: 16px; font-size: .95rem; max-width: 320px; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
#footer-contacts a { display: inline-flex; align-items: center; gap: 9px; }
#footer-contacts svg { width: 19px; height: 19px; flex: none; color: var(--gold-2); }
.footer-lang { margin-top: 14px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; font-size: .88rem; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .cta-grid { grid-template-columns: 1fr; gap: 34px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-menu {
    position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(247,246,252,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 14px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(31,20,74,.1);
    transform: translateY(-14px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a.nav-link { padding: 12px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav-menu .btn { margin-top: 8px; width: 100%; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-cta-desktop { display: none; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .how-steps, .trust-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 1fr; }
  .module-head { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 22px;
    border-right: none; border-bottom: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-float.f1 { left: 0; } .hero-float.f2 { right: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .module:hover, .chip:hover { transform: none; }
}
