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

:root {
  --brand: #22e6c6;
  --brand-dark: #10c4a8;
  --brand-dim: rgba(34,230,198,0.12);

  --bg: #0d1117;
  --card: #111827;
  --card2: #1a2332;
  --border: rgba(255,255,255,0.08);
  --green: var(--brand);
  --green-dark: var(--brand-dark);
  --green-dim: var(--brand-dim);
  --text: #f5f5f5;
  --muted: #888;
  --subtle: #4b5563;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 16px; color: var(--text);
  text-decoration: none;
}
.logo-mark { width: 28px; height: 28px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-nav {
  font-size: 14px; font-weight: 600;
  background: var(--green); color: #000;
  padding: 8px 18px; border-radius: 10px;
  text-decoration: none; transition: background .2s;
}
.btn-nav:hover { background: #10c4a8; }

/* Hero */
.hero {
  padding: 80px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-left { }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-dim);
  color: var(--green);
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.25);
  margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 {
  font-size: 52px; font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.green { color: var(--green); }
.hero-sub {
  color: var(--muted); font-size: 16px;
  line-height: 1.7; max-width: 400px;
  margin-bottom: 32px;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #000;
  font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 12px;
  text-decoration: none; transition: background .2s;
}
.btn-hero svg { width: 16px; height: 16px; stroke: #000; }
.btn-hero:hover { background: #10c4a8; }
.hero-note {
  display: flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 13px; color: var(--muted);
}
.hero-note svg { width: 14px; height: 14px; }

/* Phone */
.hero-right { display: flex; justify-content: center; }
.phone-frame {
  width: 260px;
  background: #111;
  border-radius: 40px;
  border: 2px solid #2a2a2a;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 1px #333;
  overflow: hidden;
  position: relative;
  padding-top: 20px;
}
.phone-notch {
  width: 80px; height: 22px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 12px;
}
.phone-screen { padding: 0 0 0; }
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 16px;
  background: linear-gradient(135deg, #111 0%, #1a2a1a 100%);
}
.app-greeting { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.app-sub { font-size: 11px; color: var(--muted); }
.app-bell {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.app-bell svg { width: 15px; height: 15px; }
.app-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.app-row {
  display: flex; align-items: center; gap: 10px;
  background: #1c1c1c;
  border-radius: 12px; padding: 10px 12px;
  border: 1px solid #2a2a2a;
}
.app-row-icon {
  width: 32px; height: 32px;
  background: rgba(34,197,94,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-row-icon svg { width: 16px; height: 16px; }
.app-row-name { font-size: 12px; font-weight: 600; color: var(--text); }
.app-row-day { font-size: 10px; color: var(--muted); margin-top: 1px; }
.app-chevron { width: 12px; height: 12px; margin-left: auto; flex-shrink: 0; }
.app-tabs {
  display: flex; justify-content: space-around;
  padding: 10px 8px 14px;
  border-top: 1px solid #222;
  background: #111;
}
.app-tab {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  font-size: 9px; color: var(--subtle);
}
.app-tab svg { width: 16px; height: 16px; }
.app-tab.active { color: var(--green); }
.app-tab.active svg { stroke: var(--green); }

/* Features */
.features { padding: 80px 0; }
.section-title {
  font-size: 32px; font-weight: 800;
  text-align: center; letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(34,197,94,0.3); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--green-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Included */
.included { padding: 0 0 80px; }
.included-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.included-left h2 {
  font-size: 36px; font-weight: 800;
  line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 8px;
}
.included-sub { color: var(--green); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: #ccc;
}
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.included-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Mock cards */
.mock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.mock-card-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mock-card-title { font-size: 11px; font-weight: 600; color: var(--muted); }
.mock-pill {
  font-size: 10px; color: var(--muted);
  background: var(--card2);
  padding: 2px 8px; border-radius: 6px;
  border: 1px solid var(--border);
}
.mock-weight-val { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.green-sm { font-size: 13px; color: var(--green); font-weight: 600; }
.mock-chart { width: 100%; height: 50px; margin-bottom: 6px; }
.mock-chart-labels {
  display: flex; justify-content: space-between;
  font-size: 9px; color: var(--subtle);
}
.mock-macro-row { display: flex; align-items: center; gap: 10px; }
.mock-donut-wrap { flex-shrink: 0; }
.mock-donut { width: 72px; height: 72px; }
.mock-macro-legend { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-legend-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--muted);
}
.mock-val { margin-left: auto; font-size: 10px; color: var(--text); font-weight: 600; }
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.dot-amber { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; }
.dot-red   { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; flex-shrink: 0; }
.mock-bars {
  display: flex; align-items: flex-end;
  gap: 5px; height: 60px; margin-top: 8px;
}
.bar-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px; flex: 1;
}
.bar {
  width: 100%; background: var(--green);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.bar-wrap span { font-size: 9px; color: var(--subtle); }
.mock-pr-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.mock-pr-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--muted);
}
.mock-pr-row svg { width: 13px; height: 13px; flex-shrink: 0; }
.mock-pr-val { margin-left: auto; font-size: 11px; color: var(--text); font-weight: 700; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
}
.footer-inner { text-align: center; }
.footer .logo { justify-content: center; margin-bottom: 12px; }
.footer p { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.copyright { font-size: 12px; color: var(--subtle) !important; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .included-inner { grid-template-columns: 1fr; }
  .included-right { grid-template-columns: 1fr 1fr; }
}
