/* ═══════════════════════════════════════════════════════════════════════════
   FISCALIZE VERIFY – Landing Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ──────────────────────────────────────────────────────── */

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

:root {
  /* Brand – exact match from app_theme.dart */
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --accent: #10B981;

  /* Dark surfaces */
  --bg: #0F172A;
  --bg-secondary: #0B1120;
  --surface: #1E293B;
  --surface-dim: #172033;
  --card: #1E293B;
  --border: #3B4963;
  --divider: #2D3A4F;

  /* Text */
  --text-primary: #F1F5F9;
  --text-secondary: #A1B1C7;
  --text-muted: #7A8BA0;
  --text-hint: #475569;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0D9488, #10B981);
  --gradient-hero: linear-gradient(135deg, #0D9488 0%, #10B981 50%, #0D9488 100%);
  --gradient-glow: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.22, 1.0, 0.36, 1.0);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1.0);
}

/* ─── Light Theme ───────────────────────────────────────────────────────── */

[data-theme="light"] {
  --bg: #F2F2F7;
  --bg-secondary: #FFFFFF;
  --surface: #FFFFFF;
  --surface-dim: #EFEFF4;
  --card: #FFFFFF;
  --border: #D1D5DB;
  --divider: #E5E7EB;

  --text-primary: #0F172A;
  --text-secondary: #5B6578;
  --text-muted: #78849E;
  --text-hint: #CBD5E1;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(242, 242, 247, 0.85);
  border-bottom: 1px solid rgba(209, 213, 219, 0.5);
}

[data-theme="light"] .nav-links {
  background: rgba(242, 242, 247, 0.98);
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(209, 213, 219, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 213, 219, 0.3) 1px, transparent 1px);
}

[data-theme="light"] .phone-frame {
  border-color: #D1D5DB;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 25px 60px rgba(0, 0, 0, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card.featured {
  box-shadow: 0 0 60px rgba(13, 148, 136, 0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ─── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 10px;
}

/* ─── Section Common ────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-bottom: 20px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s var(--ease-spring);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 73, 99, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.logo-accent {
  color: var(--primary);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-spring);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 73, 99, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 73, 99, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 12px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-suffix {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--divider);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll-indicator span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bounceDown 2s infinite;
  color: var(--primary);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE MOCKUP
   ═══════════════════════════════════════════════════════════════════════════ */

.phone-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 570px;
  background: #000;
  border-radius: 40px;
  border: 3px solid #2A2A2A;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.3);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Fallback when images are missing */
.phone-screen img[src=""],
.phone-screen img:not([src]),
.phone-screen img.broken {
  display: none;
}

.phone-screen-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  gap: 12px;
  padding: 20px;
}

.phone-screen-placeholder i {
  font-size: 36px;
  color: var(--primary);
  opacity: 0.7;
}

.phone-screen-placeholder span {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.phone-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-phone .phone-frame {
  width: 300px;
  height: 612px;
}

.phone-sm .phone-frame {
  width: 220px;
  height: 448px;
  border-radius: 32px;
}

.phone-sm .phone-notch {
  width: 90px;
  height: 22px;
  border-radius: 0 0 14px 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════════ */

.features {
  padding: var(--section-padding) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.feature-card {
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-spring);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */

.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.steps-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary));
  opacity: 0.2;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr 260px;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-reverse {
  grid-template-columns: 60px 260px 1fr;
}

.step-reverse .step-phone {
  order: -1;
  grid-column: 2;
}

.step-reverse .step-content {
  grid-column: 3;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-phone {
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCREENSHOTS CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════ */

.screenshots {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.screenshot-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s var(--ease-spring);
  padding: 20px 0;
}

.carousel-slide {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.4s var(--ease-spring);
  opacity: 0.65;
  transform: scale(0.9);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-hint);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  padding: 0;
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GO PAPERLESS
   ═══════════════════════════════════════════════════════════════════════════ */

.go-paperless {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.paperless-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.paperless-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.paperless-row-reverse .paperless-visual {
  order: -1;
}

.paperless-content {
  max-width: 480px;
}

.paperless-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.paperless-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.paperless-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.paperless-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paperless-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.paperless-highlights li i {
  color: var(--success, #059669);
  font-size: 12px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paperless-visual {
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════════════════════════ */

.benefits {
  padding: var(--section-padding) 0;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefit-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.benefits-visual {
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing {
  padding: var(--section-padding) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, var(--surface) 100%);
  box-shadow: 0 0 60px rgba(13, 148, 136, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  background: var(--gradient-primary);
  color: white;
  white-space: nowrap;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: var(--success);
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DOWNLOAD CTA
   ═══════════════════════════════════════════════════════════════════════════ */

.download {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.download-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px 60px;
  text-align: center;
  background: var(--gradient-primary);
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

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

.download-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s var(--ease-spring);
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.store-btn i {
  font-size: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
}

.store-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--divider);
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   THEME TOGGLE
   ═══════════════════════════════════════════════════════════════════════════ */

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-sublabel {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.testimonial-card {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F59E0B;
  font-size: 14px;
}

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

.testimonial-quote::before {
  content: '\201C';
  font-size: 28px;
  color: var(--primary);
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--divider);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */

.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(13, 148, 136, 0.2);
}

.faq-item.open {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-question:hover h4 {
  color: var(--primary);
}

.faq-question h4 {
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-chevron {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease 0.05s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s, padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer-inner p {
  padding: 0 24px 20px;
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .section-title {
    font-size: 34px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-container {
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .step-phone {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 16px;
  }

  .step-reverse .step-phone {
    order: unset;
    grid-column: 2;
  }

  .step-reverse .step-content {
    grid-column: 2;
  }

  .phone-sm .phone-frame {
    width: 180px;
    height: 367px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .paperless-showcase {
    gap: 60px;
  }

  .paperless-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-spring);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 24px;
    font-weight: 600;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-phone .phone-frame {
    width: 240px;
    height: 490px;
  }

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

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .benefits-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .download-card {
    padding: 48px 24px;
  }

  .download-content h2 {
    font-size: 28px;
  }

  .section-title {
    font-size: 30px;
  }

  .steps-line {
    display: none;
  }

  .trust-items {
    gap: 24px;
  }

  .trust-item {
    flex: 1 1 40%;
    min-width: 180px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .paperless-showcase {
    gap: 48px;
  }

  .paperless-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .paperless-visual {
    order: -1;
  }

  .paperless-row-reverse .paperless-visual {
    order: -1;
  }

  .paperless-content {
    max-width: 100%;
    text-align: center;
  }

  .paperless-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .paperless-highlights {
    align-items: center;
  }

  .faq-list {
    max-width: 100%;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-answer-inner p {
    padding: 0 20px;
  }

  .faq-item.open .faq-answer-inner p {
    padding: 0 20px 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .phone-frame {
    width: 220px;
    height: 448px;
    border-radius: 32px;
  }

  .phone-notch {
    width: 90px;
    height: 22px;
    border-radius: 0 0 14px 14px;
  }
}

/* ─── Utility animations ────────────────────────────────────────────────── */

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-phone {
  animation: float 6s ease-in-out infinite;
}
