:root {
  --blue: #1769ff;
  --blue-2: #0b4bd9;
  --cyan: #16c7d8;
  --green: #20c982;
  --amber: #f2b13d;
  --ink: #071326;
  --muted: #61728b;
  --line: #d7e6fb;
  --soft: #f3f8ff;
  --panel: #ffffff;
  --shadow: 0 22px 70px rgba(31, 79, 141, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.podcast-page {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0 54%, rgba(223,241,255,.78) 100%),
    repeating-linear-gradient(90deg, rgba(23,105,255,.045) 0 1px, transparent 1px 32px);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, textarea, select { font: inherit; }
button { cursor: pointer; }

.podcast-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #21a2ff, #4057e8);
  color: #fff;
}

.brand b { font-size: 14px; }

.podcast-header nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.podcast-header nav a,
.header-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
}

.podcast-header nav a { color: #33445b; }
.podcast-header nav a:hover,
.podcast-header nav a[aria-current="page"] { color: var(--blue); }

.header-cta {
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #071326;
  color: #fff;
}

.director-hero,
.director-workflow,
.director-builder,
.director-packages,
.podcast-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.director-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .86fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 26px;
}

.kicker,
.section-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker i {
  width: 8px;
  height: 8px;
  background: var(--green);
  transform: rotate(45deg);
}

.hero-copy h1 {
  max-width: 790px;
  margin: 18px 0 18px;
  font-size: clamp(50px, 5.6vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 690px;
  margin: 0;
  color: #53647d;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-actions a,
.director-next a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
}

.primary-action {
  background: linear-gradient(90deg, #147eff, #2458ec);
  color: #fff;
  box-shadow: 0 18px 48px rgba(23, 105, 255, .24);
}

.secondary-action {
  border: 1px solid #bad5ff;
  background: #fff;
  color: var(--blue);
}

.hero-actions i { font-style: normal; }

.proof-row {
  max-width: 660px;
  margin-top: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.proof-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8e7fb;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: #43556e;
  font-size: 12px;
  font-weight: 900;
}

.studio-board {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfe1f8;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(245,251,255,.96)),
    #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.studio-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(23,105,255,.12), transparent 45%),
    linear-gradient(315deg, rgba(32,201,130,.13), transparent 40%);
  pointer-events: none;
}

.board-head,
.preview-frame,
.track-strip,
.scene-stack {
  position: relative;
  z-index: 1;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.board-head small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-head b {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.board-head span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: #e9f8f1;
  color: #078750;
  font-size: 12px;
  font-weight: 950;
}

.preview-frame {
  min-height: 254px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9,33,72,.08), rgba(9,18,38,.35)),
    linear-gradient(135deg, #9edbff 0 48%, #ffe2a8 48% 62%, #1c8fd8 62% 100%);
  border: 1px solid #bcd8fa;
}

.preview-frame::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 38%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.76)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.45) 0 2px, transparent 2px 18px);
}

.sun {
  position: absolute;
  top: 30px;
  right: 42px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffd36e;
  box-shadow: 0 0 0 18px rgba(255,211,110,.18);
}

.battery-product {
  position: absolute;
  left: 52px;
  bottom: 48px;
  width: 118px;
  height: 76px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #151f33 0 18%, #1f7cff 18% 74%, #151f33 74% 100%);
  border: 3px solid rgba(7,19,38,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.battery-product::before,
.battery-product::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 24px;
  height: 13px;
  border-radius: 5px 5px 0 0;
  background: #071326;
}

.battery-product::before { left: 18px; }
.battery-product::after { right: 18px; }

.battery-product i {
  position: absolute;
  inset: 16px 24px;
  border-radius: 6px;
  background: rgba(255,255,255,.2);
}

.person {
  position: absolute;
  right: 128px;
  bottom: 44px;
  width: 78px;
  height: 132px;
  border-radius: 42px 42px 12px 12px;
  background: linear-gradient(180deg, #14223a 0 18%, #2368e8 18% 100%);
}

.person::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4c79c;
}

.caption-line {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}

.track-strip {
  display: flex;
  gap: 7px;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid #dceaff;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}

.track-strip span {
  width: var(--w);
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.track-strip span:nth-child(2) { background: linear-gradient(90deg, #1f9f6d, #6de0b0); }
.track-strip span:nth-child(3) { background: linear-gradient(90deg, #17243b, #5478bb); }
.track-strip span:nth-child(4) { background: linear-gradient(90deg, #d98920, var(--amber)); }

.scene-stack {
  display: grid;
  gap: 10px;
}

.scene-stack article {
  display: grid;
  grid-template-columns: 58px 120px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid #dceaff;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
}

.scene-stack small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.scene-stack b { font-size: 14px; }
.scene-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.director-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.director-workflow article,
.builder-form,
.builder-output,
.director-packages {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(31,79,141,.1);
}

.director-workflow article {
  min-height: 134px;
  padding: 18px;
}

.director-workflow span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.director-workflow b {
  display: block;
  margin: 10px 0 7px;
  font-size: 19px;
}

.director-workflow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
  line-height: 1.55;
}

.director-builder {
  display: grid;
  grid-template-columns: minmax(330px, .76fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.builder-form,
.builder-output,
.director-packages {
  padding: 22px;
}

.section-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.62;
}

.builder-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 13px;
  color: #0b1527;
  font-size: 14px;
  font-weight: 900;
}

.builder-form textarea,
.builder-form select {
  width: 100%;
  border: 1px solid #bfd8ff;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 760;
  outline: none;
}

.builder-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.builder-form select {
  min-height: 46px;
  padding: 0 12px;
}

.builder-form textarea:focus,
.builder-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, .1);
}

.builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.generate-button,
.output-head button,
.director-next a {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.generate-button {
  width: 100%;
  margin-top: 2px;
}

.output-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.output-head span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.output-head b {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.output-head button {
  min-width: 124px;
  background: #071326;
}

.podcast-plan {
  display: grid;
  gap: 12px;
}

.director-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.director-summary span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.podcast-plan article {
  border: 1px solid #dceaff;
  border-radius: 8px;
  padding: 15px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.podcast-plan small {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.podcast-plan h3 {
  margin: 0 0 7px;
  font-size: 19px;
  letter-spacing: 0;
}

.podcast-plan p,
.podcast-plan li {
  color: #52627a;
  font-size: 14px;
  font-weight: 740;
  line-height: 1.6;
}

.podcast-plan p { margin: 0; }
.podcast-plan ul { margin: 8px 0 0; padding-left: 18px; }

.scene-list {
  display: grid;
  gap: 9px;
}

.scene {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dceaff;
  border-radius: 8px;
  background: #fff;
}

.scene time {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.scene b {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.scene span {
  display: block;
  color: #607089;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.5;
}

.scene span + span { margin-top: 5px; }

.scene strong {
  color: #071326;
  font-weight: 950;
}

.shot-prompt {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #c9ddf7;
}

.director-packages {
  margin-bottom: 44px;
}

.package-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.package-row article {
  min-height: 168px;
  padding: 19px;
  border: 1px solid #dceaff;
  border-radius: 8px;
  background: #fff;
}

.package-row small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.package-row b {
  display: block;
  margin: 12px 0 10px;
  font-size: 28px;
}

.package-row p,
.director-next p {
  margin: 0;
  color: var(--muted);
  font-weight: 740;
  line-height: 1.62;
}

.director-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #dceaff;
  border-radius: 8px;
  background: #eef7ff;
}

.director-next a {
  min-width: 174px;
  padding: 0 16px;
}

.podcast-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #607089;
  font-size: 13px;
  font-weight: 820;
}

.podcast-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.podcast-footer a:hover { color: var(--blue); }

@media (max-width: 980px) {
  .podcast-header nav { display: none; }
  .director-hero,
  .director-builder,
  .director-workflow,
  .package-row {
    grid-template-columns: 1fr;
  }
  .director-hero {
    min-height: auto;
    padding: 36px 0 24px;
  }
  .studio-board { order: -1; }
}

@media (max-width: 620px) {
  .podcast-header,
  .director-hero,
  .director-workflow,
  .director-builder,
  .director-packages,
  .podcast-footer {
    width: min(100% - 24px, 1180px);
  }
  .podcast-header {
    min-height: 68px;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .header-cta { margin-left: auto; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 16px; }
  .hero-actions a,
  .director-next a {
    width: 100%;
  }
  .proof-row span { flex: 1 1 30%; justify-content: center; }
  .preview-frame { min-height: 210px; }
  .person { right: 58px; }
  .scene-stack article {
    grid-template-columns: 54px 1fr;
  }
  .scene-stack p { grid-column: 2; }
  .builder-grid,
  .scene {
    grid-template-columns: 1fr;
  }
  .output-head,
  .director-next,
  .podcast-footer {
    display: block;
  }
  .output-head button,
  .director-next a,
  .podcast-footer nav {
    margin-top: 14px;
  }
  .output-head button { width: 100%; }
}
