/* ==========================================================================
   Setu ERP — landing page styles
   Visual identity: a modern, professional enterprise-software palette —
   deep navy for trust and authority, teal as the energetic accent, clean
   neutral surfaces. Built to read as serious business software, not a
   single-purpose billing tool.
   ========================================================================== */

:root {
  --maroon-deep: #102A4C;
  --maroon: #1B3E6F;
  --maroon-bright: #2F63B0;
  --paper-tint: #EAF1FB;
  --paper-tint-soft: #DEE9F8;

  --brass: #0D9488;
  --brass-light: #2DD4BF;
  --brass-dark: #0B7A70;

  --ink: #16212F;
  --ink-soft: #48566A;
  --muted: #7C8AA0;
  --border: #DCE4F0;
  --rule: #C9D4E6;

  --bg: #F5F8FC;
  --bg-soft: #EBF1F9;
  --bg-card: #FFFFFF;

  --success: #16A34A;
  --white: #FFFFFF;

  --gradient-brand: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 100%);
  --gradient-brass: linear-gradient(135deg, var(--brass-dark) 0%, var(--brass-light) 100%);
  --shadow-sm: 0 1px 2px rgba(16, 35, 63, .08);
  --shadow-md: 0 10px 26px rgba(16, 35, 63, .12);
  --shadow-lg: 0 26px 60px rgba(16, 35, 63, .18);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, 'Courier New', monospace;

  --container: 1200px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E7EDF7;
    --ink-soft: #B6C2D8;
    --muted: #8493AC;
    --border: #2A3A54;
    --rule: #33455F;
    --bg: #0A1420;
    --bg-soft: #0F1B2C;
    --bg-card: #142338;
    --paper-tint: #1B2B44;
    --paper-tint-soft: #223655;
    --maroon: #5D8FD9;
    --maroon-bright: #7CAAEA;
    --brass: #2DD4BF;
    --brass-light: #5EEAD4;
    --brass-dark: #14B8A6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 26px rgba(0, 0, 0, .4);
    --shadow-lg: 0 26px 60px rgba(0, 0, 0, .5);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-brass); z-index: 1100;
  transition: width .12s ease-out;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--maroon-deep); color: #fff;
  padding: 10px 16px; border-radius: 0 0 6px 0; z-index: 10000;
}
.skip-link:focus { left: 0; }

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

/* ---------- Ledger rule divider ---------- */
.ledger-rule {
  border: none; height: 5px; margin: 0;
  background:
    linear-gradient(var(--rule), var(--rule)) top / 100% 1px no-repeat,
    linear-gradient(var(--rule), var(--rule)) bottom / 100% 1px no-repeat;
  opacity: .8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(85, 26, 34, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(85, 26, 34, .45); }

.btn-gold {
  background: var(--gradient-brass);
  color: var(--maroon-deep);
  box-shadow: 0 8px 20px rgba(126, 95, 40, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(126, 95, 40, .45); }

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: rgba(122, 37, 48, .35);
}
.btn-outline:hover { border-color: var(--maroon); background: var(--paper-tint); }

.btn-outline-inverse { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-inverse:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-ghost { color: var(--ink-soft); padding: 10px 14px; font-weight: 600; }
.btn-ghost:hover { color: var(--maroon); }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.nav-wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 5px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.2px; color: var(--maroon); }
.brand-accent { color: var(--brass-dark); }

.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--maroon); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gradient-brass); border-radius: 2px;
  transition: right .22s ease;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--maroon); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-cta { display: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-card);
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; overflow: hidden; position: relative; }
.hero > .container { position: relative; z-index: 1; }

/* Dot grid behind the hero. On wide screens that background was a flat expanse that read as
   empty rather than deliberate; this gives it texture at effectively zero cost - no image, no
   extra request. Masked so it fades out before the sub-copy, framing the headline instead of
   competing with it, and it sits under .hero > .container's z-index: 1. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--rule) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 82%);
}
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow-1 { width: 440px; height: 440px; background: var(--maroon); opacity: .14; top: -140px; left: -100px; animation: glowFloat1 15s ease-in-out infinite; }
.glow-2 { width: 380px; height: 380px; background: var(--brass); opacity: .16; bottom: -160px; right: -80px; animation: glowFloat2 17s ease-in-out infinite; }
@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 36px) scale(1.1); }
}
@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, -30px) scale(1.06); }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--maroon);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--brass); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1; letter-spacing: -.5px; font-weight: 600; color: var(--ink);
}
.hero-sub {
  margin-top: 20px; font-size: 17.5px; color: var(--ink-soft); max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.hero-trust li::before { content: '✓ '; color: var(--success); font-weight: 800; }

/* Hero visual: a stamped Tax Invoice mock */
.hero-visual {
  position: relative; min-height: 440px; padding-left: 150px;
  transition: transform .25s ease-out;
  will-change: transform;
  display: flex; align-items: flex-start; justify-content: center;
}
.mock-invoice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden; max-width: 380px; width: 100%;
  position: relative;
}
.mock-invoice-header {
  background: var(--gradient-brand); color: #fff; padding: 18px 20px 16px;
  font-family: var(--font-display);
}
.mock-invoice-header .mih-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .8; }
.mock-invoice-header .mih-title { font-size: 19px; font-weight: 600; margin-top: 4px; }
.mock-invoice-header span.badge { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: 10.5px; padding: 3px 9px; border-radius: var(--radius-sm); font-weight: 700; letter-spacing: .4px; font-family: var(--font-body); }
.mock-invoice-body { padding: 20px 20px 78px; display: flex; flex-direction: column; gap: 2px; }
.mock-col-heads {
  display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule); padding-bottom: 7px; margin-bottom: 4px;
}
.mock-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; font-size: 13px; border-bottom: 1px dashed var(--border);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.mock-row span:first-child { color: var(--ink-soft); }
.mock-row b { color: var(--ink); font-weight: 600; }
.hero-visual.in-view .mock-row:nth-child(2) { opacity: 1; transform: none; transition-delay: .3s; }
.hero-visual.in-view .mock-row:nth-child(3) { opacity: 1; transform: none; transition-delay: .5s; }
.hero-visual.in-view .mock-row:nth-child(4) { opacity: 1; transform: none; transition-delay: .7s; }
.mock-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0 2px; margin-top: 6px;
  font-weight: 700; font-size: 17px; color: var(--maroon);
  opacity: 0; transition: opacity .4s ease;
}
.hero-visual.in-view .mock-total { opacity: 1; transition-delay: .95s; }

.mock-stamp {
  position: absolute; bottom: 14px; right: 20px; z-index: 2;
  width: 84px; height: 84px; border-radius: 50%;
  border: 2.5px solid var(--maroon); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-14deg) scale(.85);
  opacity: 0; transition: opacity .5s ease, transform .5s ease;
  font-family: var(--font-display);
}
.mock-stamp::before {
  content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--maroon); opacity: .6;
}
.mock-stamp-text { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.5; }
.hero-visual.in-view .mock-stamp { opacity: .82; transform: rotate(-14deg) scale(1); transition-delay: 1.15s; }

.mock-card {
  position: absolute; background: var(--bg-card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--border); padding: 13px 15px; z-index: 2;
  opacity: 0; transition: opacity .5s ease;
}
.hero-visual.in-view .mock-card-2 { opacity: 1; transition-delay: 1.3s; }
.mock-card-2 {
  top: 50%; left: 0; width: 128px; font-weight: 700; font-size: 12.5px; line-height: 1.4;
  color: var(--success); overflow-wrap: break-word;
  display: flex; align-items: center; gap: 8px; text-align: left;
  animation: cardFloatCenter 5.5s ease-in-out infinite;
}
@keyframes cardFloatCenter {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* ---------- Trust strip (marquee) ---------- */
.strip { background: var(--maroon-deep); overflow: hidden; border-top: 3px solid var(--brass); border-bottom: 3px solid var(--brass); }
.strip-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-row {
  display: flex; flex-shrink: 0; align-items: center; gap: 34px;
  padding: 16px 34px 16px 0;
  color: rgba(255,255,255,.9); font-weight: 600; font-size: 13.5px; letter-spacing: .2px;
  white-space: nowrap;
}
.strip-row span::before { content: '·'; color: var(--brass-light); margin-right: 34px; font-weight: 900; }
.strip-row span:first-child::before { content: none; margin-right: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section shared ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.3px; margin-top: 6px;
}
.section-sub { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature cards ---------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(122,37,48,.3); }
.feature-card h3 { font-size: 17.5px; font-weight: 600; margin: 16px 0 8px; font-family: var(--font-display); }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: transparent; color: var(--maroon);
  border: 1.5px solid var(--border);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.icon-badge svg { width: 22px; height: 22px; }
.feature-card:hover .icon-badge {
  transform: translateY(-3px);
  background: var(--maroon-deep); color: #fff; border-color: var(--maroon-deep);
}

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step;
}
.step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 24px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: 16px;
  margin-bottom: 16px; font-family: var(--font-display);
}
.step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* ---------- Invoice formats ---------- */
.template-card { text-align: left; }
.template-card h3 { font-size: 16.5px; font-weight: 600; margin: 16px 0 6px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.template-card p { color: var(--ink-soft); font-size: 13.5px; }
.tpl-tag {
  font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-sm);
}
.tpl-tag-official { background: var(--paper-tint); color: var(--maroon); border: 1px solid rgba(122,37,48,.25); }
.tpl-tag-quick { background: var(--paper-tint); color: var(--brass-dark); border: 1px solid rgba(126,95,40,.3); }

.template-thumb {
  height: 190px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--bg-card); box-shadow: var(--shadow-sm);
  padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.tpl-title-line { height: 10px; width: 55%; border-radius: 2px; background: var(--maroon); opacity: .85; }
.tpl-line { height: 6px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.tpl-badge { width: 24px; height: 24px; border-radius: var(--radius-sm); background: var(--brass); position: absolute; top: 16px; right: 16px; }
.tpl-table { height: 22px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ink) 7%, var(--bg-card)); border: 1px solid var(--border); }
.tpl-narrow { width: 60%; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.tpl-narrow .tpl-line { height: 5px; }
.tpl-gujarati { font-family: 'Noto Sans Gujarati', var(--font-body); font-size: 13px; font-weight: 700; color: var(--maroon); }

/* ---------- Stats ---------- */
/* The stats band is the page's one full-bleed dark moment between two light sections - it
   gives the scroll a beat rather than running pale tint into pale tint. Anchored on
   --maroon-deep + a literal, NOT --gradient-brand, because that gradient's light stop
   (--maroon) flips to a pale blue in dark mode and white numerals would wash out on it. */
.stats {
  padding: 68px 0;
  background: linear-gradient(135deg, #0A1420 0%, var(--maroon-deep) 45%, #16375F 100%);
  border-top: 3px solid var(--brass);
  border-bottom: 3px solid var(--brass);
  position: relative;
  overflow: hidden;
}

/* Same dot texture as the hero, tying the two dark bands together. Fixed rgba rather than
   --rule so it stays visible whichever theme is active. */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}

.stats > .container { position: relative; z-index: 1; }
.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 46px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -.5px;
  font-family: var(--font-mono);
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(231, 237, 247, .72);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 26px; margin: 0; box-shadow: var(--shadow-sm);
}
.quote-card p { font-size: 15.5px; color: var(--ink); line-height: 1.65; font-family: var(--font-display); }
.quote-card p::before { content: '\201C'; color: var(--maroon); font-weight: 700; }
.quote-card cite {
  display: block; margin-top: 16px; font-style: normal; font-weight: 700;
  font-size: 13px; color: var(--muted); font-family: var(--font-body);
}

/* ---------- Pricing ---------- */
.pricing-grid { align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 26px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-featured {
  border-color: var(--maroon);
  box-shadow: var(--shadow-lg);
}
.price-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-brass); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.price-badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--maroon-deep); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 13px; border-radius: var(--radius-sm); letter-spacing: .3px;
}
.price-card h3 { font-size: 18px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; font-size: 15px; color: var(--muted); font-weight: 600; }
.price span { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.3px; font-family: var(--font-mono); }
.price-desc { margin-top: 6px; color: var(--ink-soft); font-size: 13.5px; }
.price-features { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-features li { font-size: 14px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.price-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800;
}
/* ---------- ERP suite cards (the full-functionality showcase) ----------
   Replaces the old .module-group / .module-list-detailed two-column lists: with twelve
   suites and ~190 screens behind them, long prose lists read as a wall of text. A card per
   suite lets someone scan for the one area they care about (manufacturing, treasury, payroll)
   and stop, instead of reading everything. */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.suite-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* The accent rail only appears on hover, so twelve cards at rest stay calm rather than
   competing with each other for attention. */
.suite-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--gradient-brass);
  opacity: 0;
  transition: opacity .2s ease;
}

.suite-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule);
}

.suite-card:hover::before { opacity: 1; }

.suite-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  /* Anchored on --maroon-deep, which is deliberately NOT overridden for dark mode - so the
     teal icon keeps the same strong contrast in both themes, unlike --gradient-brand whose
     light end (--maroon) flips to a pale blue in dark. */
  background: linear-gradient(135deg, var(--maroon-deep) 0%, #1B3E6F 100%);
  margin-bottom: 16px;
}

.suite-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--brass-light);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.suite-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--maroon);
  margin: 0 0 8px;
}

.suite-card > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.suite-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.suite-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.75px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.suite-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  opacity: .55;
}

.suite-foot {
  margin-top: 30px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .suite-grid { grid-template-columns: 1fr; gap: 16px; }
  .suite-card { padding: 22px 20px; }
}


/* ---------- Accordion / FAQ ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 20px 4px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font-display);
}
.accordion-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--radius-sm);
  background: var(--paper-tint); color: var(--maroon); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
  transition: transform .25s ease; font-family: var(--font-body);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.accordion-panel p { padding: 0 4px 20px; color: var(--ink-soft); font-size: 14.5px; max-width: 680px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--gradient-brand); padding: 88px 0; }
.cta-inner { text-align: center; color: #fff; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 600; letter-spacing: -.3px; }
.cta-inner p { margin-top: 14px; color: rgba(255,255,255,.86); font-size: 16px; }
.cta-inner .hero-ctas { justify-content: center; margin-top: 30px; }
.cta-banner .btn-primary { background: #fff; color: var(--maroon-deep); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.cta-banner .btn-primary:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-deep); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.62); max-width: 280px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-accent { color: var(--brass-light); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--gradient-brand); color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 14, 9, .55); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 440px; padding: 34px 30px; position: relative;
  transform: translateY(16px) scale(.97); transition: transform .22s ease;
  max-height: 90vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.modal::-webkit-scrollbar { width: 7px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.modal::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--ink-soft);
  font-size: 18px; line-height: 1;
}
.modal-close:hover { background: var(--paper-tint); color: var(--maroon); }
.modal h3 { font-size: 21px; font-weight: 600; padding-right: 30px; }
.modal-sub { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
#planForm { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
#planForm label { font-size: 13px; font-weight: 700; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
#planForm .optional { font-weight: 500; color: var(--muted); }
#planForm input {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 14.5px;
  color: var(--ink); background: var(--bg-soft); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#planForm input:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(122,37,48,.15); }
#planForm .btn { margin-top: 4px; }
.form-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 2px; }

.modal-success { text-align: center; padding-top: 6px; }
.success-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800;
  margin: 0 auto 16px;
}
.modal-success h3 { text-align: center; }
.modal-success p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }
.modal-success .btn { margin-top: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Cascade grid/step children in on scroll instead of popping in together */
.grid > .reveal:nth-child(1), .steps > .reveal:nth-child(1) { transition-delay: 0ms; }
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: 80ms; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: 160ms; }
.grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: 240ms; }
.grid > .reveal:nth-child(5) { transition-delay: 320ms; }
.grid > .reveal:nth-child(6) { transition-delay: 400ms; }
.grid > .reveal:nth-child(7) { transition-delay: 480ms; }
.grid > .reveal:nth-child(8) { transition-delay: 560ms; }


/* Suite cards cascade too, but capped at three steps: with twelve cards the grid is 2-3
   columns wide, so delaying by DOM order past the first row would leave later cards visibly
   lagging behind the scroll rather than reading as one wave. */
.suite-grid > .reveal:nth-child(3n + 1) { transition-delay: 0ms; }
.suite-grid > .reveal:nth-child(3n + 2) { transition-delay: 70ms; }
.suite-grid > .reveal:nth-child(3n + 3) { transition-delay: 140ms; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 20px; padding-left: 0; }
  .mock-card-2 { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: 10px 24px 20px;
  }
  .nav.mobile-open ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav.mobile-open a { display: block; padding: 12px 0; width: 100%; }
  .nav.mobile-open .mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; width: 100%; }
  .nav.mobile-open .mobile-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .mock-card-2 { display: none; }
}
