/*
Theme Name: RADIO SUBSCRIPTION - XM LIGHT AUTOMOTIVE
Theme URI: https://radiosubscription.com/
Author: Trishala Sharma
Description: Premium Light Automotive Theme for In-Car Radio Subscriptions
Version: 3.0
*/

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-soft: #f1f5f9;
  --border-color: #e2e8f0;
  --border-active: #0284c7;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --accent-cyan: #06b6d4;
  --glow-light: rgba(2, 132, 199, 0.12);
  --container-width: 1200px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin: 0 auto;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.logo-badge {
  background: linear-gradient(135deg, var(--brand-blue), var(--accent-cyan));
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--brand-blue);
}

.nav-cta {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--glow-light);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 6px 0;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 150px 0 80px;
  position: relative;
  background: linear-gradient(135deg, rgb(12 22 32 / 82%) 0%, rgb(46 50 52 / 70%) 100%), 
              url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9f8SjH1qBtFPalhhrQMmQgMKgPH37uy9aGPeEiN8aIg&s=10') no-repeat center center / cover;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  backdrop-filter: blur(4px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 20px 0;
  color: #ffffff;
}

.hero h1 span {
  color: #38bdf8;
}

.hero-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin-bottom: 35px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--glow-light);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.3);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #ffffff;
}

.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
}

.stat-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Metallic Dashboard Console Card */
.car-console-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
}

.console-display {
  background: #0f172a;
  color: #ffffff;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.display-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.now-playing-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.now-playing-artist {
  color: #94a3b8;
  font-size: 13px;
}

.tuner-dial {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 5px;
}

.tuner-dial .active-freq {
  color: #38bdf8;
  border-bottom: 2px solid #38bdf8;
}

.console-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.btn-ctrl {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
}

.btn-ctrl:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-ctrl.play-btn {
  width: 58px;
  height: 58px;
  background: var(--brand-blue);
  border: none;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ================= VEHICLE CHECKER ================= */
.checker-section {
  padding: 60px 0;
  background: #ffffff;
  border-block: 1px solid var(--border-color);
}

.checker-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: center;
}

.checker-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.checker-text p {
  color: var(--text-muted);
  font-size: 14px;
}

.checker-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.checker-form select {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
}

/* ================= CHANNELS SECTION ================= */
.section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 45px;
  text-align: center;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 10px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.channel-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

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

.channel-body {
  padding: 24px 26px 12px;
}

.channel-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.channel-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.channel-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.channel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding: 16px 26px 20px;
}

.ch-num {
  font-weight: 800;
  color: var(--text-main);
  font-size: 13px;
  background: var(--bg-soft);
  padding: 4px 8px;
  border-radius: 6px;
}

.listen-link {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
}

/* ================= FAQ ACCORDION ================= */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 14px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ================= FOOTER ================= */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
}

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

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

/* ================= PERFECT MOBILE RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .checker-box {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

@media (max-width: 600px) {
  .channel-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    width: min(calc(100% - 24px), var(--container-width));
  }
}