:root, [data-theme="dark"] {
  /* Surface & Background Colors */
  --bg-black: #080a0e;
  --bg-main: #0c0f15;
  --bg-card: #131720;
  --bg-card-hover: #181d28;
  --bg-elevated: #1c2230;
  --bg-subtle: #11151e;
  --header-bg: rgba(12, 15, 21, 0.85);
  --body-gradient: radial-gradient(circle at 50% 0%, #151a24 0%, var(--bg-main) 65%);
  --device-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 212, 255, 0.08);
  --download-bg: radial-gradient(circle at 50% 0%, #1a2233 0%, var(--bg-card) 75%);
  --modal-backdrop: rgba(4, 6, 10, 0.82);

  /* Accent & Mode Colors */
  --accent-cyan: #00d4ff;
  --accent-blue: #0066ff;
  --mode-eco: #10b981;
  --mode-smart: #00d4ff;
  --mode-beast: #ff385c;
  --mode-game: #8b5cf6;

  /* Borders & Grids */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(0, 212, 255, 0.35);
  --border-divider: rgba(255, 255, 255, 0.06);

  /* Typography Colors */
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-dim: #4b5563;
  --color-scheme: dark;

  /* Typography Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* Layout & Sizing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Surface & Background Colors */
  --bg-black: #ffffff;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-elevated: #f1f5f9;
  --bg-subtle: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.95);
  --body-gradient: radial-gradient(circle at 50% 0%, #e2e8f0 0%, var(--bg-main) 70%);
  --device-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 102, 255, 0.05);
  --download-bg: radial-gradient(circle at 50% 0%, #ebf5ff 0%, #ffffff 80%);
  --modal-backdrop: rgba(15, 23, 42, 0.65);

  /* Accent & Mode Colors */
  --accent-cyan: #0284c7;
  --accent-blue: #0052cc;
  --mode-eco: #047857;
  --mode-smart: #0284c7;
  --mode-beast: #be123c;
  --mode-game: #6d28d9;

  /* Borders & Grids */
  --border-subtle: rgba(0, 0, 0, 0.09);
  --border-card: rgba(0, 0, 0, 0.14);
  --border-hover: rgba(0, 82, 204, 0.45);
  --border-divider: rgba(0, 0, 0, 0.09);

  /* Typography Colors - High Contrast Dark Text */
  --text-primary: #090d16;
  --text-secondary: #1e293b;
  --text-muted: #334155;
  --text-dim: #64748b;
  --color-scheme: light;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  color-scheme: var(--color-scheme);
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--body-gradient);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-base), color var(--transition-base);
}

body.menu-open {
  overflow: hidden;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: all var(--transition-base);
  user-select: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.45);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-tool {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-tool:hover {
  background: rgba(0, 212, 255, 0.16);
  border-color: rgba(0, 212, 255, 0.45);
}

[data-theme="light"] .btn-tool {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

[data-theme="light"] .btn-tool:hover {
  background: rgba(2, 132, 199, 0.22);
  border-color: rgba(2, 132, 199, 0.5);
  color: #0c4a6e;
}

/* Badges */
.sub-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

[data-theme="light"] .sub-badge {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

/* ==========================================================================
   HEADER / NAVBAR & THEME TOGGLE
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
}

/* Donate Button (matching reference image) */
.btn-donate {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  filter: brightness(1.08);
}

.btn-donate svg {
  color: #ffffff;
}

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

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Brand Icon Light/Dark Toggle */
[data-theme="dark"] .brand-icon-dark { display: block; }
[data-theme="dark"] .brand-icon-light { display: none; }
[data-theme="light"] .brand-icon-dark { display: none; }
[data-theme="light"] .brand-icon-light { display: block; }

/* Companion Screenshot Light/Dark Toggle */
[data-theme="dark"] .phone-screenshot-dark { display: block; }
[data-theme="dark"] .phone-screenshot-light { display: none; }
[data-theme="light"] .phone-screenshot-dark { display: none; }
[data-theme="light"] .phone-screenshot-light { display: block; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1),
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2),
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3),
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 64px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  color: var(--text-primary);
  max-width: 820px;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
}

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

.hero-specs-tag {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 50px;
}

.hero-visual-wrapper {
  width: 100%;
  max-width: 1080px;
  margin-top: 10px;
  position: relative;
}

.hero-device-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--device-shadow);
  transition: transform var(--transition-smooth), border-color var(--transition-base);
}

.hero-device-frame:hover {
  border-color: var(--border-hover);
}

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

.device-sync-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseAnim 2s infinite ease-in-out;
}

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

/* ==========================================================================
   GENERIC SECTION HEADERS
   ========================================================================== */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
  border-top: 1px solid var(--border-divider);
}

.section-header {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   SECTION 2: WHAT IS AXEPOWER (FEATURES GRID)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue { background: rgba(0, 102, 255, 0.12); color: #0066ff; }
.icon-cyan { background: rgba(0, 212, 255, 0.12); color: #00d4ff; }
.icon-purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; }

.feature-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 3: REAL DASHBOARD SHOWCASE (ASUS ROG GAMING LAPTOP)
   ========================================================================== */
.dashboard-laptop-container {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.window-shadow-glow {
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%, rgba(0, 102, 255, 0.06) 50%, transparent 80%);
  filter: blur(45px);
  z-index: 1;
  pointer-events: none;
}

.dashboard-laptop-frame {
  position: relative;
  z-index: 2;
  transition: transform var(--transition-smooth);
  display: flex;
  justify-content: center;
  width: 100%;
}

.dashboard-laptop-frame:hover {
  transform: translateY(-4px);
}

.dashboard-laptop-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   SECTION 4: POWER + GAMING MODES
   ========================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.mode-card:hover {
  transform: translateY(-5px);
}

.mode-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.mode-eco .mode-badge { background: rgba(16, 185, 129, 0.15); color: var(--mode-eco); border: 1px solid rgba(16, 185, 129, 0.3); }
.mode-smart .mode-badge { background: rgba(0, 212, 255, 0.15); color: var(--mode-smart); border: 1px solid rgba(0, 212, 255, 0.3); }
.mode-beast .mode-badge { background: rgba(255, 56, 92, 0.15); color: var(--mode-beast); border: 1px solid rgba(255, 56, 92, 0.3); }
.mode-game .mode-badge { background: rgba(139, 92, 246, 0.15); color: var(--mode-game); border: 1px solid rgba(139, 92, 246, 0.3); }

.mode-eco:hover { border-color: rgba(16, 185, 129, 0.4); }
.mode-smart:hover { border-color: rgba(0, 212, 255, 0.4); }
.mode-beast:hover { border-color: rgba(255, 56, 92, 0.4); }
.mode-game:hover { border-color: rgba(139, 92, 246, 0.4); }

.mode-icon-container {
  width: 90px;
  height: 90px;
  margin: 10px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}

.mode-card-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.mode-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}

.mode-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-divider);
  padding-top: 20px;
}

.mode-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Game Profile Flow Banner */
.game-profile-flow {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.flow-header {
  margin-bottom: 28px;
}

.flow-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-subtitle {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.flow-step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.flow-arrow {
  font-size: 18px;
  color: var(--text-dim);
  text-align: center;
}

[data-theme="light"] .step-num {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

[data-theme="light"] .flow-arrow {
  color: #64748b;
}

/* ==========================================================================
   SECTION 5: AI RECOMMENDATIONS
   ========================================================================== */
.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.ai-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.3);
}

.ai-card-badge {
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.ai-card-body {
  display: flex;
  gap: 12px;
}

.ai-quote-icon {
  font-size: 28px;
  line-height: 1;
  color: var(--text-dim);
  font-family: serif;
}

.ai-card-text {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.ai-card-actions {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-divider);
}

.btn-action-primary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-action-primary:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-action-ghost {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.btn-action-ghost:hover {
  color: var(--text-secondary);
}

.ai-footer-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.ai-footer-note strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SECTION 6: ANDROID COMPANION
   ========================================================================== */
.companion-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.companion-text-side {
  display: flex;
  flex-direction: column;
}

.companion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.companion-connection-info {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
}

.conn-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.conn-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.companion-cta-wrap {
  margin-top: 24px;
}

.btn-android-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-android-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  filter: brightness(1.08);
}

.badge-coming-soon {
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

[data-theme="light"] .btn-secondary .badge-coming-soon {
  background: #cbd5e1;
  color: #0f172a;
}

/* Phone Mockup */
.companion-visual-side {
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
}

.android-phone {
  width: 295px;
  background: var(--bg-card);
  border: 7px solid #1a202c;
  border-radius: 38px;
  box-shadow: var(--device-shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-smooth), border-color var(--transition-base);
}

[data-theme="light"] .android-phone {
  border: 7px solid #cbd5e1;
}

.android-phone:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-hover);
}

.phone-speaker-grill {
  width: 44px;
  height: 3px;
  background: #2a3344;
  border-radius: 3px;
  position: absolute;
  top: 6px;
  z-index: 10;
}

[data-theme="light"] .phone-speaker-grill {
  background: #94a3b8;
}

.phone-camera-punch {
  width: 8px;
  height: 8px;
  background: #000000;
  border-radius: 50%;
  position: absolute;
  top: 13px;
  z-index: 10;
  box-shadow: 0 0 0 1px #11141c;
}

.phone-screen-container {
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
}

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

/* ==========================================================================
   SECTION 7: WORKS WITH YOUR TOOLS
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.tool-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tool-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.logo-msi img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: filter var(--transition-fast);
}

[data-theme="light"] .logo-msi img {
  filter: brightness(0.18) contrast(1.3);
}

.tool-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

[data-theme="dark"] .tool-tag {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .tool-tag {
  background: #e2e8f0;
  color: #1e293b;
  font-weight: 600;
  border-color: rgba(0, 0, 0, 0.12);
}

.tool-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.tool-action-wrap {
  margin-top: auto;
}

.tools-disclaimer {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 20px auto 0;
  line-height: 1.5;
}

[data-theme="light"] .tools-disclaimer {
  color: #475569;
}

/* ==========================================================================
   SECTION 8: DOWNLOAD CTA
   ========================================================================== */
.section-download {
  padding-top: 60px;
  padding-bottom: 80px;
}

.download-card {
  position: relative;
  background: var(--download-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--device-shadow);
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.download-heading {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.download-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.download-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-separator {
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 24px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 20px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-divider);
  background: var(--bg-main);
  padding-top: 50px;
  padding-bottom: 40px;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-divider);
  padding-top: 24px;
  text-align: center;
}

.copyright-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablets & Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .companion-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .companion-tags {
    justify-content: center;
  }
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: -4px auto;
  }
  .download-grid-main {
    grid-template-columns: 1fr;
  }
  .about-section-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices & Portrait Tablets (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-container {
    height: 68px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-donate {
    padding: 6px 12px;
    font-size: 13px;
    gap: 6px;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12, 15, 21, 0.98);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 9999;
  }

  .nav-links.mobile-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    display: flex;
  }

  .nav-link {
    padding: 13px 18px;
    font-size: 15.5px;
    font-weight: 600;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Light theme mobile nav override */
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  [data-theme="light"] .nav-link {
    color: #334155;
  }
  [data-theme="light"] .nav-link:hover,
  [data-theme="light"] .nav-link.active {
    background: #f1f5f9;
    color: #0f172a;
  }

  /* Section Spacing on Mobile */
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(24px, 5.5vw, 32px);
    margin-bottom: 10px;
  }

  .section-description {
    font-size: 15px;
    line-height: 1.55;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 5px 12px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.4;
  }

  .hero-title {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-specs-tag {
    font-size: 12px;
    margin-bottom: 28px;
  }

  .hero-device-frame {
    border-radius: var(--radius-lg);
  }

  /* Inner Page Hero Sections */
  .page-hero,
  .help-hero {
    padding: 42px 0 24px !important;
  }

  .page-hero .hero-title,
  .help-hero .hero-title {
    font-size: clamp(24px, 6.5vw, 36px) !important;
    margin-bottom: 10px;
  }

  .page-hero .hero-subtitle,
  .help-hero .hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.55;
  }

  /* All Grids Collapse to Clean 1-Column Stacks */
  .features-grid,
  .modes-grid,
  .ai-cards-grid,
  .tools-grid,
  .feature-grid-showcase,
  .download-grid-main,
  .about-section-grid,
  .store-grid,
  .support-grid,
  .contribute-grid,
  .donate-channels-grid,
  .guide-grid,
  .jobs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Unified Card Mobile Padding */
  .feature-card,
  .mode-card,
  .ai-card,
  .tool-card,
  .feature-card-deep,
  .dl-card-featured,
  .dl-options-card,
  .about-card,
  .store-card,
  .support-card,
  .contribute-card,
  .donate-card,
  .guide-card,
  .job-card {
    padding: 22px 18px !important;
    border-radius: var(--radius-lg);
  }

  /* Power Modes Cards */
  .mode-icon-container {
    width: 72px;
    height: 72px;
    margin: 4px auto 16px;
  }

  .mode-img {
    width: 60px;
    height: 60px;
  }

  .mode-specs {
    padding-top: 14px;
    gap: 10px;
  }

  /* Game Profile Workflow Flow */
  .game-profile-flow {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }

  .flow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .flow-step {
    padding: 12px 14px;
  }

  /* AI Cards */
  .ai-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ai-footer-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    padding: 12px 16px;
  }

  /* Android Phone Visual */
  .android-phone {
    width: min(280px, 100%);
    margin: 0 auto;
    border-width: 6px;
    border-radius: 34px;
  }

  .phone-screen-container {
    border-radius: 26px;
  }

  .device-sync-tag {
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  /* Download Call to Action Section */
  .download-card {
    padding: 36px 18px;
    border-radius: var(--radius-lg);
  }

  .download-heading {
    font-size: clamp(24px, 6vw, 34px);
    margin-bottom: 12px;
  }

  .download-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .download-action-row {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
    gap: 12px;
  }

  .download-action-row .btn {
    width: 100%;
    justify-content: center;
  }

  .download-meta-info {
    font-size: 12px;
    gap: 8px;
    justify-content: center;
  }

  /* FAQ Section */
  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-answer p {
    font-size: 14px;
    padding-bottom: 16px;
  }

  /* Help Center Enhancements */
  .help-search-box {
    margin: 20px auto 0;
    padding: 0 4px;
  }

  .help-search-input {
    font-size: 16px !important;
    padding: 13px 16px 13px 44px;
  }

  .help-search-icon {
    left: 16px;
  }

  .help-nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    justify-content: flex-start;
    padding: 12px 4px 6px;
    width: 100%;
  }

  .help-nav-pills::-webkit-scrollbar {
    display: none;
  }

  .help-pill {
    flex-shrink: 0;
    padding: 7px 13px;
    font-size: 12.5px;
  }

  .guide-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Responsive Tables */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 12px 0;
    border-radius: var(--radius-sm);
  }

  .bindings-table {
    min-width: 280px;
    font-size: 12.5px;
  }

  .bindings-table th,
  .bindings-table td {
    padding: 8px 10px;
  }

  /* Footer */
  .site-footer {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 16px;
  }

  .footer-link {
    font-size: 13.5px;
  }

  /* Modals */
  .legal-modal-backdrop {
    padding: 12px;
  }

  .legal-modal-card {
    max-height: 92vh;
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .legal-modal-header {
    padding: 16px 18px;
  }

  .legal-modal-body {
    padding: 16px 18px;
    font-size: 13.5px;
  }

  .legal-modal-footer {
    padding: 12px 18px;
  }

  .contact-channel-card {
    padding: 12px 16px;
    gap: 12px;
  }
}

/* Small Smartphone Viewports (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .btn-donate {
    padding: 6px 12px;
    font-size: 13px;
    gap: 6px;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 15px;
  }

  .btn-xl {
    padding: 14px 24px;
    font-size: 16px;
  }

  .sub-badge {
    font-size: 11px;
    padding: 3px 10px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .job-card .btn {
    width: 100%;
  }

  .upi-box {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    text-align: center;
  }

  .upi-code {
    font-size: 12px;
  }

  .copy-btn {
    width: 100%;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   LEGAL / CONTACT MODAL DIALOGS
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--modal-backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal var(--transition-fast) ease-out forwards;
}

.legal-modal-backdrop[hidden] {
  display: none !important;
}

.legal-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--device-shadow);
  animation: slideUpModal var(--transition-base) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.legal-modal-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-subtitle {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.legal-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-divider);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-elevated);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.credits-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 12px 0 16px;
}

.credits-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.credits-box li {
  font-size: 13px;
  color: var(--text-secondary);
}

.credits-box strong {
  color: var(--text-primary);
}

.modal-close-btn {
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-modal-body h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 6px;
}

.legal-modal-body h4:first-of-type {
  margin-top: 0;
}

.legal-modal-body p {
  margin-bottom: 12px;
}

.legal-modal-body code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

/* Contact Modal */
.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-meta strong {
  font-size: 14.5px;
  color: var(--text-primary);
}

.contact-meta span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.discord-card {
  border-left: 3px solid #5865f2;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
