:root {
  --color-primary: #BF00FF;
  --color-background: #05050A;
  --color-surface: #110F1C;
  --color-text: #F4F2FA;
  --color-muted: #8A84A4;
  --color-accent: #00E5FF;
  --color-error: #FF0033;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;

  --shadow-neon: 0 0 20px rgba(191, 0, 255, 0.4), 0 0 40px rgba(191, 0, 255, 0.1);
  --shadow-neon-intense: 0 0 30px rgba(191, 0, 255, 0.6), 0 0 60px rgba(191, 0, 255, 0.2);
  --shadow-accent: 0 0 15px rgba(0, 229, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

body > * {
  position: relative;
  z-index: 1;
}

h1, h2, p, .qual-intro, .qual-text, .qual-warning, .qual-positive,
.hero-sub, .hero-sub-secondary, .cta-meta, .residual-title,
.res-card-title, .res-card-text, .learn-title, .learn-desc,
.learn-item-title, .learn-item-text, .final-cta-title, .final-cta-text,
.residual-bottom-text {
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== TICKER BAR ===== */
.ticker-bar {
  width: 100%;
  background: linear-gradient(90deg, #bf00ff46, #8100cc22, #bf00ff46);
  background-size: 200% 100%;
  animation: tickerShift 4s ease-in-out infinite;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

@keyframes tickerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ticker-content {
  display: flex;
  gap: 60px;
  animation: tickerScroll 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-content span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS SHARED ===== */
section {
  padding: 100px 24px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("assets/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(191, 0, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* AI Icons Row */
.ai-icons {
  margin: 0 auto 56px;
  max-width: 980px;
}

.ai-icons-marquee {
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
}

.ai-icons-track {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  min-width: max-content;
}

.ai-icons-track[aria-hidden="true"] {
  display: none;
}

.ai-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-icon-circle {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(19, 19, 32, 0.98), rgba(11, 11, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ai-icon-circle::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16), transparent 48%);
  opacity: 0.7;
  z-index: 0;
}

.ai-icon-circle::after {
  content: '';
  position: absolute;
  inset: auto 12px 8px;
  height: 14px;
  border-radius: 999px;
  background: var(--logo-glow, rgba(255, 255, 255, 0.28));
  filter: blur(16px);
  opacity: 0.95;
  z-index: 0;
}

.ai-icon-circle:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.34),
    0 0 28px var(--logo-glow, rgba(255, 255, 255, 0.18));
}

.ai-icon-image {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px var(--logo-glow, rgba(255, 255, 255, 0.22)))
    drop-shadow(0 0 22px var(--logo-glow, rgba(255, 255, 255, 0.18)));
}

.ai-icon-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(244, 242, 250, 0.72);
}

/* Icon Colors */
.ai-icon-circle.chatgpt { --logo-glow: rgba(16, 163, 127, 0.58); }
.ai-icon-circle.claude { --logo-glow: rgba(212, 165, 116, 0.58); }
.ai-icon-circle.gemini { --logo-glow: rgba(104, 140, 255, 0.56); }
.ai-icon-circle.midjourney { --logo-glow: rgba(190, 199, 255, 0.42); }
.ai-icon-circle.elevenlabs { --logo-glow: rgba(255, 255, 255, 0.4); }
.ai-icon-circle.copilot { --logo-glow: rgba(70, 190, 255, 0.58); }
.ai-icon-circle.perplexity { --logo-glow: rgba(32, 178, 170, 0.56); }
.ai-icon-circle.grok { --logo-glow: rgba(29, 161, 242, 0.58); }
.ai-icon-circle.deepseek { --logo-glow: rgba(87, 137, 255, 0.58); }

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}

.hero-headline .highlight {
  display: block;
  background: linear-gradient(90deg, var(--color-accent), #00FFC6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline .year-suffix {
  color: var(--color-muted);
  font-size: 0.65em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--color-muted);
  max-width: 840px;
  margin: 24px auto 12px;
  line-height: 1.6;
}

.hero-sub strong {
  color: var(--color-text);
  font-weight: 700;
}

.hero-sub-secondary {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--color-muted);
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0.85;
}

.hero-highlight-box {
  max-width: 760px;
  margin-top: 28px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(16, 16, 28, 0.82), rgba(12, 12, 22, 0.72));
  border: 1px solid rgba(0, 229, 255, 0.18);

  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: rgba(244, 242, 250, 0.88);
}

.hero-cta-copy {
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding: 0 48px;
  border-radius: 18px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
  box-shadow: var(--shadow-neon);
  text-decoration: none;
}

.cta-btn:hover {
  box-shadow: var(--shadow-neon-intense);
  transform: scale(1.02);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

/* ===== QUALIFICATION / FILTER ===== */
.qualification {
  background:
    radial-gradient(circle at 78% 50%, rgba(191, 0, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 7, 14, 0.98), rgba(10, 8, 18, 0.96));
  border-top: 1px solid rgba(138, 132, 164, 0.12);
  border-bottom: 1px solid rgba(138, 132, 164, 0.12);
  overflow: hidden;
}

.qualification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.qualification-copy {
  max-width: 560px;
}

.qual-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(138, 132, 164, 0.78);
  margin-bottom: 48px;
  padding-left: 18px;
  border-left: 1px solid rgba(138, 132, 164, 0.32);
}

.qual-intro {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.qual-text {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.qualification-stats {
  display: grid;
  gap: 18px;
}

.qual-stat-card {
  position: relative;
  display: block;
  padding: 24px 22px;
  background: linear-gradient(90deg, rgba(10, 12, 20, 0.86), rgba(30, 16, 48, 0.86));
  border: 1px solid rgba(138, 132, 164, 0.1);
  border-left: 2px solid var(--color-accent);
  min-height: 118px;
}

.qual-stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 55%);
  pointer-events: none;
}

.qual-stat-card-warning {
  border-left-color: var(--color-error);
  background: linear-gradient(90deg, rgba(20, 10, 14, 0.92), rgba(38, 14, 22, 0.88));
}

.qual-stat-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 229, 255, 0.75);
  margin-bottom: 12px;
}

.qual-stat-card-warning .qual-stat-tag {
  color: rgba(255, 84, 109, 0.88);
}

.qual-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.qual-stat-title {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #fff;
}

.qual-stat-card-warning .qual-stat-title {
  font-size: 0.7rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 232, 236, 0.92);
}

/* ===== RESIDUAL INCOME SECTION ===== */
.residual {
  position: relative;
}

.residual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.residual-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
  text-align: center;
}

.residual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.res-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--color-surface);
  padding: 32px;
  border-top: 2px solid var(--color-accent);
  border-radius: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}

.res-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease;
}

.res-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.res-card:nth-child(-n+2) {
  background: linear-gradient(180deg, rgba(16, 16, 28, 0.72), rgba(14, 14, 24, 0.8));
  border-top-color: rgba(0, 229, 255, 0.7);
  opacity: 0.72;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.res-card:nth-child(-n+2) .res-card-title {
  color: rgba(244, 242, 250, 0.76);
}

.res-card:nth-child(-n+2) .res-card-text {
  color: rgba(138, 132, 164, 0.72);
}

.res-card.res-full {
  background:
    radial-gradient(circle at top, rgba(191, 0, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(25, 14, 43, 0.98), rgba(17, 15, 28, 0.98));
  border-top-color: var(--color-primary);
  box-shadow:
    0 24px 60px rgba(191, 0, 255, 0.18),
    0 0 0 1px rgba(191, 0, 255, 0.12);
  opacity: 1;
  transform: translateY(-8px);
}

.res-card.res-full .res-card-title {
  color: #fff;
}

.res-card.res-full .res-card-text {
  max-width: 72ch;
  color: rgba(244, 242, 250, 0.82);
}

.res-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.res-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.res-card-text {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.res-full {
  grid-column: auto;
}

.residual-bottom-text {
  font-size: 17px;
  color: var(--color-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.residual-bottom-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== WHAT YOU'LL LEARN ===== */
.learn {
  background: var(--color-surface);
  border-top: 1px solid rgba(138, 132, 164, 0.15);
  border-bottom: 1px solid rgba(138, 132, 164, 0.15);
}

.learn-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.learn-desc {
  font-size: 17px;
  color: var(--color-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.learn-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.learn-item {
  padding: 28px;
  background: rgba(17, 15, 28, 0.6);
  border: 1px solid rgba(138, 132, 164, 0.12);
  transition: border-color 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
}

.learn-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}

.learn-item:hover {
  border-color: var(--color-primary);
}

.learn-item-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.learn-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.learn-item-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 100px 24px 120px;
  position: relative;
  background-image: url("assets/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(191, 0, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.final-cta-text {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.final-cta-text.hero-highlight-box {
  max-width: 760px;
  margin-bottom: 40px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid rgba(138, 132, 164, 0.1);
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* ===== MOBILE FIXED CTA ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(191, 0, 255, 0.3);
}

.mobile-cta-bar .cta-btn {
  width: 100%;
  height: 56px;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section {
    padding: 64px 20px;
  }

  .hero {
    padding: 48px 20px 72px;
  }

  .ai-icons {
    margin: 0 -20px 20px;
    max-width: none;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  }

  .ai-icons-marquee {
    width: max-content;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding: 0 20px;
    animation: aiIconsScroll 18s linear infinite;
    will-change: transform;
  }

  .ai-icons-track {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    min-width: max-content;
  }

  .ai-icons-track[aria-hidden="true"] {
    display: flex;
  }

  .ai-icon {
    flex: 0 0 auto;
  }

  .ai-icons.has-layout-issue {
    overflow-x: auto;
    padding-bottom: 8px;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ai-icons.has-layout-issue::-webkit-scrollbar {
    display: none;
  }

  .ai-icons.has-layout-issue .ai-icons-marquee {
    animation: none;
  }

  .ai-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .ai-icon-label {
    font-size: 9px;
  }

  .ai-icon-image {
    width: 30px;
    height: 30px;
  }

  .cta-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 18px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .hero-highlight-box {
    padding: 16px 18px;
    margin-top: 24px;
  }

  .qualification-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .qualification-copy {
    max-width: none;
  }

  .qual-kicker {
    margin-bottom: 28px;
  }

  .qual-intro {
    font-size: clamp(30px, 12vw, 44px);
  }

  .qualification-stats {
    gap: 14px;
  }

  .qual-stat-card {
    padding: 20px 18px;
  }

  .residual-grid {
    grid-template-columns: 1fr;
  }

  .learn-items {
    grid-template-columns: 1fr;
  }

  .mobile-cta-bar {
    display: block;
  }

  .final-cta {
    padding-bottom: 140px;
  }
}

@keyframes aiIconsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 7px)); }
}

/* ===== ANIMATE UTILITY ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
