:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --glow-green: #00ff88;
  --glow-warm: #ff6b35;
  --text-neutral: #f0f0f0;
  --text-dim: #999;
  --accent: #00ff88;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-neutral);
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

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

.logo {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--glow-green);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--glow-green);
}

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

.hero-content {
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  color: var(--glow-green);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.frame-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 7 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

.frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame-live {
  opacity: 0;
}

/* Sections */
.features {
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-neutral);
}

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

.feature-card {
  padding: 2rem;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--glow-green);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-neutral);
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--glow-green);
  border: 2px solid var(--glow-green);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.cta-button:hover {
  background: transparent;
  color: var(--glow-green);
}

.cta-button:active {
  transform: scale(0.98);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
    gap: 2rem;
  }

  .frame-stack {
    max-width: 360px;
  }

  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .header {
    padding: 1rem 0;
  }

  .features,
  .cta-section {
    padding: 4rem 0;
  }

  /* let subtitle wrap naturally on narrow screens */
  .hero-subtitle br {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .features-grid {
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .frame-stack {
    max-width: 300px;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
  }
}
