/* ============================================================
   Tasqlist — style.css
   Production stylesheet for tasqlist.com one-page landing
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow:  #FFE14D;
  --coral:   #FF6B5B;
  --sky:     #5BC4F5;
  --mint:    #4DDBA8;
  --navy:    #1A1A2E;
  --ink:     #16162A;
  --white:   #ffffff;
  --off-white: #F9F7FF;
  --font:    'Plus Jakarta Sans', sans-serif;
  --nav-h:   60px;
  --radius:  20px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp .7s ease both; }

/* ---------- Shared utilities ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 40px;
}
.section-sub {
  font-size: 15px;
  color: #888;
  margin-top: -28px;
  margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity var(--transition);
}
.btn-dark:hover { opacity: .82; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  border: 2px solid var(--white);
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.btn-white:hover { opacity: .9; }

.btn-ghost-w {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: border-color var(--transition);
  white-space: nowrap;
}
.btn-ghost-w:hover { border-color: var(--white); }

/* ---------- NAV ---------- */
.nav {
  background: var(--navy);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.nav-btn:hover { opacity: .85; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

/* ---------- HERO ---------- */
.hero-wrap {
  background: var(--yellow);
  width: 100%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 520px;
}

.hero-left { padding-bottom: 60px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-pill-dot {
  width: 7px; height: 7px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(.8); }
}

.hero-h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 22px;
}
.underline-accent {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 8px;
  text-decoration-thickness: 4px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(26,26,46,.65);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- HERO right: card stack ---------- */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.hero-card-stack {
  position: relative;
  width: 300px;
  height: 340px;
}

.hcard {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  width: 240px;
  box-shadow: 0 6px 28px rgba(26,26,46,.14);
}
.hcard-1 { bottom: 0;   left: 0;  transform: rotate(-5deg); opacity: .85; }
.hcard-2 { bottom: 80px; left: 30px; transform: rotate(2deg); border: 2px solid var(--navy); z-index: 2; }
.hcard-3 { bottom: 155px; left: 55px; transform: rotate(-1.5deg); opacity: .7; z-index: 1; }

.hcard-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 9px;
}
.tag-urgent   { background: #FFE8E5; color: #B02A20; }
.tag-progress { background: #E8F5E9; color: #1B6B3A; }
.tag-done     { background: #EEF0FF; color: #3C3489; }

.hcard-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.45; }

.hcard-meta { display: flex; align-items: center; justify-content: space-between; }
.hcard-chips { display: flex; }
.hchip {
  width: 23px; height: 23px;
  border-radius: 50%;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-left: -5px;
  border: 2px solid var(--white);
}
.hchip:first-child { margin-left: 0; }
.hcard-due { font-size: 11px; color: #AAA; font-weight: 500; }
.hcard-due.overdue { color: var(--coral); font-weight: 600; }

.hbar { height: 3px; background: #F0EEE8; border-radius: 100px; margin-top: 12px; }
.hbar-fill { height: 100%; border-radius: 100px; background: var(--mint); }

.stats-band-wrap {
  background: var(--navy);
}
.stats-band {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-left: 1px solid rgba(255,255,255,.58);
  border-right: 1px solid rgba(255,255,255,.58);
}
.stat-item + .stat-item { border-left: none; }
.stat-num {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 500; }

/* ---------- FEATURES ---------- */
.features { background: var(--white); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--transition);
  cursor: default;
}
.feat-card:hover { transform: translateY(-4px); }

.feat-card.yellow { background: var(--yellow); }
.feat-card.sky    { background: var(--sky); }
.feat-card.mint   { background: var(--mint); }
.feat-card.coral  { background: var(--coral); }
.feat-card.navy   { background: var(--navy); }
.feat-card.pink   { background: #FFB3C6; }

.feat-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(0,0,0,.11);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: rgba(0,0,0,.65);
}
.feat-card.navy .feat-icon,
.feat-card.coral .feat-icon { background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }

.feat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feat-card.navy .feat-title  { color: var(--white); }
.feat-card.coral .feat-title { color: var(--white); }

.feat-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26,26,46,.6);
}
.feat-card.navy .feat-desc  { color: rgba(255,255,255,.45); }
.feat-card.coral .feat-desc { color: rgba(255,255,255,.72); }

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--off-white); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.step {
  padding: 36px 30px;
  border-right: 2px solid var(--navy);
}
.step:last-child { border-right: none; }

.step-num {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  margin-bottom: 18px;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc  { font-size: 13px; color: #888; line-height: 1.7; }

/* ---------- PRICING ---------- */
.pricing { background: var(--white); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan {
  border-radius: var(--radius);
  padding: 30px;
  border: 2px solid #EEEAFF;
  position: relative;
  transition: transform var(--transition);
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { background: var(--navy); border-color: var(--navy); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #AAA;
  margin-bottom: 10px;
}
.plan.featured .plan-label { color: rgba(255,255,255,.4); }

.plan-price {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 5px;
}
.plan.featured .plan-price { color: var(--yellow); }

.plan-per { font-size: 13px; color: #AAA; margin-bottom: 22px; }
.plan.featured .plan-per { color: rgba(255,255,255,.4); }

.plan-divider { height: 1px; background: #F0EEE8; margin-bottom: 22px; }
.plan.featured .plan-divider { background: rgba(255,255,255,.1); }

.plan-feats { display: flex; flex-direction: column; gap: 11px; }
.plan-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #555;
}
.plan-feat i { font-size: 15px; color: var(--mint); flex-shrink: 0; }
.plan.featured .plan-feat { color: rgba(255,255,255,.7); }

.plan-feat.off { color: #CCC; }
.plan-feat.off i { color: #DDD; }

.plan-btn {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 13px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.plan-btn:hover { background: var(--navy); color: var(--white); }
.plan.featured .plan-btn { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.plan.featured .plan-btn:hover { opacity: .88; }

/* ---------- CTA BANNER ---------- */
.cta-banner-wrap {
  background: var(--coral);
}
.cta-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.cta-left p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; }
.cta-right { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy); padding: 26px 40px; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.footer-logo span { color: var(--yellow); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.35); font-size: 12px; font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.22); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 32px 40px; min-height: auto; gap: 40px; }
  .hero-left { padding-bottom: 0; }
  .hero-right { justify-content: flex-start; padding-bottom: 48px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 2px solid var(--navy); }
  .step:last-child { border-bottom: none; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan.featured { margin-top: 16px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .nav-inner { padding: 0 20px; gap: 12px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-btn { display: none; }
  .hero-inner { padding: 48px 20px 40px; }
  .hero-card-stack { width: 240px; height: 280px; }
  .hcard { width: 200px; padding: 14px; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .cta-banner { padding: 56px 20px; }
  .cta-right { flex-direction: column; width: 100%; }
  .btn-white, .btn-ghost-w { text-align: center; }
}