/* ---------- Theme tokens (from TaskO logo) ---------- */
:root {
  --blue: #1fa2ff;
  --blue-deep: #3b6bff;
  --indigo: #4b2be8;
  --purple: #9b2bef;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--blue-deep) 45%, var(--purple) 100%);

  --bg: #06070d;
  --bg-soft: #0d0f1a;
  --card: #11131f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f3f8;
  --muted: #9499ad;

  --radius: 18px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

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

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(31, 162, 255, 0.18), transparent 70%),
    radial-gradient(55% 50% at 85% 10%, rgba(155, 43, 239, 0.16), transparent 70%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
section { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: 34px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(75, 43, 232, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(75, 43, 232, 0.85); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.25); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 90px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(31, 162, 255, 0.06);
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 600px;
  margin: 26px auto 0;
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 110px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.feature__mark { font-size: 28px; display: block; margin-bottom: 16px; }
.feature h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); font-weight: 300; }

/* ---------- Pricing ---------- */
.pricing { text-align: center; padding-bottom: 120px; }
.section__title {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section__sub { color: var(--muted); margin-top: 12px; font-weight: 300; }

.plans {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 24px 60px -28px rgba(75, 43, 232, 0.65);
}
.plan__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
}
.plan__badge--soon { background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.plan__name { font-size: 22px; font-weight: 700; }
.plan__price { margin-top: 8px; font-size: 15px; color: var(--muted); font-weight: 300; }
.plan__price span { font-size: 38px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.plan__desc { margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 300; min-height: 40px; }
.plan__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.plan__list li {
  font-size: 14.5px;
  color: var(--text);
  padding-left: 26px;
  position: relative;
  font-weight: 300;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer__icon { height: 36px; width: 36px; border-radius: 9px; }
.footer p { color: var(--muted); font-size: 14px; font-weight: 300; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features, .plans { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
  .plan--featured { order: -1; }
}
