/* ============================================================
   EpisodeEdit Studio — style.css
   Dark, moody base + single electric-green accent.
   Display: Anton · Body: Inter
   ============================================================ */

:root {
  --bg: #0b0d0c;
  --bg-raised: #111413;
  --bg-card: #141817;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2ef;
  --text-muted: #9aa49e;
  --accent: #00e58f;
  --accent-dim: rgba(0, 229, 143, 0.14);
  --accent-glow: rgba(0, 229, 143, 0.35);
  --light-bg: #eef1ec;
  --light-text: #101312;
  --light-muted: #4d564f;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #04130c; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.contact :focus-visible { outline-color: #0c8a5c; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.container--narrow { width: min(760px, calc(100% - 48px)); }

/* ============ Typography ============ */

h1, h2, h3 { font-weight: 400; }

.section__title,
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.section__title { font-size: clamp(2.4rem, 5.4vw, 4rem); color: var(--text); }
.section__title em { font-style: normal; color: var(--accent); }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section__sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 22px;
  font-size: 1.06rem;
}

.section__head { margin-bottom: 72px; }
.section__head--center { text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }
.section__head--center .section__eyebrow::before { display: none; }

.section { padding: 130px 0; position: relative; }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2),
              box-shadow 0.25s ease, background-color 0.25s ease,
              border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn--large { padding: 17px 34px; }
.btn--small { padding: 10px 22px; font-size: 0.9rem; }
.btn--full { width: 100%; }

.btn--solid {
  background: var(--accent);
  color: #04130c;
}
.btn--solid:hover { box-shadow: 0 8px 32px var(--accent-glow); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--dark {
  background: var(--light-text);
  color: #fff;
}
.btn--dark:hover { box-shadow: 0 10px 32px rgba(16, 19, 18, 0.35); }

/* Equalizer bars inside buttons — animate on hover */
.btn__eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}
.btn__eq i {
  width: 2.5px;
  border-radius: 2px;
  background: currentColor;
  height: 30%;
  transition: height 0.3s ease;
}
.btn__eq i:nth-child(2) { height: 65%; }
.btn__eq i:nth-child(3) { height: 45%; }
.btn__eq i:nth-child(4) { height: 80%; }
.btn:hover .btn__eq i { animation: eq-bounce 0.55s ease-in-out infinite alternate; }
.btn:hover .btn__eq i:nth-child(2) { animation-delay: 0.12s; }
.btn:hover .btn__eq i:nth-child(3) { animation-delay: 0.24s; }
.btn:hover .btn__eq i:nth-child(4) { animation-delay: 0.36s; }

@keyframes eq-bounce {
  from { height: 20%; }
  to   { height: 100%; }
}

/* ============ Nav ============ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(11, 13, 12, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo em { font-style: normal; color: var(--accent); }
.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 18px;
}
.nav__logo-mark span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: eq-bounce 0.9s ease-in-out infinite alternate;
}
.nav__logo-mark span:nth-child(1) { height: 45%; animation-delay: 0s; }
.nav__logo-mark span:nth-child(2) { height: 90%; animation-delay: 0.2s; }
.nav__logo-mark span:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.nav__logo-mark span:nth-child(4) { height: 80%; animation-delay: 0.6s; }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(11,13,12,0.55), transparent 30%, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 0 80px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(3.4rem, 9.5vw, 7.5rem);
  margin-bottom: 30px;
}
.line-mask { display: block; overflow: hidden; }
.line { display: block; }
.line--accent { color: var(--accent); }
.hero__sub {
  max-width: 520px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.12rem;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__note { font-size: 0.9rem; color: var(--text-muted); }
.hero__note strong { color: var(--text); font-weight: 600; }

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  z-index: 2;
}
.hero__scroll-hint span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ Value ============ */

.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.value__card:hover {
  border-color: rgba(0, 229, 143, 0.35);
  transform: translateY(-4px);
}
.value__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-dim);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.value__icon svg { width: 26px; height: 26px; }
.value__card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.value__card p { color: var(--text-muted); font-size: 0.98rem; }

/* ============ Divider (waveform motif) ============ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  opacity: 0.55;
}
.divider span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  height: 18%;
  animation: divider-wave 2.4s ease-in-out infinite;
}
/* pseudo-random stagger + base heights */
.divider span:nth-child(4n+1) { height: 22%; animation-delay: 0.0s; }
.divider span:nth-child(4n+2) { height: 55%; animation-delay: 0.3s; }
.divider span:nth-child(4n+3) { height: 34%; animation-delay: 0.6s; }
.divider span:nth-child(4n+4) { height: 70%; animation-delay: 0.9s; }
.divider span:nth-child(8n+3) { animation-delay: 1.2s; }
.divider span:nth-child(8n+6) { height: 44%; animation-delay: 1.5s; }
@keyframes divider-wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50%      { transform: scaleY(1.6); opacity: 1; }
}

/* ============ Process / Timeline ============ */

.process { background: var(--bg-raised); }

.timeline {
  position: relative;
  max-width: 720px;
}
.timeline__track {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 31px;
  width: 2px;
  background: var(--line);
}
.timeline__progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(0, 229, 143, 0.4));
  transform-origin: top;
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline__steps { list-style: none; }
.step {
  position: relative;
  display: flex;
  gap: 36px;
  padding: 0 0 64px 0;
}
.step:last-child { padding-bottom: 0; }
.step__num {
  flex: 0 0 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.step.is-active .step__num {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.step__body { padding-top: 8px; }
.step__body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.step__body p { color: var(--text-muted); max-width: 480px; }

/* ============ Pricing ============ */

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 52px 44px;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.price-card:hover {
  border-color: rgba(0, 229, 143, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 48px rgba(0, 229, 143, 0.12);
}
.price-card__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 240px;
  background: radial-gradient(ellipse at center, var(--accent-dim), transparent 70%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.price-card:hover .price-card__glow { opacity: 1; }

.price-card__head { text-align: center; margin-bottom: 36px; position: relative; }
.price-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 5.6rem);
  line-height: 1;
}
.price-card__amount sup {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--accent);
}
.price-card__meta { color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }

.price-card__list {
  list-style: none;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}
.price-card__list li {
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1.02rem;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 14px;
  height: 10px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--accent), var(--accent)) 0 50% / 2.5px 60% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 5.5px 50% / 2.5px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 11px 50% / 2.5px 40% no-repeat;
  border-radius: 2px;
}
.price-card__addon {
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 143, 0.25);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 36px;
}
.price-card__addon-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.price-card__addon-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.price-card__addon-title span {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.price-card__addon-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.price-card__addon-desc strong { color: var(--text); }

.price-card__note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.price-card__note a { color: var(--accent); }

/* ============ Why / Trust ============ */

.why { background: var(--bg-raised); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.why__item { border-top: 2px solid var(--accent); padding-top: 24px; }
.why__item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.why__item p { color: var(--text-muted); font-size: 0.97rem; }

/* ============ Contact (light section) ============ */

.contact {
  background: var(--light-bg);
  color: var(--light-text);
}
.section__eyebrow--dark { color: #0c8a5c; }
.section__title--dark { color: var(--light-text); }
.section__title--dark em { color: #0c8a5c; }
.section__sub--dark { color: var(--light-muted); }

.contact__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.contact__email {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__email a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--light-text);
  text-decoration-color: rgba(12, 138, 92, 0.5);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.contact__email a:hover { color: #0c8a5c; }
.contact__copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c8a5c;
  background: rgba(12, 138, 92, 0.1);
  border: 1px solid rgba(12, 138, 92, 0.35);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.contact__copy:hover { background: rgba(12, 138, 92, 0.2); }
.contact__copy.is-copied {
  background: #0c8a5c;
  border-color: #0c8a5c;
  color: #fff;
}

/* ============ Footer ============ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
}
.footer__brand em { font-style: normal; color: var(--accent); }
.footer__mail {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__mail:hover { color: var(--accent); }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .value__grid, .why__grid { grid-template-columns: 1fr; gap: 20px; }
  .why__grid { gap: 40px; }

  /* Mobile nav: hamburger + dropdown panel */
  .nav__toggle { display: inline-flex; }
  .nav.menu-open { background: var(--bg); }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 24px 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.menu-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 15px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 52px; }
  .hero__content { padding-top: 110px; }
  .hero__actions .btn { width: 100%; }
  .contact__cta .btn { width: 100%; }
  .contact__email { flex-wrap: wrap; justify-content: center; }
  .price-card { padding: 40px 26px 34px; }
  .timeline__track { left: 23px; }
  .step { gap: 22px; padding-bottom: 48px; }
  .step__num { flex-basis: 48px; height: 48px; font-size: 1.05rem; }
  .divider span:nth-child(n+25) { display: none; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__scroll-hint { display: none; }
}
