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

/* ── CSS Variables ── */
:root {
  --brand:       #10b981;
  --brand-dark:  #059669;
  --brand-light: #d1fae5;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --muted:       #64748b;
  --subtle:      #94a3b8;
  --border:      #e2e8f0;
  --bg-light:    #f8fafc;
  --indigo:      #6366f1;
  --violet:      #8b5cf6;
  --amber:       #f59e0b;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,0.08); }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--dark); }
.logo-icon { width: 34px; height: 34px; background: var(--dark); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 18px; height: 18px; stroke: #10b981; fill: none; stroke-width: 2; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; padding: 8px 0; }
.btn-ghost:hover { color: var(--dark); }
.btn-primary {
  background: var(--dark);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-primary.green { background: var(--brand); }
.btn-primary.green:hover { background: var(--brand-dark); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--dark); background: var(--bg-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 20px 24px; z-index: 99; flex-direction: column; gap: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 0.9375rem; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--bg-light); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(16,185,129,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(99,102,241,0.12) 0%, transparent 60%),
    linear-gradient(rgba(148,163,184,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  display: flex; align-items: center; padding-top: 68px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25);
  color: #6ee7b7; font-size: 0.75rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.3); } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.08; color: white; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 .accent { color: var(--brand); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #94a3b8; max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #64748b; font-weight: 500; }
.trust-item svg { width: 14px; height: 14px; stroke: #10b981; fill: none; stroke-width: 2; }

/* ── Section helpers ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--dark); line-height: 1.15; }
.section-title.white { color: white; }
.section-sub { font-size: 1.0625rem; color: var(--muted); margin-top: 16px; line-height: 1.7; max-width: 560px; }
.section-sub.white { color: #94a3b8; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Cards ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: #cbd5e1; box-shadow: 0 8px 32px rgba(15,23,42,0.08); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon.green { background: #ecfdf5; }
.card-icon.indigo { background: #eef2ff; }
.card-icon.violet { background: #f5f3ff; }
.card-icon.amber { background: #fffbeb; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; }
.card-icon.green svg { stroke: #10b981; }
.card-icon.indigo svg { stroke: #6366f1; }
.card-icon.violet svg { stroke: #8b5cf6; }
.card-icon.amber svg { stroke: #f59e0b; }
.card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── Logo belt ── */
.logo-belt { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.logo-belt p { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 24px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-item { font-size: 0.9375rem; font-weight: 700; color: var(--subtle); letter-spacing: -0.01em; transition: color 0.2s; }
.logo-item:hover { color: var(--dark); }

/* ── Stats bar ── */
.stats-bar { background: var(--dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.05); }
.stat-item { padding: 48px 32px; text-align: center; background: var(--dark); }
.stat-num { font-size: 2.75rem; font-weight: 900; color: var(--brand); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.875rem; color: #64748b; font-weight: 500; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent); }
.step { text-align: center; padding: 0 16px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--dark); color: white; font-size: 1.125rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; }
.step h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── Dashboard mockup ── */
.mockup-wrap { position: relative; }
.mockup-glow { position: absolute; inset: -40px; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(16,185,129,0.12), transparent 70%); pointer-events: none; }
.browser-chrome { background: #1e293b; border-radius: 14px 14px 0 0; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots .r { background: #ff5f57; }
.browser-dots .y { background: #febc2e; }
.browser-dots .g { background: #28c840; }
.browser-bar { flex: 1; background: #0f172a; border-radius: 6px; padding: 5px 12px; font-size: 0.72rem; color: #475569; font-family: 'JetBrains Mono', monospace; margin-left: 8px; }
.app-shell { background: #0f172a; border-radius: 0 0 14px 14px; display: flex; overflow: hidden; height: 400px; border: 1px solid #1e293b; border-top: none; }
.app-sidebar { width: 200px; background: #0f172a; border-right: 1px solid #1e293b; padding: 16px 12px; flex-shrink: 0; }
.app-sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 20px; }
.app-sidebar-logo .dot { width: 26px; height: 26px; background: #10b981; border-radius: 7px; }
.app-sidebar-logo span { font-size: 0.72rem; font-weight: 700; color: white; }
.app-nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; margin-bottom: 2px; font-size: 0.7rem; color: #64748b; cursor: pointer; }
.app-nav-item.active { background: white; color: #0f172a; font-weight: 600; }
.app-nav-item .nav-dot { width: 12px; height: 12px; border-radius: 3px; background: currentColor; opacity: 0.4; flex-shrink: 0; }
.app-nav-item.active .nav-dot { opacity: 1; }
.app-main { flex: 1; background: #f8fafc; padding: 16px; overflow: hidden; }
.app-metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.app-metric { background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px; }
.app-metric .m-label { font-size: 0.62rem; color: #94a3b8; font-weight: 500; margin-bottom: 4px; }
.app-metric .m-val { font-size: 1.25rem; font-weight: 800; color: #0f172a; }
.app-metric .m-sub { font-size: 0.6rem; color: #10b981; margin-top: 2px; font-weight: 600; }
.app-table { background: white; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.app-table-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.app-table-head span { font-size: 0.7rem; font-weight: 600; color: #0f172a; }
.app-table-head .count { font-size: 0.6rem; color: #94a3b8; }
.app-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #f8fafc; }
.app-row:last-child { border-bottom: none; }
.app-row .ref { font-size: 0.65rem; font-family: 'JetBrains Mono', monospace; color: #334155; }
.app-row .amt { font-size: 0.65rem; font-weight: 600; color: #0f172a; text-align: right; }
.app-row .date { font-size: 0.6rem; color: #94a3b8; }
.badge { display: inline-flex; align-items: center; font-size: 0.58rem; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.badge.green { background: #ecfdf5; color: #059669; }
.badge.amber { background: #fffbeb; color: #d97706; }
.badge.red { background: #fef2f2; color: #dc2626; }

/* ── Testimonials ── */
.testimonial-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.testimonial-card blockquote { font-size: 1rem; line-height: 1.7; color: var(--dark); font-weight: 500; margin-bottom: 24px; }
.testimonial-card blockquote::before { content: '"'; font-size: 2rem; color: var(--brand); line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: white; flex-shrink: 0; }
.author-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.author-role { font-size: 0.75rem; color: var(--muted); }

/* ── Pricing ── */
.pricing-card { background: white; border: 1.5px solid var(--border); border-radius: 24px; padding: 36px; transition: border-color 0.2s, box-shadow 0.2s; }
.pricing-card.featured { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(15,23,42,0.06); }
.pricing-card.featured .plan-name { color: white; }
.plan-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.plan-price { font-size: 2.75rem; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); line-height: 1; }
.plan-price sup { font-size: 1.25rem; font-weight: 700; vertical-align: top; margin-top: 8px; display: inline-block; }
.plan-price .per { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.plan-desc { font-size: 0.875rem; color: var(--muted); margin: 16px 0 28px; line-height: 1.6; }
.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: 0.875rem; color: var(--dark-3); }
.plan-features li svg { width: 16px; height: 16px; stroke: var(--brand); fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }
.toggle-wrap { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 48px; }
.toggle-label { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.toggle-label.active { color: var(--dark); }
.toggle { position: relative; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #cbd5e1; border-radius: 100px; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: 0.3s; }
.toggle input:checked + .toggle-slider { background: var(--dark); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.save-badge { background: #ecfdf5; color: #059669; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; }

/* ── CTA banner ── */
.cta-banner { background: var(--dark); border-radius: 24px; padding: 64px 48px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(ellipse, rgba(16,185,129,0.2), transparent 70%); pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 300px; height: 300px; background: radial-gradient(ellipse, rgba(99,102,241,0.15), transparent 70%); pointer-events: none; }

/* ── Page heroes ── */
.page-hero { background: var(--dark); padding: 140px 0 80px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; color: white; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 20px; }
.page-hero p { font-size: 1.0625rem; color: #94a3b8; max-width: 560px; line-height: 1.7; }

/* ── Solutions ── */
.solution-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 36px; cursor: pointer; transition: all 0.2s; }
.solution-card:hover { border-color: var(--dark); box-shadow: 0 8px 32px rgba(15,23,42,0.1); transform: translateY(-3px); }
.solution-card .s-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.solution-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.solution-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.solution-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.solution-card .tag { font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--bg-light); color: var(--dark-3); }

/* ── About ── */
.value-card { border-left: 3px solid var(--brand); padding-left: 24px; }
.value-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.value-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 900; color: white; }
.team-card h4 { font-size: 0.9375rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-card .role { font-size: 0.8125rem; color: var(--brand); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* ── Blog ── */
.article-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.2s; }
.article-card:hover { border-color: #cbd5e1; box-shadow: 0 6px 24px rgba(15,23,42,0.07); transform: translateY(-2px); }
.article-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.article-body { padding: 24px; }
.article-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 10px; }
.article-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.article-body p { font-size: 0.8375rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.article-meta { font-size: 0.75rem; color: var(--subtle); }

/* ── Contact ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.9rem; font-family: inherit;
  color: var(--dark); background: white; transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--dark); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
footer { background: var(--dark); color: white; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: #64748b; margin-top: 14px; line-height: 1.6; max-width: 240px; }
.footer-col h5 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #475569; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.875rem; color: #64748b; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.8125rem; color: #475569; }
.footer-badges { display: flex; gap: 10px; }
.footer-badge { font-size: 0.7rem; font-weight: 600; padding: 5px 10px; border: 1px solid #1e293b; border-radius: 8px; color: #475569; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Tag/chip ── */
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 100px; padding: 5px 13px; font-size: 0.8rem; font-weight: 500; color: var(--dark-3); }

/* ── Layout utilities (replaces inline grid styles) ── */
.split-grid      { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center; }
.split-grid-even { display: grid; grid-template-columns: 1fr 1fr;   gap: 64px; align-items: start; }
.cta-grid        { display: grid; grid-template-columns: 1fr auto;  gap: 32px; align-items: center; position: relative; z-index: 1; }
.form-row        { display: grid; grid-template-columns: 1fr 1fr;   gap: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { gap: 40px; }
  .split-grid-even { gap: 40px; }
}
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .split-grid, .split-grid-even       { grid-template-columns: 1fr; gap: 32px; }
  .cta-grid                           { grid-template-columns: 1fr; gap: 24px; }
  .form-row                           { grid-template-columns: 1fr; }

  /* Page-specific classes defined in <style> tags */
  .contact-grid  { grid-template-columns: 1fr !important; gap: 40px !important; }
  .case-study    { grid-template-columns: 1fr !important; padding: 36px 24px !important; }
  .demo-layout   { grid-template-columns: 1fr !important; min-height: auto !important; }
  .feature-row   { grid-template-columns: 1fr !important; margin-bottom: 48px !important; }
  .spec-grid     { grid-template-columns: 1fr !important; }
  .metric-row    { grid-template-columns: 1fr 1fr !important; }
  .pricing-grid  { grid-template-columns: 1fr !important; max-width: 480px !important; margin: 0 auto !important; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust   { gap: 16px; }

  /* Page heroes */
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }

  /* Stats bar */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: 32px 16px; }
  .stat-num   { font-size: 2.25rem; }

  /* Dashboard mockup: hide on mobile to keep layout clean */
  .mockup-wrap { display: none; }

  /* Sections */
  .section    { padding: 60px 0; }
  .section-sm { padding: 48px 0; }

  /* CTA banner */
  .cta-banner { padding: 40px 24px; }
  .cta-banner .cta-actions { flex-direction: column; align-items: stretch; }

  /* Logo belt */
  .logos-row { gap: 20px; }

  /* App shell */
  .app-sidebar { display: none; }
  .app-shell   { height: 280px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  /* Grids */
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .metric-row  { grid-template-columns: 1fr !important; }
  .steps       { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logos-row   { gap: 14px; }

  /* Sections */
  .section    { padding: 48px 0; }
  .section-sm { padding: 40px 0; }

  /* Page hero */
  .page-hero { padding: 88px 0 40px; }

  /* Stats */
  .stat-num   { font-size: 1.875rem; }
  .stat-item  { padding: 24px 12px; }

  /* CTA banner */
  .cta-banner { padding: 32px 20px; border-radius: 16px; }

  /* Cards */
  .card { padding: 24px; }
  .pricing-card { padding: 28px; }

  /* Hero font */
  .hero h1 { font-size: 2.25rem; }

  /* Hero trust items */
  .hero-trust { flex-direction: column; gap: 10px; }
  .trust-item { font-size: 0.8125rem; }

  /* Buttons in hero */
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; font-size: 0.9375rem !important; padding: 13px 20px !important; }

  /* Section title */
  .section-title { font-size: 1.75rem; }

  /* Feature row: reverse order so text comes first */
  .feature-row.reverse { direction: ltr; }
}
