/* ==========================================================================
   HELPASTAN (BETTER CALL STAN) - OFFICIAL DESIGN SYSTEM
   Albuquerque Billboard / 90s Infomercial Aesthetic with Modern Polish
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,700;0,900;1,900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-yellow: #FFD200;
  --primary-yellow-hover: #FFE24D;
  --primary-red: #E50914;
  --primary-red-hover: #F42B35;
  --bg-navy-dark: #070F1E;
  --bg-navy-surface: #0E1D36;
  --bg-navy-card: #152744;
  --border-gold: #F59E0B;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-gold: #FFB703;
  --accent-green: #10B981;
  --shadow-retro: 5px 5px 0px #000000;
  --shadow-retro-yellow: 5px 5px 0px var(--primary-yellow);
  --shadow-retro-red: 5px 5px 0px var(--primary-red);
  --font-display: 'Bebas Neue', 'Montserrat', sans-serif;
  --font-impact: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-navy-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(255, 210, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(229, 9, 20, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
}

/* Emergency Scanline Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 999;
  opacity: 0.4;
}

/* Panic Mode Active State */
body.panic-mode-active {
  animation: panicFlash 0.7s infinite alternate;
}

@keyframes panicFlash {
  0% { background-color: #3b0202; }
  100% { background-color: #070F1E; }
}

/* ==========================================================================
   TOP EMERGENCY TICKER
   ========================================================================== */
.urgent-ticker-wrap {
  background: var(--primary-yellow);
  color: #000;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid #000;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.ticker-badge {
  background: var(--primary-red);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  box-shadow: 3px 0 0 #000;
  animation: pulseAlert 1.5s infinite;
}

@keyframes pulseAlert {
  0%, 100% { background-color: var(--primary-red); }
  50% { background-color: #990000; }
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: tickerMove 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 1.5rem;
}

.ticker-sep {
  color: var(--primary-red);
  font-weight: 900;
}

@keyframes tickerMove {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.main-header {
  max-width: 1280px;
  margin: 1rem auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14, 29, 54, 0.85);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-yellow);
  border-radius: 12px;
  box-shadow: var(--shadow-retro-yellow);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-yellow);
  color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.9;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.brand-title span {
  color: var(--primary-yellow);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-red);
  background: #FFF;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
  width: fit-content;
  border: 1px solid #000;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   BUTTONS (SAUL GOODMAN STYLE)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-yellow);
  color: #000;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  border: 3px solid #000;
  box-shadow: var(--shadow-retro);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: var(--primary-yellow-hover);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #000;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-red);
  color: #fff;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  border: 3px solid #000;
  box-shadow: var(--shadow-retro);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-danger:hover {
  background: var(--primary-red-hover);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #000;
}

.btn-danger:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.btn-panic {
  background: repeating-linear-gradient(
    45deg,
    #000,
    #000 10px,
    var(--primary-yellow) 10px,
    var(--primary-yellow) 20px
  );
  color: #fff;
  border: 3px solid #fff;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
  position: relative;
  overflow: hidden;
}

.btn-panic span {
  background: #000;
  color: #FFF;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
}

.btn-panic:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   HERO SECTION / THE BILLBOARD
   ========================================================================== */
.hero-section {
  max-width: 1280px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.billboard-container {
  background: linear-gradient(135deg, #10213d 0%, #0a1424 100%);
  border: 6px solid var(--border-gold);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 25px rgba(245, 158, 11, 0.2);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

/* Starburst badge */
.starburst-badge {
  position: absolute;
  top: -24px;
  right: 40px;
  width: 120px;
  height: 120px;
  background: var(--primary-yellow);
  color: #000;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(
    50% 0%, 63% 18%, 85% 8%, 84% 31%, 100% 38%, 91% 58%, 100% 74%, 81% 81%, 77% 100%, 57% 91%, 41% 100%, 30% 84%, 10% 86%, 17% 65%, 0% 55%, 12% 38%, 3% 20%, 25% 20%, 31% 0%
  );
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  transform: rotate(12deg);
  animation: starPulse 2.5s infinite alternate;
  z-index: 10;
}

.starburst-badge .sub {
  font-size: 0.65rem;
  color: var(--primary-red);
}

@keyframes starPulse {
  0% { transform: rotate(12deg) scale(1); }
  100% { transform: rotate(12deg) scale(1.08); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid var(--primary-red);
  color: #FF6B6B;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.hero-pill-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 50%;
  animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-title {
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: #FFF;
  text-shadow: 3px 3px 0px #000;
}

.hero-title .highlight-yellow {
  color: var(--primary-yellow);
  text-shadow: 4px 4px 0px #000;
  display: block;
}

.hero-title .highlight-red {
  color: var(--primary-red);
  background: #FFF;
  padding: 0 8px;
  border-radius: 6px;
  display: inline-block;
  text-shadow: 2px 2px 0px #000;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-1.5deg);
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #E2E8F0;
  max-width: 580px;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--primary-yellow);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.phone-card-preview {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--border-gold);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
}

.phone-card-preview .icon {
  font-size: 1.8rem;
}

.phone-card-preview .text {
  display: flex;
  flex-direction: column;
}

.phone-card-preview .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.phone-card-preview .number {
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary-yellow);
  letter-spacing: 1px;
}

/* Billboard Visual / Image */
.billboard-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.billboard-frame {
  position: relative;
  border: 8px solid #8B5A2B;
  background: #000;
  border-radius: 12px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.7),
    0 0 0 4px #4A2E12;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: transform var(--transition-bounce);
}

.billboard-frame:hover {
  transform: rotate(-1deg) scale(1.02);
}

.billboard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.billboard-lights {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.billboard-light {
  width: 40px;
  height: 16px;
  background: #333;
  border: 2px solid #555;
  border-radius: 6px 6px 0 0;
  position: relative;
}

.billboard-light::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 40px;
  background: radial-gradient(ellipse at top, rgba(255, 230, 100, 0.45) 0%, transparent 70%);
}

.billboard-corner-ribbon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--primary-yellow);
  color: #000;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  text-transform: uppercase;
}

/* ==========================================================================
   STATS BAR (TRUCKED / PARODY)
   ========================================================================== */
.stats-banner {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-box {
  background: var(--bg-navy-surface);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-yellow);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-yellow);
  text-shadow: 2px 2px 0 #000;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #E2E8F0;
  margin-top: 0.25rem;
}

.stat-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-wrapper {
  max-width: 1280px;
  margin: 4.5rem auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-red);
  color: #fff;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  box-shadow: 2px 2px 0 #000;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  line-height: 1.1;
}

.section-title span {
  color: var(--primary-yellow);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* ==========================================================================
   AREAS OF EXPERTISE / SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-navy-surface);
  border: 2px solid #23385C;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-yellow);
  box-shadow: var(--shadow-retro-yellow);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--bg-navy-card);
  border: 2px solid var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 3px 3px 0 #000;
}

.service-title {
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-cases-list {
  list-style: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  margin-top: auto;
}

.service-cases-list li {
  font-size: 0.85rem;
  color: var(--primary-yellow);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-cases-list li::before {
  content: "⚖️";
  font-size: 0.75rem;
}

/* ==========================================================================
   INSTANT ALIBI GENERATOR WIDGET (INTERACTIVE FEATURE)
   ========================================================================== */
.alibi-section {
  background: linear-gradient(180deg, rgba(255, 210, 0, 0.05) 0%, transparent 100%);
  border-top: 2px dashed rgba(255, 210, 0, 0.3);
  border-bottom: 2px dashed rgba(255, 210, 0, 0.3);
  padding: 4rem 1.5rem;
}

.alibi-widget-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-navy-surface);
  border: 3px solid var(--border-gold);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--shadow-retro-yellow);
  text-align: center;
  position: relative;
}

.alibi-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  color: #fff;
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  text-transform: uppercase;
}

.alibi-display-card {
  background: #FFFDF0;
  color: #1A1A1A;
  border-radius: 10px;
  padding: 1.75rem;
  margin: 1.75rem 0;
  border: 2px solid #D1C49D;
  position: relative;
  box-shadow: 4px 4px 0px #000;
  text-align: left;
}

.alibi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #D1C49D;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.alibi-docket {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: bold;
  color: #78350F;
}

.alibi-watermark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary-red);
  letter-spacing: 1px;
}

.alibi-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 700;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.alibi-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alibi-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   TESTIMONIALS (PARODY REVIEWS)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-navy-surface);
  border: 2px solid #1E3E62;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-yellow);
}

.testimonial-stars {
  color: var(--primary-yellow);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #F1F5F9;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-yellow);
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.verified-stamp {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ==========================================================================
   EMERGENCY CASE INTAKE FORM
   ========================================================================== */
.intake-section {
  max-width: 900px;
  margin: 4.5rem auto;
  padding: 0 1.5rem;
}

.intake-card {
  background: var(--bg-navy-surface);
  border: 4px solid var(--primary-yellow);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), var(--shadow-retro-yellow);
  position: relative;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-impact);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-yellow);
}

.form-control {
  background: var(--bg-navy-card);
  border: 2px solid #284470;
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.crisis-level-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.crisis-option {
  position: relative;
}

.crisis-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.crisis-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: var(--bg-navy-card);
  border: 2px solid #284470;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  height: 100%;
}

.crisis-label .emoji {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.crisis-label .text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.crisis-option input[type="radio"]:checked + .crisis-label {
  background: var(--primary-yellow);
  color: #000;
  border-color: #000;
  box-shadow: 3px 3px 0 #000;
}

.crisis-option input[type="radio"]:checked + .crisis-label .text {
  color: #000;
}

/* ==========================================================================
   MODALS (HOTLINE & CASE SUBMISSION & PANIC)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-navy-surface);
  border: 4px solid var(--primary-yellow);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8), var(--shadow-retro-yellow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.is-active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #000;
  color: #fff;
  border: 2px solid var(--primary-yellow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-red);
}

/* Stamp Animation in Modal */
.stamp-container {
  position: relative;
  padding: 1.5rem 0;
  text-align: center;
}

.stan-stamp {
  display: inline-block;
  color: var(--primary-red);
  font-family: var(--font-impact);
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  border: 6px solid var(--primary-red);
  border-radius: 12px;
  padding: 0.5rem 1.5rem;
  letter-spacing: 2px;
  transform: rotate(-10deg) scale(2);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 0 10px rgba(229, 9, 20, 0.2);
}

.stan-stamp.stamped {
  opacity: 1;
  transform: rotate(-10deg) scale(1);
}

/* Hotline Call Animation */
.phone-ring-anim {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: var(--primary-yellow);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 4px solid #000;
  box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.7);
  animation: phonePulse 1.2s infinite;
}

@keyframes phonePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 210, 0, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 25px rgba(255, 210, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 210, 0, 0); }
}

/* ==========================================================================
   FOOTER (PARODY LEGAL DISCLAIMER)
   ========================================================================== */
.main-footer {
  background: #030811;
  border-top: 3px solid var(--primary-yellow);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.6;
  text-align: justify;
}

.footer-legal-disclaimer strong {
  color: #94A3B8;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #475569;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .billboard-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .starburst-badge {
    top: -20px;
    right: 20px;
    width: 90px;
    height: 90px;
    font-size: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .crisis-level-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .main-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .billboard-frame {
    max-width: 100%;
  }
}
