@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #091118;
  --surface: #101c27;
  --surface2: #162737;
  --maroon: #5A0E0E;
  --maroon-light: #7A1515;
  --gold: #E5A900;
  --gold-bright: #FFD32A;
  --gold-dim: rgba(229,169,0,0.15);
  --crimson: #8B1818;
  --crimson-dim: rgba(139,24,24,0.25);
  --purple: #7C3AED;
  --text: #F0F4F8;
  --text-muted: #8DA2B4;
  --text-dim: #4F677A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.7; }

.font-bebas { font-family: 'Bebas Neue', cursive; }
.font-mono  { font-family: 'JetBrains Mono', monospace; }

.gold-text {
  background: linear-gradient(135deg, #E5A900 0%, #FFD32A 50%, #E5A900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 1.5rem; }

/* Grid / noise bg */
.grid-bg {
  background-image:
    linear-gradient(rgba(229,169,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,169,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Red stripe / RPG Banner style */
.stripe {
  background: linear-gradient(90deg, var(--maroon), var(--maroon-light), var(--maroon));
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.stripe::before, .stripe::after {
  content: '';
  position: absolute;
  top: -2px; bottom: -2px;
  width: 2px;
  background: var(--gold);
  opacity: 0.7;
}
.stripe::before { left: 8px; }
.stripe::after { right: 8px; }

.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(229,169,0,0.25), transparent); }

/* Navbar */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(9,17,24,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,169,0,0.15);
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; cursor: pointer; }
.nav-logo-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.nav-logo-text { font-family: 'Bebas Neue', cursive; font-size: 1.4rem; letter-spacing: 0.15em; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #FFD32A, #E5A900);
  color: #091118; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; transition: opacity 0.2s;
  cursor: pointer;
  border: 1px solid #FFD32A;
}
.nav-cta:hover { opacity: 0.9; }
.nav-pricing {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  border: 1px solid rgba(229,169,0,0.35); padding: 0.5rem 1rem;
  transition: border-color 0.2s, color 0.2s; margin-right: 0.5rem;
}
.nav-pricing:hover, .nav-pricing.active { border-color: var(--gold); color: var(--text); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0.25rem; }
#mobile-menu {
  display: none; flex-direction: column; gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(9,17,24,0.98);
  border-bottom: 1px solid rgba(229,169,0,0.15);
}
#mobile-menu a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
#mobile-menu a:hover { color: var(--text); }
#mobile-menu .nav-cta { justify-content: center; margin-top: 0.5rem; }

/* Buttons */
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #FFD32A, #E5A900); color: #091118;
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid #FFD32A;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 15px rgba(229,169,0,0.25);
}
.btn-gold:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(229,169,0,0.4); color: var(--text-muted);
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-outline:hover { color: var(--text); border-color: rgba(229,169,0,0.7); }
.btn-crimson {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #7A1515, #5A0E0E); color: #fff;
  font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid #7A1515;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 15px rgba(90,14,14,0.35);
}
.btn-crimson:hover { opacity: 0.9; transform: translateY(-1px); }

/* Section labels */
.section-label {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.section-label::before { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--gold); }
.section-label span { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: 'Bebas Neue', cursive; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: 0.1em; color: var(--text); }

/* Cards */
.card {
  padding: 2rem; border: 1px solid rgba(229,169,0,0.16);
  background: rgba(16,28,39,0.7);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover { transform: translateY(-4px); border-color: rgba(229,169,0,0.35); }
.card-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; margin-bottom: 1.5rem;
  border: 1px solid rgba(229,169,0,0.25);
  background: rgba(229,169,0,0.08);
}

/* FAQ */
details { border: 1px solid rgba(229,169,0,0.16); background: rgba(16,28,39,0.65); margin-bottom: 0.75rem; }
details summary { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; cursor: pointer; list-style: none; transition: background 0.2s; }
details summary::-webkit-details-marker { display: none; }
details summary:hover { background: rgba(255,255,255,0.03); }
details summary h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.faq-chevron { color: var(--gold); transition: transform 0.25s ease; flex-shrink: 0; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-body { padding: 0 1.5rem 1.5rem; font-size: 0.85rem; line-height: 1.8; color: var(--text-muted); }

/* Footer */
footer { background: #060B10; padding: 3rem 1.5rem; border-top: 1px solid rgba(229,169,0,0.15); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto auto; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid rgba(229,169,0,0.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.7rem; color: #3A5B75; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseglow { 0%,100% { box-shadow: 0 0 20px rgba(229,169,0,0.3); } 50% { box-shadow: 0 0 40px rgba(229,169,0,0.55); } }

.anim-fade-up { animation: fadeUp 0.7s ease both; }
.anim-float { animation: float 4s ease-in-out infinite; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.4s; } .d5 { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Rich section backgrounds */
.bg-rich-top {
  background:
    linear-gradient(rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(ellipse 110% 65% at 50% 0%, var(--surface2) 0%, var(--bg) 100%);
}
.bg-rich-center {
  background:
    linear-gradient(rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(ellipse 80% 55% at 50% 50%, var(--surface) 0%, var(--bg) 100%);
}
.bg-rich-maroon {
  background:
    linear-gradient(rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(229,169,0,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(ellipse 100% 60% at 50% 0%, var(--surface2) 0%, var(--bg) 100%),
    radial-gradient(circle at 0% 100%, rgba(90,14,14,0.3) 0%, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(90,14,14,0.25) 0%, transparent 50%);
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Interactive CSS Mockups */
.mockup-container {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #091118;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  justify-content: center;
}

/* 1. Terminal / Farm Bot Mockup */
.mockup-terminal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  width: 100%;
}
.terminal-line {
  opacity: 0;
  animation: typeLine 7s infinite;
  white-space: nowrap;
  color: var(--text-muted);
}
.terminal-line span.gold { color: var(--gold-bright); }
.terminal-line span.green { color: #00F5A0; }
.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.8s; }
.terminal-line:nth-child(3) { animation-delay: 3.1s; }
.terminal-line:nth-child(4) { animation-delay: 4.4s; }
.terminal-line:nth-child(5) { animation-delay: 5.7s; }

@keyframes typeLine {
  0% { opacity: 0; transform: translateY(5px); }
  8%, 90% { opacity: 1; transform: translateY(0); }
  95%, 100% { opacity: 0; }
}

/* 2. Loot Filter Mockup */
.mockup-loot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 90%;
  margin: auto;
}
.loot-item {
  background: rgba(16, 28, 39, 0.95);
  border: 1px solid rgba(229,169,0,0.18);
  padding: 0.6rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.loot-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.loot-stat {
  font-size: 0.62rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.loot-badge {
  font-size: 0.52rem;
  padding: 0.08rem 0.3rem;
  border-radius: 2px;
  font-weight: bold;
}
.loot-badge.keep { background: rgba(0, 245, 160, 0.12); color: #00F5A0; border: 1px solid rgba(0,245,160,0.25); }
.loot-badge.dismantle { background: rgba(229,16,16,0.12); color: #FF4757; border: 1px solid rgba(229,16,16,0.25); }
.dismantle-anim {
  animation: dismantleFlicker 5s infinite;
}
@keyframes dismantleFlicker {
  0%, 35% { opacity: 1; }
  45% { background: rgba(229,16,16,0.3); border-color: #FF4757; }
  55%, 100% { opacity: 0.15; transform: scale(0.96); }
}

/* 3. Macro / FTool Mockup */
.mockup-macro {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.macro-track {
  width: 85%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  position: relative;
}
.macro-progress {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--gold-bright);
  border-radius: 3px;
  animation: macroProgress 4s linear infinite;
}
.macro-icons {
  display: flex;
  gap: 0.85rem;
}
.macro-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(229,169,0,0.2);
  background: rgba(16, 28, 39, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: transform 0.2s, border-color 0.2s;
}
.macro-icon.active {
  animation: macroActive 4s infinite;
}
.macro-icon:nth-child(1).active { animation-delay: 0.8s; }
.macro-icon:nth-child(2).active { animation-delay: 2s; }
.macro-icon:nth-child(3).active { animation-delay: 3.2s; }

@keyframes macroProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes macroActive {
  0%, 15% { border-color: var(--gold-bright); box-shadow: 0 0 12px rgba(229,169,0,0.45); transform: scale(1.15); background: var(--maroon); }
  20%, 100% { border-color: rgba(229,169,0,0.2); box-shadow: none; transform: scale(1); background: rgba(16, 28, 39, 0.95); }
}

/* 4. Gear Swap Mockup */
.mockup-gear {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 140px;
  margin: auto;
}
.gear-slot {
  aspect-ratio: 1;
  border: 1px solid rgba(229,169,0,0.22);
  background: rgba(16, 28, 39, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 4px;
}
.gear-item-art {
  font-size: 1.15rem;
  animation: gearSwap 5s infinite;
}
.gear-slot:nth-child(1) .gear-item-art::before { content: '⚔️'; }
.gear-slot:nth-child(2) .gear-item-art::before { content: '🛡️'; }
.gear-slot:nth-child(3) .gear-item-art::before { content: '💍'; }
.gear-slot:nth-child(4) .gear-item-art::before { content: '🪖'; }
.gear-slot:nth-child(5) .gear-item-art::before { content: '🥾'; }
.gear-slot:nth-child(6) .gear-item-art::before { content: '🎒'; }

@keyframes gearSwap {
  0%, 45% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0; transform: scale(0.7) rotate(15deg); }
  55%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.gear-slot:nth-child(1) { animation: gearSlotPulse 5s infinite; }
@keyframes gearSlotPulse {
  50% { border-color: var(--gold-bright); box-shadow: 0 0 10px rgba(229,169,0,0.4); }
}

/* 5. GM Detector Radar Mockup */
.mockup-gm {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}
.radar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 160, 0.25);
  position: relative;
  overflow: hidden;
  animation: radarAlert 6s infinite;
}
.radar-circle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, rgba(0, 245, 160, 0.2), transparent 50%);
  transform-origin: top left;
  animation: radarSweep 2.2s linear infinite;
  transform: translate(-50%, -50%);
}
.gm-alert-box {
  background: rgba(9, 17, 24, 0.95);
  border: 1px solid rgba(0, 245, 160, 0.35);
  padding: 0.4rem 0.85rem;
  color: #00F5A0;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  font-weight: bold;
  animation: gmTextAlert 6s infinite;
  border-radius: 2px;
}
@keyframes radarSweep {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes radarAlert {
  0%, 50% { border-color: rgba(0, 245, 160, 0.25); background: transparent; }
  55%, 95% { border-color: #FF4757; background: rgba(255, 71, 87, 0.08); }
}
@keyframes gmTextAlert {
  0%, 50% { color: #00F5A0; border-color: rgba(0, 245, 160, 0.35); content: 'SYSTEM STATUS: SECURE'; }
  55%, 95% { color: #FF4757; border-color: #FF4757; text-shadow: 0 0 6px rgba(255,71,87,0.35); content: 'ALERT: GM DETECTED!'; }
}

/* Glass card styling */
.glass-card {
  background: rgba(16, 28, 39, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 169, 0, 0.16);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-pricing { display: none; }
  .nav-hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
