/* ─────────────────────────────────────────────────────────────────────────────
   V-Invoice Website — Premium Design System
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --primary: #f12234;
  --primary-light: #f55060;
  --primary-dark: #c01b29;
  --primary-rgb: 241, 34, 52;

  /* Neutrals */
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Status */
  --success: #16a34a;
  --warning: #ca8a04;
  --info: #2563eb;

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }
.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  animation: glow-pulse 2.5s infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32), 0 0 0 0 rgba(var(--primary-rgb), 0.3); }
  50%       { box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.32), 0 0 0 10px rgba(var(--primary-rgb), 0); }
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.btn-large { padding: 15px 36px; font-size: 1.1rem; }

/* ── Glassmorphism ─────────────────────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.glass-dark {
  background: rgba(15,23,42,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── Badge ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* ── Section Header ────────────────────────────────────────────────────────── */
.section-header { margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 68px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.96);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-main);
  text-decoration: none;
}

.logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-img.small { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta { padding: 9px 22px; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--surface-2); }

.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

/* Hamburger open state */
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 8px;
  width: 100%;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.mobile-nav-link:hover { color: var(--primary); }
.mobile-nav-link:last-of-type { border-bottom: none; }

.mobile-cta { margin-top: 8px; width: 100%; justify-content: center; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 180px 0 110px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s infinite alternate ease-in-out;
}
.shape-1 {
  width: 700px; height: 700px;
  background: rgba(var(--primary-rgb), 0.12);
  top: -250px; right: -150px;
}
.shape-2 {
  width: 500px; height: 500px;
  background: rgba(var(--primary-rgb), 0.07);
  bottom: -150px; left: -80px;
  animation-delay: -6s;
}
.shape-3 {
  width: 350px; height: 350px;
  background: rgba(37,99,235,0.06);
  top: 30%; left: 20%;
  animation-delay: -3s;
}

@keyframes float {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.06); }
}

.hero-content {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero-logo {
  width: 120px; height: 120px;
  border-radius: 26px;
  margin: 0 auto 32px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.22);
  border: 2px solid rgba(255,255,255,0.8);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.highlight { color: var(--primary); }

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 auto 44px;
  max-width: 660px;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Stats Strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-xl);
  padding: 24px 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  vertical-align: top;
  margin-top: 4px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.features-section {
  padding: 110px 0;
  background: var(--surface);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.feature-icon-wrap {
  font-size: 2rem;
  width: 64px; height: 64px;
  background: rgba(var(--icon-color, var(--primary-rgb)), 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon-wrap { transform: scale(1.1) rotate(-4deg); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

/* ── How It Works ──────────────────────────────────────────────────────────── */
.how-it-works-section {
  padding: 110px 0;
  background: var(--bg-color);
  position: relative;
}

.roadmap-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-top: 40px;
}

.roadmap-container::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border) 8%, var(--border) 92%, transparent);
  transform: translateX(-50%);
  z-index: 0;
}

.roadmap-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
  position: relative;
  width: 100%;
  gap: 40px;
}

.roadmap-step::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0.1);
  transition: box-shadow 0.3s ease;
}

.roadmap-step:hover::after {
  box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0.08);
}

.roadmap-step.reverse { flex-direction: row-reverse; }

.roadmap-image, .roadmap-content {
  width: 45%;
  position: relative;
  z-index: 1;
}

.step-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.roadmap-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.roadmap-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-features li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mockup-screen-roadmap {
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.mockup-screen-roadmap:hover {
  transform: scale(1.025) translateY(-4px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.mockup-screen-roadmap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Phone frame for real app screenshots */
.phone-frame {
  width: 240px;
  margin: 0 auto;
  border-radius: 36px;
  background: #1a1a1a;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 60px rgba(0,0,0,0.22),
    0 8px 16px rgba(0,0,0,0.12);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.phone-frame:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 48px 80px rgba(0,0,0,0.28),
    0 12px 24px rgba(0,0,0,0.14);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

/* ── Analytics ─────────────────────────────────────────────────────────────── */
.analytics-section {
  padding: 120px 0;
  background: var(--surface);
  overflow: hidden;
}

.analytics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.analytics-text { flex: 1; }

.analytics-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.analytics-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.feature-list-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.analytics-visual {
  flex: 1.1;
  position: relative;
}

/* Analytics Floating Badge */
.floating-badge {
  position: absolute;
  right: -20px;
  bottom: -20px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  animation: badge-float 4s infinite alternate ease-in-out;
}

@keyframes badge-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon { font-size: 1.8rem; }
.badge-title { font-weight: 800; font-size: 0.95rem; color: var(--text-main); }
.badge-sub { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Mockup Screen */
.mockup-screen {
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
  max-width: 480px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.mockup-header .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 160px;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0 4px;
}

.bar {
  flex: 1;
  background: var(--border);
  border-radius: 6px 6px 3px 3px;
  min-height: 8px;
  position: relative;
}

.bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.highlight-bar {
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.stat-card-row { display: flex; gap: 12px; margin-top: 24px; }

.stat-card-mini {
  flex: 1;
  background: var(--bg-color);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-card-mini.success-card { border-color: rgba(22,163,74,0.25); }
.stat-card-mini.pending-card { border-color: rgba(202,138,4,0.25); }

.stat-card-mini .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.stat-card-mini .value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-card-mini .value.danger { color: #ef4444; }
.stat-card-mini .value.success-text { color: var(--success); }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-section {
  padding: 110px 0;
  background: var(--surface-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  align-items: start;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
}

.featured-testimonial {
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  position: relative;
}

.featured-testimonial::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.4), rgba(var(--primary-rgb),0.05));
  z-index: -1;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.author-role { font-size: 0.82rem; color: var(--text-muted); }

/* ── Banner / Download ─────────────────────────────────────────────────────── */
.banner-section {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.banner-shapes { position: absolute; inset: 0; pointer-events: none; }

.b-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.b-shape-1 {
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.3);
  top: -300px; right: -100px;
  filter: blur(60px);
}

.b-shape-2 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.2);
  bottom: -200px; left: -80px;
  filter: blur(50px);
}

.banner-content { position: relative; z-index: 1; }

.banner-icon { font-size: 3.5rem; margin-bottom: 24px; }

.banner-section h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.banner-section p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 48px;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.banner-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.banner-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 300px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.footer-tagline {
  margin-top: 16px;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── Animations ────────────────────────────────────────────────────────────── */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.85s var(--ease-out) forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.6s; }

.reveal-element {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children for grids */
.features-grid .reveal-element:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal-element:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal-element:nth-child(4) { transition-delay: 0.1s; }
.features-grid .reveal-element:nth-child(5) { transition-delay: 0.2s; }
.features-grid .reveal-element:nth-child(6) { transition-delay: 0.3s; }
.features-grid .reveal-element:nth-child(7) { transition-delay: 0.1s; }
.features-grid .reveal-element:nth-child(8) { transition-delay: 0.2s; }

/* ── Scroll Anchor Offset ──────────────────────────────────────────────────── */
section[id] { scroll-margin-top: 96px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .analytics-row { flex-direction: column; gap: 60px; text-align: center; }
  .analytics-text { max-width: 100%; }
  .feature-list li { justify-content: center; }
  .analytics-visual { max-width: 500px; margin: 0 auto; }
  .floating-badge { right: 0; }

  .roadmap-container::before { left: 30px; }
  .roadmap-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 80px;
    margin-bottom: 70px;
    gap: 0;
  }
  .roadmap-step::after { left: 30px; top: 14px; transform: translateX(-50%); }
  .roadmap-image,
  .roadmap-content { width: 100%; }
  .roadmap-image { margin-bottom: 28px; max-width: 420px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero h1 { font-size: 2.5rem; letter-spacing: -0.8px; }
  .hero .subtitle { font-size: 1.05rem; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 24px;
  }
  .stat-item { padding: 8px 16px; }
  .stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }

  .banner-cta { flex-direction: column; align-items: center; }
  .banner-trust { gap: 8px; font-size: 0.82rem; }

  .section-header h2 { font-size: 1.9rem; }
  .hero-logo { width: 90px; height: 90px; }

  .policy-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stat-num { font-size: 1.8rem; }
}

/* ── Page Header (Privacy / Terms) ───────────────────────────────────────── */
.page-header {
  padding: 160px 0 60px;
  background: var(--surface);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: 3rem; margin-bottom: 12px; }
.page-header p { color: var(--text-muted); }

.document-content { padding: 60px 24px 100px; }

.policy-card {
  border-radius: var(--radius-xl);
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.policy-card section { margin-bottom: 40px; }

.policy-card h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.policy-card p, .policy-card ul { margin-bottom: 16px; color: var(--text-main); }
.policy-card ul { padding-left: 24px; }
.policy-card li { margin-bottom: 8px; }