/* ==========================================================================
   LiveHero v2.0 - Premium SaaS Landing Page Stylesheet
   Inspired by Linear, Apple & Modern High-End Developer Tools
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Color Palette */
  --bg-darker: #060911;
  --bg-dark: #0a0f1d;
  --bg-card: rgba(16, 24, 44, 0.75);
  --bg-card-hover: rgba(24, 35, 63, 0.9);
  --bg-glass: rgba(10, 15, 29, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.5);
  --border-glow: rgba(99, 102, 241, 0.4);

  --primary-blue: #38bdf8;
  --primary-blue-hover: #0284c7;
  --primary-indigo: #6366f1;
  --accent-rose: #f43f5e;
  --accent-emerald: #10b981;
  --accent-discord: #5865F2;
  --accent-discord-hover: #4752c4;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.25);
  --shadow-rose-glow: 0 0 35px rgba(244, 63, 94, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(56, 189, 248, 0.08), transparent 35%),
    radial-gradient(circle at 90% 70%, rgba(244, 63, 94, 0.06), transparent 35%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography & Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-discord {
  background: var(--accent-discord);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}
.btn-discord:hover {
  background: var(--accent-discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.5);
}

.logo-ver {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher Pill */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--primary-blue);
  color: #060911;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 170px 0 100px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Mockup Frame */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.mockup-frame {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header-bar {
  background: #111827;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-header-title {
  margin-left: 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.mockup-img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.mockup-img:hover {
  transform: scale(1.005);
}

.mockup-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Metrics Ribbon */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.metric-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.metric-box:hover {
  border-color: var(--primary-blue);
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary-blue);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Screenshot Gallery
   ========================================================================== */
.gallery-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.2);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000000;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
  transform: scale(1.03);
}

.gallery-overlay-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-info {
  padding: 22px 24px;
}

.gallery-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.gallery-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   How It Works (3 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
}

.step-number {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: rgba(56, 189, 248, 0.18);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   System Requirements
   ========================================================================== */
.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 860px;
  margin: 0 auto;
}

.req-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.req-row:last-child {
  border-bottom: none;
}

.req-key {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-val {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: right;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(20, 30, 56, 0.9) 0%, rgba(10, 15, 29, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  text-align: center;
  position: relative;
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
}

.pricing-price {
  margin: 24px 0 10px;
}

.price-currency {
  font-size: 64px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
}

.price-period {
  font-size: 15px;
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-features-list {
  list-style: none;
  text-align: left;
  margin: 36px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.pricing-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--primary-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   Contact / Discord Section
   ========================================================================== */
.contact-card-box {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(88, 101, 242, 0.2);
}

.discord-avatar-badge {
  width: 72px;
  height: 72px;
  background: var(--accent-discord);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
}
.discord-avatar-badge svg {
  width: 38px;
  height: 38px;
}

.discord-user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(88, 101, 242, 0.5);
  padding: 14px 30px;
  border-radius: 40px;
  margin: 28px 0;
}

.discord-tag-text {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
}

/* ==========================================================================
   Legal & Footer
   ========================================================================== */
.legal-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-top: 60px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  background: rgba(4, 7, 14, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-col a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Lightbox & Modals
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(4, 7, 15, 0.96);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-box img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-subtle);
}

.lightbox-caption-text {
  margin-top: 16px;
  color: #ffffff;
  font-size: 15px;
  text-align: center;
}
.lightbox-caption-text span {
  font-size: 13px;
  color: var(--text-secondary);
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.2s;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-btn:hover {
  background: var(--primary-blue);
  color: #060911;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close-btn {
  top: 24px;
  right: 24px;
  transform: none;
}

/* Custom Modals (Privacy & Terms) */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
.custom-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
.modal-close:hover { color: #ffffff; }

/* Toast */
.site-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(16, 24, 44, 0.95);
  border: 1px solid var(--primary-blue);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.site-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 46px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 20px; }
  .hero-desc { font-size: 16px; }
  .section-title { font-size: 28px; }

  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateY(0);
  }

  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .discord-user-pill { flex-direction: column; gap: 12px; }
}
