/* CSS Variables for Premium Dark Theme */
:root {
  --bg-dark: #09090b;
  --bg-panel: #18181b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary-glow: #8b5cf6;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --glass-bg: rgba(24, 24, 27, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .logo-text, .brand {
  font-family: "Outfit", sans-serif;
}

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

/* Background Glow Effects */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.orb-2 {
  top: 40%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-purple);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #e879f9, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-badge {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-badge:hover {
  transform: translateY(-5px) scale(1.02);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero Visual & Glassmorphism */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.main-card {
  width: 100%;
  max-width: 350px;
  padding: 2rem;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.main-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.card-header .brand {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-header .amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress-bar-fill {
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, #34d399, #3b82f6);
  border-radius: 4px;
}

.stats {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: -20px;
  right: -20px;
}

.card-2 {
  bottom: -30px;
  left: -20px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Features Section */
.features-section, .made-for-you-section, .cta-section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

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

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.bg-purple { background: rgba(168, 85, 247, 0.2); }
.bg-blue { background: rgba(59, 130, 246, 0.2); }
.bg-green { background: rgba(16, 185, 129, 0.2); }
.bg-orange { background: rgba(245, 158, 11, 0.2); }

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Made For You Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
}

.audience-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.audience-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* CTA */
.cta-container {
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(59,130,246,0.1));
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-description {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.center-buttons {
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .rating {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
  }

  .floating-card {
    display: none;
  }

  .main-card {
    transform: none !important;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}
