/* ─── RESET & BASE ──────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --border: #1e1e2e;
  --text: #e4e4ed;
  --text-muted: #8888a0;
  --text-bright: #ffffff;
  --accent: #7c5cff;
  --accent-hover: #6a48e8;
  --accent-glow: rgba(124, 92, 255, 0.3);
  --gradient-1: linear-gradient(135deg, #7c5cff 0%, #ff6bcb 100%);
  --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--text-bright);
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* ─── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.4;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Prompt Teaser */
.prompt-teaser {
  max-width: 600px;
  margin: 0 auto 32px;
}

.prompt-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  gap: 12px;
  transition: border-color 0.2s;
}

.prompt-input-wrapper:hover,
.prompt-input-wrapper:focus-within {
  border-color: rgba(124, 92, 255, 0.4);
}

.prompt-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.prompt-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  padding: 12px 0;
}

.prompt-btn {
  padding: 12px 24px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.prompt-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.prompt-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── GALLERY ────────────────────────────────────── */
.gallery {
  padding: 100px 0;
}

.gallery h2,
.how-it-works h2,
.features h2,
.faq h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-overlay {
  opacity: 0.7;
}

.gallery-info {
  padding: 20px;
}

.gallery-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-prompt {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.5;
}

.gallery-style {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  background: rgba(124, 92, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ─── HOW IT WORKS ───────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 92, 255, 0.03) 50%, transparent 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FEATURES ───────────────────────────────────── */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: rgba(124, 92, 255, 0.25);
  background: var(--bg-card-hover);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── WAITLIST ───────────────────────────────────── */
.waitlist {
  padding: 100px 0;
}

.waitlist-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.3;
}

.waitlist-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.waitlist-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  position: relative;
  line-height: 1.6;
}

.waitlist-form {
  position: relative;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-bright);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input[type="email"]:focus {
  border-color: var(--accent);
}

.form-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.form-row button {
  padding: 14px 28px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.form-row button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.waitlist-message {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 24px;
}

.waitlist-message.success {
  color: #4ade80;
}

.waitlist-message.error {
  color: #f87171;
}

.waitlist-stats {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
}

/* ─── FAQ ────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 92, 255, 0.03) 50%, transparent 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FINAL CTA ──────────────────────────────────── */
.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gradient-1);
  color: white;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: white;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-weight: 600;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .gallery-grid,
  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 0 80px;
  }

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

  .form-row {
    flex-direction: column;
  }

  .form-row button {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .trust-badges {
    gap: 16px;
    font-size: 0.8rem;
  }

  .waitlist-card {
    padding: 40px 24px;
  }

  .prompt-input-wrapper {
    flex-direction: column;
    padding: 12px;
    gap: 8px;
  }

  .prompt-input {
    text-align: center;
    padding: 8px;
  }

  .prompt-btn {
    width: 100%;
  }

  .prompt-icon {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: fadeUp 0.6s ease-out backwards;
}

.hero-badge { animation-delay: 0s; }
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.prompt-teaser { animation-delay: 0.3s; }
.trust-badges { animation-delay: 0.4s; }
