@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --secondary: #7C3AED;
  --accent: #F59E0B;
  --dark: #0F172A;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --bg: #F8FAFF;
  --card: #FFFFFF;
  --gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(124,58,237,0.06) 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 16px 48px rgba(37, 99, 235, 0.14);
  --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.06);
  --z-nav: 100;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08); }

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.28); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 24px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-weight: 500; font-size: 0.95rem; color: var(--text); border-bottom: 1px solid var(--border); transition: color var(--transition); cursor: pointer; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }

/* ── HERO ── */
.hero {
  background: var(--gradient);
  color: #fff;
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -180px;
  left: -100px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 2-column hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-left { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: #FCD34D; }

.hero p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: flex-start;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
.btn-white:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 4px;
  max-width: 420px;
}
.stat { flex: 1; text-align: center; padding: 14px 10px; min-width: 90px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.2); }
.stat-value { font-size: 1.5rem; font-weight: 800; color: #FCD34D; line-height: 1.1; }
.stat-label { font-size: 0.68rem; opacity: 0.75; margin-top: 2px; font-weight: 500; }

/* ── PHONE MOCKUP ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.phone-frame {
  width: 220px;
  height: 448px;
  background: #0D1117;
  border-radius: 40px;
  border: 7px solid #1C2128;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 40px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 20px;
  background: #0D1117;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

/* Real app: dark mode throughout */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #0B0F1A;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Status bar — white on dark */
.app-status-bar {
  height: 24px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0B0F1A;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.app-status-icons { display: flex; gap: 3px; align-items: flex-end; }
.app-status-icons span { width: 3px; background: #fff; border-radius: 1px; }
.app-status-icons span:nth-child(1) { height: 5px; opacity: 0.4; }
.app-status-icons span:nth-child(2) { height: 7px; opacity: 0.7; }
.app-status-icons span:nth-child(3) { height: 9px; }
.app-wifi { width: 10px; height: 7px; border: 1.5px solid #fff; border-bottom: none; border-radius: 4px 4px 0 0; margin-left: 3px; }
.app-batt { width: 13px; height: 7px; border: 1.5px solid #fff; border-radius: 1.5px; margin-left: 3px; position: relative; }
.app-batt::after { content: ''; position: absolute; right: -3px; top: 50%; transform: translateY(-50%); width: 2px; height: 4px; background: #fff; border-radius: 0 1px 1px 0; }
.app-batt-fill { height: 100%; width: 80%; background: #fff; border-radius: 1px; }

/* Page header (no gradient — real app has plain dark top) */
.app-header-bar {
  padding: 6px 14px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #0B0F1A;
  flex-shrink: 0;
}
.app-header-title { color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2; }
.app-header-subtitle { color: #8B949E; font-size: 7.5px; margin-top: 1px; }
.app-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Period selector tabs (dashboard) */
.app-period-tabs {
  display: flex;
  gap: 4px;
  padding: 4px 14px 0;
  flex-shrink: 0;
  overflow: hidden;
}
.app-period-tab {
  font-size: 7px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.app-period-tab.apt-active { background: #2563EB; color: #fff; }
.app-period-tab.apt-inactive { background: #1C2535; color: #8B949E; }

.app-date-range {
  font-size: 7px;
  color: #8B949E;
  padding: 3px 14px 0;
  flex-shrink: 0;
}

/* App content */
.app-content {
  flex: 1;
  overflow: hidden;
  padding: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-section-label {
  font-size: 7px;
  font-weight: 700;
  color: #8B949E;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 14px;
  flex-shrink: 0;
}

/* Total Earned card */
.app-earned-card {
  background: #161C2D;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 10px;
  flex-shrink: 0;
}
.app-earned-label { font-size: 7.5px; color: #8B949E; font-weight: 600; }
.app-earned-value { font-size: 20px; font-weight: 800; color: #fff; margin: 2px 0; line-height: 1.1; }
.app-earned-date { font-size: 6.5px; color: #8B949E; }

/* Mini stats (Pending / Overdue) */
.app-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 10px;
  flex-shrink: 0;
}
.app-mini-card { background: #161C2D; border-radius: 10px; padding: 8px 10px; }
.app-mini-header { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.app-mini-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.app-mini-dot-yellow { background: #F59E0B; }
.app-mini-dot-red { background: #EF4444; }
.app-mini-title { font-size: 6.5px; font-weight: 700; color: #8B949E; text-transform: uppercase; letter-spacing: 0.4px; }
.app-mini-amount-bar { background: rgba(255,255,255,0.08); border-radius: 4px; height: 16px; width: 80%; }

/* Earnings chart */
.app-chart {
  background: #161C2D;
  border-radius: 10px;
  margin: 0 10px;
  padding: 8px 10px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-chart-header { font-size: 7px; font-weight: 700; color: #8B949E; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; flex-shrink: 0; }
.app-chart-bars { display: flex; align-items: flex-end; gap: 3px; flex: 1; min-height: 0; padding-bottom: 2px; }
.app-chart-bar { flex: 1; border-radius: 2px 2px 0 0; background: #2563EB; min-height: 2px; }
.app-chart-bar.dim { opacity: 0.15; }
.app-chart-bar.mid { opacity: 0.4; }
.app-chart-bar.high { opacity: 1; }
.app-chart-days { display: flex; justify-content: space-around; flex-shrink: 0; }
.app-chart-day { font-size: 6px; color: #8B949E; }

/* Section header row */
.app-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0 14px;
}
.app-section-lbl { font-size: 9px; font-weight: 700; color: #fff; }
.app-section-link { font-size: 8px; color: #2563EB; font-weight: 600; }

/* Invoice list (dark) */
.app-inv-list { display: flex; flex-direction: column; gap: 5px; padding: 0 10px; flex-shrink: 0; }
.app-inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #161C2D;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 10px;
}
.app-inv-client { font-size: 9px; font-weight: 700; color: #fff; }
.app-inv-num { font-size: 7px; color: #8B949E; margin-top: 1px; }
.app-inv-right-col { text-align: right; }
.app-inv-amt { font-size: 9px; font-weight: 800; color: #2563EB; }
.app-status-pill {
  display: inline-block;
  font-size: 6.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 100px;
  margin-top: 2px;
}
.pill-paid { background: rgba(74,222,128,0.15); color: #4ADE80; }
.pill-pending { background: rgba(245,158,11,0.15); color: #F59E0B; }
.pill-overdue { background: rgba(239,68,68,0.15); color: #EF4444; }

/* Featured invoice card */
.app-inv-card-featured {
  background: #161C2D;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 10px;
  flex-shrink: 0;
}
.app-inv-num-dark { font-size: 10px; font-weight: 700; color: #fff; }
.app-inv-badge-paid {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(74,222,128,0.15);
  color: #4ADE80;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
}
.app-inv-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; }
.app-inv-amount-large { font-size: 16px; font-weight: 800; color: #2563EB; margin-top: 4px; }
.app-inv-status-label { font-size: 7.5px; color: #8B949E; margin-top: 2px; }

/* FAB */
.app-fab-wrap { position: relative; flex-shrink: 0; height: 0; }
.app-fab {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
  bottom: 8px;
  right: 12px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.5);
  z-index: 5;
}

/* Filter pills (dark) */
.app-filter-row { display: flex; gap: 4px; padding: 6px 10px 0; flex-shrink: 0; overflow: hidden; }
.app-filter-pill { font-size: 7px; font-weight: 700; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.app-filter-pill.active { background: #2563EB; color: #fff; }
.app-filter-pill.inactive { background: #1C2535; color: #8B949E; }

/* Search bar (dark) */
.app-search {
  margin: 6px 10px 0;
  background: #161C2D;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.app-search-text { font-size: 8.5px; color: #8B949E; }

/* Client rows (dark) */
.app-client-list { display: flex; flex-direction: column; gap: 5px; padding: 6px 10px 0; flex-shrink: 0; overflow: hidden; }
.app-client-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161C2D;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 10px 12px;
}
.app-client-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.app-client-name { font-size: 9px; font-weight: 700; color: #fff; }
.app-client-email { font-size: 7.5px; color: #8B949E; margin-top: 1px; }

/* Bottom nav — 5 tabs, dark */
.app-bottom-nav {
  height: 52px;
  background: #0D1120;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  flex-shrink: 0;
}
.app-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  color: #8B949E;
}
.app-nav-tab.active { color: #2563EB; }
.app-nav-tab svg { width: 14px; height: 14px; stroke: currentColor; }
.app-nav-label { font-size: 5.5px; font-weight: 600; }

/* ── FLOATING HERO BADGES ── */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  color: var(--dark);
  backdrop-filter: blur(8px);
  z-index: 2;
  white-space: nowrap;
}
.hero-float-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-icon.green { background: #D1FAE5; color: #047857; }
.hero-float-icon.blue { background: #DBEAFE; color: #1D4ED8; }
.hero-float-title { font-size: 0.75rem; font-weight: 700; color: var(--dark); }
.hero-float-sub { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; font-weight: 500; }

.hero-float-1 { top: 12%; left: -60px; }
.hero-float-2 { bottom: 18%; right: -50px; }

/* ── TRUST BAR ── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 24px; }
.trust-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ── SECTIONS ── */
.section { padding: 88px 24px; }
.section-alt { background: #fff; }
.container { max-width: 1120px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 12px;
  background: rgba(37,99,235,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.75px;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -80px;
  right: -80px;
  pointer-events: none;
}

.about-visual-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.45;
  transition: background var(--transition), transform var(--transition);
  cursor: default;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-visual-item:hover { background: rgba(255,255,255,0.2); transform: translateX(4px); }

.about-visual-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.75; }
.about-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.925rem; color: var(--text); line-height: 1.5; }
.check { width: 20px; height: 20px; background: #DBEAFE; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.check svg { width: 10px; height: 10px; }

/* ── SCREENSHOTS SECTION ── */
.screenshots-section {
  background: var(--dark);
  padding: 88px 24px;
  position: relative;
  overflow: hidden;
}
.screenshots-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.screenshots-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(124,58,237,0.08);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.screenshots-section .section-label {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}
.screenshots-section .section-title { color: #fff; }
.screenshots-section .section-sub { color: rgba(255,255,255,0.55); }

.screenshots-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.screenshot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screenshot-wrap.side {
  transform: scale(0.85);
  opacity: 0.7;
  transition: transform var(--transition), opacity var(--transition);
}
.screenshot-wrap.side:hover { transform: scale(0.9); opacity: 0.9; }

.screenshot-wrap.center {
  transform: translateY(-24px);
  z-index: 1;
}

.screenshot-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: center;
  letter-spacing: 0.3px;
}
.screenshot-wrap.center .screenshot-label { color: rgba(255,255,255,0.75); }

/* Screenshot filter pills — defined in phone mockup section above */

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(37,99,235,0.15); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; position: relative; z-index: 1; }

/* ── REVIEWS SECTION ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: default;
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  color: rgba(37,99,235,0.08);
  font-weight: 800;
  line-height: 1;
  font-family: Georgia, serif;
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.star-rating {
  display: flex;
  gap: 3px;
}
.star-rating svg { width: 16px; height: 16px; fill: #F59E0B; color: #F59E0B; }

.review-text {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

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

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.review-role { font-size: 0.775rem; color: var(--text-muted); margin-top: 1px; }

/* ── ROADMAP ── */
.roadmap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.roadmap-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: default;
}
.roadmap-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.roadmap-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.phase-badge { display: inline-block; background: #EEF2FF; color: var(--primary); padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.roadmap-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.roadmap-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.roadmap-items li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.roadmap-items li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 7px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.06); top: -150px; right: -100px; pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.04); bottom: -100px; left: -50px; pointer-events: none; }
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.cta-banner p { font-size: 1rem; opacity: 0.85; margin-bottom: 36px; line-height: 1.65; }

/* CTA download area with QR */
.cta-download-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-buttons { display: flex; flex-direction: column; gap: 10px; }

/* QR block */
.qr-block {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}
.qr-code-wrap {
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-code-wrap svg { width: 76px; height: 76px; }
.qr-label { font-size: 0.72rem; color: rgba(255,255,255,0.8); font-weight: 600; text-align: center; line-height: 1.4; }

.cta-divider {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── FEATURES PAGE (full grid) ── */
.features-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-full-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.feature-full-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(37,99,235,0.15); }
.feature-full-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-full-icon svg { width: 20px; height: 20px; }
.feature-full-card h3 { font-size: 0.925rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.feature-full-card p { font-size: 0.845rem; color: var(--text-muted); line-height: 1.6; }

/* ── TERMS ── */
.terms-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.terms-nav { position: sticky; top: 80px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.terms-nav h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 12px; }
.terms-nav a { display: block; padding: 7px 10px; font-size: 0.85rem; color: var(--text-muted); border-radius: 6px; transition: all 0.15s; margin-bottom: 2px; cursor: pointer; }
.terms-nav a:hover { background: #EEF2FF; color: var(--primary); }
.terms-content { max-width: 720px; }
.terms-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 40px 0 14px; padding-top: 8px; border-top: 1px solid var(--border); }
.terms-content h2:first-child { margin-top: 0; border-top: none; }
.terms-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.terms-content ul { padding-left: 20px; margin-bottom: 14px; }
.terms-content ul li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 6px; }
.terms-meta { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 16px 20px; margin-bottom: 32px; font-size: 0.875rem; color: #166534; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 72px 24px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-inner { max-width: 1120px; margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.75px; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; opacity: 0.65; max-width: 480px; line-height: 1.65; }

/* ── 404 ── */
.not-found { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.not-found-inner { max-width: 480px; }
.not-found-code { font-size: 6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 16px; }
.not-found h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.not-found p { color: var(--text-muted); margin-bottom: 32px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 56px 24px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; }
.footer-links h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color var(--transition); cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; }

/* ── ICON COLOR BACKGROUNDS ── */
.bg-blue   { background: #DBEAFE; color: #1D4ED8; }
.bg-purple { background: #EDE9FE; color: #6D28D9; }
.bg-amber  { background: #FEF3C7; color: #B45309; }
.bg-green  { background: #D1FAE5; color: #047857; }
.bg-red    { background: #FEE2E2; color: #B91C1C; }
.bg-indigo { background: #E0E7FF; color: #4338CA; }
.bg-teal   { background: #CCFBF1; color: #0F766E; }
.bg-pink   { background: #FCE7F3; color: #9D174D; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-float { display: none; }
  .hero-grid { gap: 36px; }
}

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

  .hero { padding: 64px 20px 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; max-width: 100%; }
  .hero-right { display: none; }

  .trust-bar-inner { gap: 16px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }

  .screenshots-row { gap: 10px; }
  .screenshot-wrap.side { display: none; }
  .screenshot-wrap.center { transform: none; }

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

  .terms-layout { grid-template-columns: 1fr; }
  .terms-nav { position: static; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: 44px 28px; }
  .cta-download-area { flex-direction: column; gap: 20px; }
  .cta-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta-divider { display: none; }

  .section { padding: 64px 20px; }
  .screenshots-section { padding: 64px 20px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .trust-bar-inner { flex-direction: column; gap: 10px; }
  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 45%; }
  .stat + .stat::before { display: none; }
}
