/* ═══════════════════════════════════════════════════════════════
   Quiz Pro Duo — Public Marketing Styles
   ═══════════════════════════════════════════════════════════════ */

:root {
  --dark:      #1a1a2e;
  --dark2:     #16213e;
  --dark3:     #0f3460;
  --gold:      #e8c547;
  --gold-dark: #c9a92d;
  --text:      #222;
  --text-mute: #666;
  --white:     #fff;
  --bg-alt:    #f8f9fb;
  --border:    #e5e7eb;
  --radius:    10px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --max-w:     1100px;
  --section-pad: 5rem 2rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text); line-height: 1.65; background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-mute);
  max-width: 600px; margin-bottom: 2.5rem; line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════
   Navigation
   ══════════════════════════════════════════ */
.site-nav {
  background: var(--dark);
  padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 36px; width: auto; }
.nav-brand-text { color: var(--gold); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); font-size: 0.92rem; font-weight: 500;
  padding: 0.5rem 0.85rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  font-weight: 700 !important; margin-left: 0.4rem;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-hamburger span { width: 22px; height: 2px; background: var(--gold); display: block; border-radius: 2px; transition: 0.3s; }

/* ══════════════════════════════════════════
   Buttons
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.75rem; border-radius: 7px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold); color: var(--dark);
  box-shadow: 0 4px 14px rgba(232,197,71,0.35);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: 0 6px 20px rgba(232,197,71,0.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.28);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════
   Hero
   ══════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark2) 55%, var(--dark3) 100%);
  position: relative; overflow: hidden;
  text-align: center; padding: 6rem 2rem 5.5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(232,197,71,0.065) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.hero-logo { max-width: 400px; margin: 0 auto 2.75rem; position: relative; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900; color: var(--white); line-height: 1.15;
  margin: 0 auto 1.25rem; max-width: 700px; position: relative;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero > p {
  font-size: 1.1rem; color: rgba(255,255,255,0.68);
  max-width: 540px; margin: 0 auto 2.25rem; position: relative;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════════════════════════════════════
   Stats bar
   ══════════════════════════════════════════ */
.stats-bar { background: var(--gold); padding: 1.35rem 2rem; }
.stats-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.55rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-desc {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: rgba(26,26,46,0.6); margin-top: 0.15rem;
}

/* ══════════════════════════════════════════
   How it works
   ══════════════════════════════════════════ */
.how-it-works { background: var(--bg-alt); padding: var(--section-pad); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem; margin-top: 0;
}
.step {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem; border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.step-num {
  font-size: 3.2rem; font-weight: 900; color: rgba(232,197,71,0.2);
  line-height: 1; margin-bottom: 0.75rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 0.55rem; font-weight: 700; }
.step p { font-size: 0.88rem; color: var(--text-mute); line-height: 1.65; }

/* ══════════════════════════════════════════
   Features
   ══════════════════════════════════════════ */
.features { padding: var(--section-pad); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  padding: 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px; background: rgba(232,197,71,0.1);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 20px; height: 20px; stroke: var(--gold); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.87rem; color: var(--text-mute); line-height: 1.65; }

/* ══════════════════════════════════════════
   Event types
   ══════════════════════════════════════════ */
.event-types { background: var(--dark); padding: var(--section-pad); }
.event-types .section-title { color: var(--white); }
.event-types .section-sub { color: rgba(255,255,255,0.58); }
.event-type-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.event-chip {
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  padding: 0.48rem 1.2rem; font-size: 0.9rem; font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: default;
}
.event-chip.featured { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 700; }

/* ══════════════════════════════════════════
   CTA section
   ══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  text-align: center; padding: var(--section-pad);
}
.cta-section .section-title { color: var(--white); }
.cta-section > .container > p { color: rgba(255,255,255,0.68); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-email { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.cta-email:hover { color: var(--gold-dark); }

/* ══════════════════════════════════════════
   Footer
   ══════════════════════════════════════════ */
footer { background: var(--dark); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap;
  padding-bottom: 2rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 30px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.45); max-width: 260px; line-height: 1.6; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--gold); margin-bottom: 0.8rem;
}
.footer-col a {
  display: block; font-size: 0.87rem; color: rgba(255,255,255,0.45);
  margin-bottom: 0.45rem; transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 0.5rem;
}

/* ══════════════════════════════════════════
   Inner page hero (services, about, etc.)
   ══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 4rem 2rem 3.5rem; color: var(--white); text-align: center;
}
.breadcrumb {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900;
  color: var(--white); margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.62); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.content-section { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }

/* ══════════════════════════════════════════
   Services page
   ══════════════════════════════════════════ */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card-head {
  background: var(--dark); color: var(--white);
  padding: 1.5rem; border-bottom: 3px solid var(--gold);
}
.service-card-head h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.service-card-head .price { color: var(--gold); font-size: 0.82rem; font-weight: 600; }
.service-card-body { padding: 1.25rem 1.5rem; }
.service-card-body ul { list-style: none; }
.service-card-body li {
  font-size: 0.88rem; color: var(--text-mute);
  padding: 0.3rem 0; display: flex; gap: 0.6rem;
}
.service-card-body li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════
   About page
   ══════════════════════════════════════════ */
.about-body { font-size: 1rem; color: var(--text-mute); line-height: 1.8; max-width: 680px; margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════
   FAQ page
   ══════════════════════════════════════════ */
.faq-list { max-width: 780px; margin: 0 auto; }
details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.6rem; overflow: hidden; }
details[open] { border-color: rgba(232,197,71,0.5); }
summary {
  padding: 1.1rem 1.25rem; font-weight: 600; font-size: 0.96rem;
  color: var(--dark); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background 0.15s;
}
summary:hover { background: var(--bg-alt); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { background: var(--bg-alt); }
.faq-answer { padding: 0 1.25rem 1.1rem; font-size: 0.91rem; color: var(--text-mute); line-height: 1.75; }

/* ══════════════════════════════════════════
   Contact page
   ══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 0.85rem; }
.contact-info > p { color: var(--text-mute); margin-bottom: 1.75rem; line-height: 1.7; }
.contact-detail { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-detail-icon {
  width: 36px; height: 36px; background: rgba(232,197,71,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 17px; height: 17px; stroke: var(--gold); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-detail-text { font-size: 0.9rem; }
.contact-detail-text strong {
  display: block; color: var(--dark); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.15rem;
}
.contact-detail-text a { color: var(--text); transition: color 0.15s; }
.contact-detail-text a:hover { color: var(--gold-dark); }
.contact-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--border); margin-bottom: 1rem;
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.contact-card > p { font-size: 0.88rem; color: var(--text-mute); margin-bottom: 1.4rem; line-height: 1.65; }
.contact-email-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--dark); color: var(--gold);
  padding: 0.85rem 1.4rem; border-radius: 7px;
  font-weight: 700; font-size: 0.9rem; transition: background 0.15s;
}
.contact-email-btn:hover { background: var(--dark2); }
.response-note { font-size: 0.78rem; color: var(--text-mute); margin-top: 0.85rem; }
.checklist { list-style: none; }
.checklist li { font-size: 0.89rem; color: var(--text-mute); padding: 0.3rem 0; display: flex; gap: 0.55rem; }
.checklist li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  /* Mobile nav */
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--dark); padding: 0.75rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.9rem; }
  .nav-cta { margin-left: 0; margin-top: 0.25rem; text-align: center; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-logo { max-width: 260px; }

  /* Stats */
  .stats-bar-inner { gap: 1.75rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-bar-inner { gap: 1.25rem; }
}
