/* Color system */
:root {
  color-scheme: dark;
  --color-bg: #0a0a0a;
  --color-surface: #1a1a1a;
  --color-surface-elev: #2a2a2a;
  --color-glass: rgba(26,26,26,0.55);
  --color-glass-strong: rgba(18,18,18,0.72);
  --color-primary: #8B5CF6;
  --color-primary-hover: #A78BFA;
  --color-accent: #F59E0B;
  --color-accent-hover: #FBBF24;
  --color-text: #ffffff;
  --color-text-2: #b3b3b3;
  --color-text-muted: #666666;
  --color-border: #333333;
  --color-border-light: #404040;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.60);
}

/* Base */
html, body { height: 100%; max-width: 100vw; overflow-x: hidden; }
html { scroll-behavior: smooth;  overflow-x: hidden; max-width: 100vw; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, system-ui, Segoe UI, Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  max-width: 100vw;
  overflow-x: hidden;
}

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

.container { 
  margin: 0 auto; 
  padding: 0 24px; 
  text-align: center;
}

.section { 
  padding: 100px 0; 
  text-align: center;
}

.section-title { 
  font-size: clamp(28px, 4vw, 40px); 
  line-height: 1.2; 
  font-weight: 700; 
  margin: 0 0 32px; 
  text-align: center;
}

.section-sub { 
  color: var(--color-text-2); 
  margin: 0 0 40px; 
  font-size: clamp(16px, 2vw, 18px);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow { 
  color: var(--color-text-2); 
  text-transform: uppercase; 
  letter-spacing: .08em; 
  font-size: 12px; 
  margin: 0 0 12px; 
  font-weight: 600;
}

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

.chip { 
  font-size: 12px; 
  line-height: 1; 
  padding: 10px 16px; 
  background: rgba(255,255,255,0.08); 
  border-radius: var(--radius-pill); 
  color: var(--color-text-2); 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.chip--check::before { 
  content: ""; 
  width: 14px; 
  height: 14px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%); 
  display: inline-block; 
  box-shadow: 0 0 0 2px rgba(139,92,246,0.18) inset; 
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 28px; line-height: 36px; }
  .container { width: min(95%, 600px); }
}

/* Hero */
.hero { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-align: center;
  padding: 120px 0 60px; 
  position: relative; 
  min-height: 80vh;
}

.hero-logo { 
  width: clamp(200px, 16vw, 320px); 
  height: auto; 
  filter: drop-shadow(0 4px 20px rgba(139,92,246,.25)); 
  margin-bottom: 10px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.headline {
  font-family: 'Mozilla Headline', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 5.5rem);
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .copy h1 { 
  font-size: clamp(36px, 6vw, 64px); 
  line-height: 1.1; 
  font-weight: 700; 
  margin: 20px 0 24px; 
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .copy .sub { 
  font-size: clamp(18px, 2.5vw, 20px); 
  line-height: 1.5; 
  color: var(--color-text-2); 
  margin: 0 0 32px; 
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.kicker { 
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-accent-hover) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Kalam', cursive;
  text-transform: uppercase; 
  letter-spacing: .12em; 
  font-size: 32px; 
  font-weight: 700;
  margin-bottom: 16px;
  animation: gradient-shift 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(139,92,246,0.3));
}

.cta { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 16px; 
  flex-wrap: wrap; 
  margin-top: 20px;
}

.hero::before { 
  content: ""; 
  position: absolute; 
  inset: -20% -20% auto -20%; 
  height: 80%; 
  filter: blur(80px); 
  background: radial-gradient(1000px 600px at 50% 20%, rgba(139,92,246,0.15), transparent 70%); 
  pointer-events: none; 
  z-index: -1;
}

/* Premium Screenshots Showcase */
.screenshots-showcase {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.screenshots-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 1200px 600px at 50% 50%, rgba(139,92,246,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.showcase-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--color-text-2);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.showcase-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Navigation buttons are now positioned absolutely within showcase-viewport */

.nav-button {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-button--prev {
  left: 20px;
}

.nav-button--next {
  right: 20px;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-button:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(139,92,246,0.3);
}

.nav-button:hover::before {
  opacity: 1;
}

.nav-button:active {
  transform: scale(0.95);
}

.showcase-indicators {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(139,92,246,0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indicator:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--color-primary);
  box-shadow: 0 0 20px rgba(139,92,246,0.5);
}

.indicator.active::before {
  opacity: 1;
}

.showcase-viewport {
  position: relative;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.showcase-scroll {
  display: flex;
  gap: 24px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: 120%;
  align-items: center;
  scroll-behavior: smooth;
  /* Center items properly */
  padding-left: calc(50% - 150px);
  padding-right: calc(50% - 150px);
  padding-bottom: 100px;
  padding-top: 100px;
}

.showcase-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item.active {
  transform: translateY(-8px);
}

.screenshot-item.active .screenshot-frame {
  border-color: var(--color-primary);
  box-shadow: 0 40px 100px rgba(139,92,246,0.3);
}

.screenshot-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.1);
  background: var(--color-surface);
  transition: all 0.3s ease;
  max-width: 100%;
  max-height: 480px;
}

.screenshot-frame:hover {
  border-color: var(--color-primary);
  box-shadow: 0 40px 100px rgba(139,92,246,0.3);
  transform: scale(1.02);
}

.screenshot-image {
  height: auto;
  max-height: 500px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.screenshot-image:hover {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
  padding: 40px 24px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.screenshot-frame:hover .screenshot-overlay {
  transform: translateY(0);
}

.screenshot-info h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
}

.screenshot-info p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}

.showcase-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.description-content {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.description-content:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.description-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--color-text);
}

.description-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-2);
  margin: 0;
}

/* Enhanced Screenshot Modal */
.screenshot-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100vw;
}

.screenshot-modal.active {
  opacity: 1;
  overflow: hidden;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  max-width: 100vw;
  overflow: hidden;
}

.modal-content {
  position: relative;
  z-index: 1001;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  overflow: hidden;
  max-width: 100vw;
}

.screenshot-modal.active .modal-content {
  transform: scale(1);
}

.modal-image {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.9);
  border: 2px solid rgba(255,255,255,0.1);
  display: block;
  margin: 0 auto;
  /* Ensure image fits within viewport */
  object-position: center;
}

.modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.modal-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1) rotate(90deg);
  border-color: var(--color-primary);
}

.modal-close:active {
  transform: scale(0.95);
}

/* Navigation arrows */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 16px;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 1002;
}

.modal-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--color-primary);
}

.modal-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-nav--prev {
  left: -80px;
}

.modal-nav--next {
  right: -80px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  /* Ensure modal works well on mobile */
  .screenshot-modal {
    padding: 15px;
  }
  
  .modal-content {
    padding: 15px;
  }
  
  .modal-image {
    max-height: 90vh;
  }
  
  /* Showcase responsive adjustments */
  .screenshots-showcase {
    padding: 80px 0;
  }
  
  .showcase-header {
    margin-bottom: 60px;
  }
  
  /* Navigation buttons are now positioned absolutely */
  
  .showcase-viewport {
    height: 480px;
    margin-bottom: 40px;
  }
  
  .screenshot-image {
    width: 260px;
  }
  
  .nav-button--prev {
    left: -60px;
  }
  
  .nav-button--next {
    right: -60px;
  }
  
  .description-content {
    padding: 30px 24px;
  }
  
  .description-title {
    font-size: 28px;
  }
  
  .description-text {
    font-size: 16px;
  }
  
  .modal-close {
    top: -50px;
    right: 10px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .modal-content {
    max-width: 98vw;
    max-height: 98vh;
    padding: 15px;
    overflow: hidden;
  }
  
  .modal-nav {
    width: 56px;
    height: 56px;
    font-size: 20px;
    padding: 12px;
  }
  
  .modal-nav--prev {
    left: -70px;
  }
  
  .modal-nav--next {
    right: -70px;
  }
}

@media (max-width: 480px) {
  /* Showcase responsive adjustments for small screens */
  .screenshots-showcase {
    padding: 60px 0;
  }
  
  .showcase-header {
    margin-bottom: 40px;
  }
  
  .showcase-title {
    font-size: 28px;
  }
  
  .showcase-subtitle {
    font-size: 16px;
  }
  
  /* Navigation buttons are now positioned absolutely */
  
  .nav-button {
    width: 48px;
    height: 48px;
  }
  
  .nav-button--prev {
    left: 15px;
  }
  
  .nav-button--next {
    right: 15px;
  }
  
  .showcase-viewport {
    height: 440px;
    margin-bottom: 30px;
  }
  
  .screenshot-image {
    width: 220px;
  }
  
  .nav-button--prev {
    left: 10px;
  }
  
  .nav-button--next {
    right: 10px;
  }
  
  .description-content {
    padding: 24px 20px;
  }
  
  .description-title {
    font-size: 24px;
  }
  
  .description-text {
    font-size: 15px;
  }
  
  .modal-nav {
    width: 48px;
    height: 48px;
    font-size: 18px;
    padding: 10px;
  }
  
  .modal-nav--prev {
    left: -60px;
  }
  
  .modal-nav--next {
    right: -60px;
  }
  
  .modal-content {
    max-width: 100vw;
    max-height: 100vh;
    padding: 10px;
  }
  
  .modal-image {
    max-height: 100vh;
  }
  
  .screenshot-modal {
    padding: 10px;
  }
}

/* Cards & grids */
.grid { 
  display: grid; 
  gap: clamp(20px, 3vw, 24px); 
  justify-items: center;
}

.features { 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  align-items: stretch; 
  max-width: 1000px;
  margin: 0 auto;
}

.shots { 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  max-width: 900px;
  margin: 0 auto;
}

.how { 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 960px) { 
  .features { grid-template-columns: 1fr; } 
  .shots, .how { grid-template-columns: 1fr; } 
}

.card { 
  background: var(--color-glass-strong); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  border-radius: var(--radius-lg); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.6); 
  padding: clamp(24px, 3vw, 32px); 
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.card:hover { 
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7); 
  border-color: rgba(255,255,255,0.1);
}

/* Modern Features */
.features-modern .features-head { 
  display: grid; 
  gap: 16px; 
  margin-bottom: 60px; 
  text-align: center;
}

.feature-scroller { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; 
  padding-bottom: 20px; 
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card { 
  position: relative; 
  border-radius: 20px; 
  padding: 32px; 
  background: rgba(18,18,18,0.8); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  box-shadow: 0 12px 40px rgba(0,0,0,.5); 
  overflow: hidden; 
  min-height: 280px; 
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  border-color: rgba(139,92,246,0.2);
}

.feature-card__bg { 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(80% 60% at 20% 10%, rgba(139,92,246,.1), transparent 60%), radial-gradient(60% 40% at 90% 20%, rgba(245,158,11,.1), transparent 60%); 
  filter: blur(30px); 
  opacity: .6; 
}

.feature-card__content { 
  position: relative; 
  z-index: 1;
}

.feature-card h3 { 
  margin: 8px 0 16px; 
  font-size: 24px; 
  line-height: 32px; 
  font-weight: 600;
}

.feature-card p { 
  margin: 0; 
  color: var(--color-text-2); 
  line-height: 1.6;
}

/* EQ bars */
.eq-bars { 
  display: grid; 
  grid-auto-flow: column; 
  gap: 6px; 
  align-items: end; 
  height: 64px; 
  margin-top: 20px; 
  justify-content: center;
}

.eq-bars span { 
  width: 8px; 
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-hover)); 
  border-radius: 4px; 
  display: inline-block; 
  animation: eq 1.6s ease-in-out infinite; 
  transform-origin: bottom; 
}

.eq-bars span:nth-child(1) { height: 28px; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 40px; animation-delay: .1s; }
.eq-bars span:nth-child(3) { height: 22px; animation-delay: .2s; }
.eq-bars span:nth-child(4) { height: 36px; animation-delay: .3s; }
.eq-bars span:nth-child(5) { height: 32px; animation-delay: .4s; }
.eq-bars span:nth-child(6) { height: 24px; animation-delay: .5s; }

/* Viz */
.feature-card--viz .viz-canvas { 
  position: relative; 
  height: 80px; 
  margin-top: 20px; 
  background: conic-gradient(from 0deg, rgba(139,92,246,.0), rgba(139,92,246,.6), rgba(139,92,246,.0)); 
  filter: blur(10px); 
  border-radius: 999px; 
  animation: spin 6s linear infinite; 
  opacity: .9; 
  margin: 20px auto 0;
  width: 80px;
}

/* Playlist Icon */
.feature-card--playlists .playlist-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.playlist-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.playlist-stack span {
  width: 60px;
  height: 8px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 4px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.playlist-stack span:nth-child(1) {
  width: 80px;
  height: 10px;
}

.playlist-stack span:nth-child(2) {
  width: 70px;
  height: 9px;
}

.playlist-stack span:nth-child(3) {
  width: 60px;
  height: 8px;
}

.feature-card:hover .playlist-stack span {
  transform: scaleX(1.1);
  opacity: 1;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { 0%, 100% { transform: scaleY(0.7); } 50% { transform: scaleY(1.25); } }
@keyframes gradient-shift { 
  0%, 100% { background-position: 0% 50%; } 
  50% { background-position: 100% 50%; } 
}

.feature-dots { 
  display: flex; 
  gap: 12px; 
  justify-content: center; 
  margin: 30px 0 20px; 
}

.feature-dots a { 
  width: 8px; 
  height: 8px; 
  border-radius: 999px; 
  background: rgba(255,255,255,0.3); 
  display: inline-block; 
  transition: all 0.2s ease;
}

.feature-dots a:hover { 
  background: var(--color-primary); 
  transform: scale(1.2);
}

.feature-highlights { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px; 
  margin-top: 40px; 
  max-width: 900px;
  margin: 40px auto 0;
}

.mini-card { 
  background: rgba(255,255,255,0.05); 
  border-radius: 16px; 
  padding: 24px; 
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s ease;
  text-align: center;
}

.mini-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.mini-card h4 { 
  margin: 8px 0 12px; 
  font-size: 18px; 
  line-height: 24px; 
  font-weight: 600;
}

.mini-card .mini { 
  color: var(--color-text-2); 
  margin: 0; 
  line-height: 1.5;
}

@media (max-width: 960px) {
  .feature-scroller { grid-template-columns: 1fr; }
  .feature-highlights { grid-template-columns: 1fr 1fr; }
}

.step { 
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 20px; 
  align-items: start; 
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.step-num { 
  width: 40px; 
  height: 40px; 
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); 
  display: inline-grid; 
  place-items: center; 
  border-radius: 999px; 
  font-weight: 700; 
  color: #000; 
  box-shadow: 0 4px 16px rgba(139,92,246,0.3); 
  font-size: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--color-text-2);
  line-height: 1.5;
}

.shots .shot { 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.shots .shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  border-radius: var(--radius-pill); 
  padding: 14px 24px; 
  font-weight: 600; 
  text-decoration: none; 
  border: none; 
  transition: all 0.2s ease; 
  font-size: 16px;
}

.btn-primary { 
  background: var(--color-primary); 
  color: #111; 
  box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}

.btn-primary:hover { 
  background: var(--color-primary-hover); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(139,92,246,0.4);
}

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

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

.appstore-badge img { 
  display: block; 
  height: auto; 
  transition: all 0.2s ease;
}

.appstore-badge:hover img {
  transform: scale(1.05);
}

.store-badge.disabled { opacity: .5; cursor: not-allowed; }

/* FAQ */
.faq { 
  display: grid; 
  gap: 16px; 
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.faq details { 
  padding: 20px 24px; 
  text-align: left;
  border: 1px solid rgba(255,255,255,0.05);
  height: fit-content;
}

.faq summary { 
  cursor: pointer; 
  font-weight: 600; 
  outline: none; 
  font-size: 18px;
  transition: color 0.2s ease;
}

.faq summary:hover {
  color: var(--color-primary);
}

.faq p { 
  color: var(--color-text-2); 
  margin: 16px 0 0;
  line-height: 1.6;
}

.faq details[open] { 
  background: var(--color-surface); 
  border-color: rgba(139,92,246,0.2);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { 
  content: "+"; 
  float: right; 
  color: var(--color-primary); 
  font-size: 24px;
  font-weight: 300;
  transition: all 0.2s ease;
}

.faq details[open] summary::after { 
  content: "−"; 
  transform: rotate(180deg);
}

/* Privacy Promise */
.promise { 
  display: grid; 
  gap: 24px; 
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.promise ul { 
  display: flex; 
  gap: 24px; 
  padding: 0; 
  margin: 0; 
  list-style: none; 
  justify-content: center;
  flex-wrap: wrap;
}

.promise li {
  background: rgba(139,92,246,0.1);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(139,92,246,0.2);
}

.promise p { 
  color: var(--color-text-2); 
  margin: 0 0 20px; 
  line-height: 1.6;
  font-size: 16px;
}

.privacy-link {
  margin-top: 20px;
}

.privacy-policy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.1);
  transition: all 0.2s ease;
}

.privacy-policy-link:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Footer */
.footer { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 40px calc(80px + env(safe-area-inset-bottom)); 
  color: var(--color-text-2); 
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}

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

.footer a { 
  color: var(--color-text-2); 
  text-decoration: none; 
  transition: all 0.2s ease;
}

.footer a:hover { 
  color: var(--color-primary); 
  transform: translateY(-1px);
}

/* Accessibility */
.skip-link { 
  position: absolute; 
  left: -9999px; 
  top: auto; 
  width: 1px; 
  height: 1px; 
  overflow: hidden; 
}

.skip-link:focus { 
  position: static; 
  width: auto; 
  height: auto; 
  padding: 12px 16px; 
  background: var(--color-surface-elev); 
  border: 1px solid var(--color-border-light); 
  border-radius: var(--radius-sm); 
}

*:focus-visible { 
  outline: 2px solid rgba(139,92,246,0.45); 
  outline-offset: 2px; 
  border-radius: 6px; 
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container { width: 95%; padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; min-height: 70vh; }
  .feature-highlights { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 20px; text-align: center; }
  .promise ul { flex-direction: column; gap: 12px; }
  .faq {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero .copy h1 { font-size: 32px; }
  .hero .copy .sub { font-size: 16px; }
  .section-title { font-size: 24px; }
  .feature-card { padding: 24px; }
  .mini-card { padding: 20px; }
}

/* Privacy Policy Page Styles */
.privacy-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(26, 26, 26, 0.8);
}

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

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.back-link:hover {
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.header-logo {
  width: 40px;
  height: 40px;
}

.header-title {
  font-family: 'Mozilla Headline', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  margin-left: 12px;
}

.privacy-main {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.privacy-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
  color: var(--color-text);
  line-height: 1.2;
}

.policy-meta {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.policy-meta p {
  margin: 8px 0;
  color: var(--color-text-2);
  font-size: 14px;
}

.policy-meta strong {
  color: var(--color-text);
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--color-text);
  line-height: 1.3;
}

.policy-section h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  margin: 30px 0 16px;
  color: var(--color-text);
  line-height: 1.4;
}

.policy-section p {
  margin: 0 0 16px;
  color: var(--color-text-2);
  line-height: 1.7;
  font-size: 16px;
}

.policy-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.policy-section li {
  margin: 8px 0;
  color: var(--color-text-2);
  line-height: 1.6;
  font-size: 16px;
}

.policy-section li strong {
  color: var(--color-text);
  font-weight: 600;
}

.contact-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.contact-info p {
  margin: 8px 0;
}

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.policy-footer {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
  text-align: center;
}

.policy-footer p {
  margin: 0;
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 1.6;
}

.policy-footer strong {
  color: var(--color-text);
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
  .privacy-main {
    padding: 40px 0;
  }
  
  .header-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .back-link {
    order: 2;
  }
  
  .logo-container {
    order: 1;
  }
  
  .privacy-content {
    padding: 0 16px;
  }
  
  .policy-meta,
  .contact-info,
  .policy-footer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .privacy-content h1 {
    font-size: 28px;
  }
  
  .policy-section h2 {
    font-size: 22px;
  }
  
  .policy-section h3 {
    font-size: 18px;
  }
  
  .policy-section p,
  .policy-section li {
    font-size: 15px;
  }
}