/* ══════════════════════════════════════════════════════════════════
   EMINENCE — main.css  (landing page)
   Same design system as admin panel
══════════════════════════════════════════════════════════════════ */

:root {
  --bg:       #08080f;
  --bg2:      #0c0c16;
  --surface:  #10101e;
  --surface2: #14142a;
  --border:   rgba(255,255,255,0.06);
  --border2:  rgba(255,255,255,0.1);
  --red:      #c8002a;
  --red2:     #e8003a;
  --red3:     #ff1a4a;
  --text:     #f0f0f8;
  --text2:    #9090a8;
  --text3:    #505068;
  --green:    #00d97e;
  --font:     'Outfit', sans-serif;
  --mono:     'DM Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}

.navbar.scrolled {
  background: rgba(8,8,15,0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 30px; height: 30px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(200,0,42,0.6));
}

.nav-name {
  font-size: 15px; font-weight: 800; letter-spacing: 0.14em; color: var(--text);
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
  margin-left: 40px;
}

.nav-link {
  font-size: 13px; font-weight: 500; color: var(--text2);
  text-decoration: none; padding: 6px 12px; border-radius: 6px;
  transition: color .2s, background .2s;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-discord {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  text-decoration: none; padding: 7px 14px; border-radius: 7px;
  border: 1px solid var(--border); transition: all .2s;
}

.nav-discord:hover { color: var(--text); border-color: var(--border2); }

.nav-cta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff; background: var(--red);
  text-decoration: none; padding: 8px 18px; border-radius: 7px;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(200,0,42,0.3);
}

.nav-cta:hover { background: var(--red2); box-shadow: 0 4px 24px rgba(200,0,42,0.5); }

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 32px 80px;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}

.hero-glow-1 {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse, rgba(200,0,42,0.2) 0%, rgba(200,0,42,0.05) 40%, transparent 70%);
}

.hero-glow-2 {
  position: absolute; bottom: -100px; left: 20%;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,0,42,0.06) 0%, transparent 70%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, black 0%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 800px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  font-family: var(--mono); text-transform: uppercase;
  color: var(--red2); background: rgba(200,0,42,0.1);
  border: 1px solid rgba(200,0,42,0.25);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeDown 0.5s ease 0.1s both;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red2); box-shadow: 0 0 8px var(--red2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--red2); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--red2); }
}

.hero-title {
  display: flex; flex-direction: column; align-items: center;
  line-height: 1;
  animation: fadeDown 0.6s ease 0.25s both;
}

.hero-title-top {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--text2);
}

.hero-title-main {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 50%, var(--red3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px; font-weight: 400; color: var(--text2); line-height: 1.7;
  margin-top: 24px; max-width: 520px;
  animation: fadeUp 0.5s ease 0.4s both;
}

.hero-actions {
  display: flex; gap: 12px; margin-top: 36px;
  animation: fadeUp 0.5s ease 0.55s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: #fff; background: var(--red); text-decoration: none;
  padding: 13px 26px; border-radius: 8px;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 4px 24px rgba(200,0,42,0.35);
}

.btn-primary:hover {
  background: var(--red2);
  box-shadow: 0 4px 36px rgba(200,0,42,0.55);
  transform: translateY(-1px);
}

.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text2);
  text-decoration: none; padding: 13px 24px; border-radius: 8px;
  border: 1px solid var(--border2);
  transition: all .2s;
}

.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 56px; padding: 20px 36px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(200,0,42,0.06), 0 20px 40px rgba(0,0,0,0.4);
  animation: fadeUp 0.5s ease 0.7s both;
}

.hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 32px;
}

.hs-val { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hs-lbl { font-size: 11px; font-weight: 500; color: var(--text3); font-family: var(--mono); letter-spacing: 0.1em; }

.hero-stat-div { width: 1px; height: 36px; background: var(--border2); }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text3); font-size: 10px; font-family: var(--mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--red2));
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════════ */
.section { padding: 100px 32px; }

.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.container-sm { max-width: 760px; }

.section-hd {
  text-align: center; margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  font-family: var(--mono); text-transform: uppercase;
  color: var(--red2); margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1;
}

.section-sub {
  font-size: 15px; color: var(--text2); margin-top: 12px; line-height: 1.6;
}

/* ── Category tabs ── */
.cat-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 36px;
}

.cat-tab {
  font-size: 13px; font-weight: 600; font-family: var(--font);
  letter-spacing: 0.06em; padding: 8px 22px; border-radius: 8px;
  cursor: pointer; background: none;
  border: 1px solid var(--border);
  color: var(--text2); transition: all .2s;
}

.cat-tab:hover { color: var(--text); border-color: var(--border2); }
.cat-tab.active { color: var(--red2); border-color: rgba(200,0,42,0.35); background: rgba(200,0,42,0.08); }

/* ── Modules grid ── */
.modules-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; display: none;
}

.modules-grid.active { display: grid; }

.mod-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  animation: fadeUp 0.4s ease calc(var(--i) * 60ms) both;
}

.mod-card:hover {
  border-color: rgba(200,0,42,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,0,42,0.1);
}

.mod-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(200,0,42,0.1); color: var(--red3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background .2s;
}

.mod-card:hover .mod-icon { background: rgba(200,0,42,0.18); }

.mod-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mod-desc { font-size: 12px; color: var(--text2); line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 760px; margin: 0 auto;
  align-items: stretch;
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-featured-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; font-family: var(--mono); text-transform: uppercase;
  color: var(--red2); background: rgba(200,0,42,0.12);
  border: 1px solid rgba(200,0,42,0.25);
  padding: 4px 12px; border-radius: 100px;
  z-index: 2;
}

.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color .3s ease,
              box-shadow .3s ease;
  display: flex; flex-direction: column;
  flex: 1;
}

.price-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(200,0,42,0.18) 0%, transparent 65%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none; border-radius: 16px;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,0,42,0.35);
  box-shadow: 0 0 0 1px rgba(200,0,42,0.1), 0 20px 60px rgba(200,0,42,0.15), 0 40px 80px rgba(0,0,0,0.4);
}

.price-card:hover::after { opacity: 1; }

.price-card.featured {
  border-color: rgba(200,0,42,0.4);
  background: linear-gradient(160deg, rgba(200,0,42,0.06) 0%, var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(200,0,42,0.15), 0 20px 60px rgba(200,0,42,0.1);
}

.price-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red2), transparent);
  z-index: 1;
}

.price-card.featured::after {
  background: radial-gradient(circle at 50% 120%, rgba(200,0,42,0.25) 0%, transparent 65%);
}

.price-card.featured:hover {
  transform: translateY(-6px);
  border-color: rgba(200,0,42,0.6);
  box-shadow: 0 0 0 1px rgba(200,0,42,0.2), 0 20px 60px rgba(200,0,42,0.25), 0 40px 80px rgba(0,0,0,0.4);
}

.price-card.featured:hover::after { opacity: 1; }

.price-body {
  flex: 1; display: flex; flex-direction: column;
}

.price-top { margin-bottom: 24px; }
.price-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.price-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 24px;
}

.price-divider {
  height: 1px; background: var(--border);
  margin-bottom: 24px;
}

.price-currency { font-size: 22px; font-weight: 700; color: var(--text2); margin-top: 6px; }
.price-num      { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; }
.price-per      { font-size: 14px; color: var(--text2); font-family: var(--mono); margin-left: 4px; }

.price-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px; flex: 1;
}

.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text2);
}

.price-features li svg { color: var(--green); flex-shrink: 0; }

.price-features li.feature-no { color: var(--text2); }
.price-features li.feature-no svg { color: var(--red3); }

.price-features li.feature-yes { color: var(--text2); }
.price-features li.feature-yes svg { color: var(--green); }

.modules-more {
  text-align: center; margin-top: 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text); font-family: var(--mono);
}

.price-btn {
  display: block; text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  padding: 14px; border-radius: 8px;
  color: var(--text2); border: 1px solid var(--border2);
  transition: color .3s ease, background .3s ease,
              border-color .3s ease, box-shadow .3s ease;
  margin-top: auto;
}

.price-btn:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(200,0,42,0.4);
}

.featured-btn {
  color: #fff; background: var(--red); border-color: transparent;
  box-shadow: 0 4px 20px rgba(200,0,42,0.35);
}

.featured-btn:hover {
  background: var(--red2);
  box-shadow: 0 4px 32px rgba(200,0,42,0.55);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   GUI SHOWCASE
══════════════════════════════════════════════════════════════════ */
.gui-inner {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 72px; align-items: center;
}

.gui-text .section-tag { display: block; text-align: left; margin-bottom: 14px; }

.gui-points {
  list-style: none; display: flex; flex-direction: column;
  gap: 22px; margin-top: 32px;
}

.gui-points li { display: flex; gap: 14px; align-items: flex-start; }

.gui-point-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: rgba(200,0,42,0.1); color: var(--red3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.gui-point-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.gui-point-sub   { font-size: 12px; color: var(--text2); line-height: 1.5; }

.gui-preview {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.gui-img {
  width: 115%;
  max-width: none;
  display: block;
  border-radius: 14px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotate(-1deg);
  transition: transform .5s ease;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(200,0,42,0.12),
    -20px 20px 60px rgba(200,0,42,0.08);
  position: relative; z-index: 1;
}

.gui-preview:hover .gui-img {
  transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) rotate(0deg);
}

.gui-img-glow {
  position: absolute;
  width: 80%; height: 60%;
  bottom: -10%; right: -5%;
  background: radial-gradient(ellipse, rgba(200,0,42,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(20px);
}

@media (max-width: 900px) {
  .gui-inner { grid-template-columns: 1fr; gap: 40px; }
  .gui-img   { width: 100%; transform: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: rgba(200,0,42,0.25); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text);
  text-align: left; transition: background .15s;
  gap: 16px;
}

.faq-q:hover { background: rgba(255,255,255,0.02); }

.faq-arrow { flex-shrink: 0; color: var(--text3); transition: transform .25s, color .2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--red2); }

.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 13px; color: var(--text2); line-height: 1.7;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
}

.faq-a strong { color: var(--text); }
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ══════════════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════════════ */
.cta-banner {
  padding: 100px 32px; position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,0,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 1;
}

.cta-logo {
  width: 72px; height: 72px; object-fit: contain; margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(200,0,42,0.6));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(200,0,42,0.5)); }
  50%       { filter: drop-shadow(0 0 32px rgba(232,0,58,0.9)); }
}

.cta-title { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-sub   { font-size: 15px; color: var(--text2); margin-bottom: 36px; }
.cta-btns  { display: flex; gap: 12px; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.footer {
  padding: 32px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo  { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(200,0,42,0.4)); }
.footer-name  { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; }
.footer-tagline { font-size: 11px; color: var(--text3); font-family: var(--mono); margin-top: 2px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text2); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text3); font-family: var(--mono);
}

/* ══════════════════════════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════════════════════════ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats   { gap: 0; padding: 16px 20px; }
  .hero-stat    { padding: 0 20px; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .modules-grid   { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .hero-actions   { flex-direction: column; }
  .hero-stats     { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .hero-stat-div  { display: none; }
  .footer-inner   { flex-direction: column; gap: 20px; }
  .footer-bottom  { flex-direction: column; gap: 6px; text-align: center; }
  .cta-btns       { flex-direction: column; }
  .section        { padding: 64px 20px; }
}