/* =========================================
   DigitalInvoicing247 — Marketing Website
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary:       #1D4ED8;
  --primary-dark:  #1E3A8A;
  --primary-light: #3B82F6;
  --accent:        #7C3AED;
  --green:         #22C55E;
  --red:           #EF4444;
  --amber:         #F59E0B;
  --text-dark:     #0F172A;
  --text-mid:      #334155;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --bg:            #FFFFFF;
  --bg-alt:        #F8FAFC;
  --bg-blue:       #EFF6FF;
  --border:        #E2E8F0;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:     0 8px 30px rgba(0,0,0,.12);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ─────────────────────────────── */
.container { max-width: clamp(320px, 80%, 1200px); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-blue { background: var(--bg-blue); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.badge-blue  { background: #DBEAFE; color: var(--primary); }
.badge-green { background: #DCFCE7; color: #15803D; }
.badge-amber { background: #FEF3C7; color: #B45309; }
.badge-red   { background: #FEE2E2; color: #B91C1C; }
.badge-purple{ background: #EDE9FE; color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(29,78,216,.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29,78,216,.45); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--bg-blue); }
.btn-white {
  background: #fff; color: var(--primary); font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--bg-blue); transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* ── Section headers ─────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2;
  color: var(--text-dark); margin-bottom: 16px;
}
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* ── Navigation ──────────────────────────── */
#nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; }

.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--text-mid); transition: var(--transition);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--primary); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn-login {
  padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: 7px;
  transition: var(--transition);
}
.nav-cta .btn-login:hover { background: var(--bg-blue); }
.nav-cta .btn-get-started {
  padding: 9px 18px; font-size: 14px; background: var(--primary); color: #fff;
  border-radius: 7px; font-weight: 600; transition: var(--transition);
}
.nav-cta .btn-get-started:hover { background: var(--primary-dark); }

.nav-mobile-toggle {
  display: none; cursor: pointer; padding: 8px; border: none; background: none;
  flex-direction: column; gap: 5px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text-dark);
  border-radius: 2px; transition: var(--transition);
}

.nav-mobile { display: none; }

/* ── Alert bar ───────────────────────────── */
#alert-bar {
  background: linear-gradient(90deg, #7F1D1D, #B91C1C, #7F1D1D);
  color: #fff; text-align: center; padding: 10px 24px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
}
#alert-bar strong { font-weight: 700; }
#alert-bar a { color: #FCA5A5; text-decoration: underline; }

/* ── Hero ────────────────────────────────── */
#hero {
  background: #F8FAFF;
  padding: 110px 0 96px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -40%; right: -8%;
  width: 60%; height: 150%;
  background: radial-gradient(ellipse at center, rgba(59,130,246,.07) 0%, transparent 65%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute; bottom: -20%; left: -5%;
  width: 45%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(124,58,237,.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; color: #0F172A; margin-bottom: 22px;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #1D4ED8 0%, #7C3AED 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px; color: #475569; line-height: 1.8;
  margin-bottom: 36px; max-width: 480px; font-weight: 400;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  color: #64748B; font-size: 13px; font-weight: 500;
}
.hero-trust-item svg { color: #22C55E; flex-shrink: 0; }

.hero-card {
  background: #fff; border: 1px solid #E2E8F0;
  border-radius: 18px; padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
}
.hero-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.hero-card-title { color: #94A3B8; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-card-badge {
  background: #DCFCE7; color: #15803D; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}

.compliance-steps { display: flex; flex-direction: column; gap: 8px; }
.compliance-step {
  display: flex; align-items: center; gap: 12px;
  background: #F8FAFC; border-radius: 10px; padding: 12px 14px;
  border: 1px solid #E2E8F0; transition: border-color .2s, background .2s;
}
.compliance-step:hover { border-color: #BFDBFE; background: #EFF6FF; }
.step-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px;
}
.step-info { flex: 1; }
.step-info strong { color: #0F172A; font-size: 13px; font-weight: 500; display: block; }
.step-info span { color: #94A3B8; font-size: 12px; }
.step-status { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 4px; letter-spacing: .03em; }
.step-status.done { background: #DCFCE7; color: #15803D; }
.step-status.live { background: #DBEAFE; color: #1D4ED8; }
.step-status.pending-s { background: #FEF3C7; color: #92400E; }

/* ── Stats bar ───────────────────────────── */
#stats {
  background: var(--primary-dark); padding: 40px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-item { padding: 0 16px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.15); }
.stat-number {
  font-size: clamp(28px, 3vw, 42px); font-weight: 900; color: #fff;
  line-height: 1; margin-bottom: 6px;
}
.stat-number span { color: #fff; }
.stat-label { font-size: 13px; color: #BFDBFE; font-weight: 500; }

/* ── Problem section ─────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.problem-left h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 20px; line-height: 1.25; }
.problem-left p { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }

.regulation-cards { display: flex; flex-direction: column; gap: 14px; }
.reg-card {
  display: flex; gap: 16px; padding: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: var(--transition);
}
.reg-card:hover { transform: translateX(4px); border-color: var(--primary); }
.reg-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px;
}
.reg-content strong { font-size: 14px; color: var(--text-dark); display: block; margin-bottom: 4px; }
.reg-content span { font-size: 13px; color: var(--text-muted); }

.penalty-box {
  background: #FEF2F2; border: 2px solid #FCA5A5; border-radius: var(--radius-lg);
  padding: 28px; margin-top: 24px;
}
.penalty-box h3 { font-size: 16px; font-weight: 700; color: #991B1B; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.penalty-list { display: flex; flex-direction: column; gap: 10px; }
.penalty-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: #fff; border-radius: 8px; font-size: 14px;
}
.penalty-item span:first-child { color: var(--text-mid); }
.penalty-amount { font-weight: 700; color: #B91C1C; }

/* ── Timeline ────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 20px; padding: 20px 0;
  border-left: 2px solid var(--border); padding-left: 24px; margin-left: 18px;
  position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: -9px; top: 26px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item.passed::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-item.urgent::before { background: var(--red); box-shadow: 0 0 0 2px var(--red); animation: pulse-ring 1.5s infinite; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 2px var(--red); }
  100% { box-shadow: 0 0 0 6px transparent; }
}

.timeline-date { font-size: 12px; font-weight: 700; color: var(--text-muted); min-width: 90px; padding-top: 2px; }
.timeline-content strong { font-size: 15px; font-weight: 600; color: var(--text-dark); display: block; }
.timeline-content span { font-size: 13px; color: var(--text-muted); }

/* ── Features ────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.fi-blue   { background: #DBEAFE; }
.fi-green  { background: #DCFCE7; }
.fi-purple { background: #EDE9FE; }
.fi-amber  { background: #FEF3C7; }
.fi-red    { background: #FEE2E2; }
.fi-teal   { background: #CCFBF1; }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Input methods ───────────────────────── */
.input-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.input-method {
  text-align: center; padding: 28px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition);
}
.input-method:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.input-method-icon { font-size: 36px; margin-bottom: 14px; }
.input-method h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.input-method p { font-size: 13px; color: var(--text-muted); }

/* ── Pricing ─────────────────────────────── */
.pricing-note {
  text-align: center; margin-bottom: 40px;
  font-size: 15px; color: var(--text-muted);
}
.pricing-note strong { color: var(--text-dark); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-bottom: 48px; }
.pricing-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(29,78,216,.1);
}
.popular-badge {
  position: absolute; top: 0; right: 28px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}

.plan-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.plan-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.plan-price { margin-bottom: 28px; }
.plan-price .currency { font-size: 20px; font-weight: 700; color: var(--text-mid); vertical-align: top; margin-top: 6px; display: inline-block; }
.plan-price .amount { font-size: 48px; font-weight: 900; color: var(--text-dark); line-height: 1; }
.plan-price .period { font-size: 14px; color: var(--text-muted); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-mid);
}
.plan-features li .check { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan-features li .highlight-feature { font-weight: 600; color: var(--primary); }

.setup-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg); padding: 36px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px;
}
.setup-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.setup-info p { font-size: 15px; opacity: .85; max-width: 480px; line-height: 1.6; }
.setup-price { text-align: center; }
.setup-price .amount { font-size: 48px; font-weight: 900; display: block; }
.setup-price .label { font-size: 14px; opacity: .8; }

/* ── How it works ────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-card { text-align: center; padding: 36px 24px; position: relative; }
.step-card:not(:last-child)::after {
  content: '→'; position: absolute; right: -18px; top: 46px;
  font-size: 22px; color: var(--border); font-weight: 300;
}
.step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 14px rgba(29,78,216,.35);
}
.step-week {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); margin-bottom: 8px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Why us ──────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--bg-blue);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.why-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.why-visual {
  background: linear-gradient(135deg, var(--bg-blue), #EDE9FE);
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.metric-card {
  background: #fff; border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow);
}
.metric-value { font-size: 32px; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.metric-label { font-size: 13px; color: var(--text-muted); }
.pral-badge {
  background: #fff; border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.pral-badge-icon { font-size: 28px; }
.pral-badge strong { display: block; font-size: 15px; color: var(--text-dark); }
.pral-badge span { font-size: 13px; color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--text-dark); gap: 12px; transition: var(--transition);
  list-style: none; user-select: none;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-chevron {
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: var(--transition); font-size: 12px; color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--bg-blue); color: var(--primary); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ── CTA section ─────────────────────────── */
#cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #4C1D95 100%);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
#cta::before {
  content: ''; position: absolute; top: -50%; left: -10%; right: -10%;
  height: 200%; background: radial-gradient(ellipse at center, rgba(96,165,250,.15) 0%, transparent 70%);
}
#cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; color: #fff; margin-bottom: 16px; }
#cta p { font-size: 18px; color: #94A3B8; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-features {
  display: flex; gap: 28px; justify-content: center; margin-top: 40px; flex-wrap: wrap;
}
.cta-feature { display: flex; align-items: center; gap: 8px; color: #94A3B8; font-size: 14px; }
.cta-feature svg { color: #22C55E; }

/* ── Contact bar ─────────────────────────── */
#contact-bar {
  background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0;
}
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-card {
  text-align: center; padding: 32px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 32px; margin-bottom: 16px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.contact-card a { font-size: 15px; color: var(--primary); font-weight: 600; display: block; }
.contact-card span { font-size: 13px; color: var(--text-muted); margin-top: 4px; display: block; }

/* ── Footer ──────────────────────────────── */
footer {
  background: #0F172A; color: #94A3B8; padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 300px; margin-top: 16px; }
.footer-logo { filter: brightness(0) invert(1); height: 36px; }

.footer-col h4 { color: #E2E8F0; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: #64748B; transition: var(--transition); }
.footer-col ul li a:hover { color: #E2E8F0; }

.footer-bottom {
  border-top: 1px solid #1E293B; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: #475569; }
.footer-badges { display: flex; gap: 10px; }
.footer-badge {
  background: #1E293B; border: 1px solid #334155; color: #64748B;
  font-size: 12px; padding: 4px 12px; border-radius: 6px;
}

/* ── WhatsApp float ──────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; box-shadow: 0 4px 14px rgba(37,211,102,.4);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── Back to top ─────────────────────────── */
#back-to-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 999;
  width: 42px; height: 42px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: var(--transition); pointer-events: none;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--bg-blue); border-color: var(--primary); }

/* ── Scroll animations ───────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Inline-replaced grids ───────────────── */
.who-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid    { grid-template-columns: repeat(2, 1fr); }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid   { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after { display: none; }
  .step-card:nth-child(3)::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:nth-child(2) { border-right: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .who-grid    { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .input-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-box { flex-direction: column; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 0; border-top: 1px solid var(--border);
  }
  .nav-mobile a {
    padding: 12px 24px; font-size: 15px; font-weight: 500;
    color: var(--text-mid); display: block; border-radius: 6px;
    transition: var(--transition);
  }
  .nav-mobile a:hover { background: var(--bg-alt); color: var(--primary); }
  .nav-mobile .mobile-cta { margin: 8px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .metric-grid { grid-template-columns: 1fr; }
  .input-methods-grid { grid-template-columns: 1fr; }
}
