:root {
  /* Colors */
  --bg-deep: #070312;
  --bg-space: #0b071e;
  --bg-card: rgba(18, 11, 38, 0.65);
  --bg-card-hover: rgba(26, 17, 54, 0.85);
  --border-glow: rgba(139, 92, 246, 0.25);
  --border-glow-hover: rgba(6, 182, 212, 0.4);
  
  --primary: #8b5cf6;       /* Electric Violet */
  --primary-glow: rgba(139, 92, 246, 0.5);
  --secondary: #06b6d4;     /* Neon Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.5);
  --accent: #ec4899;        /* Cosmic Pink */
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  --glass-blur: blur(12px);
  --shadow-neon-violet: 0 0 20px rgba(139, 92, 246, 0.15);
  --shadow-neon-cyan: 0 0 20px rgba(6, 182, 212, 0.15);
  
  /* Fonts */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Stars Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
    radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
  background-size: 550px 550px, 350px 350px, 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px;
  opacity: 0.18;
  animation: starMovement 150s linear infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes starMovement {
  from { background-position: 0 0, 40px 60px, 130px 270px; }
  to { background-position: 550px 1100px, 390px 760px, 380px 1170px; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

p {
  line-height: 1.7;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Translucent Glass Card style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-neon-violet);
}

.glass-card:hover {
  border-color: var(--border-glow-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-4px);
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(7, 3, 18, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 0 10px var(--primary-glow);
}

.logo-block {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 6px;
  position: relative;
  animation: logoPulse 4s infinite alternate;
}

@keyframes logoPulse {
  0% { transform: rotate(0deg); box-shadow: 0 0 5px var(--primary-glow); }
  100% { transform: rotate(90deg); box-shadow: 0 0 15px var(--secondary-glow); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-neon-violet);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--secondary-glow);
  color: var(--text-main);
  text-shadow: none;
}

/* Footer Styles */
.footer {
  background-color: #04020a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-info p {
  margin-top: 1rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Main Homepage Styles */
.hero {
  padding: 10rem 0 6rem 0;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.badge {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #06b6d4 50%, #ec4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.download-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon-violet);
  transform: translateY(-2px);
  color: var(--text-main);
}

.btn-download-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
}

.btn-download-primary:hover {
  box-shadow: 0 0 20px var(--secondary-glow);
  transform: translateY(-2px);
  color: var(--text-main);
}

/* Feature Section Styles */
.features-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  text-align: left;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-size: 1.5rem;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--primary);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Privacy Policy Layout with TOC */
.privacy-layout {
  padding: 8rem 0 6rem 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Table of Contents Sticky Sidebar */
.toc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: rgba(18, 11, 38, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.toc-link:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.toc-link.active {
  color: var(--secondary);
  font-weight: 600;
  text-shadow: 0 0 8px var(--secondary-glow);
  padding-left: 6px;
  border-left: 2px solid var(--secondary);
}

/* Privacy Policy Content */
.privacy-content-card {
  padding: 3.5rem;
}

.privacy-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
}

.privacy-header h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-main), #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-meta {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.privacy-section {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.privacy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.privacy-section h3 {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin: 1.5rem 0 0.75rem 0;
}

.privacy-section p {
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy-section ul li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-section ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--secondary);
  text-shadow: 0 0 5px var(--secondary-glow);
}

.privacy-section strong {
  color: var(--text-main);
}

.contact-email-box {
  background: rgba(6, 182, 212, 0.05);
  border: 1px dashed rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.copy-btn {
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--secondary);
  color: #000;
  box-shadow: var(--shadow-neon-cyan);
}

/* Mobile responsive menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .toc-sidebar {
    position: static;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-info {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1.5rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-space);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    flex-direction: column;
    padding: 8rem 2rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 105;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-info {
    grid-column: span 1;
  }
  
  .privacy-content-card {
    padding: 2rem 1.5rem;
  }
}

.mobile-only { display: none; }
.hero-icon { display: block; margin: 0 auto 1.5rem auto; border-radius: 24px; box-shadow: 0 12px 30px -8px rgba(139,92,246,0.5); }
.logo-icon { border-radius: 8px; box-shadow: 0 4px 12px rgba(139,92,246,0.3); }
.promo-wrap { margin-top: 5rem; position: relative; display: inline-block; max-width: 100%; }
.promo-glow { position: absolute; inset: -20px; background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)); filter: blur(30px); opacity: 0.4; border-radius: 24px; z-index: -1; }
.promo-img { border-radius: 20px; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); max-width: 100%; height: auto; }
.badge-appstore { height: 42px; width: auto; display: block; }
.badge-play { height: 100px; width: auto; display: block; }
.cta-section { padding: 6rem 0; background: radial-gradient(ellipse at center, rgba(139,92,246,0.05) 0%, transparent 80%); }
.cta-card { max-width: 800px; margin: 0 auto; }
.cta-card h2 { margin-bottom: 1rem; border: none; padding: 0; }
.cta-card > p { margin-bottom: 2.5rem; font-size: 1.1rem; }
.cta-btn { padding: 0.8rem 2rem; font-size: 1rem; display: inline-block; }
.footer .logo { margin-bottom: 1rem; }
.privacy-meta .sep { margin: 0 0.75rem; color: rgba(255,255,255,0.1); }
.contact-label { font-size: 0.85rem; display: block; color: var(--text-muted); }
.contact-email { color: var(--secondary); }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
@media (max-width: 768px) {
  .nav-links.open .mobile-only { display: block; margin-top: 1rem; }
  .nav-links .mobile-only .nav-btn { display: block; text-align: center; }
}
