/*

Theme Name: RADIIO XM FOR CARS

Theme URI: https://radiioxmforcars.com/

Author: Trishala

Description: Custom and Professional Radio Xm For Cars theme

Version: 1.0

*/
 
:root {
  --bg-main: #111418;
  --bg-surface: #181d24;
  --bg-card: #202630;
  
  --border-color: #2b3340;
  --border-subtle: #222933;
  
  --primary: #10b981;        /* Soft Emerald Green (Eye-friendly) */
  --primary-hover: #059669;
  --accent: #f59e0b;         /* Warm Amber/Gold */
  
  --text-main: #e5e7eb;      /* Off-white */
  --text-muted: #9ca3af;     /* Muted grey */
  --text-subtle: #6b7280;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #0d1117;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: #262e3a;
  border-color: #3b4556;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(17, 20, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 140px 0 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-disclaimer {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.player-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(24, 29, 36, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.card-status {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-wave {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  margin-bottom: 10px;
}

.card-wave span {
  width: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: wave 1.2s infinite ease-in-out;
}

.card-wave span:nth-child(2) { animation-delay: 0.2s; }
.card-wave span:nth-child(3) { animation-delay: 0.4s; }
.card-wave span:nth-child(4) { animation-delay: 0.1s; }
.card-wave span:nth-child(5) { animation-delay: 0.3s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

.player-overlay-card h3 {
  font-size: 1rem;
}

.player-overlay-card .artist {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CHECKER SECTION
   ========================================================================== */
.checker-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.checker-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
}

.checker-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group select {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.9rem;
}

.lookup-vin {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.vin-input-group {
  display: flex;
  gap: 10px;
}

.vin-input-group input {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  width: 260px;
  outline: none;
  font-size: 0.85rem;
}

/* ==========================================================================
   HARDWARE SECTION
   ========================================================================== */
.hardware-section {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.product-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.product-img-box {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--bg-main);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.05rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 8px 0 16px;
  flex-grow: 1;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-img-wrapper {
  height: 130px;
  overflow: hidden;
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-info {
  padding: 18px;
}

.feature-info h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================================
   ACTIVATION STEPS
   ========================================================================== */
.steps-section {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
}

.step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.faq-item summary {
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  color: #ffffff;
  outline: none;
}

.faq-content {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 60px 0 30px;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container,
  .checker-form,
  .product-grid,
  .features-grid,
  .steps-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .lookup-vin {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .nav-links {
    display: none;
  }
}