/* ==========================================================================
   MineServe — Modern Obsidian & Emerald Theme
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-obsidian: #080c14;
  --bg-card: #0f172a;
  --bg-card-hover: #162036;
  --bg-card-inner: #131d33;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(16, 185, 129, 0.35);
  
  --emerald-primary: #10b981;
  --emerald-hover: #059669;
  --emerald-light: #34d399;
  --emerald-dark: #064e3b;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080c14;

  --gold-yellow: #f59e0b;
  --redstone-red: #ef4444;
  --cyan-blue: #06b6d4;
  --purple-mod: #a855f7;
  --discord-blurple: #5865f2;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  color: var(--slate-200);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Ambient Background Glow */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}

.glow-top-right {
  top: 100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
}

.glow-center {
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: background var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0.85rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--emerald-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  color: #fff;
}

@media (min-width: 860px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-drawer {
  display: none;
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border-card);
  background: var(--bg-obsidian);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-200);
}

.mobile-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-hover));
  color: #042416;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399, var(--emerald-primary));
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--slate-800);
  color: #fff;
  border: 1px solid var(--slate-700);
}

.btn-secondary:hover {
  background: var(--slate-700);
  border-color: var(--slate-600);
  transform: translateY(-1px);
}

.btn-discord {
  background: rgba(88, 101, 242, 0.15);
  color: #8590ff;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.4);
  transform: translateY(-1px);
}

.btn-github {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-card);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-light);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-description strong {
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-card);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--slate-400);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-card);
}

/* Hero Phone Mockup */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-frame {
  width: 290px;
  background: #020617;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(16, 185, 129, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-slow);
}

.phone-frame:hover {
  transform: translateY(-6px) rotateY(-2deg) rotateX(2deg);
}

.phone-notch {
  width: 90px;
  height: 18px;
  background: #020617;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto 6px;
}

.phone-screen {
  overflow: hidden;
  border-radius: 34px;
  background: #000;
  aspect-ratio: 9 / 19.5;
}

.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glass Cards */
.mockup-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}

.top-right-card {
  top: 15%;
  right: -20px;
}

.bottom-left-card {
  bottom: 12%;
  left: -25px;
  animation-delay: -2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.status-indicator-live {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-primary);
}

.floating-card-icon {
  font-size: 1.25rem;
}

.floating-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.floating-card-sub {
  font-size: 0.72rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-400);
  max-width: 650px;
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Showcase / Screenshots Carousel
   ========================================================================== */

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.showcase-tab {
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--slate-300);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.showcase-tab.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-primary);
  color: var(--emerald-light);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

@media (min-width: 860px) {
  .showcase-card {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 3rem;
  }
}

.showcase-preview-frame {
  display: flex;
  justify-content: center;
}

.showcase-image {
  max-height: 480px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity var(--transition-normal);
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.showcase-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.showcase-description {
  font-size: 1.05rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.showcase-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-300);
}

.bullet-check {
  color: var(--emerald-primary);
  font-weight: 800;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.emerald-glow { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }
.orange-glow  { background: rgba(249, 115, 22, 0.15); border: 1px solid rgba(249, 115, 22, 0.3); }
.cyan-glow    { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3); }
.purple-glow  { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); }
.blue-glow    { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); }
.green-glow   { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.3); }
.red-glow     { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); }
.amber-glow   { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.feature-desc code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--emerald-light);
}

/* ==========================================================================
   Supported Engines
   ========================================================================== */

.engines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .engines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .engines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.engine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.engine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.engine-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.badge-paper { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-purpur { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }
.badge-geyser { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-fabric { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.badge-neoforge { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.3); }
.badge-vanilla { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.3); }

.engine-license {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate-500);
}

.engine-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.engine-desc {
  font-size: 0.92rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.engine-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-400);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-card);
}

/* ==========================================================================
   Architecture Flow
   ========================================================================== */

.architecture-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 780px;
  margin-inline: auto;
}

.arch-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.arch-step:hover {
  transform: translateX(6px);
  border-color: var(--emerald-primary);
}

.arch-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.arch-content p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.arch-content code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--emerald-light);
}

.arch-connector {
  text-align: center;
  font-size: 1.25rem;
  color: var(--emerald-primary);
  opacity: 0.6;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--emerald-primary);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -0.25rem;
  padding-top: 1rem;
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-answer strong {
  color: #fff;
}

/* ==========================================================================
   CTA Card
   ========================================================================== */

.cta-section {
  padding: 4rem 0 6rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 20, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.15);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.support-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate-400);
}

.support-link {
  color: var(--slate-300);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.support-link:hover {
  color: #fff;
}

.patreon-link:hover { color: #f43f5e; }
.bmac-link:hover { color: #fbbf24; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #04070d;
  border-top: 1px solid var(--border-card);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--slate-400);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 1.2fr 2fr;
  }
}

.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-400);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-list a {
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 680px;
  color: var(--slate-500);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer-domain-link {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--emerald-light);
}
