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

:root {
  --bg:       #0A0A0A;
  --surface:  #111111;
  --border:   #1E1E1E;
  --text:     #F0F0F0;
  --secondary:#888888;
  --accent:   rgb(192, 57, 43);
  --accent-lo:rgba(192, 57, 43, 0.12);
  --radius:   12px;
  --max-w:    1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ───────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav-link {
  font-size: 14px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.hero-text { flex: 1; max-width: 480px; }

.hero-text h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 400px;
}

/* App Store button */
.app-store-btn {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.app-store-btn:hover { opacity: 0.85; transform: scale(1.02); }
.app-store-btn svg { width: 140px; height: 47px; }

/* ─── Phone mockup ──────────────────────────────────────────── */
.hero-mockup {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: 220px;
  background: #141414;
  border-radius: 36px;
  border: 1.5px solid var(--border);
  padding: 16px 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.phone-screen { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.mock-phase-bar {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}
.mock-phase {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #444;
}
.mock-phase.active { color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

.mock-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-timer {
  font-size: 32px;
  font-weight: 100;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  z-index: 1;
}

.mock-task {
  font-size: 9px;
  color: var(--secondary);
  text-align: center;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-dots { display: flex; gap: 5px; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2a2a2a;
}
.dot.filled { background: var(--accent); }

.mock-controls { display: flex; align-items: center; gap: 10px; padding: 6px 0 4px; }

.mock-btn-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 14px;
  cursor: default;
  display: flex; align-items: center; justify-content: center;
}

.mock-btn-primary {
  width: 56px; height: 36px;
  border-radius: 18px;
  background: var(--accent);
  border: none;
  color: white;
  font-size: 14px;
  cursor: default;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Features ──────────────────────────────────────────────── */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.feature-card:hover { background: #161616; }

.feature-icon {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

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

/* ─── Philosophy ────────────────────────────────────────────── */
.philosophy {
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}

.philosophy blockquote {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 16px;
}

.philosophy cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--secondary);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.philosophy p {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.7;
}

/* ─── Watch section ─────────────────────────────────────────── */
.watch-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}

.watch-text { max-width: 400px; }

.watch-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.watch-text p {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.7;
}

/* Watch mockup */
.watch-frame {
  width: 170px;
  background: #0f0f0f;
  border-radius: 44px;
  border: 1.5px solid #222;
  padding: 20px 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.watch-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.watch-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-ring-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.watch-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  gap: 1px;
}
.watch-task-name { font-size: 8px; color: #666; }
.watch-time { font-size: 24px; font-weight: 100; font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.watch-phase { font-size: 7px; letter-spacing: 0.8px; color: var(--accent); font-weight: 600; }

.watch-dots { display: flex; gap: 5px; }
.wdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(192,57,43,0.25); }
.wdot.filled { background: var(--accent); }

.watch-play-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

/* ─── CTA ───────────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 36px;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--secondary);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 20px; }

  .hero {
    flex-direction: column-reverse;
    padding: 48px 20px 64px;
    gap: 40px;
    text-align: center;
  }
  .hero-sub { max-width: 100%; }

  .feature-grid { grid-template-columns: 1fr; }

  .watch-section {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding: 64px 20px;
  }

  .philosophy { padding: 64px 20px; }
  .cta { padding: 64px 20px; }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 20px 40px;
  }
}

@media (max-width: 480px) {
  .phone-frame { width: 190px; }
  .mock-ring { width: 120px; height: 120px; }
  .mock-timer { font-size: 28px; }
}
