/* ==========================================================================
   RadioPulse — Modern Automotive & Mobile Product Landing Page Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(18, 22, 34, 0.7);
  --bg-card-hover: rgba(28, 34, 52, 0.85);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-glass-highlight: rgba(255, 255, 255, 0.15);

  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-blue: #3b82f6;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 35px var(--accent-cyan-glow);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* Glow Orbs Background */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00f0ff, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 30%;
  right: -200px;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  bottom: 10%;
  left: 10%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #00a2ff 100%);
  color: #040d1a;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--bg-glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.pill-cyan {
  border-color: rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.08);
}

.pill-purple {
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
  animation: pulse 2s infinite;
}

.live-dot-blink {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 16px;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-text span {
  color: var(--accent-cyan);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-description strong {
  color: #fff;
}

.download-badges-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  min-width: 175px;
}

.store-badge-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.ios-badge:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.android-badge:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.store-icon {
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-text .subtext {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.store-badge-text .maintext {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--bg-glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-separator {
  width: 1px;
  height: 36px;
  background-color: var(--bg-glass-border);
}

/* Phone Mockup in Hero */
.mockup-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
}

.phone-frame {
  width: 100%;
  height: 580px;
  background: #000;
  border: 8px solid #232a3b;
  border-radius: 46px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.camera-lens {
  width: 8px;
  height: 8px;
  background: #08111f;
  border: 1px solid #1a2538;
  border-radius: 50%;
}

.speaker-grille {
  width: 36px;
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
}

.phone-screen {
  padding: 50px 20px 24px;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, #151a2e 0%, #080a10 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-pill {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.current-album-art {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 10px auto;
  border-radius: 28px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.album-art-inner {
  color: var(--accent-cyan);
}

.vinyl-glow {
  position: absolute;
  inset: -10px;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent 70%);
  z-index: -1;
}

.screen-track-info {
  text-align: center;
}

.screen-station-name {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.screen-song-title {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 8px;
}

.screen-bitrate-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Mini Equalizer */
.mini-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 24px;
  margin-block: 8px;
}

.eq-bar {
  width: 4px;
  background: linear-gradient(to top, #00f0ff, #8b5cf6);
  border-radius: 2px;
  animation: equalize 1.2s infinite ease-in-out;
}

.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.5s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: 0.2s; }
.eq-bar:nth-child(5) { height: 50%; animation-delay: 0.4s; }
.eq-bar:nth-child(6) { height: 75%; animation-delay: 0.6s; }
.eq-bar:nth-child(7) { height: 90%; animation-delay: 0.25s; }
.eq-bar:nth-child(8) { height: 45%; animation-delay: 0.35s; }

@keyframes equalize {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.screen-controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-block: 6px;
}

.screen-btn {
  color: var(--text-secondary);
}

.screen-btn.active {
  color: #ef4444;
}

.screen-btn-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff, #0099ff);
  color: #040d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.badge-carplay {
  top: 15%;
  left: -65px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  animation: float 5s ease-in-out infinite;
}

.badge-android {
  bottom: 20%;
  right: -60px;
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.3);
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* General Section Structure */
.section {
  padding-block: 100px;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* In-Car Automotive Showcase */
.incar-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-full);
  margin-top: 24px;
}

.switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.switcher-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.2));
  color: #fff;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
}

.car-dash-frame {
  max-width: 960px;
  margin-inline: auto;
  background: #11141e;
  border: 12px solid #1e2434;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 240, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.dash-bezel {
  display: grid;
  grid-template-columns: 80px 1fr;
  min-height: 440px;
}

.dash-sidebar {
  background: #090b10;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10px;
}

.dash-time {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.dash-home-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.dash-home-btn:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.dash-home-circle {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid #fff;
}

.dash-side-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
}

.dash-viewport {
  background: #0d1017;
  position: relative;
  overflow: hidden;
}

/* CarPlay UI Implementation */
.incar-view {
  display: none;
  height: 100%;
  flex-direction: column;
}

.incar-view.active {
  display: flex;
}

.carplay-header-tabs {
  display: flex;
  background: #141822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  gap: 12px;
}

.carplay-tab {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.carplay-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.carplay-content-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  flex: 1;
  overflow: hidden;
}

.carplay-list-section {
  padding: 12px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.carplay-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.carplay-list-item:hover, .carplay-list-item.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.25);
}

.cp-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.cp-item-meta {
  flex: 1;
  min-width: 0;
}

.cp-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cp-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: #10b981;
  color: #032b1d;
  font-weight: 700;
  border-radius: 4px;
}

.carplay-nowplaying-card {
  background: #121622;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cp-np-artwork {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #00f0ff, #8b5cf6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cp-waves-anim {
  display: flex;
  gap: 4px;
  height: 30px;
  align-items: flex-end;
}

.cp-waves-anim span {
  width: 5px;
  background: #090b10;
  border-radius: 2px;
  animation: equalize 1s infinite alternate ease-in-out;
}

.cp-waves-anim span:nth-child(1) { height: 40%; }
.cp-waves-anim span:nth-child(2) { height: 90%; animation-delay: 0.2s; }
.cp-waves-anim span:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.cp-waves-anim span:nth-child(4) { height: 100%; animation-delay: 0.1s; }

.cp-np-pill {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cp-np-station {
  font-size: 1.15rem;
  margin-top: 4px;
  color: #fff;
}

.cp-np-track {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cp-np-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cp-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cp-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cp-action-play {
  width: 54px;
  height: 54px;
  background: #fff;
  color: #090b10;
}

.cp-action-play:hover {
  background: var(--accent-cyan);
}

/* Android Auto UI Implementation */
.androidauto-view {
  background: #0e1118;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aa-top-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.aa-search-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #181d28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.aa-chips {
  display: flex;
  gap: 8px;
}

.aa-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.aa-chip.active {
  background: #3b82f6;
  color: #fff;
}

.aa-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.aa-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #151a24;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.aa-card:hover, .aa-card.active {
  background: #1c2332;
  border-color: #3b82f6;
}

.aa-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.color-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.color-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.color-teal { background: linear-gradient(135deg, #14b8a6, #10b981); }
.color-orange { background: linear-gradient(135deg, #f97316, #eab308); }

.aa-card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.aa-card-text strong {
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aa-card-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dot-live {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.aa-bottom-dock {
  background: #151b26;
  border-radius: 18px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.aa-dock-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aa-dock-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aa-dock-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.aa-dock-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.aa-dock-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aa-icon-btn {
  color: var(--text-secondary);
  padding: 6px;
}

.aa-icon-btn:hover {
  color: #fff;
}

.aa-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature Row below in-car */
.dash-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.dash-feat-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  padding: 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.dash-feat-icon {
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.dash-feat-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.dash-feat-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dash-feat-box code {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Live Web Player Section */
.live-player-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

.player-card-wrapper {
  max-width: 900px;
  margin-inline: auto;
}

.player-glass-card {
  background: rgba(18, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.15);
}

.player-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-glass-border);
}

.stream-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #10b981;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
}

.player-codec-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
}

.player-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.visualizer-container {
  position: relative;
  background: #090c14;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#audioVisualizerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.visualizer-overlay-info {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.player-details {
  display: flex;
  flex-direction: column;
}

.active-station-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tag-genre {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border-radius: 6px;
}

.tag-country {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.active-station-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #fff;
}

.active-song-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.stream-streamline {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-bottom: 24px;
  overflow: hidden;
}

.stream-streamline-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #8b5cf6);
  border-radius: 2px;
}

.playback-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-ctrl {
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 6px;
}

.btn-ctrl:hover {
  color: #fff;
  transform: scale(1.1);
}

.btn-play-hero {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  color: #060b14;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
  transition: var(--transition);
}

.btn-play-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.6);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.volume-icon-btn {
  color: var(--text-secondary);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00f0ff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.demo-stations-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-glass-border);
  flex-wrap: wrap;
}

.demo-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.demo-station-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.station-pill-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.station-pill-btn:hover, .station-pill-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.4);
  color: #fff;
}

/* Feature Grid Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.feat-icon-glow {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Directory Section */
.genre-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.genre-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.genre-filter-btn:hover, .genre-filter-btn.active {
  background: #fff;
  color: #040d1a;
  border-color: #fff;
  font-weight: 600;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.station-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.station-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
}

.st-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.st-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.st-bitrate {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--text-muted);
}

.st-card-name {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fff;
}

.st-card-genre {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.st-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.st-country {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.st-play-link {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Compatibility Comparison Table */
.platform-table-card {
  max-width: 900px;
  margin-inline: auto;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.compat-table {
  width: 100%;
  border-collapse: collapse;
}

.compat-table th, .compat-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--bg-glass-border);
}

.compat-table th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
}

.th-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-sub-icon {
  font-size: 1.2rem;
}

.compat-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.compat-table code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
}

.check-mark {
  color: #10b981;
  font-weight: 700;
  margin-right: 6px;
}

/* FAQ Section */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.faq-icon {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-inline: 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer code {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.2);
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--bg-glass-border);
  padding-block: 60px 30px;
  background: #05070a;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 14px;
  max-width: 360px;
}

.footer-legal-copy {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h5 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--accent-cyan);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #111520;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-option-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.opt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.opt-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.opt-badge.ios {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.opt-badge.android {
  background: rgba(0, 240, 255, 0.2);
  color: #00f0ff;
}

.modal-option-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .download-badges-group {
    justify-content: center;
  }

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

  .floating-badge {
    display: none;
  }

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

  .player-main-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #090c14;
    border-bottom: 1px solid var(--bg-glass-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

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

  .carplay-content-body {
    grid-template-columns: 1fr;
  }

  .carplay-nowplaying-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dash-bezel {
    grid-template-columns: 60px 1fr;
  }

  .aa-grid-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
