/* =============================================
   LISTENATION — Main Stylesheet
   Aesthetic: Confident B2B, deep navy + logo cyan
   Fonts: Bebas Neue (headings) + Source Serif 4 (body)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --navy: #0A1628;
  --navy-mid: #112240;
  --navy-light: #1a3255;
  --gold: #25BBD9;
  --gold-light: #4DCDE8;
  --white: #F5F2EC;
  --gray: #8896A8;
  --border: rgba(37,187,217,0.2);
  --shadow: 0 8px 40px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, nav a, .btn {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold); }
p { color: #b8c4d0; font-weight: 300; }

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

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(10,22,40,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo a { display: flex; align-items: center; }
.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 0 16px;
  height: 72px;
  line-height: 72px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

/* Dropdown */
.nav-links .dropdown { display: none; position: absolute; top: 72px; left: 0; min-width: 220px; background: var(--navy-mid); border: 1px solid var(--border); border-top: 2px solid var(--gold); box-shadow: var(--shadow); }
.nav-links li:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 12px 20px; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--gray); border-bottom: 1px solid rgba(255,255,255,0.04); transition: all 0.15s; }
.dropdown a:hover { color: var(--gold); background: rgba(37,187,217,0.06); padding-left: 26px; }

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  margin-left: 16px;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy) !important; }

.hamburger {
  display: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none; border: 0;
  -webkit-appearance: none; appearance: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 120px 5vw 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,187,217,0.08) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: 
    linear-gradient(rgba(37,187,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,187,217,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: auto 0; padding-bottom: 60px; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 6px 14px;
  margin-bottom: 32px;
}
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; max-width: 560px; margin-bottom: 48px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stat-bar {
  position: relative; z-index: 1;
  width: 100%;
  margin: 0 -5vw;
  padding: 0 5vw;
  box-sizing: content-box;
  display: flex;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gray);
  font-family: 'DM Mono', monospace;
  margin-top: 4px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SECTIONS ---- */
section { padding: 100px 5vw; }
.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-title { color: var(--white); margin-bottom: 20px; }
.section-subtitle { color: var(--gray); max-width: 600px; margin-bottom: 60px; font-size: 1.05rem; }

/* Gold line accent */
.gold-line::before {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
}

/* ---- SOLUTION CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card {
  background: var(--navy-mid);
  padding: 40px 36px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.3s;
}
.card:hover { background: var(--navy-light); }
.card:hover::after { height: 100%; }
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 14px; font-size: 1.5rem; }
.card p { font-size: 0.93rem; margin-bottom: 24px; }
.card-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 14px; }

/* ---- ABOUT SPLIT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.split-img {
  position: relative;
}
.split-img-frame {
  width: 100%; aspect-ratio: 4/3;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace;
  color: var(--gray);
  font-size: 0.8rem;
  overflow: hidden;
}
.split-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.split-img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: var(--gold);
  z-index: -1;
}

.principles { list-style: none; margin-top: 32px; }
.principles li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.principles li::before {
  content: '—';
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- CLIENTS ---- */
.clients-section { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-logos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.client-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border: 1px solid var(--border);
  color: var(--gray);
  transition: all 0.2s;
}
.client-badge:hover { border-color: var(--gold); color: var(--gold); }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--gold);
  padding: 80px 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 32px;
}
.cta-band h2 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 3rem); }
.btn-dark { background: var(--navy); color: var(--gold); }
.btn-dark:hover { background: var(--navy-mid); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p { margin-bottom: 32px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-detail-text { font-size: 0.9rem; }
.contact-detail-text strong { display: block; font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 2px; font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 140px 5vw 80px;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: 
    linear-gradient(rgba(37,187,217,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,187,217,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a::after { content: ' /'; color: var(--gray); }

/* ---- CONTENT SECTIONS ---- */
.content-section { max-width: 800px; }
.content-section h2 { margin-bottom: 20px; }
.content-section p { margin-bottom: 20px; }
.content-section ul { padding-left: 20px; color: #b8c4d0; }
.content-section ul li { margin-bottom: 10px; }

/* ---- COMPLIANCE ---- */
.compliance-sample {
  margin-top: 40px;
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--navy-mid);
  max-width: 680px;
}
.compliance-sample img { width: 100%; height: auto; }

/* ---- RECORDING INSTRUCTIONS ---- */
.steps-list { list-style: none; max-width: 700px; }
.steps-list li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  min-width: 40px;
}
.step-text strong { display: block; font-family: 'DM Mono', monospace; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 4px; }
.step-text p { font-size: 0.92rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 60px 5vw 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; max-width: 280px; }
.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.footer-col h5 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

/* ---- MOBILE NAV ---- */
@media (max-width: 900px) {
  /* backdrop-filter would make <nav> the containing block for the
     position:fixed menu below, collapsing it to the nav's height */
  nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,22,40,0.98); }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    height: calc(100vh - 72px);
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 5vw 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { height: auto; line-height: 1.4; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  /* Always show dropdown items inline on mobile — :hover isn't reliable on
     touchscreens, and the selector below must match ".nav-links .dropdown"
     (line ~89) in specificity or that rule's position:absolute wins even here. */
  .nav-links .dropdown {
    display: block !important;
    position: static !important;
    top: auto; left: auto;
    min-width: 0; width: 100%;
    background: rgba(255,255,255,0.03);
    border: none;
    box-shadow: none;
    margin-bottom: 6px;
  }
  .nav-links .dropdown a { padding: 10px 0 10px 20px; font-size: 0.88rem; }
  .nav-cta { margin: 20px 0 0; width: 100%; text-align: center; }
  .hero-stat-bar { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; }
}

/* ---- COOKIE CONSENT ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 5vw;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.35);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  margin: 0;
  max-width: 760px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 28px; font-size: 0.8rem; }
.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-decline:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 768px) {
  .cookie-banner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }
