/* ============================================================
   Michis-Events — Commercial Landing Page
   ============================================================ */

:root {
  --bg: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --bg-nav: rgba(11,15,25,.92);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-glow: rgba(124,58,237,.25);
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --success: #34d399;
  --danger: #f87171;
  --border: #1e293b;
  --border-light: #334155;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', monospace;
  --max-w: 1140px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- Navbar ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); background: var(--bg-nav);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px;
}
.nav-brand { font-weight: 800; font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.nav-brand span { font-size: 24px; }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff; padding: 8px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all .2s;
}
.nav-cta:hover { background: #6d28d9; color: #fff; transform: translateY(-1px); }
.lang-btn {
  background: transparent; border: 1px solid var(--border-light); color: var(--text-muted);
  padding: 6px 12px; border-radius: 6px; font-size: 13px; cursor: pointer; font-weight: 600;
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--accent-light); color: var(--text); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---- Sections ---- */
section { padding: 100px 0; }
.section-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-light); font-weight: 700; margin-bottom: 12px;
}
.section-title { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-muted); max-width: 640px; margin-bottom: 48px; }

/* ---- Hero ---- */
.hero {
  padding: 160px 0 120px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
}
.hero-title { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-title .highlight { color: var(--accent-light); }
.hero-subtitle { font-size: 20px; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; transition: all .25s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 24px var(--accent-glow); }
.btn-primary:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-secondary:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ---- Problem ---- */
.problem { background: #0d1117; }
.problem-quote {
  font-size: 24px; font-weight: 700; font-style: italic; color: var(--gold);
  text-align: center; max-width: 700px; margin: 0 auto 48px;
  padding: 32px; border-left: 4px solid var(--gold); background: rgba(251,191,36,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pain-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.pain-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.pain-text { color: var(--text-muted); font-size: 15px; }

/* ---- Features ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s; position: relative; overflow: hidden;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(124,58,237,.1); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-top: 12px;
}
.badge-new { background: rgba(34,211,238,.12); color: var(--cyan); }
.badge-soon { background: rgba(251,191,36,.12); color: var(--gold); }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; position: relative;
}
.step-card::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 18px;
  margin: 0 auto 16px;
}
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-muted); }

/* ---- Discord Mockup ---- */
.mockup-wrapper { display: flex; justify-content: center; padding: 20px 0; }
.discord-embed {
  background: #2b2d31; border-left: 4px solid #6d1f2b; border-radius: 4px;
  padding: 16px 20px; max-width: 520px; width: 100%; font-family: 'gg sans', 'Noto Sans', sans-serif;
  font-size: 14px; color: #dbdee1;
}
.embed-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.embed-field { margin-bottom: 8px; }
.embed-field-name { font-size: 12px; font-weight: 700; color: #b5bac1; margin-bottom: 2px; }
.embed-field-value { font-size: 13px; color: #dbdee1; }
.embed-sep { border: none; border-top: 1px solid #3f4147; margin: 10px 0; }
.embed-buttons { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.embed-btn {
  padding: 6px 16px; border-radius: 3px; font-size: 13px; font-weight: 600;
  border: none; cursor: default; color: #fff;
}
.embed-btn-blue { background: #5865f2; }
.embed-btn-green { background: #248046; }
.embed-btn-red { background: #da373c; }
.embed-btn-grey { background: #4e5058; }
.embed-status { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.embed-status-open { background: rgba(34,197,94,.15); color: #34d399; }
.embed-noshow { text-decoration: line-through; color: #f87171; }
.embed-footer { font-size: 11px; color: #72767d; margin-top: 12px; }

/* ---- Comparison ---- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 14px 20px; text-align: left; font-size: 14px; }
.compare-table th:first-child { color: var(--text-dim); }
.compare-table th:nth-child(2) { color: var(--text-muted); }
.compare-table th:nth-child(3) { color: var(--accent-light); }
.compare-table td { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.compare-table tr:hover td { background: rgba(124,58,237,.03); }
.compare-check { color: var(--success); font-weight: 700; }
.compare-x { color: var(--danger); }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; transition: all .25s;
}
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-glow); }
.pricing-name { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 900; margin-bottom: 4px; }
.pricing-period { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--accent-light); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--text-dim); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 0 20px; color: var(--text-muted); font-size: 15px; }

/* ---- CTA Final ---- */
.cta-final {
  text-align: center; padding: 120px 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-glow) 0%, transparent 60%);
}
.cta-title { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.cta-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; }
.footer p { font-size: 13px; color: var(--text-dim); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-nav); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px 24px 24px; gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 16px; padding: 8px 0; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 32px; }
  .hero { padding: 120px 0 80px; }
  .section-title { font-size: 28px; }
  section { padding: 72px 0; }
  .discord-embed { max-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .embed-roles-grid { grid-template-columns: 1fr !important; }
}

/* ---- Hero extras ---- */
.hero-microcopy { font-size: 14px; color: var(--text-dim); margin-top: 16px; }
.hero-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.hero-trust::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.hero-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: rgba(124,58,237,.15); color: var(--accent-light); margin-bottom: 20px; letter-spacing: .5px;
}

/* ---- Trust section ---- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.trust-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.trust-icon { font-size: 20px; flex-shrink: 0; }
.trust-text { font-size: 14px; color: var(--text-muted); }

/* ---- Mockup enhancements ---- */
.discord-embed { transition: box-shadow .3s; }
.discord-embed:hover { box-shadow: 0 8px 40px rgba(109,31,43,.2); }
.embed-status-open { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 rgba(34,197,94,0); } 50% { box-shadow: 0 0 8px rgba(34,197,94,.3); } }
.embed-noshow { text-decoration: line-through; color: #ef4444; font-weight: 600; }
.embed-roles-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; font-size: 13px; }

/* ---- Lang dropdown ---- */
.lang-select-wrap { position: relative; }
.lang-btn { min-width: 42px; text-align: center; }

/* ---- Lead form ---- */
.lead-form {
  display: flex; gap: 12px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.lead-input {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  font-size: 15px; font-family: var(--font); outline: none; transition: border-color .2s;
}
.lead-input:focus { border-color: var(--accent-light); }
.lead-input::placeholder { color: var(--text-dim); }
.lead-btn { white-space: nowrap; }
.lead-msg { margin-top: 16px; font-size: 14px; min-height: 20px; }
.lead-msg-success { color: var(--success); }
.lead-msg-error { color: var(--danger); }

/* ---- Social proof ---- */
.social-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.social-card {
  display: flex; align-items: center; gap: 10px; padding: 14px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-muted);
}
.social-icon { font-size: 18px; }
