:root {
  --bg: #06061a;
  --bg-card: #0c0c2a;
  --bg-card-hover: #111140;
  --orange: #FF9F1C;
  --orange-glow: rgba(255, 159, 28, 0.15);
  --orange-subtle: rgba(255, 159, 28, 0.08);
  --white: #f0f0f5;
  --gray: rgba(240, 240, 245, 0.55);
  --gray-dim: rgba(240, 240, 245, 0.25);
  --purple-accent: #6c5ce7;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

/* GRAIN */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* SELECTION */
::selection {
  background: var(--orange);
  color: var(--bg);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

/* STARS CANVAS */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(6, 6, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 159, 28, 0.06);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.nav-author {
  font-size: 11px;
  font-weight: 400;
  color: rgba(240, 240, 245, 0.4);
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--orange);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-subtle);
  border: 1px solid rgba(255, 159, 28, 0.2);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 32px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

h1 {
  font-size: clamp(42px, 6.5vw, 82px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}

h1 .strike {
  text-decoration: line-through;
  opacity: 0.2;
  font-weight: 400;
}

h1 .highlight {
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 44px;
  font-weight: 300;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--bg);
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 58px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--orange-glow);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary .arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  font-size: 14px;
  padding: 16px 28px;
}

.btn-outline:hover {
  background: var(--orange-subtle);
}

.hero-proof {
  font-size: 15px;
  color: var(--gray-dim);
  font-style: italic;
  width: 100%;
  text-align: center;
}

/* ============ STATS ============ */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(12, 12, 42, 0.4);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
  word-spacing: -0.15em;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
}

.stat-joke {
  font-size: 12px;
  color: var(--gray-dim);
  font-style: italic;
  margin-top: 4px;
}

/* ============ SECTIONS ============ */
.section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-text {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 620px;
  font-weight: 300;
}

.section-text strong {
  color: var(--white);
  font-weight: 600;
}

/* ============ PROBLEM CARDS ============ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.problem-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255, 159, 28, 0.12);
}

.problem-card:hover::before { opacity: 1; }

.problem-emoji {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.problem-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============ WHAT I DO ============ */
.what-section {
  background: linear-gradient(180deg, rgba(12, 12, 42, 0.25) 0%, var(--bg) 100%);
}

.what-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.what-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.what-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.what-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--orange-subtle);
  border: 1px solid rgba(255, 159, 28, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.what-item-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.what-item-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

.what-quote {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 44px;
  position: relative;
}

.what-quote::before {
  content: '«';
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 72px;
  color: var(--orange);
  opacity: 0.12;
  font-weight: 900;
  line-height: 1;
}

.what-quote p {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.what-quote .orange { color: var(--orange); }

.what-quote-author {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-dim);
}

/* ============ TRANSFORMATION ============ */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 44px;
}

.transform-col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid;
}

.transform-col.before h3 {
  color: var(--gray);
  border-color: rgba(255, 255, 255, 0.08);
}

.transform-col.after h3 {
  color: var(--orange);
  border-color: rgba(255, 159, 28, 0.25);
}

.transform-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transform-item {
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 18px;
  border-radius: 10px;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.before .transform-item {
  background: rgba(255, 255, 255, 0.02);
  color: var(--gray);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.12);
}

.after .transform-item {
  background: rgba(255, 159, 28, 0.04);
  border: 1px solid rgba(255, 159, 28, 0.08);
  color: var(--white);
  font-weight: 500;
}

.transform-arrow-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 56px;
}

.transform-arrow-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  min-height: 52px;
}

/* ============ OFFERS ============ */
.offer-section {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(12, 12, 42, 0.4) 50%, var(--bg) 100%);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.offer-card.featured {
  border-color: rgba(255, 159, 28, 0.12);
}

.offer-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--purple-accent), var(--orange));
}

.offer-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--bg);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.offer-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.offer-name.muted { color: var(--gray); }

.offer-title {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.offer-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 28px;
}

.offer-includes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.offer-includes.two-col {
  grid-template-columns: 1fr 1fr;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.offer-check {
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.offer-pricing-model {
  background: rgba(255, 159, 28, 0.04);
  border: 1px solid rgba(255, 159, 28, 0.1);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
}

.pricing-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.pricing-breakdown {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pricing-step {
  flex: 1;
}

.pricing-step-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.pricing-step-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.pricing-step-separator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--gray-dim);
  font-weight: 700;
  flex-shrink: 0;
}

.offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 16px;
  flex-wrap: wrap;
}

.offer-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  word-spacing: 3px;
}

.offer-price span {
  font-size: 16px;
  color: var(--gray);
  font-weight: 400;
}

.offer-price.free {
  color: var(--white);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(255, 159, 28, 0.12);
}

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
  gap: 16px;
}

.faq-question .toggle {
  color: var(--orange);
  font-size: 20px;
  transition: transform var(--transition);
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .toggle {
  transform: rotate(45deg);
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 72px 0;
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  max-width: 550px;
  margin: 0 auto 14px;
}

.final-cta .section-text {
  margin: 0 auto 36px;
  text-align: center;
}

.final-joke {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-dim);
  font-style: italic;
}

/* ============ FOOTER ============ */
footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--gray-dim);
}

footer a {
  color: var(--orange);
  text-decoration: none;
}

footer a:hover svg { color: var(--orange); }

/* ============ RESPONSIVE — TABLET ============ */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .what-block { grid-template-columns: 1fr; gap: 36px; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-includes.two-col { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE — MOBILE ============ */
@media (max-width: 600px) {
  .container { padding: 0 20px; }

  nav { padding: 12px 0; }
  .nav-logo { font-size: 20px; }
  .nav-cta { padding: 8px 16px; font-size: 12px; }

  .hero { padding: 80px 0 60px; }
  h1 { letter-spacing: -1.5px; margin-bottom: 20px; }
  .hero-tag { margin-bottom: 24px; font-size: 12px; padding: 8px 16px; }
  .hero-sub { margin-bottom: 32px; }
  .hero-cta-row { gap: 14px; }
  .btn-primary { padding: 16px 28px; font-size: 15px; width: auto; justify-content: center; }
  .hero-proof { width: 100%; text-align: center; }

  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-bar { padding: 40px 0; }

  .section { padding: 52px 0; }

  .problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .problem-card { padding: 24px; }

  .transform-grid { grid-template-columns: 1fr; gap: 8px; }
  .transform-arrow-col {
    flex-direction: row;
    padding: 8px 0;
    gap: 8px;
  }
  .transform-arrow-item {
    transform: rotate(90deg);
    min-height: auto;
    flex: 1;
  }

  .offer-card { padding: 28px 22px; }
  .offer-badge { font-size: 10px; }
  .offer-bottom { flex-direction: column; align-items: stretch; }
  .offer-bottom .btn-primary { width: 100%; justify-content: center; }
  .pricing-breakdown { flex-direction: column; gap: 12px; text-align: center; }
  .pricing-step-separator { margin: -4px 0; }
  .offer-pricing-model { padding: 20px; }

  .faq-question { padding: 18px 20px; font-size: 14px; }
  .faq-answer-inner { padding: 0 20px 18px; font-size: 13px; }

  .final-cta { padding: 60px 0; }
  .final-cta .btn-primary { width: 100%; justify-content: center; }

  .what-quote { padding: 32px 24px; }
  .what-quote p { font-size: 18px; }
}

/* SAFE AREA (notch devices) */
@supports (padding: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  nav { padding-top: calc(16px + env(safe-area-inset-top)); }
}

/* REDUCE MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* HOVER ONLY ON POINTER DEVICES */
@media (hover: none) {
  .problem-card:hover { transform: none; background: var(--bg-card); }
  .btn-primary:hover { transform: none; box-shadow: none; }
  .nav-cta:hover { transform: none; box-shadow: none; }
}
