/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F4F0;
  --bg-soft: #EEECEA;
  --fg: #111111;
  --fg-muted: #6B6B6B;
  --teal: #00D4AA;
  --teal-soft: rgba(0, 212, 170, 0.08);
  --amber: #FFB224;
  --amber-soft: rgba(255, 178, 36, 0.1);
  --coral: #FF6B6B;
  --coral-soft: rgba(255, 107, 107, 0.1);
  --card-bg: #FFFFFF;
  --card-border: rgba(17,17,17,0.08);
  --shadow: 0 4px 24px rgba(17,17,17,0.06), 0 1px 4px rgba(17,17,17,0.04);
  --shadow-lg: 0 16px 48px rgba(17,17,17,0.08), 0 4px 16px rgba(17,17,17,0.05);
  --radius: 20px;
  --radius-sm: 12px;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 32px; height: 32px;
  background: var(--fg); color: var(--bg);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
}
.nav-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--fg-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

.nav-signin {
  color: var(--teal) !important;
  font-weight: 600 !important;
}

/* === CTA BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--fg);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.35);
}
.btn-primary:hover { background: #00c49a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--fg-muted);
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  padding: 14px 20px; border-radius: 12px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { color: var(--fg); background: var(--bg-soft); }

.hero-cta-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* === SECTION SHARED === */
.section-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px; font-family: var(--font-head);
}
.section-headline {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.15; color: var(--fg);
  margin-bottom: 20px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero-tag {
  display: inline-block;
  background: var(--teal-soft); color: var(--teal);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  font-family: var(--font-head); margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
  color: var(--fg);
}

.hero-sub {
  font-size: 17px; color: var(--fg-muted); line-height: 1.65;
  max-width: 420px; margin-bottom: 40px;
}

.hero-stat-row {
  display: flex; gap: 0; align-items: stretch;
  background: var(--card-bg); border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow); overflow: hidden;
}

.hero-stat {
  padding: 20px 28px; flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}

.hero-stat-divider {
  width: 1px; background: var(--card-border);
}

.hero-stat-value {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  color: var(--fg); line-height: 1;
}

.hero-stat-warn { color: var(--coral) !important; }

.hero-stat-label {
  font-size: 11px; color: var(--fg-muted); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero right — phone mockup */
.hero-right { position: relative; display: flex; justify-content: center; }

.hero-phone {
  width: 260px;
  filter: drop-shadow(0 24px 48px rgba(17,17,17,0.12));
}

.phone-bezel {
  background: #1A1A1A;
  border-radius: 36px; padding: 12px;
}

.phone-screen {
  background: var(--bg); border-radius: 28px; padding: 20px 16px 24px;
  display: flex; flex-direction: column; gap: 12px;
}

.phone-notch {
  width: 80px; height: 24px; background: #1A1A1A; border-radius: 0 0 16px 16px;
  margin: -12px auto 0; position: relative; left: 50%; transform: translateX(-50%);
}

.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
}

.phone-label { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.phone-date { font-size: 11px; color: var(--fg-muted); }

.phone-main-card {
  background: var(--card-bg); border-radius: var(--radius-sm);
  padding: 16px; border: 1px solid var(--card-border);
}

.phone-main-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.phone-main-amount { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--fg); line-height: 1; margin-bottom: 12px; }

.phone-progress-bar {
  height: 6px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; margin-bottom: 6px;
}
.phone-progress-fill { height: 100%; background: var(--teal); border-radius: 100px; }
.phone-progress-label { font-size: 10px; color: var(--fg-muted); }

.phone-mini-cards { display: flex; flex-direction: column; gap: 8px; }
.phone-mini-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--card-bg); border-radius: 10px; padding: 10px 12px;
  border: 1px solid var(--card-border);
}
.phone-mini-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
}
.phone-mini-icon--warn { background: var(--amber-soft); }
.phone-mini-icon--safe { background: var(--teal-soft); }
.phone-mini-icon--teal { background: var(--teal-soft); }

.phone-mini-content { display: flex; flex-direction: column; gap: 2px; }
.phone-mini-title { font-size: 11px; color: var(--fg-muted); }
.phone-mini-val { font-size: 12px; font-weight: 600; color: var(--fg); }
.phone-mini-val--warn { color: var(--amber); }

/* Float card */
.hero-float-card {
  position: absolute; bottom: -20px; left: -40px;
  background: var(--card-bg); border-radius: var(--radius-sm);
  padding: 16px; border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg); width: 240px;
}

.float-card-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.float-card-item { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.float-card-answer { display: flex; flex-direction: column; gap: 8px; }
.float-answer-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 13px; font-weight: 700; width: fit-content;
  background: var(--amber-soft); color: var(--amber);
}
.float-answer-text { font-size: 12px; color: var(--fg-muted); line-height: 1.5; }

/* Scroll hint */
.hero-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 80px; color: var(--fg-muted); font-size: 13px;
}
.scroll-arrow { font-size: 20px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.howitworks .section-headline { max-width: 600px; }

.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px;
  max-width: 1100px;
}

.step-card {
  padding: 40px 40px 40px 0;
  position: relative;
}

.step-card:not(:last-child) { border-right: 1px solid var(--card-border); padding-right: 40px; }
.step-card:not(:first-child) { padding-left: 40px; }

.step-number {
  font-family: var(--font-head); font-weight: 800; font-size: 48px;
  color: var(--teal); opacity: 0.3; line-height: 1; margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  margin-bottom: 10px; color: var(--fg);
}

.step-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

/* === FEATURES === */
.features {
  padding: 100px 48px;
}

.features .section-headline { margin-bottom: 60px; }

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

.feature-card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card--wide { grid-column: span 2; }

.feature-icon-wrap { margin-bottom: 20px; }

.feature-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin-bottom: 10px; color: var(--fg);
}

.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* === DASHBOARD PREVIEW === */
.dashboard-preview {
  padding: 100px 48px;
  background: var(--bg-soft);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.dashboard-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}

.dashboard-desc { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 32px; }

.dashboard-facts { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dashboard-facts li {
  font-size: 15px; color: var(--fg);
  display: flex; align-items: center; gap: 12px;
}
.dashboard-facts li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.dashboard-facts strong { font-weight: 600; }

/* Mockup phone */
.dashboard-mockup { display: flex; justify-content: center; }

.mockup-phone { width: 280px; filter: drop-shadow(0 24px 48px rgba(17,17,17,0.1)); }

.mockup-phone .phone-bezel { padding: 10px; }

.mockup-phone .phone-screen { padding: 16px 14px 20px; gap: 10px; }

.phone-status-bar { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); font-weight: 500; }

.mockup-hero-card {
  background: var(--fg); border-radius: var(--radius-sm);
  padding: 20px; color: var(--bg);
}
.mockup-label { font-size: 11px; opacity: 0.6; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.mockup-big-number { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1; margin-bottom: 6px; }
.mockup-meta { font-size: 12px; opacity: 0.6; }

.mockup-warn-banner {
  background: var(--coral-soft); border-radius: 8px; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--coral); font-weight: 500;
}
.mockup-warn-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.mockup-bottom-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mockup-mini-tile {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 12px;
}
.mini-tile-label { font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mini-tile-val { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--fg); }
.mini-tile-val--red { color: var(--coral); }
.mini-tile-val--amber { color: var(--amber); }
.mini-tile-sub { font-size: 10px; color: var(--fg-muted); margin-top: 2px; }

.mockup-tip-card {
  background: var(--teal-soft); border-radius: 10px; padding: 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.mockup-tip-icon {
  width: 20px; height: 20px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 2px;
}
.mockup-tip-text { font-size: 12px; color: var(--fg); line-height: 1.5; }

/* === PRIVACY === */
.privacy {
  padding: 100px 48px;
  background: var(--fg); color: var(--bg);
}

.privacy-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.privacy-icon { margin-bottom: 28px; display: flex; justify-content: center; }

.privacy-headline {
  font-family: var(--font-head); font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700; line-height: 1.2; margin-bottom: 20px;
  color: var(--bg);
}

.privacy-sub { font-size: 16px; color: rgba(245,244,240,0.6); line-height: 1.7; margin-bottom: 48px; }

.privacy-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  text-align: left;
}

.privacy-pillar {
  display: flex; align-items: center; gap: 12px;
  background: rgba(245,244,240,0.06); border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px; color: rgba(245,244,240,0.85);
  font-weight: 500;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--bg);
}

.closing-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.closing-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 24px; font-family: var(--font-head);
}

.closing-headline {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; line-height: 1.15; color: var(--fg);
  margin-bottom: 28px;
}

.closing-body { font-size: 17px; color: var(--fg-muted); line-height: 1.75; margin-bottom: 48px; }

/* === FOOTER === */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo {
  width: 28px; height: 28px; background: var(--fg); color: var(--bg);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
}
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); }
.footer-copy { font-size: 13px; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 36px; }
  .hero-right { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .step-card { padding: 0 !important; border-right: none !important; border-bottom: 1px solid var(--card-border); padding-bottom: 32px !important; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .dashboard-inner { grid-template-columns: 1fr; }
  .dashboard-mockup { display: none; }
  .howitworks, .features, .dashboard-preview, .closing { padding: 80px 24px; }
  .privacy { padding: 80px 24px; }
  .privacy-pillars { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}
