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

:root {
  --bg: #0e0e0f;
  --surface: #151517;
  --surface-2: #1a1a1d;
  --border: #222226;
  --border-subtle: #18181b;
  --accent: #8e9aaa;
  --accent-dim: rgba(142, 154, 170, 0.1);
  --green: #8e9aaa;
  --green-dim: rgba(142, 154, 170, 0.1);
  --text-primary: #d0d8e4;
  --text-secondary: #6a7888;
  --text-muted: #3a4550;
  --radius: 16px;
  --radius-lg: 22px;
  --font: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Nav ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 64px;
  background: rgba(14, 14, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--text-primary); }

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #0b0e0d;
}

.btn-primary:hover {
  background: #a4aebb;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(142, 154, 170, 0.22);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #222226;
  border-color: rgba(142, 154, 170, 0.2);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ─── Hero ─── */

#hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 96px 6vw 80px;
  min-height: calc(100vh - 64px);
}

.hero-glow-1 {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(142, 154, 170, 0.055) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(142, 154, 170, 0.055) 0%, transparent 65%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: var(--accent-dim);
  border: 1px solid rgba(142, 154, 170, 0.14);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.025em;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(142, 154, 170, 0.6);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

h1 .accent { color: var(--green); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px;
}

.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Phone mockup ─── */

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.phone-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse, rgba(142, 154, 170, 0.09) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.app-screenshot {
  display: block;
  width: 350px;
  height: auto;
}

.phone {
  width: 248px;
  height: 510px;
  background: #0a0a0b;
  border-radius: 40px;
  border: 1.5px solid #262629;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px #111114,
    0 48px 96px rgba(0, 0, 0, 0.55),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.03);
}

.phone-notch {
  width: 88px;
  height: 24px;
  background: #0a0a0b;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border: 1.5px solid #262629;
  border-top: none;
}

.phone-screen {
  padding: 14px 18px 20px;
  height: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mock-tab {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mock-subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(142, 154, 170, 0.1);
  border: 1px solid rgba(142, 154, 170, 0.18);
  border-radius: 20px;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--green);
  align-self: flex-start;
}

.mock-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.mock-timer-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2.5px solid #1e1e22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  position: relative;
}

.mock-timer-ring::before {
  content: '';
  position: absolute;
  inset: -2.5px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--green);
  border-right-color: var(--green);
  border-bottom-color: rgba(142, 154, 170, 0.2);
}

.mock-time {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1;
}

.mock-time-label {
  font-size: 0.48rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.mock-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 2px 0;
}

.mock-section-label {
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mock-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.63rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.mock-check {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #2e2e34;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-task.done .mock-check {
  background: var(--green);
  border-color: var(--green);
  font-size: 0.42rem;
  color: #0b0e0d;
  font-weight: 700;
}

.mock-task.done .mock-task-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ─── Sections shared ─── */

section { padding: 100px 6vw; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.16;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.75;
}

/* ─── Features ─── */

#features { border-top: 1px solid var(--border-subtle); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.feature-card:hover {
  border-color: rgba(142, 154, 170, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.feature-title {
  font-size: 1.025rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.012em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── Pricing ─── */

#pricing { border-top: 1px solid var(--border-subtle); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.pricing-card.featured {
  background: var(--surface-2);
  border-color: rgba(142, 154, 170, 0.25);
  box-shadow: 0 0 0 1px rgba(142, 154, 170, 0.08), 0 24px 48px rgba(0, 0, 0, 0.3);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #0b0e0d;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.pricing-alt {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.845rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── Footer ─── */

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 44px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── Legal pages ─── */

.legal-hero {
  padding: 80px 6vw 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 12px;
}

.legal-effective {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 6vw 96px;
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
}

.legal-content p {
  font-size: 0.895rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.82;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 16px 22px;
}

.legal-content ul li {
  font-size: 0.895rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.82;
  margin-bottom: 5px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover { color: var(--text-primary); }

/* ─── Showcase ─── */

#showcase {
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 96px;
}

#showcase > .section-eyebrow,
#showcase > h2 {
  margin-bottom: 0;
}

#showcase > h2 {
  margin-bottom: 16px;
}

.showcase-row {
  display: flex;
  align-items: center;
  gap: 64px;
}

.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-phone {
  flex: 1;
  display: flex;
  justify-content: center;
}

.showcase-img {
  width: 400px;
  height: auto;
  display: block;
}

.img-blocking { width: 260px; }
.img-timer    { width: 260px; }

.showcase-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-text h2 {
  margin-bottom: 0;
}

.showcase-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
  max-width: 420px;
}

/* ─── Fade-in ─── */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.slide-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */

@media (max-width: 960px) {
  #hero { flex-direction: column; padding-top: 64px; padding-bottom: 64px; min-height: auto; }
  .hero-visual { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .showcase-row,
  .showcase-row.reverse { flex-direction: column; gap: 40px; }
  .showcase-text p { max-width: 100%; }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  section { padding: 64px 5vw; }
  .hero-stats { flex-wrap: wrap; }
  footer { flex-direction: column; align-items: flex-start; }
}