/* ============================================
   Fantasy God Mode — Landing Page
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-raised: #f8f9fa;
  --bg-card: #f3f4f6;
  --surface: #ffffff;
  --border: #e0e0e0;
  --text: #1a1a2e;
  --text-dim: #6b7280;
  --accent: #1a73e8;
  --accent-hover: #1557b0;
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Grain overlay — disabled */
.grain {
  display: none;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.logo-icon {
  font-size: 1.25rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.logo-accent {
  color: var(--accent);
  margin-left: 0.25rem;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

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

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 2rem;
  position: relative;
  min-height: auto;
  justify-content: center;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.2);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  max-width: 580px;
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-arrow {
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
  animation: float 2.5s ease-in-out infinite;
}

.hero-arrow:hover {
  color: var(--accent);
  transform: translateY(4px);
}

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

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---- Comparison Section ---- */
.compare-section {
  padding: 6rem 1rem;
}

.comparisons {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.comparison-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.comparison-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  opacity: 0.75;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

.comparison-desc li::before {
  content: '\2022';
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Toggle wrapper + God Mode button */
.comparison-toggle-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.comparison-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.gm-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #f5f5f5;
  color: #888;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  user-select: none;
  animation: gm-pulse 2s ease-in-out infinite;
}

.gm-toggle:hover {
  background: #eee;
}

@keyframes gm-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(26,115,232,0.15); }
  50% { box-shadow: 0 2px 20px rgba(26,115,232,0.5); }
}

.gm-toggle.gm-on {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
  box-shadow: 0 2px 12px rgba(26,115,232,0.4);
  animation: none;
}

.gm-toggle.gm-on:hover {
  background: #1557b0;
}

/* Hint arrow pointing to the button */
.gm-hint {
  position: absolute;
  bottom: 12px;
  right: 120px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: #1a73e8;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  white-space: nowrap;
  box-shadow: 0 2px 16px rgba(26,115,232,0.5);
  animation: gm-hint-bounce 1.5s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.gm-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes gm-hint-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.compare-more {
  text-align: center;
  margin-top: 3rem;
}

.compare-more-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.compare-more-link:hover {
  opacity: 0.8;
}

/* ---- Features ---- */
.features-section {
  padding: 6rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(26, 115, 232, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* ---- FAQ ---- */
.faq-section {
  padding: 6rem 2rem;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ---- Waitlist ---- */
.waitlist-section {
  padding: 6rem 2rem;
}

.waitlist-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.waitlist-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input::placeholder {
  color: var(--text-dim);
}

.waitlist-input:focus {
  border-color: var(--accent);
}

.waitlist-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

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

.waitlist-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  opacity: 0.7;
}

/* Success state */
.waitlist-success {
  display: none;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}

.waitlist-success.visible {
  display: block;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .nav {
    padding: 0.75rem 1.25rem;
  }

  .hero {
    padding: 8rem 1.25rem 4rem;
    min-height: auto;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .compare-section,
  .features-section,
  .faq-section,
  .waitlist-section {
    padding: 4rem 1.25rem;
  }

  .waitlist-inner {
    padding: 2.5rem 1.5rem;
  }

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

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

  .comparison-toggle-wrapper {
    overflow: hidden;
  }

  .comparison-img {
    max-height: none;
    width: 100%;
  }

  .gm-hint {
    display: none;
  }

  .gm-toggle {
    font-size: 11px;
    padding: 6px 12px;
    bottom: 8px;
    right: 8px;
  }

  .comparison-desc {
    font-size: 0.8rem;
    gap: 0.15rem 1rem;
  }
}
