:root {
  --indigo: #3730A3;
  --indigo-light: #5B55D6;
  --teal: #14B8A6;
  --ink: #18181B;
  --ink-soft: #4B4B55;
  --paper: #FAFAF9;
  --grad: linear-gradient(160deg, #3730A3 0%, #5B55D6 55%, #14B8A6 130%);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }

/* ---------- Scroller / screens ---------- */
.scroller {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.screen {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 28px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.topbar-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}
.brand-logo { height: 30px; width: auto; }
.kam-fill { fill: #FFFFFF; transition: fill .3s ease; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color .2s ease;
}
.topbar-link:hover { color: #fff; }
@media (max-width: 480px) { .topbar-link { display: none; } }
.topbar-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.topbar-cta:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }

/* Topbar over light-background screens */
.topbar-on-light .kam-fill { fill: var(--ink); }
.topbar-on-light .topbar-link { color: rgba(24,24,27,0.7); }
.topbar-on-light .topbar-link:hover { color: var(--ink); }
.topbar-on-light .topbar-cta {
  color: var(--indigo);
  background: rgba(55,48,163,0.08);
  border-color: rgba(55,48,163,0.25);
}
.topbar-on-light .topbar-cta:hover { background: rgba(55,48,163,0.14); }

/* ---------- Dots nav ---------- */
.dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(120,120,140,0.35);
  transition: all .25s ease;
}
.dot.active { background: var(--teal); transform: scale(1.4); }
@media (max-width: 720px) { .dots { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--indigo-light), var(--teal));
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(20,184,166,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(20,184,166,0.65); }
.btn-lg { padding: 17px 38px; font-size: 17px; }
.btn-ghost {
  color: #fff;
  opacity: 0.85;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,0.14); }
.btn-outline {
  border: 1.5px solid rgba(55,48,163,0.3);
  color: var(--indigo);
  background: #fff;
}
.btn-outline:hover { background: #F4F4FF; transform: translateY(-2px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.reveal-delay { transition-delay: .15s; }
.screen.is-active .reveal { opacity: 1; transform: translateY(0); }

/* ---------- Background orbs ---------- */
.bg-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.orb-1 { width: 420px; height: 420px; background: var(--teal); top: -120px; left: -120px; }
.orb-2 { width: 380px; height: 380px; background: var(--indigo-light); bottom: -140px; right: -100px; }
.orb-3 { width: 300px; height: 300px; background: var(--indigo); top: 40%; right: 15%; opacity: 0.35; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(20,184,166,0.12);
  border: 1px solid rgba(20,184,166,0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dark { color: var(--indigo); background: rgba(55,48,163,0.08); border-color: rgba(55,48,163,0.22); }

/* ================= HERO ================= */
.hero {
  background: var(--grad);
  color: #fff;
  justify-content: space-between;
  padding-top: 140px;
}
.hero-content { max-width: 760px; text-align: center; z-index: 2; }
.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.grad-text {
  background: linear-gradient(100deg, #fff, #99F6E4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-mock { z-index: 2; margin-top: 48px; width: 100%; max-width: 900px; }
.board-mock {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  overflow-x: auto;
}
.board-col { flex: 1; min-width: 190px; display: flex; flex-direction: column; gap: 10px; }
.board-col-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 8px;
  opacity: 0.9;
}
.dot-status { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-status.inbox { background: #C7D2FE; }
.dot-status.doing { background: #FCD34D; }
.dot-status.done { background: #6EE7B7; }
.card-mock {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.25);
  animation: floaty 6s ease-in-out infinite;
}
.card-b, .card-d { animation-delay: .8s; }
.card-c, .card-e { animation-delay: 1.6s; }
.card-f { animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldown 1.6s ease-in-out infinite;
}
@keyframes scrolldown { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 6px; } }

/* ================= FEATURES ================= */
.features { background: var(--paper); }
.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--ink-soft); margin-bottom: 40px; }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}
@media (max-width: 620px) { .feature-grid { flex-direction: column; } }

.feature-card {
  background: #fff;
  border: 1px solid #EDEDF2;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px -18px rgba(30,20,90,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  flex: 1 1 300px;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(30,20,90,0.2); }
.feature-highlight {
  border: 1.5px solid rgba(20,184,166,0.35);
  background: linear-gradient(180deg, #fff, #F3FBFA);
}
.role-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 999px;
  color: #fff;
}
.role-admin { background: linear-gradient(120deg, #3730A3, #5B55D6); }
.role-manager { background: linear-gradient(120deg, #5B55D6, #14B8A6); }
.role-user { background: linear-gradient(120deg, #14B8A6, #0D9488); }

.feature-tag {
  position: absolute;
  top: -11px; right: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--teal), #25D366);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(20,184,166,0.35);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ================= HOW ================= */
.how { background: #14123A; color: #fff; }
.how-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  text-align: left;
  align-items: center;
}
@media (max-width: 860px) { .how-inner { grid-template-columns: 1fr; text-align: center; } }
.how-copy .section-title { color: #fff; }
.how-steps { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.how-steps li { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-light), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
}
.how-steps h4 { font-size: 16.5px; margin-bottom: 4px; }
.how-steps p { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.5; }
@media (max-width: 860px) { .how-steps li { text-align: left; } }

.how-visual { display: flex; justify-content: center; }
.phone-mock {
  width: 260px;
  background: #0B0A24;
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5);
  position: relative;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px; background: #000; border-radius: 4px;
}
.phone-screen {
  background: linear-gradient(180deg, #1B1852, #0B0A24);
  border-radius: 24px;
  padding: 34px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
}
.phone-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-card strong { font-size: 13.5px; font-weight: 600; }
.phone-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}
.tag-teal { background: rgba(20,184,166,0.25); color: #5EEAD4; }
.tag-done { background: rgba(94,234,212,0.15); color: #99F6E4; }
.grad-card { background: linear-gradient(135deg, rgba(91,85,214,0.35), rgba(20,184,166,0.25)); }
.phone-avatar-row { display: flex; margin-top: 4px; }
.avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #14123A;
  margin-left: -6px;
}
.avatar.a1 { background: #F59E0B; }
.avatar.a2 { background: #EC4899; }

/* ================= ROLES ================= */
.roles { background: var(--paper); }
.team-mock {
  max-width: 480px;
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid #EDEDF2;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 14px 34px -18px rgba(30,20,90,0.18);
  text-align: left;
}
.team-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
}
.team-mock-row + .team-mock-row { border-top: 1px solid #F2F2F5; }
.avatar-mini {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
}
.team-name { flex: 1; font-size: 14px; font-weight: 600; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
  text-align: left;
}
@media (max-width: 720px) { .role-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

.role-card {
  background: #fff;
  border: 1px solid #EDEDF2;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px -18px rgba(30,20,90,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(30,20,90,0.2); }
.role-card h3 { font-size: 19px; margin: 16px 0 10px; }
.role-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ================= PRICING (single plan) ================= */
.pricing { background: var(--paper); }
.single-plan {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: center;
  text-align: left;
}
@media (max-width: 820px) { .single-plan { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.single-plan-terms { display: flex; flex-direction: column; gap: 22px; }
.term-item { display: flex; gap: 14px; align-items: flex-start; }
.term-icon { font-size: 22px; line-height: 1; margin-top: 2px; }
.term-item strong { display: block; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 3px; }
.term-item span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.single-plan-card {
  background: #fff;
  border: 1px solid #EDEDF2;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 14px 40px -18px rgba(30,20,90,0.2);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(55,48,163,0.3);
}
.price-tag { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 6px; }
.price-val { font-family: var(--font-head); font-size: 36px; font-weight: 800; }
.price-period { font-size: 14px; color: var(--ink-soft); }
.price-users {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20,184,166,0.1);
  color: #0d7a6c;
  font-size: 12.5px;
  font-weight: 600;
}
.single-plan-desc { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 22px; line-height: 1.55; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-features li { font-size: 14px; padding-left: 22px; position: relative; }
.price-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--teal);
  font-weight: 700;
}
.single-plan-card .btn { width: 100%; margin-bottom: 14px; }
.single-plan-note { display: block; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ================= CTA ================= */
.cta { background: var(--grad); color: #fff; }
.cta-content { max-width: 640px; text-align: center; z-index: 2; }
.cta-logo { height: 46px; margin-bottom: 26px; }
.cta-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 32px; }

.site-footer {
  margin-top: 90px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

/* ================= MOBILE TIGHTENING ================= */
/* Squeeze spacing/sizes on phones so each screen gets closer to a single
   swipe/scroll instead of needing 1.5-2x the viewport height. */
@media (max-width: 520px) {
  .screen { padding: 84px 20px 40px; }
  .section-title { font-size: clamp(24px, 7vw, 32px); margin-bottom: 10px; }
  .section-sub { font-size: 15px; margin-bottom: 26px; }
  .eyebrow { margin-bottom: 16px; font-size: 11.5px; padding: 6px 13px; }

  .hero { padding-top: 110px; }
  .hero-title { margin-bottom: 14px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
  .hero-mock { margin-top: 26px; }
  .board-mock { padding: 12px; gap: 12px; }
  .card-mock { padding: 9px 11px; font-size: 12.5px; }
  .board-col-head { font-size: 12px; padding: 2px 4px 6px; }

  .feature-grid { gap: 14px; margin-top: 26px; }
  .feature-card { padding: 18px 18px; }
  .feature-card h3 { font-size: 15.5px; margin-bottom: 5px; }
  .feature-card p { font-size: 13px; }
  .feature-icon { width: 38px; height: 38px; margin-bottom: 11px; }
  .feature-icon svg { width: 20px; height: 20px; }

  .team-mock { margin-bottom: 20px; }
  .team-mock-row { padding: 7px 10px; gap: 10px; }
  .avatar-mini { width: 28px; height: 28px; font-size: 10.5px; }
  .team-name { font-size: 13px; }
  .role-grid { gap: 14px; margin-top: 20px; }
  .role-card { padding: 20px 20px; }
  .role-card h3 { font-size: 16.5px; margin: 10px 0 6px; }
  .role-card p { font-size: 13px; }

  .how-steps { gap: 14px; margin-top: 18px; }
  .phone-mock { width: 200px; }
  .phone-screen { min-height: 320px; padding: 28px 11px 16px; gap: 9px; }

  .single-plan { gap: 22px; margin-top: 26px; }
  .single-plan-terms { gap: 14px; }
  .single-plan-card { padding: 24px 22px; }
  .single-plan-desc { margin: 8px 0 16px; }
  .price-features { gap: 9px; margin-bottom: 20px; }

  .cta-logo { height: 36px; margin-bottom: 18px; }
  .cta-sub { margin-bottom: 24px; }
  .site-footer { margin-top: 50px; }
}
.site-footer a { color: rgba(255,255,255,0.75); }
