/* ═══════════════════════════════════════════════════════════════
   CAPCUN — SHARED DESIGN SYSTEM
   The pipeline: Capture (Workflow) → Convert (WhatsApp) → Close (CRM) → Operate (HRMS)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* ── surfaces ── */
  --bg:        #0B0E14;
  --bg-2:      #080A0F;
  --surface:   #12161F;
  --surface-2: #1A2029;
  --surface-3: #212836;
  --line:      #232A38;
  --line-2:    #2E3646;

  /* ── text ── */
  --text:   #EDEFF4;
  --text-2: #97A0B4;
  --text-3: #5B6577;

  /* ── brand (from the Capcun mark) ── */
  --brand:       #3E8EF0;
  --brand-light: #7DB8FF;
  --brand-dark:  #1F5FB8;
  --brand-dim:   rgba(62,142,240,0.14);
  --brand-line:  rgba(62,142,240,0.36);
  --brand-glow:  rgba(62,142,240,0.4);

  /* ── signal colors (the four pipeline stages) ── */
  --amber:      #FF9D4D;   /* capture */
  --amber-dim:  rgba(255,157,77,0.12);
  --amber-line: rgba(255,157,77,0.32);

  --teal:      #3DDC9C;    /* convert / whatsapp */
  --teal-dim:  rgba(61,220,156,0.12);
  --teal-line: rgba(61,220,156,0.32);

  --violet:      #9B8CFF;  /* close / crm */
  --violet-dim:  rgba(155,140,255,0.12);
  --violet-line: rgba(155,140,255,0.32);

  --blue:      #5EA6FF;    /* operate / hrms */
  --blue-dim:  rgba(94,166,255,0.12);
  --blue-line: rgba(94,166,255,0.32);

  --red:     #FF6B6B;
  --red-dim: rgba(255,107,107,0.1);

  /* ── shape / shadow ── */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow:      0 24px 70px rgba(0,0,0,0.55);
  --shadow-card: 0 2px 14px rgba(0,0,0,0.35);

  /* ── type ── */
  --f-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --f-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); line-height: 1.65;
  background-image:
    radial-gradient(ellipse 1000px 560px at 50% -12%, rgba(62,142,240,0.10), transparent 62%);
  background-repeat: no-repeat;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--text); font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 74px); letter-spacing: -2px; line-height: 1.04; }
h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -1px; line-height: 1.12; }
h3 { font-size: 20px; letter-spacing: -0.3px; }
p  { color: var(--text-2); }
.mono { font-family: var(--f-mono); }

/* NOTE: `background` is a shorthand that resets background-clip — each rule
   below must declare background first, then background-clip/text-fill-color
   after, all within the SAME rule, or WebKit silently un-clips the text. */
.grad-brand  { background: linear-gradient(120deg, var(--brand-light), var(--brand) 55%, var(--brand-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-amber  { background: linear-gradient(120deg, #FFC48A, var(--amber) 55%, #FF7A3D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-teal   { background: linear-gradient(120deg, #8CF2C6, var(--teal) 55%, #23B87D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-violet { background: linear-gradient(120deg, #C7BEFF, var(--violet) 55%, #7A69F0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-blue   { background: linear-gradient(120deg, #B9D6FF, var(--blue) 55%, #2E7FE8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
section { padding: 108px 0; position: relative; }

/* ═══════════════════════════════════════════════════════
   STAGE TAG (bracketed mono eyebrow — encodes pipeline order)
═══════════════════════════════════════════════════════ */
.stage-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--brand); background: var(--brand-dim); border: 1px solid var(--brand-line);
  border-radius: 8px; padding: 6px 14px 6px 10px; margin-bottom: 22px;
}
.stage-tag .num { opacity: 0.6; }
.stage-tag::before { content: '['; opacity: 0.5; }
.stage-tag::after  { content: ']'; opacity: 0.5; }
.stage-teal   { color: var(--teal);   background: var(--teal-dim);   border-color: var(--teal-line); }
.stage-violet { color: var(--violet); background: var(--violet-dim); border-color: var(--violet-line); }
.stage-blue   { color: var(--blue);   background: var(--blue-dim);   border-color: var(--blue-line); }
.stage-neutral{ color: var(--text-2); background: var(--surface-2);  border-color: var(--line-2); }

/* generic pill eyebrow (non-bracket, used sparingly) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand-dim); border: 1px solid var(--brand-line);
  color: var(--brand); border-radius: 30px; padding: 5px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px; padding: 14px 28px; font-size: 15px; font-weight: 700;
  font-family: var(--f-body);
  cursor: pointer; text-decoration: none; border: none; transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #061224; box-shadow: 0 4px 20px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--brand-glow); }
.btn-outline { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--text); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--surface-3); }

.btn-teal   { background: linear-gradient(135deg, #7CF0BE, var(--teal));  color: #071B12; box-shadow: 0 4px 20px rgba(61,220,156,0.28); }
.btn-violet { background: linear-gradient(135deg, #C2B7FF, var(--violet)); color: #150F33; box-shadow: 0 4px 20px rgba(155,140,255,0.28); }
.btn-blue   { background: linear-gradient(135deg, #A9CFFF, var(--blue));  color: #0A1830; box-shadow: 0 4px 20px rgba(94,166,255,0.28); }
.btn-teal:hover, .btn-violet:hover, .btn-blue:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
nav.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,14,20,0.86); backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-brand { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--text); letter-spacing: -0.3px; }
.nav-sub   { font-family: var(--f-mono); font-size: 10.5px; color: var(--text-3); font-weight: 500; letter-spacing: 0.3px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px;
  background: var(--nav-accent, var(--brand));
}
.nav-cta { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.nav-hamburger span { display: block; height: 2px; background: var(--text-2); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column;
  background: var(--surface); border-top: 1px solid var(--line);
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 460px; }
.mobile-nav a {
  display: block; padding: 15px 24px; color: var(--text-2); text-decoration: none;
  font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--text); background: var(--surface-2); }
.mob-demo-btn { margin: 16px; border-radius: 12px; justify-content: center; font-size: 15px; }

/* ═══════════════════════════════════════════════════════
   LOGO (real brand mark)
═══════════════════════════════════════════════════════ */
.nav-logo-img    { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 34px; width: auto; display: block; }
.logo-icon       { height: 30px; width: auto; display: block; border-radius: 8px; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero-wrap { background: var(--bg); position: relative; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 900px 500px at 50% 0%, black, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 128px 40px 96px; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 30px; padding: 7px 18px 7px 14px; margin-bottom: 32px;
  font-family: var(--f-mono); font-size: 12.5px; color: var(--text-2);
}
.hero-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 600px; margin: 0 auto 44px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════════ */
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin: 0 auto; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p  { font-size: 18px; max-width: 620px; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════
   GENERIC PANEL / CARD
═══════════════════════════════════════════════════════ */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
}
.panel-hover { transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.panel-hover:hover {
  transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
}

/* ═══════════════════════════════════════════════════════
   STAT STRIP
═══════════════════════════════════════════════════════ */
.stat-strip { background: var(--surface); padding: 56px 20px; position: relative; }
.stat-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 700px 220px at 50% 0%, var(--brand-dim), transparent 70%);
}
.stat-strip .container { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center; }
.stat-item { padding: 8px; }
.stat-num {
  font-family: var(--f-display); font-size: 42px; font-weight: 700; letter-spacing: -1.5px; line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.3px; }

/* ═══════════════════════════════════════════════════════
   STAGE RAIL (homepage 4-product pipeline)
═══════════════════════════════════════════════════════ */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.rail-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px; text-decoration: none;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.rail-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent, var(--amber));
}
.rail-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.rail-card.amber  { --accent: var(--amber);  }
.rail-card.teal   { --accent: var(--teal);   }
.rail-card.violet { --accent: var(--violet); }
.rail-card.blue   { --accent: var(--blue);   }
.rail-card:hover { border-color: var(--accent); }
.rail-stage { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.5px; }
.rail-icon {
  width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, transparent);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.rail-title { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--text); }
.rail-desc  { font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex-grow: 1; }
.rail-link  { font-family: var(--f-mono); font-size: 12.5px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.rail-arrow { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); color: var(--line-2); font-size: 18px; z-index: 2; }

/* ═══════════════════════════════════════════════════════
   FEATURE / PAIN / PERSONA GRIDS (shared card language)
═══════════════════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.feat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
.feat-icon-wrap { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feat-title { font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.feat-highlight { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 3px 10px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; margin-top: 14px; }

.pain-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; position: relative; overflow: hidden; }
.pain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-light), var(--brand)); }
.pain-before { background: var(--red-dim); border: 1px solid rgba(255,107,107,0.2); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 13px; color: var(--red); display: flex; gap: 10px; }
.pain-before::before { content: '✗'; font-weight: 700; flex-shrink: 0; }
.pain-after { background: var(--teal-dim); border: 1px solid var(--teal-line); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--teal); display: flex; gap: 10px; }
.pain-after::before { content: '✓'; font-weight: 700; flex-shrink: 0; }
.pain-icon { font-size: 26px; margin-bottom: 14px; }
.pain-title { font-family: var(--f-display); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 18px; }

.persona-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.persona-head { padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }
.persona-avatar { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.persona-role { font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.persona-title { font-family: var(--f-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.persona-sub { font-size: 13px; color: var(--text-2); }
.persona-list { padding: 20px 28px; }
.persona-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.persona-item:last-child { border-bottom: none; padding-bottom: 0; }
.persona-item .check { color: var(--teal); font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS / STEPS
═══════════════════════════════════════════════════════ */
.steps-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps-wrap::before { content: ''; position: absolute; top: 24px; left: calc(33.33% + 8px); right: calc(33.33% + 8px); height: 2px; background: linear-gradient(90deg, var(--step-c1, var(--brand-light)), var(--step-c2, var(--brand))); }
.step-card { padding: 0 24px; text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 17px; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  position: relative; z-index: 1;
}
.step-title { font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════
   SECURITY / SPLIT PANEL
═══════════════════════════════════════════════════════ */
.split-wrap { background: linear-gradient(135deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; }
.split-left { padding: 56px 48px; }
.split-right { padding: 40px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.item-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px; transition: border-color 0.2s; }
.item-card:hover { border-color: var(--teal-line); }
.item-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.item-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.item-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.badge-line { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-dim); border: 1px solid var(--teal-line); color: var(--teal); border-radius: 30px; padding: 8px 18px; font-size: 13px; font-weight: 600; margin-top: 28px; }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; position: relative; }
.testi-quote { font-size: 44px; line-height: 1; color: var(--amber); opacity: 0.4; margin-bottom: -8px; font-family: Georgia, serif; }
.testi-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testi-stars { color: var(--amber); font-size: 13px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; font-family: var(--f-display); }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-company { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--brand-line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: none; border: none; color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; text-align: left; gap: 16px; font-family: var(--f-body); }
.faq-q:hover { color: var(--brand); }
.faq-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: transform 0.3s, background 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--brand-dim); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; font-size: 14px; color: var(--text-2); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 24px 20px; }

/* ═══════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════ */
.cta-section { background: linear-gradient(160deg, #0E1522 0%, var(--bg-2) 100%); text-align: center; padding: 110px 40px; position: relative; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 100%, var(--brand-dim), transparent 60%); }
.cta-section-wrap { position: relative; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 40px; max-width: 520px; margin-inline: auto; font-size: 18px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 40px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.footer-brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.7; max-width: 240px; }
.footer-col-title { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-2); text-decoration: none; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12.5px; color: var(--text-3); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--text-3); text-decoration: none; }
.footer-legal a:hover { color: var(--text-2); }

/* ═══════════════════════════════════════════════════════
   DEMO MODAL
═══════════════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(8,10,15,0.82); backdrop-filter: blur(12px) saturate(160%); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; width: 100%; max-width: 480px; box-shadow: var(--shadow); position: relative; overflow: hidden; transform: translateY(32px) scale(0.97); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }
.modal-accent-bar { height: 4px; background: linear-gradient(90deg, var(--brand), var(--violet), var(--teal)); }
.modal-body { padding: 36px 36px 32px; }
.modal-close { position: absolute; top: 20px; right: 20px; z-index: 10; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--line-2); color: var(--text); }
.modal-icon { font-size: 38px; margin-bottom: 16px; }
.modal-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.form-label .req { color: var(--brand); margin-left: 2px; }
.form-input { width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px; color: var(--text); font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-dim); }
.form-input.error { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.form-error.visible { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-submit { width: 100%; padding: 15px; border-radius: 12px; border: none; cursor: pointer; background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #061224; font-size: 16px; font-weight: 700; box-shadow: 0 4px 20px var(--brand-glow); transition: transform 0.2s, box-shadow 0.2s; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.modal-submit:hover { transform: translateY(-2px); }
.modal-submit:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }
.modal-privacy { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 14px; }
.modal-state { display: none; flex-direction: column; align-items: center; text-align: center; }
.modal-state.active { display: flex; }
.spinner { width: 50px; height: 50px; border-radius: 50%; margin-bottom: 20px; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.state-icon { font-size: 50px; margin-bottom: 16px; }
.state-title { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.state-sub { font-size: 14px; color: var(--text-2); max-width: 320px; line-height: 1.7; }
.state-action { margin-top: 24px; }

/* ═══════════════════════════════════════════════════════
   SCROLL-REVEAL default state (JS adds .in-view)
═══════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
═══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 960px)
═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .rail { grid-template-columns: repeat(2, 1fr); }
  .rail-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split-inner { grid-template-columns: 1fr; }
  .split-right { border-left: none; border-top: 1px solid var(--line); padding: 32px 40px; }
  .steps-wrap { grid-template-columns: 1fr; gap: 0; }
  .steps-wrap::before { display: none; }
  .step-card { display: flex; align-items: flex-start; gap: 20px; text-align: left; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .step-card:last-child { border-bottom: none; padding-bottom: 0; }
  .step-num { margin: 0; flex-shrink: 0; }
  .step-title { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }

  .nav-inner { padding: 0 18px; height: 60px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .nav-sub { display: none; }

  .hero-inner { padding: 76px 18px 56px; }
  h1 { letter-spacing: -1px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .hero-sub { font-size: 16px; margin-bottom: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .rail { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 15px; }
  .sec-head.center p { max-width: 100%; }

  .split-wrap { border-radius: var(--r-lg); }
  .split-left { padding: 28px 22px; }
  .split-right { padding: 20px 22px; }

  .faq-q { font-size: 14px; padding: 16px 18px; }
  .faq-a-inner { padding: 0 18px 16px; }
  .faq-item.open .faq-a { max-height: 320px; }

  .cta-section { padding: 64px 18px; }
  .cta-section p { font-size: 16px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 32px; letter-spacing: -1px; }

  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-card { border-radius: 24px 24px 0 0; max-width: 100%; max-height: 92dvh; overflow-y: auto; transform: translateY(100%); }
  .modal-overlay.open .modal-card { transform: translateY(0); }
  .modal-body { padding: 24px 20px 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal-title { font-size: 20px; }
}

@media (max-width: 380px) {
  h1 { letter-spacing: -0.5px; }
  .container { padding: 0 14px; }
  .pain-card, .feat-card { padding: 22px 18px; }
}
