/* css/landing.css */

:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --surface: rgba(17, 24, 39, 0.84);
  --surface-strong: #111827;
  --surface-light: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #b7c0d4;
  --muted-2: #8d97ad;
  --accent: #8b5cf6;
  --accent-2: #22c55e;
  --accent-3: #ec4899;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.2);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.18), transparent 24%),
    linear-gradient(180deg, #0a0f1e 0%, #0f172a 52%, #0a0f1e 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 15, 30, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-top {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-bottom {
  font-size: 1rem;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

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

.nav-login {
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 16px 34px rgba(139, 92, 246, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d8b4fe;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.planner-preview {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-xl);
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-label {
  margin: 0 0 6px;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.preview-topbar h2 {
  margin: 0;
  font-size: 1.35rem;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.day-card {
  min-height: 108px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.day-name {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}

.task-pill {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.task-pill.high {
  background: rgba(139, 92, 246, 0.2);
  color: #e9d5ff;
}

.task-pill.medium {
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
}

.task-pill.low {
  background: rgba(236, 72, 153, 0.16);
  color: #fbcfe8;
}

.proof-strip,
.features,
.how-it-works,
.cta-section {
  padding: 26px 0 34px;
}

.proof-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.feature-card,
.step-card,
.cta-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
}

.proof-card {
  padding: 24px;
}

.proof-number {
  margin: 0 0 10px;
  color: #f9a8d4;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.proof-card h3,
.feature-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.proof-card p:last-child,
.feature-card p:last-child,
.step-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-shell {
  padding: 18px 0;
}

.section-shell.narrow {
  max-width: 980px;
  margin: 0 auto;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 24px;
  text-align: center;
}

.step-number {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  font-weight: 800;
}

.cta-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 24px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin: 0 0 6px;
  font-weight: 700;
}

.footer-copy {
  margin: 0;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid,
  .proof-grid,
  .feature-grid,
  .steps-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .planner-preview {
    max-width: none;
  }

  .cta-card {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .container {
    width: min(var(--container), calc(100% - 24px));
  }
}