/* ==========================================================================
   SpotiDown - Production-Grade Mobile-First Responsive Design System
   Breakpoints: Mobile (<600px), Tablet (600px-1024px), Desktop (>1024px)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --bg-dark: #07120a;
  --bg-darker: #040905;
  --bg-surface: #0d1f13;
  --bg-surface-elevated: #142e1c;
  --bg-glass: rgba(13, 31, 19, 0.92);
  --bg-glass-card: rgba(20, 46, 28, 0.65);

  --primary: #eeda2b;
  --primary-hover: #f5e44a;
  --primary-glow: rgba(238, 218, 43, 0.28);
  --primary-glow-strong: rgba(238, 218, 43, 0.5);

  --spotify-green: #1db954;
  --spotify-green-hover: #1ed760;
  --spotify-green-glow: rgba(29, 185, 84, 0.35);

  --coffee-yellow: #ffdd00;
  --coffee-hover: #ebcc00;
  --coffee-glow: rgba(255, 221, 0, 0.35);

  --text-main: #ffffff;
  --text-muted: #a3b8aa;
  --text-dim: #6c8374;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(238, 218, 43, 0.35);
  --border-green: rgba(29, 185, 84, 0.35);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px var(--primary-glow);
  --shadow-coffee: 0 0 30px -5px var(--coffee-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #12281a 0%, var(--bg-dark) 55%);
  min-height: 100vh;
}

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

button {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background Ambient Glow */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 480px;
  background: radial-gradient(circle, rgba(238, 218, 43, 0.12) 0%, rgba(29, 185, 84, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Responsive Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #d4b815 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-darker);
  font-size: 1.15rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  min-height: 40px;
  min-width: 40px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px 16px 24px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-card);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Standard Responsive Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover, .btn-primary:active {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow-strong);
}

.btn-coffee {
  background: var(--coffee-yellow);
  color: #000000;
  box-shadow: 0 4px 14px var(--coffee-glow);
}

.btn-coffee:hover, .btn-coffee:active {
  background: var(--coffee-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--coffee-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover, .btn-secondary:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
  min-height: 50px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(238, 218, 43, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 16px;
  word-break: break-word;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #fff176 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 28px;
  width: 100%;
  max-width: 480px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    max-width: none;
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spotify-green);
  flex-shrink: 0;
}

/* App Phone Mockup in Hero */
.hero-phone-container {
  margin: 36px auto 0;
  max-width: 320px;
  width: 100%;
  position: relative;
}

@media (min-width: 640px) {
  .hero-phone-container {
    max-width: 340px;
  }
}

.phone-mockup-frame {
  background: #040905;
  border: 4px solid #1a3823;
  border-radius: 38px;
  padding: 8px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.phone-mockup-frame img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

/* Floating Feature Badges around Hero Phone */
.floating-badge {
  position: absolute;
  background: rgba(16, 38, 24, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 15px var(--primary-glow);
  backdrop-filter: blur(10px);
  z-index: 10;
  white-space: nowrap;
}

.floating-badge-left {
  top: 25%;
  left: -120px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-right {
  bottom: 25%;
  right: -120px;
  animation: float 4s ease-in-out infinite 2s;
}

@media (max-width: 900px) {
  .floating-badge {
    display: none; /* Hide floating badges on smaller screens to prevent overflow */
  }
}

/* Screenshots Showcase Section */
.screenshots-section {
  padding: 60px 0;
  position: relative;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.screenshot-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), 0 0 25px var(--primary-glow);
}

.screenshot-img-box {
  width: 100%;
  max-width: 260px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  margin-bottom: 16px;
  background: #000;
  position: relative;
}

.screenshot-img-box img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.screenshot-zoom-overlay .zoom-icon {
  background: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.screenshot-card:hover .screenshot-zoom-overlay {
  opacity: 1;
}

.screenshot-card:hover .screenshot-zoom-overlay .zoom-icon {
  transform: translateY(0);
}

.screenshot-card:hover .screenshot-img-box img {
  transform: scale(1.04);
}

.screenshot-info {
  width: 100%;
}

.screenshot-tag {
  display: inline-block;
  background: rgba(238, 218, 43, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.screenshot-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.screenshot-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trust Proof Badges Strip */
.trust-proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.trust-proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-proof-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(238, 218, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 218, 43, 0.2);
}

.trust-proof-text {
  display: flex;
  flex-direction: column;
}

.trust-proof-text strong {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 800;
}

.trust-proof-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-proof-text code {
  background: rgba(255,255,255,0.08);
  padding: 1px 4px;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.75rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
  max-height: 94vh;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--primary);
  color: #000;
}

.lightbox-phone-wrapper {
  max-height: 65vh;
  display: flex;
  justify-content: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-glow);
  border: 3px solid rgba(238, 218, 43, 0.35);
  background: #000;
}

.lightbox-phone-wrapper img {
  max-height: 65vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

@media (min-width: 768px) {
  .lightbox-prev {
    left: -60px;
  }
  .lightbox-next {
    right: -60px;
  }
}

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  max-width: 520px;
  background: rgba(15, 17, 16, 0.9);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
}

.lightbox-caption h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin: 6px 0 4px 0;
}

.lightbox-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.lightbox-counter {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6), 0 0 18px -5px var(--primary-glow);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(238, 218, 43, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-darker);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Direct APK Download Section */
.download-box {
  background: linear-gradient(135deg, rgba(20, 46, 28, 0.95) 0%, rgba(13, 31, 19, 0.98) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px 18px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .download-box {
    padding: 44px 32px;
  }
}

.download-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0 24px;
}

@media (min-width: 600px) {
  .download-specs {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.spec-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.spec-item strong {
  color: var(--text-main);
  display: block;
}

/* Buy Me A Coffee Donation Section */
.coffee-section {
  background: radial-gradient(circle at 50% 50%, rgba(255, 221, 0, 0.08) 0%, transparent 70%);
}

.coffee-card {
  background: linear-gradient(135deg, #182516 0%, #111d13 100%);
  border: 1.5px solid rgba(255, 221, 0, 0.4);
  border-radius: var(--radius-xl);
  padding: 32px 18px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), var(--shadow-coffee);
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .coffee-card {
    padding: 44px 32px;
  }
}

.coffee-icon-large {
  font-size: 2.8rem;
  margin-bottom: 10px;
  display: inline-block;
}

.coffee-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 20px auto;
  max-width: 480px;
}

@media (min-width: 600px) {
  .coffee-tiers {
    grid-template-columns: repeat(4, 1fr);
  }
}

.coffee-tier-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 221, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--coffee-yellow);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.coffee-tier-btn:hover, .coffee-tier-btn:active {
  background: var(--coffee-yellow);
  color: #000000;
  transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
  line-height: 1.4;
  min-height: 48px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 18px 16px;
}

/* Installation Guide Page */
.guide-header {
  padding: 40px 0 24px;
  text-align: center;
}

.guide-step-block {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

@media (min-width: 680px) {
  .guide-step-block {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 26px 22px;
  }
}

.guide-step-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(238, 218, 43, 0.15);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step-content {
  width: 100%;
  min-width: 0;
}

.guide-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.3;
}

.guide-step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.55;
}

.guide-callout {
  background: rgba(238, 218, 43, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-top: 10px;
  word-break: break-word;
}

.device-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  margin-top: 18px;
}

.device-tip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.device-tip-card h4 {
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.device-tip-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  padding: 44px 0 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.55;
  font-size: 0.85rem;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  font-size: 0.78rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-disclaimer {
  max-width: 800px;
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Responsive Navigation Breakpoint */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn-coffee {
    display: none;
  }
}
