/* ==============================
   TASKDROP — Landing Page Styles
   ============================== */

:root {
  --bg: #FDFAF6;
  --bg-alt: #F5EFE6;
  --fg: #1A1A2E;
  --fg-muted: #5A5A72;
  --accent: #F25C33;
  --accent-dark: #D9451F;
  --white: #FFFFFF;
  --border: #E8E2D9;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 26, 46, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}
.nav-logo-text { letter-spacing: -0.02em; }
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 96px;
}
.hero-bg-shape {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242,92,51,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(242, 92, 51, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.headline-accent { color: var(--accent); }
.hero-subhead {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(242, 92, 51, 0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 92, 51, 0.4);
}
.hero-cta-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-visual-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(242, 92, 51, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.flow-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.flow-card-1 { z-index: 3; }
.flow-card-2 { z-index: 2; margin-top: -4px; border-color: var(--accent); }
.flow-card-3 { z-index: 1; margin-top: -4px; }
.flow-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(242, 92, 51, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-card-content { flex: 1; }
.flow-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
}
.flow-card-app {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.flow-card-badge {
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
}
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 36px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.connector-line {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ==============================
   PROBLEM STATS
   ============================== */
.problem {
  background: var(--fg);
  padding: 80px 24px;
  color: white;
}
.problem-inner { max-width: 1160px; margin: 0 auto; }
.problem-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.problem-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 48px;
  line-height: 1.1;
}
.problem-highlight { color: var(--accent); }
.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  padding: 36px 32px;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-it-works { padding: 96px 24px; }
.hiw-inner { max-width: 1160px; margin: 0 auto; }
.hiw-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hiw-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
}
.hiw-sub {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 56px;
}
.accent { color: var(--accent); }
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 8px; }
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step-icon {
  margin-bottom: 20px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  gap: 8px;
}
.step-connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
}

/* ==============================
   FEATURES
   ============================== */
.features {
  background: var(--bg-alt);
  padding: 96px 24px;
}
.features-inner { max-width: 1160px; margin: 0 auto; }
.features-header {
  text-align: center;
  margin-bottom: 56px;
}
.features-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.features-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.25s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-card-highlight {
  background: linear-gradient(135deg, #F25C33 0%, #FF7A52 100%);
  border-color: var(--accent);
  color: white;
}
.feature-card-highlight .feature-icon svg path,
.feature-card-highlight .feature-icon svg rect,
.feature-card-highlight .feature-icon svg circle {
  stroke: white;
}
.feature-card-highlight .feature-desc { color: rgba(255,255,255,0.8); }
.feature-card-highlight .feature-title { color: white; }
.feature-icon { margin-bottom: 20px; }
.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ==============================
   CLOSING CTA
   ============================== */
.closing {
  position: relative;
  padding: 96px 24px;
  text-align: center;
  overflow: hidden;
}
.closing-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(242,92,51,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.closing-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(242, 92, 51, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.closing-headline {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}
.closing-accent { color: var(--accent); }
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(242, 92, 51, 0.35);
}
.closing-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 92, 51, 0.45);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}
.footer-links {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .problem-stats { grid-template-columns: 1fr; }
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-connector {
    flex-direction: row;
    padding-top: 0;
  }
  .step-connector-line {
    width: 40px;
    height: 1px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 20px 72px; }
  .problem { padding: 56px 20px; }
  .how-it-works { padding: 64px 20px; }
  .features { padding: 64px 20px; }
  .closing { padding: 64px 20px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}