:root {
  --bg: #0a0a1a;
  --bg-alt: #12122a;
  --fg: #ffffff;
  --fg-muted: #a0a0c0;
  --accent-1: #ff6b9d;
  --accent-2: #c084fc;
  --accent-3: #67e8f9;
  --accent-4: #fbbf24;
  --accent-5: #34d399;
  --gradient-1: linear-gradient(135deg, #ff6b9d 0%, #c084fc 50%, #67e8f9 100%);
  --gradient-2: linear-gradient(135deg, #fbbf24 0%, #ff6b9d 100%);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-1);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-2);
  top: 20%;
  right: -5%;
  animation-delay: -2s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--accent-3);
  bottom: 10%;
  left: 15%;
  animation-delay: -4s;
}

.shape-4 {
  width: 200px;
  height: 200px;
  background: var(--accent-4);
  bottom: 30%;
  right: 20%;
  animation-delay: -1s;
}

.shape-5 {
  width: 150px;
  height: 150px;
  background: var(--accent-5);
  top: 50%;
  left: 50%;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.logo-mark {
  margin-bottom: 1.5rem;
}

.loop-icon {
  font-size: 4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  display: inline-block;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.3); transform: scale(1.08); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ========== FEATURES ========== */
.features {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.wobble {
  display: inline-block;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.features-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-1::before { background: var(--accent-1); }
.card-2::before { background: var(--accent-2); }
.card-3::before { background: var(--accent-4); }
.card-4::before { background: var(--accent-5); }

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.card-1 .card-icon { color: var(--accent-1); }
.card-2 .card-icon { color: var(--accent-2); }
.card-3 .card-icon { color: var(--accent-4); }
.card-4 .card-icon { color: var(--accent-5); }

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

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== STATS ========== */
.stats {
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 180px;
}

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

/* ========== CLOSING ========== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

.closing-content {
  max-width: 650px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .closing {
    padding: 5rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}

/* ========== HERO CTA ========== */
.hero-cta {
  margin-top: 2rem;
}

.hero-cta-btn {
  display: inline-block;
  background: var(--gradient-1);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 30px rgba(255, 107, 157, 0.25);
}

.hero-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
