:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --primary-pink: #ff2e63;
  --primary-pink-hover: #e02654;
  --accent-cyan: #00fff5;
  --accent-yellow: #ffe66d;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --radius-lg: 20px;
  --radius-md: 12px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for sticky bar on mobile */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
}

/* Utilities */
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary-pink);
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 12px;
}

.lang-btn.active {
  color: var(--accent-cyan);
  background: rgba(0, 255, 245, 0.1);
}

.lang-divider {
  color: var(--border-color);
  font-size: 0.8rem;
  margin: 0 2px;
}

.nav-cta-btn {
  display: none;
  background: var(--primary-pink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: transform 0.1s, background 0.2s;
}

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

@media (min-width: 600px) {
  .nav-cta-btn {
    display: inline-block;
  }
}

/* Hero Section */
.hero-section {
  padding: 40px 0 60px;
  background: radial-gradient(circle at top right, rgba(255, 46, 99, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(0, 255, 245, 0.1), transparent 50%);
}

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

@media (min-width: 850px) {
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.badge-tag {
  display: inline-block;
  background: rgba(0, 255, 245, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

@media (min-width: 600px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 480px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.micro-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-primary {
  background: var(--primary-pink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 46, 99, 0.4);
}

.btn-primary:hover {
  background: var(--primary-pink-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-yellow);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(255, 230, 109, 0.3);
}

.btn-accent:hover {
  background: #fada5e;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-block {
  width: 100%;
}

/* Game Preview Mockup (Pure CSS) */
.hero-preview-wrapper {
  display: flex;
  justify-content: center;
}

.game-mockup-card {
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border: 3px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 245, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.mockup-score {
  color: var(--accent-yellow);
}

.mockup-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-question {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  border-radius: var(--radius-md);
}

.mockup-answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-opt {
  background: #2a374e;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  border: 2px solid transparent;
}

.mockup-opt.correct {
  background: rgba(0, 200, 83, 0.2);
  border-color: #00e676;
  color: #00e676;
}

.mockup-footer {
  text-align: right;
  font-weight: 900;
  color: var(--accent-yellow);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-dark {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* Grids */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

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

/* Steps */
.step-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--primary-pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 40px auto 0;
}

.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.featured {
  border-color: var(--accent-yellow);
  box-shadow: 0 8px 30px rgba(255, 230, 109, 0.15);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-yellow);
  color: #0f172a;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 12px;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.plan-header h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
}

.price-launch {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 700;
  display: block;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Benefit Boxes */
.benefit-box {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.benefit-box h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}

.benefit-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
  padding: 0 20px 18px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Final CTA Section */
.section-cta {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255, 46, 99, 0.1) 100%);
  border-top: 1px solid var(--border-color);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #090d16;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
}

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

@media (min-width: 600px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  font-weight: 900;
  color: var(--primary-pink);
  font-size: 1.1rem;
}

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

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

/* Sticky Mobile Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  z-index: 99;
}

@media (min-width: 769px) {
  .sticky-mobile-bar {
    display: none;
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 255, 245, 0.2);
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-body {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.modal-subnote {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}