/* ============================================================
   NuTask — Commercial landing (standalone static site)
   Brand: indigo → purple → pink · Font: Outfit
   ============================================================ */

:root {
  --indigo: #6366f1;
  --purple: #a855f7;
  --pink: #ec4899;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f5f3ff;
  --border: #e7e9f0;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(79, 70, 229, 0.10);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.18);
  --grad: linear-gradient(120deg, var(--indigo), var(--purple) 55%, var(--pink));
  --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Badge / pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-tint);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.18);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-md);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--purple); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Language toggle */
.lang-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-toggle button {
  font: inherit; font-weight: 600; font-size: 13px;
  border: none; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all 0.15s;
}
.lang-toggle button.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Mobile menu button */
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(236, 72, 153, 0.12), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 22px 0 20px; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats .num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .label { font-size: 13px; color: var(--muted); }

/* Hero app mock */
.mock { position: relative; }
.mock-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  animation: float 6s ease-in-out infinite;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-user { display: flex; align-items: center; gap: 12px; }
.mock-avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; font-size: 24px; }
.mock-user .name { font-weight: 700; font-size: 15px; }
.mock-user .lvl { font-size: 12px; color: var(--muted); }
.acj-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.mock-task { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: var(--bg-soft); }
.mock-task .check { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 14px; }
.mock-task.done .check { background: #dcfce7; color: #16a34a; }
.mock-task.pending .check { background: #fef3c7; color: #d97706; }
.mock-task .t-title { font-weight: 600; font-size: 14px; flex: 1; }
.mock-task .t-reward { font-size: 13px; font-weight: 700; color: var(--purple); }
.mock-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
}
.mock-float.one { top: -22px; right: -10px; animation: float 5s ease-in-out infinite; }
.mock-float.two { bottom: -20px; left: -18px; animation: float 7s ease-in-out infinite reverse; }
.mock-float .emoji { font-size: 22px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Section scaffolding ---------- */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 800; margin: 16px 0 14px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }

.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }

/* ---------- Trust strip ---------- */
.trust { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.trust-item svg { color: var(--purple); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(168, 85, 247, 0.3); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  margin-bottom: 18px; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px;
  background: linear-gradient(90deg, rgba(168,85,247,0.4), rgba(168,85,247,0.05));
}

/* ---------- Gamification split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .fi {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--grad-soft); display: grid; place-items: center; font-size: 20px;
}
.feature-list h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.feature-list p { color: var(--muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote .stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; font-size: 20px; }
.quote .who .nm { font-weight: 700; font-size: 14px; }
.quote .who .rl { font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 28px; justify-content: center; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border-color: transparent; box-shadow: var(--shadow-lg); background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.plan .plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 4px; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .price-note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.plan li svg { color: var(--purple); flex: none; margin-top: 3px; }

/* ---------- CTA / signup ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 120% at 50% 0%, rgba(255,255,255,0.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { font-size: 18px; opacity: 0.92; margin-bottom: 28px; }
.signup-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup-form input {
  flex: 1; font: inherit; font-size: 15px; padding: 15px 18px; border-radius: 999px;
  border: none; background: rgba(255,255,255,0.95); color: var(--ink);
}
.signup-form input:focus { outline: 3px solid rgba(255,255,255,0.5); }
.signup-form .btn { background: var(--ink); color: #fff; }
.signup-form .btn:hover { background: #1e293b; }
.form-msg { margin-top: 16px; font-weight: 600; min-height: 22px; }
.cta-mini { font-size: 13px; opacity: 0.85; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; background: var(--white); overflow: hidden; }
.faq-q { width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: 17px; padding: 20px 22px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq-q .chev { transition: transform 0.25s ease; color: var(--purple); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top .brand { color: #fff; margin-bottom: 14px; }
.footer-top p { font-size: 14px; color: #94a3b8; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: #94a3b8; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mock { max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 22px 24px; box-shadow: var(--shadow-md);
  }
  .nav-actions .btn-trial { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .signup-form { flex-direction: column; }
  .signup-form input, .signup-form .btn { width: 100%; }
  .cta-band { padding: 40px 24px; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
