/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { display: block; }

/* ===== TOKENS ===== */
:root {
  --blue: #1C86FF;
  --blue-faint: #f5f9ff;
  --blue-badge: #e8f2ff;
  --card-bg: #f8faff;
  --card-border: #e4eeff;
  --section-alt: #f8faff;
  --text-1: #111;
  --text-2: #555;
  --text-3: #999;
  --border: #eee;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* ===== LAYOUT ===== */
.container { max-width: 900px; margin: 0 auto; padding: 0 64px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  border-radius: var(--radius-md); padding: 10px 22px;
  cursor: pointer; border: 2px solid transparent;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn--lg { font-size: 15px; padding: 14px 28px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { opacity: 0.88; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-badge); }
.btn--muted { background: #f2f2f2; color: #555; }
.btn--muted:hover { background: #e8e8e8; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 64px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.nav__wordmark { font-size: 18px; font-weight: 800; color: var(--text-1); letter-spacing: -0.4px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color 0.15s; }
.nav__links a:hover { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__signin { font-size: 13px; font-weight: 500; color: #555; }
.nav__signin:hover { color: var(--blue); }

/* ===== SECTION SHARED ===== */
.section { padding: 88px 0; }
.section-label {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: ''; display: block; width: 36px; height: 1px; background: #c8deff;
}
.section__title {
  font-size: 36px; font-weight: 800; color: var(--text-1);
  text-align: center; letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.2;
}
.section__sub { font-size: 16px; color: var(--text-2); text-align: center; margin-bottom: 52px; }

/* ===== HERO ===== */
.hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--blue-faint) 0%, #fff 100%);
  text-align: center;
}
.badge {
  display: inline-block; background: var(--blue-badge); color: var(--blue);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero__title {
  font-size: 52px; font-weight: 800; color: var(--text-1);
  line-height: 1.13; letter-spacing: -1px; margin-bottom: 20px;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub {
  font-size: 18px; color: var(--text-2);
  max-width: 460px; margin: 0 auto 36px; line-height: 1.65;
}
.hero__actions {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.hero__signin-link { font-size: 14px; font-weight: 600; color: var(--blue); }
.hero__signin-link:hover { text-decoration: underline; }
.hero__social { margin-top: 20px; font-size: 12px; color: var(--text-3); }

/* ===== PLAYER WIDGET ===== */
.player-wrap { padding-bottom: 64px; }
.player {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(28,134,255,0.13); border: 1px solid #e0eeff;
  padding: 16px 20px; max-width: 560px; margin: 0 auto;
}
.player__icon {
  width: 40px; height: 40px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  cursor: pointer; transition: opacity 0.15s;
}
.player__icon:hover { opacity: 0.85; }
.player__icon svg { width: 20px; height: 20px; }
.player__body { flex: 1; min-width: 0; }
.player__title {
  font-size: 12px; font-weight: 600; color: #333; margin-bottom: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__bar-wrap { height: 4px; background: var(--border); border-radius: 2px; }
.player__bar { height: 4px; width: 38%; background: var(--blue); border-radius: 2px; }
.player__meta { display: flex; justify-content: space-between; font-size: 10px; color: #bbb; margin-top: 4px; }
.player__speed {
  font-size: 11px; font-weight: 700; color: var(--blue);
  border: 1.5px solid var(--blue); border-radius: 6px; padding: 4px 9px; flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 28px; background: var(--card-bg);
  border-radius: var(--radius-lg); border: 1px solid var(--card-border);
}
.feature-card__icon { font-size: 28px; margin-bottom: 16px; line-height: 1; }
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--section-alt); }
.steps { display: flex; align-items: flex-start; justify-content: center; }
.step { flex: 1; text-align: center; max-width: 220px; }
.step__num {
  width: 56px; height: 56px; background: var(--blue); border-radius: 50%;
  font-size: 22px; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { font-size: 15px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.step-arrow { flex: 0 0 56px; text-align: center; padding-top: 18px; font-size: 22px; color: #c0d8ff; }

/* ===== PRICING ===== */
.pricing__cards { display: flex; gap: 24px; justify-content: center; align-items: stretch; }
.pricing-card {
  flex: 1; max-width: 264px; border-radius: var(--radius-lg); padding: 32px 24px;
  border: 2px solid var(--border); display: flex; flex-direction: column; position: relative;
}
.pricing-card--popular {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(28,134,255,0.15);
  transform: translateY(-8px);
}
.pricing-card__hot {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; padding: 3px 14px; border-radius: 20px;
}
.pricing-card__plan {
  font-size: 12px; font-weight: 700; color: #888;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px;
}
.pricing-card__price { font-size: 38px; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 8px; }
.pricing-card__price span { font-size: 15px; font-weight: 400; color: #888; }
.pricing-card__equiv { font-size: 12px; color: #888; margin-bottom: 6px; }
.pricing-card__equiv strong { color: var(--blue); font-weight: 700; }
.pricing-card__desc { font-size: 13px; color: #777; margin-bottom: 20px; line-height: 1.5; }
.pricing-card__features { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-card__features li {
  font-size: 13px; color: #444; display: flex; align-items: flex-start; gap: 8px;
}
.pricing-card__features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { display: flex; width: 100%; justify-content: center; }

/* ===== WALL OF LOVE ===== */
.love { background: var(--section-alt); overflow: hidden; }
.love .section__sub { margin-bottom: 40px; }

.love__marquee-outer {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
}
.love__fade {
  position: absolute; left: 0; right: 0; height: 80px;
  z-index: 2; pointer-events: none;
}
.love__fade--top { top: 0; background: linear-gradient(to bottom, var(--section-alt), transparent); }
.love__fade--bottom { bottom: 0; background: linear-gradient(to top, var(--section-alt), transparent); }
.love__columns { display: flex; gap: 20px; }
.love__col { flex: 1; height: 520px; overflow: hidden; }
.love__col:hover .love__track { animation-play-state: paused; }

@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.love__track {
  display: flex; flex-direction: column; gap: 16px;
  animation: scrollUp var(--dur, 20s) linear infinite;
}

.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); flex-shrink: 0; }
.testimonial__header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial__info { flex: 1; min-width: 0; }
.testimonial__name { font-size: 13px; font-weight: 700; color: var(--text-1); }
.testimonial__handle { font-size: 11px; color: var(--text-3); }
.testimonial__x { font-size: 13px; color: #bbb; flex-shrink: 0; }
.testimonial__stars { color: #f59e0b; font-size: 12px; margin-bottom: 8px; }
.testimonial p { font-size: 13px; color: #555; line-height: 1.65; }

/* ===== FINAL CTA ===== */
.final-cta { text-align: center; background: linear-gradient(135deg, var(--blue-faint) 0%, #fff 100%); }
.final-cta .section__sub { margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__copy { font-size: 12px; color: #bbb; }
.footer__links { display: flex; gap: 48px; }
.footer__col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #aaa; margin-bottom: 12px;
}
.footer__col a { display: block; font-size: 13px; color: #555; margin-bottom: 8px; transition: color 0.15s; }
.footer__col a:hover { color: var(--blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 899px) {
  .container { padding: 0 32px; }
  .nav { padding: 0 32px; }
  .nav__links { display: none; }
  .hero__title { font-size: 38px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .love__col:nth-child(3) { display: none; }
  .love__marquee-outer { padding: 0 24px; }
  .pricing__cards { flex-direction: column; align-items: center; }
  .pricing-card { max-width: 100%; width: 100%; }
  .pricing-card--popular { transform: none; }
  .steps { flex-direction: column; align-items: center; gap: 8px; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
  .footer__inner { flex-direction: column; }
}
@media (max-width: 599px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .hero__title { font-size: 30px; letter-spacing: -0.5px; }
  .section { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; }
  .love__col:nth-child(2), .love__col:nth-child(3) { display: none; }
  .love__marquee-outer { padding: 0 20px; }
  .hero__actions { flex-direction: column; }
  .section__title { font-size: 28px; }
}
