/* ===== Base ===== */
:root {
  --c-text: #1d1b2a;
  --c-muted: #615e73;
  --c-bg: #ffffff;
  --c-bg-alt: #faf6fb;
  --c-border: #ece6f0;
  --c-pink: #e1306c;
  --c-purple: #833ab4;
  --c-orange: #f9a826;
  --gradient: linear-gradient(45deg, #f9a826 0%, #e1306c 50%, #833ab4 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 20, 80, .08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--c-pink); }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

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

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-pink);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(225, 48, 108, .3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(225, 48, 108, .4); }
.btn-small { padding: 9px 20px; font-size: .95rem; }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--c-pink); box-shadow: none; }
.btn-light { background: #fff; color: var(--c-pink); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); word-break: break-word; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--c-border); box-shadow: 0 4px 20px rgba(60, 20, 80, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-size: 1.05rem; }
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--gradient);
}
.logo-text strong { color: var(--c-pink); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: var(--c-text); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--c-pink); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--c-text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 70px 0 90px;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(131, 58, 180, .12), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(249, 168, 38, .12), transparent 70%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--c-muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--c-muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--c-pink); font-weight: 800; margin-right: 7px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 280px;
  padding: 14px;
  border-radius: 40px;
  background: #1d1b2a;
  box-shadow: 0 30px 60px rgba(60, 20, 80, .25);
  transform: rotate(3deg);
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #1d1b2a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: #fff; border-radius: 28px; padding: 40px 14px 16px; }
.profile-row { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--gradient); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-pink); }
.profile-stats { display: flex; justify-content: space-between; flex: 1; text-align: center; font-size: .68rem; color: var(--c-muted); }
.profile-stats strong { display: block; font-size: .9rem; color: var(--c-text); }
.profile-bio { margin: 14px 0; }
.line { height: 7px; border-radius: 4px; background: var(--c-border); margin-bottom: 7px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w90 { width: 90%; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid span { aspect-ratio: 1; border-radius: 4px; background: linear-gradient(135deg, #fbd7a0, #f39abb); }
.grid span:nth-child(2n) { background: linear-gradient(135deg, #f39abb, #b78ad6); }
.grid span:nth-child(3n) { background: linear-gradient(135deg, #b78ad6, #fbd7a0); }

.float-card {
  position: absolute;
  padding: 10px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .85rem;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.float-card-1 { top: 16%; left: 0; }
.float-card-2 { bottom: 14%; right: 0; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }

/* ===== Cards ===== */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card p { color: var(--c-muted); font-size: .97rem; margin: 0; }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.num { display: block; font-size: 2rem; font-weight: 800; margin-bottom: 10px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Band ===== */
.band { background: var(--gradient); color: #fff; padding: 50px 0; }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.band-item strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.band-item > span { font-size: .95rem; opacity: .92; }

/* ===== Timeline ===== */
.timeline { list-style: none; max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--c-border); }
.timeline-item { position: relative; padding: 0 0 40px 50px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gradient);
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px var(--c-pink);
}
.timeline-badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; background: #fdeaf1; color: var(--c-pink); margin-bottom: 10px; }
.timeline-item p { color: var(--c-muted); margin: 0; }

/* ===== Split (mistakes) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-col { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--c-border); border-top: 4px solid; }
.split-dont { border-top-color: #e5484d; }
.split-do { border-top-color: #30a46c; }
.split-col ul { list-style: none; }
.split-col li { padding: 11px 0; border-bottom: 1px solid var(--c-border); color: var(--c-muted); }
.split-col li:last-child { border-bottom: 0; }

/* ===== Accordion ===== */
.accordion-item { border: 1px solid var(--c-border); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.accordion-item.open { box-shadow: var(--shadow); border-color: #f3c3d5; }
.accordion-item h3 { margin: 0; font-size: 1.05rem; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 20px 24px;
  background: none; border: 0;
  font: inherit; font-weight: 700; color: var(--c-text);
  text-align: left;
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--c-pink); }
.accordion-trigger:focus-visible { outline: 2px solid var(--c-pink); outline-offset: -2px; border-radius: 14px; }
.accordion-icon { position: relative; flex: none; width: 18px; height: 18px; }
.accordion-icon::before, .accordion-icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 100%; height: 2px; margin-top: -1px;
  background: var(--c-pink); border-radius: 2px;
  transition: transform .3s;
}
.accordion-icon::after { transform: rotate(90deg); }
.accordion-item.open .accordion-icon::after { transform: rotate(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-content { padding: 0 24px 22px; color: var(--c-muted); }
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-content ul { padding-left: 22px; margin-top: 12px; }
.accordion-content ul:empty { display: none; }
.accordion-content li { margin-bottom: 6px; }

/* ===== CTA ===== */
.cta { background: #1d1b2a; color: #fff; text-align: center; }
.cta p { color: #c9c5d8; font-size: 1.08rem; margin-bottom: 30px; }

/* ===== Footer ===== */
.site-footer { background: #14121e; color: #a9a5ba; padding: 60px 0 30px; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid #2a2739; }
.footer-brand { max-width: 380px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.footer-nav a { color: #a9a5ba; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom p { margin: 0 0 6px; }
.disclaimer { font-size: .82rem; opacity: .7; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff; font-size: 1.2rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 20px rgba(225, 48, 108, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }

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

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 20px 30px rgba(60, 20, 80, .08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
  .main-nav .btn { margin-top: 18px; text-align: center; }
  .cards-3, .split { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards-4 { grid-template-columns: 1fr; }
  .logo-text { font-size: .95rem; }
  .float-card-1 { left: -6px; }
  .float-card-2 { right: -6px; }
  .phone { width: 250px; }
}

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