/* Base */
:root {
  --bg: #0B0B0F;
  --card: #121218;
  --card-light: #1a1a24;
  --text: #EDEDF1;
  --muted: #ACACB8;
  --accent: #FFD166;
  --accent-2: #7CFFCB;
  --ring: 0 0 40px rgba(255,209,102,.25), 0 0 80px rgba(124,255,203,.15);
  --glow-intensity: 1;
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-primary);
  background:
    radial-gradient(1200px 600px at 60% -10%, rgba(124,255,203,.06), transparent 60%),
    radial-gradient(1000px 500px at 20% 10%, rgba(255,209,102,.05), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Header */
.site-header {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 16px 20px; 
  position: sticky; 
  top: 0; 
  z-index: 100;
  background: rgba(11,11,15,.8); 
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11,11,15,.95);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex; 
  gap: 10px; 
  align-items: center; 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 700; 
  letter-spacing: .2px;
  font-size: 18px;
}

.brand img {
  filter: drop-shadow(0 0 8px rgba(255,209,102,.5));
  transition: all 0.3s ease;
}

.brand:hover img {
  filter: drop-shadow(0 0 12px rgba(255,209,102,.8));
  transform: scale(1.05);
}

.nav {
  display: flex; 
  gap: 24px;
}

.nav a {
  color: var(--muted); 
  text-decoration: none; 
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none; 
  background: none; 
  border: 0; 
  width: 40px; 
  height: 40px; 
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute; 
  left: 8px; 
  right: 8px; 
  height: 2px; 
  background: var(--text); 
  transition: .3s;
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

@media (max-width: 820px) {
  .nav {
    position: absolute; 
    top: 64px; 
    right: 12px; 
    background: var(--card); 
    padding: 12px 16px; 
    border: 1px solid rgba(255,255,255,.08); 
    border-radius: 12px; 
    display: none; 
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
}

/* Hero */
.hero {
  padding: 96px 20px 48px; 
  position: relative; 
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px; 
  margin: 0 auto; 
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.hero h1 {
  font-size: clamp(36px, 8vw, 72px); 
  margin: 0 0 24px; 
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 0.9;
}

.glow {
  color: var(--accent); 
  text-shadow: 
    0 0 16px rgba(255,209,102,.35), 
    0 0 36px rgba(255,209,102,.2),
    0 0 60px rgba(255,209,102,.1);
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from { 
    text-shadow: 
      0 0 16px rgba(255,209,102,.35), 
      0 0 36px rgba(255,209,102,.2),
      0 0 60px rgba(255,209,102,.1);
  }
  to { 
    text-shadow: 
      0 0 24px rgba(255,209,102,.5), 
      0 0 48px rgba(255,209,102,.3),
      0 0 80px rgba(255,209,102,.2);
  }
}

.hero p {
  color: var(--muted); 
  font-size: clamp(18px, 2.5vw, 24px); 
  margin: 0 auto 32px; 
  max-width: 600px;
  font-weight: 400;
}

.cta {
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin: 32px 0;
}

.btn {
  display: inline-block; 
  padding: 16px 32px; 
  border-radius: 12px; 
  text-decoration: none; 
  font-weight: 700; 
  border: 1px solid rgba(255,255,255,.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #fff3c4); 
  color: #1a1a1a; 
  box-shadow: var(--ring);
  border: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 40px rgba(255,209,102,.35), 
    0 0 80px rgba(124,255,203,.2),
    0 10px 40px rgba(0,0,0,.3);
}

.btn.secondary {
  background: linear-gradient(135deg, var(--accent-2), #a8ffdb); 
  color: #1a1a1a; 
  box-shadow: 0 0 20px rgba(124,255,203,.25);
  border: none;
}

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 0 30px rgba(124,255,203,.4), 
    0 10px 40px rgba(0,0,0,.3);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

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

.trust {
  display: flex; 
  gap: 16px; 
  list-style: none; 
  padding: 0; 
  margin: 24px 0 0; 
  justify-content: center; 
  color: var(--muted); 
  flex-wrap: wrap;
}

.trust li {
  padding: 8px 16px; 
  background: rgba(255,255,255,.06); 
  border: 1px solid rgba(255,255,255,.08); 
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

/* Hero Preview */
.hero-preview {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.sign-preview {
  position: relative;
  width: 300px;
  height: 120px;
  margin: 0 auto 20px;
  perspective: 1000px;
}

.sign-housing {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,.1);
  overflow: hidden;
  transform: rotateX(5deg);
  box-shadow: 
    0 10px 40px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.led-strip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: rgba(255,209,102,.8);
  border-radius: 8px;
  box-shadow: 
    0 0 20px rgba(255,209,102,.6),
    inset 0 0 20px rgba(255,255,255,.3);
  animation: led-glow 2s ease-in-out infinite alternate;
}

@keyframes led-glow {
  from { 
    box-shadow: 
      0 0 20px rgba(255,209,102,.6),
      inset 0 0 20px rgba(255,255,255,.3);
  }
  to { 
    box-shadow: 
      0 0 30px rgba(255,209,102,.8),
      inset 0 0 30px rgba(255,255,255,.5);
  }
}

.numbers {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
  letter-spacing: 4px;
}

.light-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,209,102,.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse-large 3s ease-in-out infinite alternate;
}

@keyframes glow-pulse-large {
  from { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.preview-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 0 auto;
}

.control-btn {
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.control-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
}

.control-btn.active {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255,209,102,.4);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 80px 20px;
  position: relative;
}

.section > h2 {
  text-align: center; 
  font-size: clamp(32px, 6vw, 48px); 
  margin: 0 0 48px;
  font-family: var(--font-display);
  font-weight: 700;
}

.grid {
  display: grid; 
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Cards */
.features-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card); 
  border: 1px solid rgba(255,255,255,.08); 
  border-radius: 20px; 
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,209,102,.05), rgba(124,255,203,.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.icon-glow {
  display: inline-block;
  padding: 16px;
  background: var(--card-light);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 20px rgba(255,209,102,.2);
}

.icon-glow svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.feature-card h3 {
  margin: 0 0 16px; 
  font-size: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.feature-card p {
  margin: 0; 
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Feature-specific enhancements */
.feature-demo {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.visibility-demo {
  background: linear-gradient(to bottom, #1a1a2e, #16213e);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  height: 100px;
  overflow: hidden;
}

.street-view {
  position: relative;
  width: 100%;
  height: 100%;
}

.house {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 4px 4px 0 0;
}

.sign-lit {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,209,102,.8);
  animation: sign-glow 2s ease-in-out infinite alternate;
}

@keyframes sign-glow {
  from { box-shadow: 0 0 10px rgba(255,209,102,.8); }
  to { box-shadow: 0 0 20px rgba(255,209,102,1); }
}

.style-showcase {
  margin-top: 20px;
}

.style-options {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.style-option {
  padding: 6px 12px;
  background: var(--card-light);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.style-option:hover {
  background: rgba(255,209,102,.2);
  border-color: rgba(255,209,102,.4);
}

.power-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.stat {
  text-align: center;
}

.stat .number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat .label {
  font-size: 12px;
  color: var(--muted);
}

.timeline {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-text {
  font-size: 12px;
  color: var(--muted);
}

/* Gallery */
.gallery-controls {
  margin-bottom: 32px;
  text-align: center;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-tab:hover {
  background: rgba(255,255,255,.1);
  color: var(--text);
}

.filter-tab.active {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
  font-weight: 600;
}

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

.gallery-item {
  position: relative;
  margin: 0; 
  background: var(--card); 
  border: 1px solid rgba(255,255,255,.08); 
  border-radius: 16px; 
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  border-color: rgba(255,255,255,.15);
}

.gallery-item img {
  display: block; 
  width: 100%; 
  height: 280px; 
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

.overlay-content h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 16px;
}

.overlay-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-item figcaption {
  position: static; 
  padding: 16px; 
  color: var(--muted); 
  text-align: center; 
  background: none;
  font-size: 14px;
}

@media (max-width: 900px) { 
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

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

/* Before & After */
.before-after-container {
  max-width: 800px;
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before-image {
  left: 0;
}

.after-image {
  right: 0;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.3s ease;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0,0,0,.7);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.before-image .label {
  left: 20px;
}

.after-image .label {
  right: 20px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent);
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255,209,102,.8);
}

.handle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #1a1a1a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255,209,102,.6);
}

/* Pricing */
.pricing-cards {
  display: grid; 
  gap: 32px; 
  grid-template-columns: repeat(3, 1fr); 
  max-width: 1200px; 
  margin: 0 auto;
}

.card {
  background: var(--card); 
  border: 1px solid rgba(255,255,255,.08); 
  border-radius: 20px; 
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,209,102,.05), rgba(124,255,203,.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.card:hover::before {
  opacity: 1;
}

.card.featured {
  outline: 2px solid var(--accent); 
  box-shadow: var(--ring);
  transform: scale(1.05);
}

.card.featured::before {
  opacity: 1;
}

.badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.price {
  font-size: 48px; 
  font-weight: 800; 
  margin: 16px 0 24px;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.card ul {
  margin: 0 0 32px; 
  padding: 0; 
  color: var(--muted);
  list-style: none;
  position: relative;
  z-index: 2;
}

.card li {
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
}

.card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: bold;
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-details h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.contact-details a,
.contact-details p {
  color: var(--muted);
  text-decoration: none;
  margin: 0;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--card);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 20px;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--text);
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .card.featured {
    transform: none;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hero-preview {
    margin-top: 40px;
  }
  
  .hero-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
  
  .hero p {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .sign-preview {
    width: 280px;
    height: 110px;
  }
  
  .numbers {
    font-size: 42px;
  }
  
  .preview-controls {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .control-btn {
    width: 200px;
    font-size: 11px;
    padding: 12px 16px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none; }
.visible { display: block; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav a:focus,
.control-btn:focus,
.filter-tab:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --bg: #000000;
    --card: #111111;
    --text: #ffffff;
    --muted: #cccccc;
    --accent: #ffff00;
    --accent-2: #00ffff;
  }
}