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

:root {
  --navy:    #0D1B2A;
  --navy2:   #0F2540;
  --blue:    #0A7EA4;
  --blue2:   #1E90FF;
  --white:   #FFFFFF;
  --gray50:  #F8FAFC;
  --gray100: #F1F5F9;
  --gray200: #E2E8F0;
  --gray400: #94A3B8;
  --gray600: #475569;
  --gray800: #1E293B;
  --text:    #0D1117;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ─── Navigation ────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray200);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--navy);
  text-decoration: none;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray600); }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue2) !important; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 60%, #0A2A4A 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(30,144,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(10,126,164,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-app-icon {
  width: 96px; height: 96px; border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 12px 40px rgba(30,144,255,0.4);
}
.hero-badge {
  display: inline-block;
  background: rgba(30,144,255,0.15);
  border: 1px solid rgba(30,144,255,0.3);
  color: #7DD3FC;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: #38BDF8; }
.hero p {
  font-size: 18px; color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue2); color: var(--white);
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(30,144,255,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(30,144,255,0.5); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: background 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.hero-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ─── Stats bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray200);
  padding: 28px 24px;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.stat-item { text-align: center; }
.stat-value { font-size: 28px; font-weight: 900; color: var(--blue); letter-spacing: -0.5px; }
.stat-label { font-size: 13px; color: var(--gray600); margin-top: 2px; font-weight: 500; }

/* ─── Features ──────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 48px;
}
.feature-card {
  background: var(--gray50);
  border: 1px solid var(--gray200);
  border-radius: 16px; padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #EBF5FA, #D0EEFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: 14px; color: var(--gray600); line-height: 1.65; }

/* ─── Pro & platform strip ─────────────────────────────────────────────────── */
.pro-section {
  background: linear-gradient(180deg, var(--gray50) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray200);
  border-bottom: 1px solid var(--gray200);
}
.pro-grid { margin-top: 40px; }
.feature-card-accent {
  border-color: rgba(10, 126, 164, 0.2);
  background: var(--white);
}
.badge-pro {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(10, 126, 164, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.pro-footnote {
  margin-top: 32px;
  font-size: 12px;
  color: var(--gray400);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── Section headings ──────────────────────────────────────────────────────── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.8px; color: var(--navy);
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--gray600); max-width: 560px; line-height: 1.7; }

/* ─── How it works ──────────────────────────────────────────────────────────── */
.how-bg { background: var(--gray50); }
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 48px; max-width: 680px; }
.step { display: flex; gap: 20px; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step-num-wrap { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-line { width: 2px; flex: 1; background: var(--gray200); margin-top: 4px; }
.step:last-child .step-line { display: none; }
.step-body { padding-top: 6px; }
.step-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--gray600); line-height: 1.65; }

/* ─── Developer section ─────────────────────────────────────────────────────── */
.developer-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 24px; padding: 48px;
  color: var(--white); display: flex; gap: 40px; align-items: flex-start;
  flex-wrap: wrap;
}
.dev-avatar {
  width: 80px; height: 80px; border-radius: 20px;
  flex-shrink: 0; object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.dev-info { flex: 1; min-width: 260px; }
.dev-name { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.dev-title { font-size: 14px; color: #7DD3FC; font-weight: 600; margin-bottom: 4px; }
.dev-location { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.dev-bio { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.75; }

/* ─── Download CTA ──────────────────────────────────────────────────────────── */
.download-section {
  background: linear-gradient(160deg, var(--navy) 0%, #0A2A4A 100%);
  color: var(--white); text-align: center; padding: 80px 24px;
}
.download-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.8px; margin-bottom: 16px; }
.download-section p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 36px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 12px 20px;
  color: var(--white); font-weight: 600; font-size: 15px;
  transition: background 0.2s;
}
.store-badge:hover { background: rgba(255,255,255,0.18); text-decoration: none; }
.store-badge-icon { font-size: 24px; }
.store-badge-text { text-align: left; }
.store-badge-sub { font-size: 11px; font-weight: 400; opacity: 0.7; display: block; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand span { font-size: 15px; font-weight: 700; color: var(--white); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); width: 100%; text-align: center; margin-top: 20px; }

/* ─── Legal pages ───────────────────────────────────────────────────────────── */
.legal-hero {
  background: var(--gray50);
  border-bottom: 1px solid var(--gray200);
  padding: 60px 24px 40px;
}
.legal-hero h1 { font-size: 36px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.legal-hero p { font-size: 14px; color: var(--gray400); }
.legal-content { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 36px 0 12px; }
.legal-content h3 { font-size: 16px; font-weight: 700; color: var(--gray800); margin: 24px 0 8px; }
.legal-content p { font-size: 15px; color: var(--gray600); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { font-size: 15px; color: var(--gray600); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--blue); }

/* ─── Support page ──────────────────────────────────────────────────────────── */
.support-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 40px;
}
.support-card {
  border: 1px solid var(--gray200); border-radius: 16px;
  padding: 28px; transition: box-shadow 0.2s;
}
.support-card:hover { box-shadow: var(--shadow); }
.support-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.support-card p { font-size: 14px; color: var(--gray600); line-height: 1.65; margin-bottom: 16px; }
.support-card a.btn-sm {
  display: inline-block; background: var(--blue); color: var(--white);
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
}
.support-card a.btn-sm:hover { background: var(--blue2); text-decoration: none; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .developer-card { padding: 28px; }
  .hero { padding: 72px 20px 60px; }
  .section { padding: 56px 0; }
}
