/* =========================================================
   Scrolliday — design tokens
   ========================================================= */
:root {
  --bg: #0a0a10;
  --bg-soft: #0d0e15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-solid: #14151f;
  --surface-2: #191b26;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f6fa;
  --text-dim: #9a9cb0;
  --text-faint: #6b6d80;

  --primary: #ff6b4d;
  --primary-soft: #ff9466;
  --gold: #ffc369;
  --teal: #3fe8c8;
  --indigo: #7c8cff;

  --gradient-warm: linear-gradient(90deg, var(--primary), var(--gold));
  --gradient-cool: linear-gradient(135deg, var(--teal), var(--indigo));

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 12px 32px rgba(255, 107, 77, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1180px;
}

/* =========================================================
   Reset & base
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { color: var(--text-dim); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }

img, svg { max-width: 100%; display: block; }

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

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

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.eyebrow--center { display: block; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-warm);
  box-shadow: 0 0 0 3px rgba(255, 107, 77, 0.18);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-warm);
  color: #1a1006;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 107, 77, 0.4); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 16, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}

.nav__logo-mark {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  font-size: 17px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 14.5px;
}

.nav__links a:not(.nav__cta) { color: var(--text-dim); transition: color 0.15s var(--ease); }
.nav__links a:not(.nav__cta):hover { color: var(--text); }

.nav__cta {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav__cta:hover { border-color: var(--border-strong); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero__glow--warm {
  top: -260px; left: 8%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(255, 107, 77, 0.22), transparent 65%);
}

.hero__glow--cool {
  top: -120px; right: 4%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(63, 232, 200, 0.14), transparent 65%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

.hero__subtitle { font-size: 18px; max-width: 520px; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 44px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero__stats div { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-size: 21px; font-family: 'Poppins', sans-serif; font-weight: 700; }
.hero__stats span { font-size: 13px; color: var(--text-faint); }

/* ===== Phone mock ===== */
.hero__mock { position: relative; display: flex; justify-content: center; }

.chip {
  position: absolute;
  z-index: 6;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.chip--float-1 { top: 6%; left: -6%; animation-delay: 0s; }
.chip--float-2 { bottom: 12%; right: -8%; animation-delay: -3s; }

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

.phone {
  width: 300px;
  height: 610px;
  background: linear-gradient(165deg, #1b1e2c, #0d0e17);
  border-radius: 46px;
  border: 8px solid #05050a;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px;
  background: #05050a;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

.phone__home {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.phone__screen {
  height: 100%;
  overflow: hidden;
  padding: 34px 12px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-card {
  background: var(--surface-solid);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.feed-card--1 { height: 60%; }
.feed-card--2 { height: 32%; }

.feed-card__img { width: 100%; height: 58%; position: relative; }
.feed-card--2 .feed-card__img { height: 100%; }

.feed-card__img--1 { background: linear-gradient(135deg, #ff6b4d, #ffc369 55%, #3fe8c8); }
.feed-card__img--2 { background: linear-gradient(135deg, #3fe8c8, #4f7fe0 55%, #ff6b4d); }

.feed-card__tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(10, 10, 16, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
}

.feed-card__meta {
  padding: 10px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-card__meta strong { font-size: 14px; }
.feed-card__meta span { font-size: 11px; color: var(--text-faint); }

.feed-card__actions {
  display: flex;
  gap: 12px;
  padding: 4px 12px 10px;
  font-size: 10.5px;
  color: var(--text-faint);
}

/* =========================================================
   Process strip
   ========================================================= */
.strip {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}

.strip__step { display: inline-flex; align-items: center; gap: 8px; }
.strip__icon { font-size: 15px; }
.strip__arrow { color: var(--primary-soft); font-weight: 400; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 116px 0; }
.section--alt { background: var(--bg-soft); }

.section__head {
  max-width: 620px;
  margin: 0 auto 60px;
  text-align: center;
}

.section__head h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
.section__head p { font-size: 16px; }

/* =========================================================
   Feature grid
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 77, 0.4);
  background: var(--surface-2);
}

.card__icon {
  font-size: 26px;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.card h3 { font-size: 17.5px; margin-bottom: 0.4em; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* =========================================================
   Steps (timeline)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.step__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: #1a1006;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 { font-size: 16px; margin-bottom: 0.4em; }
.step p { font-size: 13.8px; margin-bottom: 0; }

/* =========================================================
   Showcase / design section
   ========================================================= */
.showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}

.showcase__list li:last-child { border-bottom: none; }

.showcase__check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(63, 232, 200, 0.15);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.showcase__visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story-card {
  height: 300px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.story-card--1 { background: linear-gradient(165deg, #ff6b4d, #ffc369); margin-top: 34px; }
.story-card--2 { background: linear-gradient(165deg, #3fe8c8, #4f7fe0); }
.story-card--3 { background: linear-gradient(165deg, #ffc369, #ff6b4d 55%, #3fe8c8); margin-top: 34px; }

.story-card__label {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(10, 10, 16, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color 0.2s var(--ease);
}

.faq__item[open] { border-color: var(--border-strong); }

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-soft);
  transition: transform 0.2s var(--ease);
}

.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq__item p { padding-bottom: 18px; margin-bottom: 0; font-size: 14.5px; }

/* =========================================================
   CTA / waitlist
   ========================================================= */
.section--cta {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 77, 0.16), transparent 60%), var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta { text-align: center; max-width: 560px; }
.cta h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }

.cta__form {
  display: flex;
  gap: 12px;
  margin: 30px 0 14px;
}

.cta__form input {
  flex: 1;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s var(--ease);
}

.cta__form input::placeholder { color: var(--text-faint); }
.cta__form input:focus { outline: none; border-color: var(--primary-soft); }

.cta__note { font-size: 13px; margin-bottom: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 34px;
}

.footer__brand { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer__brand p { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; margin: 6px 0 0; color: var(--text-faint); flex-basis: 100%; }

.footer__links, .footer__legal {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer__links a:hover, .footer__legal a:hover { color: var(--text); }

.footer__copy {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  .btn, .card { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mock { order: -1; margin-bottom: 20px; }
  .chip { display: none; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase__visual { order: -1; }
}

@media (max-width: 720px) {
  .hero { padding: 140px 0 80px; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }
  .grid--features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta__form { flex-direction: column; }
  .phone { width: 260px; height: 530px; }
  .section { padding: 84px 0; }
  .showcase__visual { grid-template-columns: 1fr 1fr; }
  .story-card--3 { display: none; }
  .faq__item summary { font-size: 14.5px; }
}

@media (max-width: 420px) {
  .hero__stats { gap: 22px; }
  .phone { width: 220px; height: 450px; }
}
