/* =============================================
   TaskMap — Brand CSS
   ============================================= */

:root {
  --bg: #fafaf8;
  --bg-alt: #f0ede8;
  --surface: #ffffff;
  --fg: #1a1a2e;
  --fg-muted: #6b6b7a;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --border: #e4e1da;
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.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); }

/* Hero */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero-glow {
  position: absolute;
  top: 20%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.cta-note {
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  display: inline-block;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.task-card, .plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 32px rgba(26, 26, 46, 0.06);
}
.task-card-header, .plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.task-card-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.1);
  border-radius: 100px;
  padding: 4px 10px;
}
.task-card-date {
  font-size: 12px;
  color: var(--fg-muted);
}
.task-card-text {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}
.plan-card-header {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 16px;
}
.plan-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.step-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.step-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

/* How it Works */
.how-it-works {
  padding: 100px 24px;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
}
.how-it-works .section-title {
  color: var(--bg);
}
.section-header {
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--fg-muted);
}
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon {
  margin: 0 auto 20px;
}
.step-item h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 10px;
}
.step-item p {
  font-size: 14px;
  color: rgba(250, 250, 248, 0.55);
  line-height: 1.6;
}
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,166,35,0.4), rgba(245,166,35,0.1));
  margin-top: 44px;
  flex-shrink: 0;
}

/* Features */
.features {
  padding: 100px 24px;
  background: var(--bg);
}
.features-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 40px rgba(26, 26, 46, 0.08);
}
.feature-card-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Audience */
.audience {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.audience-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.audience-icon {
  margin-bottom: 14px;
}
.audience-item h4 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.audience-item p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Closing */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: var(--fg);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 32px;
}
.closing-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--bg);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: rgba(250, 250, 248, 0.55);
  line-height: 1.65;
  margin-bottom: 40px;
}
.closing-principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}
.principle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(250, 250, 248, 0.75);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  background: var(--fg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--bg);
}
.footer-note {
  font-size: 13px;
  color: rgba(250, 250, 248, 0.4);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(250, 250, 248, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-visual {
    order: -1;
  }
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step-connector {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 480px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 36px;
  }
}