/* ============================================
   CivicCast AI — Brand Stylesheet
   Colors: Deep Teal #0D4F5C, Teal #0E7C8B,
   Civic Gold #E8A838, Light Teal #1CA3B3,
   Dark Navy #1A1A2E, Slate Gray #4A5568
   ============================================ */

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

:root {
  --deep-teal: #0D4F5C;
  --teal: #0E7C8B;
  --civic-gold: #E8A838;
  --light-teal: #1CA3B3;
  --dark-navy: #1A1A2E;
  --slate-gray: #4A5568;
  --cool-gray: #F0F4F5;
  --cream: #F7F3EB;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Calibri, Helvetica, Arial, sans-serif;
  color: var(--dark-navy);
  line-height: 1.6;
  font-size: 16px;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--deep-teal);
  line-height: 1.2;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--light-teal);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Layout ---- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ---- Gold top bar (brand accent) ---- */

body::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--civic-gold);
}

/* ---- Header / Nav ---- */

header {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-gray);
  letter-spacing: 0.01em;
}

nav a:hover {
  color: var(--deep-teal);
}

nav .btn-nav {
  background: var(--civic-gold);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

nav .btn-nav:hover {
  background: #d49730;
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-teal);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---- Hero ---- */

.hero {
  background: var(--deep-teal);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--civic-gold);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .gold {
  color: var(--civic-gold);
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--civic-gold);
  color: var(--white);
}

.btn-primary:hover {
  background: #d49730;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon {
  width: 280px;
  height: 280px;
  opacity: 0.15;
}

/* ---- How It Works ---- */

.how-it-works {
  background: var(--cool-gray);
}

.section-label {
  font-family: Calibri, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--slate-gray);
  max-width: 600px;
  margin-bottom: 48px;
}

/* Pipeline flow layout */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.pipeline-step {
  display: contents;
}

.pipeline-card {
  background: var(--white);
  border: 1px solid #d9dee1;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  width: 100%;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pipeline-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(13, 79, 92, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--deep-teal);
  color: var(--white);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pipeline-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.pipeline-card p {
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.5;
}

.pipeline-arrow {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--teal);
  padding: 0 2px;
}

.pipeline-arrow svg {
  width: 48px;
  height: 24px;
}

/* ---- Featured Podcast (The Bozeman Brief) ---- */

.featured-podcast {
  background: var(--white);
}

.podcast-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--cream);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid #e8e2d6;
}

.podcast-artwork {
  background: var(--deep-teal);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  text-align: center;
}

.podcast-artwork img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.podcast-artwork h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 4px;
}

.podcast-artwork .podcast-city {
  color: var(--civic-gold);
  font-size: 14px;
  font-weight: 600;
}

.podcast-info h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.podcast-info .tagline {
  font-size: 17px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
}

.podcast-info p {
  color: var(--slate-gray);
  margin-bottom: 24px;
  line-height: 1.7;
}

.podcast-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-teal);
}

.stat-label {
  font-size: 13px;
  color: var(--slate-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listen-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.listen-btn.spotify {
  background: #1DB954;
  color: var(--white);
}

.listen-btn.spotify:hover {
  background: #1aa34a;
  color: var(--white);
}

.listen-btn.apple {
  background: #8B5CF6;
  color: var(--white);
}

.listen-btn.apple:hover {
  background: #7c4fe0;
  color: var(--white);
}

.listen-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Coverage strip ---- */

.coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.coverage-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(14, 124, 139, 0.1);
  color: var(--teal);
  border-radius: 4px;
  font-weight: 600;
}

/* ---- For Municipalities ---- */

.for-cities {
  background: var(--deep-teal);
  color: var(--white);
  position: relative;
}

.for-cities::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--civic-gold);
}

.for-cities .section-label {
  color: var(--civic-gold);
}

.for-cities .section-title {
  color: var(--white);
}

.for-cities .section-subtitle {
  color: rgba(255,255,255,0.75);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.benefit {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px;
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.benefit h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.cta-box {
  text-align: center;
  padding-top: 16px;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.btn-gold {
  background: var(--civic-gold);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-gold:hover {
  background: #d49730;
  color: var(--white);
}

/* ---- About ---- */

.about {
  background: var(--cool-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--slate-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.values-list {
  list-style: none;
}

.values-list li {
  padding: 16px 0;
  border-bottom: 1px solid #d9dee1;
}

.values-list li:last-child {
  border-bottom: none;
}

.value-name {
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--teal);
  margin-right: 8px;
}

.value-desc {
  color: var(--slate-gray);
  font-size: 15px;
}

/* ---- Footer ---- */

footer {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 32px;
}

.footer-brand span {
  font-family: Georgia, serif;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.footer-brand span .footer-ai {
  color: var(--civic-gold);
}

footer p {
  font-size: 13px;
}

footer a {
  color: rgba(255,255,255,0.6);
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .pipeline {
    grid-template-columns: 1fr auto 1fr;
    row-gap: 16px;
  }

  .pipeline-step:nth-child(2) .pipeline-arrow,
  .pipeline-step:nth-child(4) .pipeline-arrow {
    display: none;
  }

  .podcast-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .podcast-artwork {
    max-width: 260px;
    margin: 0 auto;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .pipeline {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .pipeline-arrow {
    transform: rotate(90deg);
    width: 48px;
    height: 32px;
    margin: 0 auto;
    padding: 4px 0;
  }

  .pipeline-card {
    min-height: auto;
  }

  .podcast-card {
    padding: 24px;
  }

  .podcast-stats {
    gap: 20px;
  }

  .listen-links {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
