/* ── GamPacto Website · Clean & Minimal ──────────────────── */
/* Palette: #FFFFFF bg, #111 text, #6C5CE7 accent, #A29BFE light accent */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.7;
}

a { color: #6C5CE7; text-decoration: none; transition: color 0.15s; }
a:hover { color: #5A4BD1; }

img { max-width: 100%; display: block; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f0f0;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #111;
  text-decoration: none;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #6C5CE7;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-cta:hover { background: #5A4BD1; color: #fff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 5px 0;
  transition: 0.2s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #F3F1FF;
  color: #6C5CE7;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 .accent { color: #6C5CE7; }

.hero p {
  font-size: 18px;
  color: #666;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #6C5CE7;
  color: #fff;
}
.btn-primary:hover { background: #5A4BD1; color: #fff; }

.btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #e0e0e0;
}
.btn-secondary:hover { border-color: #ccc; background: #fafafa; color: #111; }

/* ── Feature grid ─────────────────────────────────────────── */
.features {
  padding: 80px 24px;
  border-top: 1px solid #f0f0f0;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features-header p {
  font-size: 16px;
  color: #666;
  max-width: 480px;
  margin: 0 auto;
}

.features-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: #ddd; }

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F1FF;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}

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

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── How-it-works ─────────────────────────────────────────── */
.how-it-works {
  padding: 80px 24px;
  background: #FAFAFA;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works-header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.how-it-works-header p {
  font-size: 16px;
  color: #666;
}

.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6C5CE7;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  padding: 80px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
}

/* ── Legal pages (privacy, terms) ─────────────────────────── */
.legal-page {
  padding: 80px 24px 100px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-page ul {
  margin: 0 0 16px 24px;
  list-style: none;
}

.legal-page ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  position: relative;
  padding-left: 20px;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A29BFE;
}

.legal-page a { color: #6C5CE7; text-decoration: underline; text-underline-offset: 3px; }

.legal-callout {
  background: #F3F1FF;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

/* ── Support page ─────────────────────────────────────────── */
.support-page {
  padding: 80px 24px 100px;
}

.support-page h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.support-page .subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 48px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.support-card {
  padding: 28px;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  transition: border-color 0.2s;
}

.support-card:hover { border-color: #ddd; }

.support-card-icon {
  font-size: 24px;
  margin-bottom: 14px;
}

.support-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.support-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

.support-card a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6C5CE7;
}

.faq-section { margin-top: 64px; }

.faq-section h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid #f0f0f0; }

.faq-question {
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: #111;
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #999;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

.faq-answer p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #f0f0f0;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 13px;
  color: #999;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: #999;
  transition: color 0.15s;
}

.footer-links a:hover { color: #666; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 24px;
    gap: 16px;
  }

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

  .hero { padding: 60px 24px 50px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }

  .features, .how-it-works, .cta-banner { padding: 60px 24px; }

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