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

:root {
  --navy:        #0A2540;
  --navy-mid:    #0D3158;
  --blue:        #0E7FBF;
  --blue-light:  #E0F2FC;
  --teal:        #0891B2;
  --green:       #10B981;
  --amber:       #D97706;
  --red:         #B91C1C;
  --white:       #FFFFFF;
  --off-white:   #F4F8FC;
  --border:      #D4E4F0;
  --text-muted:  #5A85A0;
  --text-sub:    #2C5070;
  --max-w:       1100px;
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.section { padding: 88px 0; }

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.section-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.section-label span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

h2.display {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
  text-align: center;
}
h2.display .accent { color: var(--blue); }

p.sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.625;
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 48px;
  height: 64px;
  gap: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.nav-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #663399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo svg { width: 18px; height: 18px; }
.nav-brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-signin {
  background: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-signin:hover { background: rgba(255,255,255,0.08); }

.btn-get-started {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #663399;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s, transform 0.15s;
}
.btn-get-started:hover { background: #7a44b0; transform: translateY(-1px); }
.btn-get-started svg { width: 14px; height: 14px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 680px;
}
.hero-glow-purple {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: #663399;
  opacity: 0.12;
  pointer-events: none;
}
.hero-glow-blue {
  position: absolute;
  bottom: 60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.1;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 48px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-left { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 24px;
}
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.hero-badge span {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.hero-h {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.18;
  margin-bottom: 20px;
}
.hero-h .accent { color: var(--blue); }

.hero-body {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.625;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  padding: 15px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(14,127,191,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,127,191,0.5); }
.btn-hero-primary svg { width: 18px; height: 18px; }

.btn-hero-secondary {
  display: flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: background 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.trust-item svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Phone mockups */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}
.phone-primary {
  transform: rotate(-4deg);
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(14,127,191,0.3));
}
.phone-secondary {
  position: absolute;
  right: -20px;
  top: 60px;
  transform: rotate(4deg);
  opacity: 0.85;
  z-index: 1;
}
.floating-stats {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

/* Phone card */
.phone-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 16px;
  width: 240px;
  border: 1px solid rgba(255,255,255,0.12);
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.phone-time { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); }
.phone-icons { display: flex; align-items: flex-end; gap: 2px; }
.signal-bar { width: 3px; background: rgba(255,255,255,0.7); border-radius: 1px; }
.battery-icon { width: 16px; height: 8px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.7); margin-left: 4px; background: rgba(255,255,255,0.3); }
.phone-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.phone-header-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.phone-header-sub { font-size: 10px; color: rgba(255,255,255,0.5); }
.phone-badge { border-radius: 10px; padding: 6px 10px; text-align: center; }
.phone-badge-val { font-size: 14px; font-weight: 800; color: var(--white); display: block; }
.phone-badge-sub { font-size: 8px; color: rgba(255,255,255,0.8); font-weight: 600; }
.phone-row { display: flex; align-items: center; background: rgba(255,255,255,0.07); border-radius: 10px; padding: 10px; margin-bottom: 6px; }
.phone-row-dot { width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; flex-shrink: 0; }
.phone-row-label { flex: 1; font-size: 10px; color: rgba(255,255,255,0.85); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-pill { border: 1px solid; border-radius: 6px; padding: 2px 6px; margin-left: 6px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.phone-action-btn { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 10px; margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--white); }

/* Stat chips */
.stat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid;
  border-radius: 14px;
  padding: 10px 14px;
}
.stat-chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.stat-chip-val { font-size: 16px; font-weight: 800; display: block; }
.stat-chip-lbl { font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* Stats bar */
.stats-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  padding: 28px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item { text-align: center; flex: 1; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; display: block; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; font-weight: 500; }

/* ── App Preview ──────────────────────────────────────────────────────────── */
.section-preview { background: var(--off-white); }

.preview-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 48px;
}
.preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border-top: 3px solid;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  width: 290px;
}
.preview-card-title { font-size: 16px; font-weight: 800; }
.preview-card-desc  { font-size: 13px; color: var(--text-muted); text-align: center; max-width: 200px; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.section-features {
  background: linear-gradient(135deg, var(--navy) 0%, #0D3158 100%);
}
.section-features h2.display { color: var(--white); }
.section-features p.sub { color: rgba(255,255,255,0.55); }

.feat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.feat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  width: 320px;
}
.feat-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feat-desc  { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.57; }

/* ── Icon wrap ────────────────────────────────────────────────────────────── */
.icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.icon-wrap svg { width: 22px; height: 22px; }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.steps-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.step-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
}
.step-big-num {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  user-select: none;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.57; }

/* ── Roles ────────────────────────────────────────────────────────────────── */
.section-roles { background: linear-gradient(135deg, #3D1F5C 0%, #4E2878 100%); }
.section-roles h2.display { color: var(--white); }
.section-roles h2.display .accent-purple { color: #C084FC; }
.section-roles p.sub { color: rgba(255,255,255,0.55); }

.roles-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.role-card {
  flex: 1;
  min-width: 260px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
}
.role-title { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.perk-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.perk-row svg { width: 13px; height: 13px; flex-shrink: 0; }
.perk-text { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonial-wrap { display: flex; flex-direction: column; align-items: center; }

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  border-top: 4px solid;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 680px;
  width: 100%;
  transition: border-color 0.4s;
}
.stars { display: flex; gap: 3px; margin-bottom: 20px; }
.stars svg { width: 15px; height: 15px; }
.testimonial-text {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--white);
  flex-shrink: 0;
}
.testimonial-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.testimonial-dots { display: flex; gap: 8px; margin-top: 28px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
  border: none;
}
.t-dot.active { width: 24px; border-radius: 4px; }

.testimonial-nav { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.nav-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.nav-btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.nav-btn svg { width: 18px; height: 18px; }
.nav-counter { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ── CTA ──────────────────────────────────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #0A6BA0 50%, var(--navy) 100%);
  padding: 88px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow-1, .cta-glow-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-glow-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.cta-glow-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.section-cta h2.display { color: var(--white); position: relative; }
.section-cta p.sub { color: rgba(255,255,255,0.7); position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-cta-primary {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  padding: 15px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700; color: var(--blue);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-cta-primary svg { width: 18px; height: 18px; }

.btn-cta-secondary {
  display: flex; align-items: center;
  padding: 15px 28px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  font-size: 15px; font-weight: 600; color: var(--white);
  transition: background 0.2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.18); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 48px 32px;
}
.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: var(--max-w);
  margin: 0 auto 48px;
  flex-wrap: wrap;
}
.footer-brand-col { max-width: 280px; display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-wrap { width: 36px; height: 36px; border-radius: 10px; background: #663399; display: flex; align-items: center; justify-content: center; }
.footer-logo-wrap svg { width: 18px; height: 18px; }
.footer-brand-text { font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.3px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-row { display: flex; align-items: center; gap: 8px; }
.footer-contact-row svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer-contact-text { font-size: 12px; color: rgba(255,255,255,0.45); }

.footer-link-col { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 12px; }
.footer-col-head { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; transition: color 0.2s; }
.footer-link:hover { color: rgba(255,255,255,0.75); }

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link { font-size: 12px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-link:hover { color: rgba(255,255,255,0.65); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .inner { padding: 0 24px; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }

  .hero-inner { flex-direction: column; padding: 60px 24px 40px; align-items: flex-start; }
  .hero-right { display: none; }
  .hero-h { font-size: 38px; letter-spacing: -1px; }

  .stats-inner { padding: 28px 20px; }
  .stat-value { font-size: 22px; }

  h2.display { font-size: 28px; }

  .section { padding: 64px 0; }
  .section-cta { padding: 64px 24px; }

  .preview-row { flex-direction: column; align-items: center; }
  .steps-row { flex-direction: column; }
  .step-card { max-width: 100%; }
  .roles-row { flex-direction: column; }

  .footer { padding: 48px 24px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-link-col { display: none; }
  .footer-bottom-links { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
