/* ═══════════════════════════════════════════
   PodSurge — Premium Landing Page Styles
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --green-900: #0f1f17;
  --green-800: #1B3326;
  --green-700: #2A4D3A;
  --green-600: #3D6B52;
  --green-500: #5A9E74;
  --green-400: #7CC495;
  --green-300: #A8DBB8;
  --gold: #C9A96E;
  --gold-light: #E2CFA0;
  --cream: #F5F1EB;
  --cream-light: #FAF8F5;
  --white: #FEFEFE;
  --dark: #111111;
  --dark-800: #1A1A1A;
  --dark-700: #222222;
  --dark-600: #333333;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-light: #CCCCCC;
  --text-on-dark: #E8E8E8;
  --font-display: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════
   NAVIGATION
   ══════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-quart);
}
.nav.scrolled {
  background: rgba(10, 26, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--white); font-weight: 400;
}
.logo-icon { color: var(--green-400); }
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  background: var(--white);
  color: var(--green-800);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.3s var(--ease-out-quart);
}
.nav-cta:hover {
  background: var(--green-300);
  transform: translateY(-1px);
}
.nav-toggle { display: none; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ══════════════════════════
   HERO
   ══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #050505;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #050505;
}
.hero-flow {
  position: absolute;
  inset: -25%;
  width: 150%;
  height: 150%;
  animation: flowDrift 30s ease-in-out infinite;
  display: none;
}
@keyframes flowDrift {
  0%   { transform: translate(0%, 0%) scale(1) rotate(0deg); }
  25%  { transform: translate(4%, -3%) scale(1.03) rotate(0.5deg); }
  50%  { transform: translate(-3%, 4%) scale(1.01) rotate(-0.5deg); }
  75%  { transform: translate(3%, 2%) scale(1.04) rotate(0.3deg); }
  100% { transform: translate(0%, 0%) scale(1) rotate(0deg); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background: #050505;
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0;
  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='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)'/%3E%3C/svg%3E");
  background-size: 128px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: none;
  padding: 180px 4vw 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-text {
  width: 100%; max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--green-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 13rem;
  line-height: 0.9;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 36px;
  letter-spacing: 0;
  text-transform: uppercase;
  width: 100%; max-width: none;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--green-300);
}
.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 720px;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.35s var(--ease-out-quart);
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(90,158,116,0.25);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-large {
  padding: 18px 42px;
  font-size: 1rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Phone Frame */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone-frame {
  position: relative;
  width: 280px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 30px 80px rgba(0,0,0,0.5),
    0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  border-radius: 28px;
  display: block;
}
.phone-glow {
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: radial-gradient(circle, rgba(90,158,116,0.12) 0%, transparent 60%);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}
.phone-frame--tilt-left { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.phone-frame--tilt-right { transform: perspective(1200px) rotateY(8deg) rotateX(3deg); }

/* ── Abstract Audio Mark ── */
.abstract-waveform {
  width: min(64vw, 880px);
  max-width: none;
  margin-left: -170px;
  color: #1f2421;
}
.abstract-waveform svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.abstract-waveform path {
  stroke: currentColor;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Clip & Save Artwork ── */
.feature--clip {
  background: var(--white);
}
.clip-save-art {
  width: min(56vw, 760px);
  max-width: none;
  margin-right: -150px;
}
.clip-save-art img {
  width: 100%;
  height: auto;
  display: block;
}
.clip-ask-art {
  width: min(52vw, 680px);
  max-width: none;
  margin-left: -90px;
}
.clip-ask-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Vertical Marquee ── */
.marquee-window {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 580px;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.06),
    0 0 0 1px rgba(0,0,0,0.02);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: marquee-vertical 25s linear infinite;
}

.marquee-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  display: block;
}

@keyframes marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    /* Translate exactly 50% of track height. Since track has duplicated list,
       this loops seamlessly. */
    transform: translateY(calc(-50% - 10px));
  }
}

.marquee-window:hover .marquee-track {
  animation-play-state: paused;
}


/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ══════════════════════════
   STATS BAR
   ══════════════════════════ */
.stats {
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-700);
  margin-bottom: 4px;
}
.stat-number { font-family: var(--font-display); }
.stat-plus { font-family: var(--font-display); }
.stat-icon { font-size: 1.6rem; }
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px; height: 48px;
  background: rgba(0,0,0,0.1);
}

/* ══════════════════════════
   FEATURE SECTIONS
   ══════════════════════════ */
.feature {
  padding: 120px 0;
  overflow: hidden;
  background: var(--white);
}

@media (min-width: 901px) and (min-height: 700px) {
  .feature {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.08);
  }
  .feature--dark {
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.25);
  }
}
.feature-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-divider {
  width: 1px;
  height: 380px;
  background: rgba(0, 0, 0, 0.08);
  align-self: center;
  flex-shrink: 0;
}
.feature--dark .feature-divider {
  background: rgba(255, 255, 255, 0.12);
}
.feature-text {
  flex: 1;
  max-width: 520px;
}

.feature--dark {
  background: var(--green-900);
  color: var(--white);
}
#transcribe { z-index: 1; }
#knowledge { z-index: 2; }
#ai { z-index: 3; }
#community { z-index: 4; }
.feature--dark .feature-title { color: var(--white); }
.feature--dark .feature-desc { color: rgba(255,255,255,0.6); }
.feature--dark .feature-eyebrow { color: var(--green-400); }
.feature--dark .tag {
  background: rgba(255,255,255,0.08);
  color: var(--green-300);
  border-color: rgba(255,255,255,0.1);
}
.feature--cream { background: var(--cream-light); }

.feature-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--green-600);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.feature-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.feature-title em {
  font-style: normal;
  color: var(--green-600);
}
.feature--dark .feature-title em { color: var(--green-400); }
.feature-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 300;
}
.feature-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(42,77,58,0.06);
  color: var(--green-700);
  border: 1px solid rgba(42,77,58,0.12);
}


/* ══════════════════════════
   HOW IT WORKS
   ══════════════════════════ */
.how-it-works {
  position: relative;
  z-index: 5;
  padding: 120px 0;
  background: var(--white);
}
.how-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 0 40px; text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  color: var(--text-primary);
  margin-bottom: 64px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-title em { font-style: normal; color: var(--green-600); }
.steps {
  display: flex; align-items: flex-start;
  gap: 0; justify-content: center;
}
.step {
  flex: 1; text-align: center;
  padding: 0 32px;
  max-width: 300px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--green-300);
  margin-bottom: 16px;
  opacity: 0.6;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 400;
}
.step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.step-connector {
  width: 60px; height: 1px;
  background: rgba(0,0,0,0.1);
  margin-top: 30px;
  flex-shrink: 0;
}

/* ══════════════════════════
   CTA SECTION
   ══════════════════════════ */
.cta-section {
  position: relative;
  z-index: 5;
  padding: 140px 0;
  overflow: hidden;
  background: var(--green-900);
}
.cta-bg { position: absolute; inset: 0; }
.cta-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(42,77,58,0.5) 0%, transparent 70%),
    linear-gradient(180deg, var(--green-900), #0a1610);
}
.cta-noise {
  position: absolute; inset: 0;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.8rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cta-title em { font-style: normal; color: var(--green-300); }
.cta-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Platform Badges */
.cta-platforms {
  display: flex; gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.platform-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--white);
  transition: all 0.3s var(--ease-out-quart);
  cursor: pointer;
}
.platform-badge:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.platform-badge svg { opacity: 0.8; }
.platform-small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.platform-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ══════════════════════════
   FOOTER
   ══════════════════════════ */
.footer {
  position: relative;
  z-index: 5;
  background: var(--dark);
  color: var(--text-light);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 12px; }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}
.footer-links {
  display: flex; gap: 64px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-social {
  display: flex; gap: 16px;
}
.footer-social a {
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--white); }

/* ══════════════════════════
   RESPONSIVE
   ══════════════════════════ */
@media (max-width: 1200px) {
  .hero-title { font-size: 6.6rem; }
}

@media (max-width: 900px) {
  .hero-content {
    padding: 120px 24px 80px;
  }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: 4.4rem; }
  .hero-subtitle { max-width: 100%; margin: 0 0 32px 0; }
  .hero-actions { justify-content: flex-start; }
  .feature-inner {
    flex-direction: column;
    gap: 48px;
    padding: 0 24px;
  }
  .feature-text {
    text-align: center;
    max-width: 100%;
  }
  .feature-divider {
    display: none;
  }
  .feature { padding: 80px 0; }
  .feature-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .feature-tags { justify-content: center; }
  .feature-visual .phone-frame { width: 240px; }
  .abstract-waveform {
    width: min(100vw, 680px);
    margin-left: 0;
  }
  .clip-save-art {
    width: min(94vw, 620px);
    margin-right: 0;
  }
  .clip-ask-art {
    width: min(92vw, 560px);
    margin-left: 0;
  }
  .marquee-window { max-width: 320px; height: 450px; margin: 0 auto; }
  .phone-frame--tilt-left, .phone-frame--tilt-right { transform: none; }
  .stats-inner { gap: 24px; padding: 40px 24px; }
  .stat-divider { display: none; }
  .steps { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { width: 1px; height: 40px; margin: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: 0 24px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-platforms { flex-direction: column; align-items: center; }
  .how-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.55rem; }
  .feature-title { font-size: 1.8rem; }
  .cta-title { font-size: 2rem; }
  .phone-frame { width: 200px; border-radius: 30px; padding: 8px; }
  .phone-notch { width: 90px; height: 22px; }
  .phone-screen { border-radius: 22px; }
  .abstract-waveform path { stroke-width: 15; }
  .stats-inner { flex-direction: column; }
}
