/* ==========================================================================
   RingMe Landing Page & Sticker Generator Stylesheet
   Modern, Mobile-First, Responsive & Print-Optimized
   ========================================================================== */

:root {
  --primary: #0A84FF;
  --primary-hover: #0066FF;
  --primary-dark: #0040C1;
  --accent-gold: #FFD60A;
  --accent-red: #FF3B30;
  --accent-green: #34C759;
  
  --bg-dark: #0F172A;
  --bg-darker: #080D1A;
  --surface-dark: #1E293B;
  --surface-light: #F8FAFC;
  --card-border: rgba(255, 255, 255, 0.08);

  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.25);
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-darker);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Helpers
   ========================================================================== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

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

.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #FFD60A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(10, 132, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(10, 132, 255, 0.25);
}

.section-tag.highlight {
  color: var(--accent-gold);
  background: rgba(255, 214, 10, 0.12);
  border-color: rgba(255, 214, 10, 0.3);
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10, 132, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

.btn-store {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}

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

.store-icon {
  width: 28px;
  height: 28px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-main {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 50% 10%, rgba(10, 132, 255, 0.15), transparent 60%);
  position: relative;
}

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

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4ADE80;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #34C759;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

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

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

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

.stat-item strong {
  font-size: 1.4rem;
  color: #fff;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--card-border);
}

/* Phone Mockup in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 600px;
  background: #000;
  border: 10px solid #2D3748;
  border-radius: 46px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #2D3748;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: linear-gradient(180deg, #0D1629 0%, #172445 100%);
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.incoming-ring-card {
  width: 100%;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}

.bell-wave-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bell-icon-pulse {
  font-size: 2.4rem;
  z-index: 2;
  animation: shakeBell 1.2s infinite;
}

@keyframes shakeBell {
  0% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-8deg); }
  50% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.ring-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  animation: pulseOut 2s infinite ease-out;
}

.ring-pulse-ring.delay {
  animation-delay: 0.8s;
}

@keyframes pulseOut {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.ring-status-badge {
  display: inline-block;
  background: #EF4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

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

.visitor-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.incoming-timer {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.incoming-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  flex: 1;
  padding: 12px 6px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s;
}

.action-btn:active {
  transform: scale(0.96);
}

.talk-btn {
  background: #3B82F6;
  color: #fff;
}

.open-btn {
  background: #10B981;
  color: #fff;
}

/* ==========================================================================
   Soundboard Section
   ========================================================================== */
.soundboard-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.sound-card {
  background: var(--surface-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sound-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.sound-card.featured {
  border-color: rgba(255, 59, 48, 0.5);
  box-shadow: 0 0 30px rgba(255, 59, 48, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.sound-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.sound-icon-box.electric {
  background: rgba(10, 132, 255, 0.15);
  color: #38BDF8;
}

.sound-icon-box.super {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.sound-icon-box.ding {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.sound-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.sound-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sound-play-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sound-card:hover .sound-play-btn {
  background: var(--primary);
  border-color: var(--primary);
}

.sound-card.featured:hover .sound-play-btn {
  background: #EF4444;
  border-color: #EF4444;
}

/* ==========================================================================
   Sticker Generator & Door Placard (Printable!)
   ========================================================================== */
.sticker-section {
  position: relative;
}

.generator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.generator-controls {
  background: var(--surface-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

.theme-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.theme-btn {
  padding: 10px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: #0F172A;
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.theme-btn.active {
  border-color: var(--accent-gold);
  background: rgba(255, 214, 10, 0.1);
  color: #fff;
}

.generator-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.helper-text {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   Placard Design (Yellow / Dark / Clean)
   ========================================================================== */
.sticker-preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sticker-placard {
  width: 380px;
  min-height: 520px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: all 0.3s ease;
  user-select: none;
}

/* Hazard Warning Stripes */
.placard-hazard-bar {
  height: 22px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #000000,
    #000000 14px,
    #FFD60A 14px,
    #FFD60A 28px
  );
}

.placard-content {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
}

/* Placard Theme: Yellow Security (Default) */
.sticker-placard.theme-yellow {
  background: #FFDD00;
  color: #000000;
  border: 4px solid #000000;
}

.sticker-placard.theme-yellow .placard-alert-title {
  background: #000000;
  color: #FFDD00;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.sticker-placard.theme-yellow .placard-dept {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #000000;
  margin-top: 4px;
}

.sticker-placard.theme-yellow .placard-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333333;
}

/* Placard QR Box */
.placard-qr-box {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 14px;
  border: 3px solid #000000;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode-canvas img,
#qrcode-canvas canvas {
  display: block;
  width: 160px !important;
  height: 160px !important;
}

.qr-overlay-logo {
  position: absolute;
  width: 36px;
  height: 36px;
  background: #000000;
  color: #FFD60A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid #FFFFFF;
}

.scan-arrow {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.instruction-body {
  font-size: 0.95rem;
  font-weight: 700;
  max-width: 280px;
  line-height: 1.35;
  margin: 6px auto;
}

.placard-pill {
  display: inline-block;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.placard-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.footer-brand {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.footer-sub {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Theme: Dark */
.sticker-placard.theme-dark {
  background: #0F172A;
  color: #FFFFFF;
  border: 4px solid #334155;
}
.sticker-placard.theme-dark .placard-hazard-bar {
  background: repeating-linear-gradient(-45deg, #1E293B, #1E293B 14px, #0A84FF 14px, #0A84FF 28px);
}
.sticker-placard.theme-dark .placard-alert-title {
  background: #0A84FF;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.sticker-placard.theme-dark .placard-dept {
  color: #FFFFFF;
}
.sticker-placard.theme-dark .placard-name {
  color: #94A3B8;
}
.sticker-placard.theme-dark .placard-qr-box {
  background: #FFFFFF;
  border-color: #0A84FF;
}
.sticker-placard.theme-dark .qr-overlay-logo {
  background: #0A84FF;
  color: #FFFFFF;
}
.sticker-placard.theme-dark .scan-arrow {
  color: #38BDF8;
}
.sticker-placard.theme-dark .placard-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Theme: Clean White */
.sticker-placard.theme-clean {
  background: #FFFFFF;
  color: #0F172A;
  border: 4px solid #E2E8F0;
}
.sticker-placard.theme-clean .placard-hazard-bar {
  background: repeating-linear-gradient(-45deg, #CBD5E1, #CBD5E1 14px, #0A84FF 14px, #0A84FF 28px);
}
.sticker-placard.theme-clean .placard-alert-title {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.sticker-placard.theme-clean .placard-dept {
  color: #0F172A;
}
.sticker-placard.theme-clean .placard-name {
  color: #64748B;
}
.sticker-placard.theme-clean .placard-qr-box {
  border-color: #0F172A;
}
.sticker-placard.theme-clean .qr-overlay-logo {
  background: #0F172A;
  color: #FFD60A;
}
.sticker-placard.theme-clean .scan-arrow {
  color: #0A84FF;
}
.sticker-placard.theme-clean .placard-pill {
  background: #F1F5F9;
  color: #475569;
  border-color: #CBD5E1;
}

/* ==========================================================================
   Triggers & Use Cases
   ========================================================================== */
.triggers-section {
  background: var(--bg-dark);
}

.triggers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.trigger-card {
  background: var(--surface-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.trigger-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.trigger-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(255, 214, 10, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.trigger-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.trigger-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.trigger-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trigger-benefit {
  margin-top: auto;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10B981;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #E2E8F0;
  font-size: 0.92rem;
}

.trigger-benefit strong {
  color: #34D399;
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */
.how-it-works-section {
  background: var(--bg-darker);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: var(--surface-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--bg-dark);
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0A84FF 0%, #0040C1 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner-section h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
}

.cta-banner-section .btn-primary {
  background: #FFD60A;
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cta-banner-section .btn-primary:hover {
  background: #FFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.social-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-tag {
  color: var(--accent-gold) !important;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  text-align: center;
  color: #64748B;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .generator-layout {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .sound-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .triggers-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
  }
  .sticker-placard {
    width: 100%;
    max-width: 340px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Print Stylesheet: PRINTS ONLY THE DOOR PLACARD!
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  
  .sticker-preview-wrapper,
  .sticker-preview-wrapper * {
    visibility: visible;
  }
  
  .sticker-preview-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .sticker-placard {
    box-shadow: none !important;
    border: 4px solid #000 !important;
    page-break-inside: avoid;
    width: 100% !important;
    max-width: 480px !important;
  }

  .placard-hazard-bar {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
