/* Taskott Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #0a0a0b;
  --bg-card: #131315;
  --bg-elevated: #1a1a1d;
  --bg-hover: #222225;
  --bg-border: #2a2a2e;
  --text-primary: #f0f0f2;
  --text-secondary: #8a8a95;
  --text-muted: #55555f;
  --accent-indigo: #646cff;
  --accent-indigo-hover: #535bf2;
  --accent-green: #4ade80;
  --accent-cyan: #22d3ee;
  --accent-amber: #fbbf24;
  --accent-purple: #a78bfa;
  --light-bg: #fafaf9;
  --light-bg-alt: #f3f3f1;
  --light-text: #1a1a1d;
  --light-text-secondary: #5c5c66;
  --light-border: #e5e5e3;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  color: var(--light-text);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: white !important;
  background: var(--accent-indigo);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-indigo-hover) !important;
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  background: var(--bg-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(100, 108, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,108,255,0.3), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(100,108,255,0.1);
  border: 1px solid rgba(100,108,255,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-indigo);
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent-indigo);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 0 0 rgba(100,108,255,0), 0 4px 16px rgba(100,108,255,0.25);
}

.btn-primary:hover {
  background: var(--accent-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(100,108,255,0.15), 0 8px 24px rgba(100,108,255,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: #444;
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.hero-platforms {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── MOCKUP ─── */
.hero-mockup {
  margin-top: 4rem;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--bg-border);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-border);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-content {
  padding: 2rem 2.5rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.mock-sprint-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.mock-stats {
  display: flex;
  gap: 2rem;
}

.mock-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.mock-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-stat-value .unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mock-tasks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-task {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.mock-task.active {
  border-color: var(--accent-indigo);
  background: rgba(100,108,255,0.05);
}

.mock-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--bg-border);
  flex-shrink: 0;
}

.mock-task.done .mock-check {
  background: var(--accent-green);
  border-color: var(--accent-green);
  position: relative;
}

.mock-task.done .mock-check::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mock-task-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.mock-task.done .mock-task-name {
  color: var(--text-muted);
  text-decoration: line-through;
}

.mock-task-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mock-goal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SECTION SHARED ─── */
.section {
  padding: 6rem 2rem;
}

.section-dark {
  background: var(--bg-base);
  color: var(--text-primary);
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.section-alt {
  background: var(--light-bg-alt);
  color: var(--light-text);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-indigo);
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: var(--accent-indigo);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text-secondary);
  max-width: 600px;
}

.section-dark .section-desc {
  color: var(--text-secondary);
}

/* ─── PROBLEM ─── */
.problem {
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.problem-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--light-text-secondary);
}

.problem-list .icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.08);
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.problem-insight {
  background: var(--bg-base);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.problem-insight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(100,108,255,0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.insight-number {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-indigo);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.insight-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.insight-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── SPRINT ─── */
.sprint-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.sprint-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--light-border);
  z-index: 0;
}

.sprint-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.sprint-step-num {
  width: 48px;
  height: 48px;
  background: white;
  border: 2px solid var(--light-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-text);
  margin: 0 auto 1rem;
  transition: all 0.3s;
}

.sprint-step:hover .sprint-step-num {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  box-shadow: 0 0 0 4px rgba(100,108,255,0.1);
}

.sprint-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.sprint-step-desc {
  font-size: 0.8rem;
  color: var(--light-text-secondary);
  line-height: 1.5;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: #ccc;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-indigo);
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(100,108,255,0.1); }
.feature-card:nth-child(2) .feature-icon { background: rgba(251,191,36,0.1); }
.feature-card:nth-child(3) .feature-icon { background: rgba(34,211,238,0.1); }
.feature-card:nth-child(4) .feature-icon { background: rgba(167,139,250,0.1); }
.feature-card:nth-child(5) .feature-icon { background: rgba(74,222,128,0.1); }
.feature-card:nth-child(6) .feature-icon { background: rgba(251,146,60,0.1); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--light-text);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--light-text-secondary);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.step-item {
  text-align: center;
  padding: 1.5rem 0.75rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-indigo);
  opacity: 0.3;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── INTEGRATIONS ─── */
.integrations-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.integration-card {
  flex: 1;
  min-width: 250px;
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.integration-card:nth-child(1) .integration-icon { background: rgba(66,133,244,0.1); }
.integration-card:nth-child(2) .integration-icon { background: rgba(0,0,0,0.05); }
.integration-card:nth-child(3) .integration-icon { background: rgba(100,108,255,0.1); }

.integration-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.integration-card .badge-required {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-indigo);
  background: rgba(100,108,255,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.integration-card p {
  font-size: 0.85rem;
  color: var(--light-text-secondary);
  line-height: 1.5;
}

/* ─── CTA FOOTER ─── */
.cta-section {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100, 108, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-section .section-desc {
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-downloads {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-downloads .btn-primary {
  padding: 0.9rem 2.25rem;
}

/* ─── FOOTER ─── */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-base);
}

.footer-left {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sprint-flow {
    flex-direction: column;
    gap: 1rem;
  }

  .sprint-flow::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav { padding: 0 1rem; }
  .nav-links { display: none; }

  .hero { padding: 7rem 1.25rem 4rem; }

  .section { padding: 4rem 1.25rem; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .integrations-row {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-downloads {
    flex-direction: column;
    align-items: center;
  }

  .mockup-content {
    padding: 1.25rem;
  }

  .mock-stats {
    gap: 1.25rem;
  }

  .mock-stat-value {
    font-size: 1.2rem;
  }

  .mock-task-meta {
    display: none;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ─── SUBTLE ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: fadeUp 0.6s ease-out; }
.hero h1 { animation: fadeUp 0.6s ease-out 0.1s both; }
.hero-sub { animation: fadeUp 0.6s ease-out 0.2s both; }
.hero-actions { animation: fadeUp 0.6s ease-out 0.3s both; }
.hero-mockup { animation: fadeUp 0.8s ease-out 0.5s both; }
