﻿/* ════════════════════════════════════════════════════════════════════════
   PREMIUM FINANCIAL DESIGN SYSTEM
   ════════════════════════════════════════════════════════════════════════
   Luxury • Authority • Wealth • Growth
   Dark Mode with Gold Accents (10% Gold, 90% Dark)
   Production-Ready Component Library
   ════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS & CSS VARIABLES
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* PRIMARY GOLD - Core Brand Identity (10% usage) */
  --primary-gold: #b68e15;
  --primary-gold-hover: #c79c1d;
  --primary-gold-active: #8f6e10;
  --primary-gold-light: #f5e7c2;
  --primary-gold-glow: rgba(182, 142, 21, 0.25);

  /* HEADER/FOOTER GOLD */
  --header-footer-gold: #916f24;
  --header-footer-gold-dark: #7a5b1f;

  /* BACKGROUNDS - Dark Foundation (slightly lighter) */
  --bg-main: #111111;
  --bg-surface: #181818;
  --bg-card: #222222;
  --bg-input: #2c2c2c;
  --bg-overlay: rgba(0, 0, 0, 0.65);
  --bg-hover: #282828;

  /* BORDERS */
  --border-subtle: #2e2e2e;

  /* TEXT HIERARCHY */
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #ffffff;
  --text-on-gold: #1a1a1a;

  /* BORDERS */
  --border-light: #2e2e2e;
  --border-medium: #383838;
  --border-strong: #444444;
  --border-gold: rgba(229, 251, 177, 0.3);

  /* STATE COLORS */
  --success: #52c41a;
  --success-bg: rgba(82, 196, 26, 0.1);
  --error: #ff4d4f;
  --error-bg: rgba(255, 77, 79, 0.1);
  --warning: #faad14;
  --warning-bg: rgba(250, 173, 20, 0.1);
  --info: #1677ff;
  --info-bg: rgba(22, 119, 255, 0.1);

  /* EFFECTS */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 0 20px rgba(182, 142, 21, 0.3);
  --shadow-gold-glow: 0 0 40px rgba(182, 142, 21, 0.2);

  /* RADIUS */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* GRADIENTS */
  --gradient-gold: linear-gradient(135deg, #b68e15, #e6c97a);
  --gradient-gold-subtle: linear-gradient(
    135deg,
    rgba(182, 142, 21, 0.1),
    rgba(230, 201, 122, 0.05)
  );
  --gradient-dark: #131313;

  /* TYPOGRAPHY */
  --font-display: "Cairo", sans-serif;
  --font-body: "Tajawal", sans-serif;
  --font-mono: "Courier New", monospace;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 900;

  /* SPACING */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Z-INDEX */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 350;
  --z-notification: 400;

  /* TRANSITIONS */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ════════════════════════════════════════════════════════════════════════
   LIGHT MODE — Old Green / Cream Theme
   ════════════════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  /* Cream / Off-white backgrounds */
  --bg-main: #faf8f2;
  --bg-surface: #f3ede0;
  --bg-card: #ffffff;
  --bg-input: #ece5d4;
  --bg-overlay: rgba(250, 248, 242, 0.85);
  --bg-hover: #eee8d6;

  /* Green accent (replaces gold) */
  --primary-gold: #2d6a0a;
  --primary-gold-hover: #3a8010;
  --primary-gold-active: #1f4d07;
  --primary-gold-light: #d6edca;
  --primary-gold-glow: rgba(45, 106, 10, 0.2);

  /* Text */
  --text-primary: #1a2a0d;
  --text-secondary: #4a5a3a;
  --text-muted: #7a8a6a;
  --text-on-gold: #ffffff;

  /* Borders */
  --border-subtle: #d4e8c0;
  --border-light: #d4e8c0;
  --border-medium: #bcd8a8;
  --border-strong: #a0c490;
  --border-gold: rgba(45, 106, 10, 0.25);

  /* Shadows — lighter, green-tinted */
  --shadow-sm: 0 2px 8px rgba(45, 106, 10, 0.08);
  --shadow-md: 0 4px 16px rgba(45, 106, 10, 0.12);
  --shadow-lg: 0 8px 32px rgba(45, 106, 10, 0.15);
  --shadow-xl: 0 12px 48px rgba(45, 106, 10, 0.18);
  --shadow-gold: 0 0 20px rgba(45, 106, 10, 0.2);
  --shadow-gold-glow: 0 0 40px rgba(45, 106, 10, 0.12);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #b68e15, #e6c97a);
  --gradient-gold-subtle: linear-gradient(
    135deg,
    rgba(45, 106, 10, 0.1),
    rgba(122, 184, 74, 0.05)
  );
  --gradient-dark: #e8f5e0;
}

/* Smooth theme transition */
html {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

body {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* ════════════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ════════════════════════════════════════════════════════════════════════ */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--primary-gold);
  background: var(--bg-hover);
  transform: scale(1.08);
}
/* ────────────────────────────────────────────────────────────────────────
   DARK MODE (DEFAULT)
   ──────────────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --nav-bg: rgba(145, 111, 36, 0.95);
  --footer-bg: rgba(145, 111, 36, 0.95);
}

/* ────────────────────────────────────────────────────────────────────────
   LIGHT MODE
   ──────────────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg-main: #ffffff;
  --bg-surface: #f5f5f5;
  --bg-card: #ffffff;
  --bg-input: #f0f0f0;
  --bg-overlay: rgba(255, 255, 255, 0.92);
  --bg-hover: #f8f8f8;

  --border-light: #e0e0e0;
  --border-medium: #d0d0d0;
  --border-strong: #c0c0c0;
  --border-gold: rgba(182, 142, 21, 0.2);

  --text-primary: #111111;
  --text-secondary: #4a4a4a;
  --text-muted: #7a7a7a;
  --text-on-gold: #ffffff;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);

  --nav-bg: rgba(145, 111, 36, 0.95);
  --footer-bg: rgba(145, 111, 36, 0.95);
  --gradient-dark: #fafafa;
}

/* ────────────────────────────────────────────────────────────────────────
   LOGO VISIBILITY TOGGLE
   ──────────────────────────────────────────────────────────────────────── */
.logo-dark-mode {
  display: block;
}

.logo-light-mode {
  display: none;
}

[data-theme="light"] .logo-dark-mode {
  display: none;
}

[data-theme="light"] .logo-light-mode {
  display: block;
}

.theme-toggle .icon-dark {
  display: inline;
}
.theme-toggle .icon-light {
  display: none;
}
[data-theme="light"] .theme-toggle .icon-dark {
  display: none;
}
[data-theme="light"] .theme-toggle .icon-light {
  display: inline;
}

/* ────────────────────────────────────────────────────────────────────────
   2. BASE STYLES & RESET
   ──────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ────────────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY SYSTEM
   ──────────────────────────────────────────────────────────────────────── */

/* Display - Hero Headlines */
.display {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.display-xl {
  font-size: clamp(2.8rem, 6vw, 4rem);
}

.display-lg {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.display-md {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* Heading Scale */
h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

h3,
.h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

h4,
.h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

/* Body Text */
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-base {
  font-size: 1rem;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Text Utilities */
.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-gold {
  color: var(--primary-gold);
}

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

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

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

/* Font Weights */
.font-light {
  font-weight: var(--weight-light);
}

.font-regular {
  font-weight: var(--weight-regular);
}

.font-medium {
  font-weight: var(--weight-medium);
}

.font-semibold {
  font-weight: var(--weight-semibold);
}

.font-bold {
  font-weight: var(--weight-bold);
}

/* ────────────────────────────────────────────────────────────────────────
   4. BUTTON COMPONENTS
   ──────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* PRIMARY BUTTON - Gold */
.btn-primary {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-gold-hover), #e6c97a);
  box-shadow: 0 0 20px var(--primary-gold-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  background: linear-gradient(135deg, var(--primary-gold-active), #a07f12);
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* SECONDARY BUTTON - Dark with Border */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.btn-secondary:active {
  background: var(--bg-card);
  border-color: var(--primary-gold-active);
}

/* TERTIARY BUTTON - Text Only */
.btn-tertiary {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid transparent;
  padding: var(--space-sm) var(--space-md);
}

.btn-tertiary:hover {
  background: rgba(182, 142, 21, 0.1);
  border-color: var(--primary-gold);
}

.btn-tertiary:active {
  background: rgba(182, 142, 21, 0.15);
}

/* SUCCESS BUTTON */
.btn-success {
  background: var(--success);
  color: white;
  border: 2px solid transparent;
}

.btn-success:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px rgba(82, 196, 26, 0.3);
}

/* ERROR BUTTON */
.btn-error {
  background: var(--error);
  color: white;
  border: 2px solid transparent;
}

.btn-error:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px rgba(255, 77, 79, 0.3);
}

/* BUTTON SIZES */
.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

/* BUTTON STATES */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-icon {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  min-width: 40px;
}

/* ────────────────────────────────────────────────────────────────────────
   5. CARD COMPONENTS
   ──────────────────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.card--elevated {
  background: linear-gradient(135deg, var(--bg-card), #262626);
  box-shadow: var(--shadow-lg);
}

.card--gold-border {
  border: 2px solid var(--border-gold);
  background: linear-gradient(135deg, rgba(182, 142, 21, 0.05), transparent);
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}

.card__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.card__content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card__footer {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

/* ────────────────────────────────────────────────────────────────────────
   6. INPUT & FORM COMPONENTS
   ──────────────────────────────────────────────────────────────────────── */

.input,
.select,
.textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-input);
  color: var(--text-primary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--border-medium);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px var(--primary-gold-glow);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  background: var(--bg-card);
  cursor: not-allowed;
  opacity: 0.5;
}

.input-error,
.select-error,
.textarea-error {
  border-color: var(--error);
  background: var(--error-bg);
}

.input-error:focus,
.select-error:focus,
.textarea-error:focus {
  box-shadow: 0 0 0 3px var(--error-bg);
}

/* Form Group */
.form-group {
  margin-bottom: var(--space-lg);
}

.label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.label--required::after {
  content: "*";
  color: var(--error);
  margin-left: var(--space-xs);
}

.help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.help-text--error {
  color: var(--error);
}

.help-text--success {
  color: var(--success);
}

/* ────────────────────────────────────────────────────────────────────────
   7. BADGE & TAG COMPONENTS
   ──────────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.badge--primary {
  background: var(--primary-gold-glow);
  color: var(--primary-gold);
  border: 1px solid rgba(182, 142, 21, 0.3);
}

.badge--success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(82, 196, 26, 0.3);
}

.badge--error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(255, 77, 79, 0.3);
}

.badge--warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(250, 173, 20, 0.3);
}

.badge--info {
  background: var(--info-bg);
  color: var(--info);
  border: 1px solid rgba(22, 119, 255, 0.3);
}

.badge--outline {
  background: transparent;
  border: 2px solid var(--border-medium);
  color: var(--text-secondary);
}

/* ────────────────────────────────────────────────────────────────────────
   8. LAYOUT UTILITIES
   ──────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--sm {
  max-width: 640px;
}

.container--md {
  max-width: 960px;
}

.container--lg {
  max-width: 1280px;
}

.container--full {
  max-width: 100%;
  padding: 0;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Flexbox */
.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--around {
  justify-content: space-around;
}

.flex--col {
  flex-direction: column;
}

.flex--gap-sm {
  gap: var(--space-sm);
}

.flex--gap-md {
  gap: var(--space-md);
}

.flex--gap-lg {
  gap: var(--space-lg);
}

/* ────────────────────────────────────────────────────────────────────────
   9. SPACING UTILITIES
   ──────────────────────────────────────────────────────────────────────── */

.p-xs {
  padding: var(--space-xs);
}
.p-sm {
  padding: var(--space-sm);
}
.p-md {
  padding: var(--space-md);
}
.p-lg {
  padding: var(--space-lg);
}
.p-xl {
  padding: var(--space-xl);
}

.m-xs {
  margin: var(--space-xs);
}
.m-sm {
  margin: var(--space-sm);
}
.m-md {
  margin: var(--space-md);
}
.m-lg {
  margin: var(--space-lg);
}
.m-xl {
  margin: var(--space-xl);
}

.mb-xs {
  margin-bottom: var(--space-xs);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

/* ────────────────────────────────────────────────────────────────────────
   10. ANIMATIONS & TRANSITIONS
   ──────────────────────────────────────────────────────────────────────── */

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(182, 142, 21, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(182, 142, 21, 0.4);
  }
}

.animate-fadeIn {
  animation: fadeIn var(--transition-base);
}

.animate-fadeUp {
  animation: fadeUp var(--transition-base);
}

.animate-slideIn {
  animation: slideIn var(--transition-base);
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* ────────────────────────────────────────────────────────────────────────
   11. RESPONSIVE DESIGN
   ──────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .display-xl {
    font-size: 2rem;
  }

  .display-lg {
    font-size: 1.75rem;
  }

  h1,
  .h1 {
    font-size: 1.75rem;
  }

  h2,
  .h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: var(--space-lg);
  }

  .btn-sm {
    padding: var(--space-sm);
    font-size: 0.75rem;
  }

  .display-xl {
    font-size: 1.5rem;
  }

  h1,
  .h1 {
    font-size: 1.25rem;
  }

  h2,
  .h2 {
    font-size: 1.125rem;
  }

  .space-xl {
    --space: var(--space-lg);
  }
}

/* ────────────────────────────────────────────────────────────────────────
   12. UTILITY CLASSES
   ──────────────────────────────────────────────────────────────────────── */

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.overflow-hidden {
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ────────────────────────────────────────────────────────────────────────
   13. STATE & INTERACTIVE COMPONENTS
   ──────────────────────────────────────────────────────────────────────── */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-on-gold);
  color: var(--primary-gold);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.tooltip:hover::after {
  opacity: 1;
}

/* Alert/Notification */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  margin-bottom: var(--space-lg);
}

.alert--success {
  background: var(--success-bg);
  border-left-color: var(--success);
  color: var(--success);
}

.alert--error {
  background: var(--error-bg);
  border-left-color: var(--error);
  color: var(--error);
}

.alert--warning {
  background: var(--warning-bg);
  border-left-color: var(--warning);
  color: var(--warning);
}

.alert--info {
  background: var(--info-bg);
  border-left-color: var(--info);
  color: var(--info);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-lg) 0;
}

.divider--gold {
  background: var(--border-gold);
}

/* ──────────────────────────────────────────────────────────────────────
    14. PREMIUM ACCENT STYLES
    ──────────────────────────────────────────────────────────────────── */

.accent-gold {
  color: var(--primary-gold);
}

.accent-gold-bg {
  background: rgba(182, 142, 21, 0.1);
  border: 1px solid var(--border-gold);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.accent-gold-border {
  border: 2px solid var(--primary-gold);
}

.glow-gold {
  box-shadow: 0 0 20px var(--primary-gold-glow);
}

.gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES — اقتصاد بالعربي
   ════════════════════════════════════════════════════════════════════════ */

/* Legacy color variables (used in inline HTML styles) */
:root {
  --forest: #1a4731;
  --moss: #40916c;
  --sage: #74c69d;
  --mist: #d8f3dc;
  --cream: #f8f4ef;
  --sand: #f4ede4;
  --gold: #b68e15;
  --ember: #c0392b;
  --ink: #1a1a1a;
  --stone: #666666;
  --white: #ffffff;
  --charcoal: #2d2d2d;
  --display: "Cairo", sans-serif;
}

/* ── NAVIGATION ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 5%;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.nav-logo-img:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  box-shadow: 0 0 18px var(--primary-gold-glow);
  transform: translateY(-1px);
}

/* ── NAV TABS ────────────────────────────────────────────────────────── */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-tab {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: var(--font-display);
  white-space: nowrap;
  border: 1px solid transparent;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.nav-tab.active {
  color: var(--warning);
  background: rgba(182, 142, 21, 0.08);
  border-color: var(--primary-gold-glow);
}

@media (max-width: 768px) {
  .nav-tabs {
    display: none;
  }
}

/* ── TICKER ──────────────────────────────────────────────────────────── */
.ticker-wrap {
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ticker-item span {
  color: var(--primary-gold);
  font-weight: 700;
}

/* Ticker Logo */
.ticker-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-logo-img {
  height: 35px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.ticker-logo-img:hover {
  opacity: 1;
}

@keyframes ticker {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-main);
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(182, 142, 21, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(182, 142, 21, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-headline .accent {
  color: var(--primary-gold);
}

.hero-subhead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-pain {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(182, 142, 21, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(182, 142, 21, 0.4);
}

.btn-primary .arrow {
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── SECTION COMMON ──────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 16px;
  background: rgba(182, 142, 21, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── PAIN SECTION ────────────────────────────────────────────────────── */
.pain-section {
  padding: 96px 5%;
  background: var(--bg-surface);
}

.pain-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: right;
  transition: all var(--transition-base);
}

.pain-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-card-emoji {
  display: block;
  font-size: 2rem;
  margin-bottom: 14px;
}

.pain-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pain-card-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ── BENEFITS ──────────────────────────────────────────────────────── */
.benefits {
  padding: 96px 5%;
  background: var(--bg-main);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.benefit-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.benefit-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-right: 20px;
  position: relative;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

/* ── PRODUCTS ──────────────────────────────────────────────────────── */
.products {
  padding: 96px 5%;
  background: var(--bg-surface);
}

.products-header {
  text-align: center;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  border: 2px solid var(--primary-gold);
  background: linear-gradient(135deg, rgba(182, 142, 21, 0.05), var(--bg-card));
}

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.price-badge {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-gold);
}

.product-buy {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.product-buy:hover {
  box-shadow: 0 4px 14px rgba(182, 142, 21, 0.35);
  transform: translateY(-1px);
}

/* ── BUNDLE CARD ──────────────────────────────────────────────────── */
.bundle-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #181004, #0d0d0d);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bundle-badge {
  display: inline-block;
  background: var(--primary-gold);
  color: var(--text-on-gold);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.bundle-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bundle-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
}

.bundle-action {
  text-align: center;
  flex-shrink: 0;
}

.bundle-price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.bundle-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.bundle-saving {
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-bundle {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 6px 24px rgba(182, 142, 21, 0.35);
}

.btn-bundle:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(182, 142, 21, 0.45);
}

/* ── SOCIAL PROOF ──────────────────────────────────────────────────── */
.social-proof {
  padding: 96px 5%;
  background: var(--bg-main);
}

.sp-header {
  text-align: center;
  margin-bottom: 48px;
}

.sp-numbers {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 48px;
}

.sp-num-item {
  text-align: center;
}

.sp-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.sp-num-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
}

.testi-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.testi-stars {
  color: var(--primary-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
  font-style: italic;
}

.testi-result {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.av-1 {
  background: #8b5cf6;
}
.av-2 {
  background: #ec4899;
}
.av-3 {
  background: #0ea5e9;
}
.av-4 {
  background: #10b981;
}
.av-5 {
  background: #f59e0b;
}

.testi-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.testi-job {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-section {
  padding: 96px 5%;
  background: var(--bg-surface);
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-hover);
}

.faq-q-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary-gold);
  font-weight: 400;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  background: var(--bg-card);
}

/* ── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 5%;
  background: var(--bg-main);
}

.cta-container {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.cta-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.cta-urgency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-gold);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  gap: 16px;
}

.cta-urgency:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(182, 142, 21, 0.4);
}

.cta-urgency-text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-urgency-text strong {
  color: var(--text-on-gold);
  font-size: 1rem;
  font-weight: 800;
}

.cta-urgency-text span {
  color: rgba(26, 26, 26, 0.75);
  font-size: 0.8rem;
}

.cta-urgency-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-on-gold);
  flex-shrink: 0;
}

.cta-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.cta-value:hover {
  background: var(--bg-hover);
  transform: translateY(-1px);
}

.cta-value-text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-value-text strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.cta-value-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cta-value-icon {
  color: var(--primary-gold);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cta-fomo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.cta-fomo:hover {
  border-color: var(--border-strong);
}

.cta-fomo-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cta-fomo-text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-fomo-text strong {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-fomo-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cta-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
}

.cta-proof:hover {
  border-color: var(--border-medium);
}

.cta-proof-avatars {
  display: flex;
}

.mini-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  border: 2px solid var(--bg-card);
  margin-left: -8px;
}

.mini-av:first-child {
  margin-left: 0;
}
.mini-av.av-1 {
  background: #8b5cf6;
}
.mini-av.av-2 {
  background: #ec4899;
}
.mini-av.av-3 {
  background: #0ea5e9;
}
.mini-av.av-4 {
  background: #10b981;
}

.cta-proof-text {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-proof-text strong {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-proof-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cta-proof-arrow {
  font-size: 1.2rem;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.cta-lowrisk {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
  transition: all var(--transition-fast);
}

.cta-lowrisk:hover {
  color: var(--success);
  border-color: var(--success);
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-item span {
  font-size: 1rem;
}

/* ── STICKY BAR ────────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sticky-bar-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.sticky-cta {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.sticky-cta:hover {
  box-shadow: 0 4px 16px rgba(182, 142, 21, 0.35);
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 60px 5%;
  background: var(--footer-bg);
  border-top: 1px solid var(--border-light);
  color: #ffffff;
  transition: background 0.3s ease;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  max-height: 60px;
  margin-bottom: 16px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

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

footer a:hover {
  color: var(--primary-gold);
}

/* ── FADE-UP ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 12px 4%;
  }

  .hero {
    padding: 100px 4% 60px;
  }
  .hero-stats {
    gap: 24px;
  }

  .bundle-card {
    flex-direction: column;
    text-align: center;
  }

  .bundle-sub {
    max-width: 100%;
  }

  .sp-numbers {
    gap: 24px;
    padding: 24px;
  }

  .cta-urgency,
  .cta-value {
    flex-wrap: wrap;
  }

  .sticky-bar {
    flex-direction: column;
    padding: 12px 4%;
    gap: 10px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   COMPONENT SHOWCASE STYLES
   ════════════════════════════════════════════════════════════════════════ */

.showcase-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.showcase-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.showcase-tab:hover,
.showcase-tab.active {
  background: rgba(182, 142, 21, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.component-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(182, 142, 21, 0.2);
  border-radius: var(--radius-md);
}

.component-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--primary-gold);
  font-size: 1.5rem;
  font-weight: 700;
}

.component-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.component-preview {
  flex: 1;
  min-width: 200px;
  background: #0f0f0f;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(182, 142, 21, 0.1);
}

.component-label {
  display: inline-block;
  background: rgba(182, 142, 21, 0.1);
  color: var(--primary-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-section {
  background: #0f0f0f;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  border-left: 3px solid var(--primary-gold);
  overflow-x: auto;
}

.code-section pre {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: "Courier New", monospace;
  line-height: 1.5;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.color-swatch {
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.color-label {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.showcase-section {
  padding: 80px 5%;
  background: var(--bg-surface);
}

.showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════════════
   SOCIAL MEDIA TEMPLATES STYLES
   ════════════════════════════════════════════════════════════════════════ */

.templates-section {
  padding: 96px 5%;
  background: var(--bg-main);
}

.templates-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.template-container {
  border: 2px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 2rem;
  background: var(--bg-card);
  position: relative;
}

.template-label {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary-gold);
  color: var(--text-on-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-preview {
  background: #0f0f0f;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.post-content {
  padding: 2rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, #222222 100%);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .component-showcase {
    flex-direction: column;
  }

  .component-preview {
    min-width: 100%;
  }

  .color-palette {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .post-content {
    min-height: auto;
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how-section {
  background: var(--bg-surface);
  padding: 96px 5%;
}
.how-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
}
.how-step {
  text-align: center;
  padding: 0 20px;
}
.how-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.how-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.how-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   COMPARISON TABLE
═══════════════════════════════════════════ */
.compare-section {
  background: var(--bg-card);
  padding: 96px 5%;
  overflow-x: auto;
}
.compare-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  margin-top: 48px;
}
.compare-th {
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--bg-surface);
}
.compare-th--single {
  background: var(--bg-input, #1a1a1a);
}
.compare-th--bundle {
  background: var(--primary-gold);
  color: #000;
}
.compare-td {
  padding: 12px 20px;
  text-align: right;
  font-size: 0.86rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.compare-td--bundle {
  background: rgba(182, 142, 21, 0.06);
}
.compare-check {
  text-align: center;
  color: var(--primary-gold);
  font-size: 1.1rem;
  font-weight: 700;
}
.compare-dash {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.compare-price-label {
  font-weight: 800;
}
.compare-price {
  text-align: center;
  font-weight: 700;
  color: var(--text-secondary);
}
.compare-price--bundle {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-gold);
}

/* ═══════════════════════════════════════════
   TRUST BADGES
═══════════════════════════════════════════ */
.trust-section {
  background: var(--bg-surface);
  padding: 64px 5%;
}
.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
.trust-badge {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 28px 24px;
  min-width: 148px;
  text-align: center;
  flex: 1;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s;
}
.trust-badge:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
}
.trust-badge-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.trust-badge-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-gold);
  margin-bottom: 4px;
}
.trust-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   URGENCY BAR
═══════════════════════════════════════════ */
.urgency-bar {
  background: linear-gradient(90deg, #c0392b, #9b2335);
  padding: 14px 5%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.urgency-label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}
.urgency-countdown {
  display: flex;
  gap: 8px;
}
.cd-block {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 52px;
}
.cd-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
}
.cd-unit {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.urgency-cta {
  background: #fff;
  color: #c0392b;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}
.urgency-cta:hover {
  background: #f5f5f5;
}

@media (max-width: 600px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .trust-badges {
    gap: 12px;
  }
  .trust-badge {
    min-width: 120px;
    padding: 20px 16px;
  }
  .urgency-bar {
    gap: 12px;
    flex-direction: column;
    padding: 16px 5%;
  }
  .compare-section {
    padding: 64px 4%;
  }
}

/* ══════════════════════════════════════════
   LIGHT MODE — Component Overrides
══════════════════════════════════════════ */
[data-theme="light"] nav {
  --nav-bg: rgba(243, 237, 224, 0.95);
}
[data-theme="light"] .nav-cta {
  color: #fff;
}
[data-theme="light"] .hero {
  background: linear-gradient(160deg, #eef8e4 0%, #faf8f2 60%, #e8f5dd 100%);
}
[data-theme="light"] .hero-stat-num {
  color: var(--primary-gold);
}
[data-theme="light"] .pain-card,
[data-theme="light"] .benefit-card,
[data-theme="light"] .product-card,
[data-theme="light"] .testi-card,
[data-theme="light"] .faq-item {
  background: var(--bg-card);
  border-color: var(--border-light);
}
[data-theme="light"] .bundle-card {
  background: linear-gradient(135deg, #e8f5dd 0%, #d6edca 100%);
  border-color: var(--primary-gold);
}
[data-theme="light"] footer {
  background: #e4eedb;
  border-top: 1px solid var(--border-medium);
}
[data-theme="light"] footer a {
  color: var(--primary-gold);
}
[data-theme="light"] .sticky-bar {
  background: #2d6a0a;
}
[data-theme="light"] .section-label {
  color: var(--primary-gold);
  background: var(--primary-gold-light);
}
[data-theme="light"] .compare-td {
  border-bottom-color: var(--border-light);
}
[data-theme="light"] .compare-th {
  background: var(--bg-surface);
}
[data-theme="light"] .compare-th--single {
  background: var(--bg-input);
}

/* Footer Links Styling */
[data-theme=\"dark\"] footer a {
  color: #ffffff;
  opacity: 0.95;
}
[data-theme=\"dark\"] footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

[data-theme=\"light\"] footer a {
  color: #ffffff;
  opacity: 0.95;
}
[data-theme=\"light\"] footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ================================================================
   DOCTOR OF MONEY PAGE - App-Specific Components
   ================================================================ */
/* ═══ DOCTOR OF MONEY — TOKEN BRIDGE ════════════════════════════════════
   Maps component vars to style.css gold theme. Base styles from style.css.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  /* ── gold accent (replaces green) ── */
  --g: var(--primary-gold);
  --g2: var(--primary-gold-active);
  --g3: rgba(182, 142, 21, 0.12);
  --gd: rgba(182, 142, 21, 0.06);
  /* ── backgrounds ── */
  --bg: var(--bg-main);
  --s1: var(--bg-main);
  --s2: var(--bg-card);
  --s3: var(--bg-surface);
  /* ── borders ── */
  --border: var(--border-light);
  --bh: var(--border-medium);
  /* ── text ── */
  --text: var(--text-primary);
  --muted: var(--text-muted);
  --muted2: var(--text-secondary);
  /* ── semantic colours ── */
  --gold: var(--warning);
  --goldd: var(--warning-bg);
  --red: var(--error);
  --redd: var(--error-bg);
  --blue: var(--info);
  --blued: var(--info-bg);
  /* ── fonts ── */
  --display: var(--font-display);
  --body: var(--font-body);
  /* ── radii ── */
  --r: var(--radius-sm);
  --r2: var(--radius-md);
  --r3: var(--radius-lg);
}

/* ── Light mode: keep gold accent (override the global green) ──────────── */
[data-theme="light"] {
  --g: #b68e15;
  --g2: #8f6e10;
  --g3: rgba(182, 142, 21, 0.12);
  --gd: rgba(182, 142, 21, 0.06);
}

/* ═══ KEYFRAMES (app-specific) ════════════════════════════════════════════ */
@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fi {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pg {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes barw {
  from {
    width: 0;
  }
  to {
    width: var(--w);
  }
}
@keyframes num {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes dashof {
  from {
    stroke-dashoffset: var(--start);
  }
  to {
    stroke-dashoffset: var(--end);
  }
}

/* ═══ NAV EXTRAS (only what style.css doesn't cover) ═════════════════════ */
.nav-admin {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--goldd);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-admin:hover {
  background: rgba(245, 158, 11, 0.2);
}

/* ═══ HERO ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 5% 60px;
  text-align: center;
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fu 0.8s ease both;
}

h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 14px;
  animation: fu 0.8s 0.1s ease both;
}

h1 em {
  font-style: normal;
  color: var(--g);
  text-shadow: 0 0 32px rgba(182, 142, 21, 0.35);
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
  animation: fu 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--g);
  color: var(--text-on-gold);
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--body);
  box-shadow: 0 8px 32px rgba(182, 142, 21, 0.25);
  animation: fu 0.8s 0.3s ease both;
}

.hero-cta:hover {
  background: var(--g2);
  transform: translateY(-2px);
}

.hero-cta .arr {
  transition: transform 0.2s;
}

.hero-cta:hover .arr {
  transform: translateX(-4px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 44px;
  animation: fu 0.8s 0.4s ease both;
}

.hs {
  padding: 0 36px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.hs:last-child {
  border-left: none;
}

.hs-n {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--g);
  display: block;
}

.hs-l {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ═══ SECTIONS ════════════════════════════════════════════════════════════ */
.sec {
  position: relative;
  z-index: 1;
  padding: 88px 5%;
}

.sec-lbl {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--g);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-h {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.sec-p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

/* ═══ TIERS ═══════════════════════════════════════════════════════════════ */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.tc {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.tc:hover {
  transform: translateY(-4px);
}

.tc.free {
  border-color: rgba(182, 142, 21, 0.2);
}

.tc.pro {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, var(--s2), rgba(245, 158, 11, 0.03));
}

.tc.elite {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, var(--s2), rgba(239, 68, 68, 0.03));
}

.tc.elite::after {
  content: "★ الأشمل";
  position: absolute;
  top: 3px;
  right: 22px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.tb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.tb.f {
  background: rgba(182, 142, 21, 0.1);
  color: var(--g);
  border: 1px solid rgba(182, 142, 21, 0.2);
}

.tb.p {
  background: var(--goldd);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.tb.e {
  background: var(--redd);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tt {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.td {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tp {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 24px;
}

.tpn {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.free .tpn {
  color: var(--g);
}
.pro .tpn {
  color: var(--gold);
}
.elite .tpn {
  color: var(--red);
}

.tpc {
  font-size: 1rem;
  color: var(--muted);
}

.tpo {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.tf {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.tf li {
  font-size: 0.86rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-secondary);
}

.free .tf li::before {
  content: "✓";
  color: var(--g);
  font-weight: 700;
  flex-shrink: 0;
}
.pro .tf li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.elite .tf li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.tbtn {
  width: 100%;
  padding: 13px;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--body);
}

.free .tbtn {
  background: rgba(182, 142, 21, 0.12);
  color: var(--g);
  border: 1px solid rgba(182, 142, 21, 0.25);
}
.pro .tbtn {
  background: var(--gold);
  color: var(--text-on-gold);
}
.elite .tbtn {
  background: var(--red);
  color: #fff;
}

.free .tbtn:hover {
  background: rgba(182, 142, 21, 0.22);
}
.pro .tbtn:hover {
  background: #d97706;
  transform: scale(1.02);
}
.elite .tbtn:hover {
  background: #dc2626;
  transform: scale(1.02);
}

/* ═══ APP ═════════════════════════════════════════════════════════════════ */
#app {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5% 96px;
}

.app-hdr {
  text-align: center;
  margin-bottom: 44px;
}

/* progress */
.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
}

.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.ps::after {
  content: "";
  position: absolute;
  top: 17px;
  right: -50px;
  width: 100px;
  height: 1.5px;
  background: var(--border);
  transition: background 0.5s;
}

.ps:last-child::after {
  display: none;
}
.ps.done::after {
  background: var(--g);
}

.pd {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--s2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.35s;
  z-index: 1;
}

.ps.active .pd {
  border-color: var(--g);
  background: rgba(182, 142, 21, 0.15);
  color: var(--g);
}
.ps.done .pd {
  background: var(--g);
  border-color: var(--g);
  color: var(--text-on-gold);
}

.pl {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

.ps.active .pl {
  color: var(--g);
}

/* form card */
.fc {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 44px 38px;
  animation: fu 0.45s ease both;
}

.fc-h {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.fc-p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fg.full {
  grid-column: 1/-1;
}
.fg.third {
  grid-column: span 1;
}

.flbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.flbl .req {
  color: var(--g);
  font-size: 0.9em;
}

.fi,
.fs,
.fta {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 15px;
  font-size: 0.93rem;
  color: var(--text);
  font-family: var(--body);
  transition: all 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.fi:focus,
.fs:focus,
.fta:focus {
  border-color: rgba(182, 142, 21, 0.4);
  box-shadow: 0 0 0 3px rgba(182, 142, 21, 0.08);
}

.fi::placeholder,
.fta::placeholder {
  color: var(--muted);
}
.fs {
  cursor: pointer;
}
.fs option {
  background: var(--s1);
}
.fta {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.fhint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.pill-g {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--s1);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.pill.sel {
  background: rgba(182, 142, 21, 0.12);
  border-color: rgba(182, 142, 21, 0.35);
  color: var(--g);
}

.pill:hover:not(.sel) {
  border-color: rgba(182, 142, 21, 0.2);
  color: var(--text-secondary);
}

.factions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 32px;
}

.btn-n {
  background: var(--g);
  color: var(--text-on-gold);
  padding: 13px 32px;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--body);
}

.btn-n:hover {
  background: var(--g2);
  transform: translateY(-1px);
}

.btn-b {
  background: transparent;
  color: var(--muted);
  padding: 13px 20px;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}

.btn-b:hover {
  border-color: var(--bh);
  color: var(--text);
}

/* range */
.range-wrap {
  position: relative;
  padding-top: 28px;
}

.rv {
  position: absolute;
  top: 0;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--g);
}

.fr {
  width: 100%;
  -webkit-appearance: none;
  height: 5px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to left,
    var(--g) var(--p, 0%),
    var(--s1) var(--p, 0%)
  );
}

.fr::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 0 4px rgba(182, 142, 21, 0.2);
  cursor: pointer;
}

/* section divider */
.sdiv {
  grid-column: 1/-1;
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.sec-sep {
  grid-column: 1/-1;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted2);
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

/* ═══ LOADING ═════════════════════════════════════════════════════════════ */
.loading {
  text-align: center;
  padding: 72px 40px;
  display: none;
}

.loading.vis {
  display: block;
  animation: fi 0.4s ease;
}

.orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(182, 142, 21, 0.2) 0%,
    transparent 70%
  );
  border: 2px solid rgba(182, 142, 21, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.4rem;
  position: relative;
}

.orb::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(182, 142, 21, 0.15);
  border-radius: 50%;
  border-top-color: var(--g);
  animation: spin 1.4s linear infinite;
}

.l-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.lsteps {
  list-style: none;
  margin: 24px auto 0;
  max-width: 300px;
  text-align: right;
}

.lsteps li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 9px;
}

.lsteps li.act {
  color: var(--text);
}
.lsteps li.done {
  color: var(--g);
}

.lic {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ═══ RESULTS ═════════════════════════════════════════════════════════════ */
.rcard {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  display: none;
}

.rcard.vis {
  display: block;
  animation: fu 0.5s ease both;
}

.rhdr {
  background: linear-gradient(
    135deg,
    rgba(182, 142, 21, 0.1),
    rgba(182, 142, 21, 0.03)
  );
  padding: 32px 38px;
  border-bottom: 1px solid var(--border);
}

.rhdr h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.rhdr p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* score */
.score-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  background: var(--s1);
  border-radius: var(--r2);
  padding: 18px 22px;
}

.sring {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.sring svg {
  transform: rotate(-90deg);
}

.sring .track {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 7;
}

.sring .bar {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}

.snum {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
}

.sinfo h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
}
.sinfo p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}

.rbody {
  padding: 32px 38px;
}

.rsec {
  margin-bottom: 34px;
}

.rsec h4 {
  font-family: var(--display);
  font-size: 0.97rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.rsec h4 .ic {
  font-size: 1.1rem;
}

/* bars */
.blist {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bi-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.bi-lbl span:last-child {
  font-weight: 700;
}

.btrack {
  height: 7px;
  border-radius: 4px;
  background: var(--bg-hover);
  overflow: hidden;
}

.bfill {
  height: 100%;
  border-radius: 4px;
  animation: barw 1.1s ease both;
}

/* insight cards */
.igrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.icard {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 16px 14px;
}

.icard.warn {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.04);
}
.icard.good {
  border-color: rgba(182, 142, 21, 0.2);
  background: rgba(182, 142, 21, 0.04);
}
.icard.alert {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.04);
}
.icard.info {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.04);
}

.iic {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.ith {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.itb {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.5;
}

/* free analysis sections */
.analysis-block {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px 18px;
  margin-bottom: 12px;
}

.ab-title {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ab-body {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ab-body strong {
  color: var(--text);
  font-weight: 700;
}

/* upgrade CTA */
.ucta {
  margin: 0 38px 38px;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.09),
    rgba(239, 68, 68, 0.04)
  );
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: var(--r2);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.ucta h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 5px;
}
.ucta p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.blur-p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.7;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.ubtns {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ubp {
  background: var(--gold);
  color: var(--text-on-gold);
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
  white-space: nowrap;
}

.ubp:hover {
  background: #d97706;
  transform: scale(1.02);
}

.ube {
  background: var(--red);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
  white-space: nowrap;
}

.ube:hover {
  background: #dc2626;
  transform: scale(1.02);
}

/* ═══ MODAL ═══════════════════════════════════════════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-bg.vis {
  display: flex;
}

.modal {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 44px 38px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: fu 0.4s ease;
}

.modal-x {
  position: absolute;
  top: 14px;
  left: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-ic {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.modal-h {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 7px;
}
.modal-p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-price {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.pay-btns {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pay-card {
  background: var(--g);
  color: var(--text-on-gold);
  padding: 14px;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-family: var(--body);
}

.pay-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  padding: 14px;
  border-radius: var(--r);
  font-size: 0.93rem;
  font-weight: 800;
  border: 1px solid rgba(37, 211, 102, 0.25);
  text-decoration: none;
  display: block;
}

/* ═══ ADMIN DASHBOARD ════════════════════════════════════════════════════ */
#adminPanel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  overflow-y: auto;
  padding: 20px 5% 60px;
}

#adminPanel.vis {
  display: block;
  animation: fi 0.3s ease;
}

.admin-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.admin-hdr h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
}

.admin-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.admin-close:hover {
  border-color: var(--bh);
  color: var(--text);
}

/* KPI grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.kpi {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 20px 18px;
  text-align: center;
}

.kpi-n {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--g);
  display: block;
  margin-bottom: 4px;
}
.kpi-l {
  font-size: 0.75rem;
  color: var(--muted);
}

/* problems chart */
.problems-sec {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px;
  margin-bottom: 28px;
}

.problems-sec h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.prob-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.prob-name {
  font-size: 0.83rem;
  width: 160px;
  flex-shrink: 0;
  text-align: right;
}

.prob-track {
  flex: 1;
  height: 24px;
  background: var(--bg-hover);
  border-radius: 6px;
  overflow: hidden;
}

.prob-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--g);
  display: flex;
  align-items: center;
  padding-right: 8px;
  justify-content: flex-end;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-on-gold);
  animation: barw 1.2s ease both;
}

.prob-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

/* reports table */
.reports-sec {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px;
}

.reports-sec h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.rep-table {
  width: 100%;
  border-collapse: collapse;
}

.rep-table th {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-align: right;
}

.rep-table td {
  font-size: 0.82rem;
  padding: 10px 12px;
  border-bottom: 1px solid var(--bg-hover);
  vertical-align: middle;
}

.rep-table tr:last-child td {
  border-bottom: none;
}
.rep-table tr:hover td {
  background: var(--bg-hover);
}

.score-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
}

.sb-good {
  background: rgba(182, 142, 21, 0.15);
  color: var(--g);
}
.sb-mid {
  background: var(--goldd);
  color: var(--gold);
}
.sb-low {
  background: var(--redd);
  color: var(--red);
}

.expand-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  transition: all 0.2s;
  font-family: var(--body);
}

.expand-btn:hover {
  border-color: var(--g);
  color: var(--g);
}

.rep-detail {
  background: var(--s1);
  border-radius: var(--r);
  padding: 14px;
  margin: 6px 0 6px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.75;
  display: none;
}

.rep-detail.vis {
  display: block;
  animation: fi 0.3s ease;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.empty-state .big {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ═══ FOOTER ══════════════════════════════════════════════════════════════ */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 36px 5%;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

footer .fl {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--g);
  margin-bottom: 6px;
}

/* ═══ MISC ════════════════════════════════════════════════════════════════ */
.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
  .igrid {
    grid-template-columns: 1fr;
  }
  .ucta {
    grid-template-columns: 1fr;
  }
  .fc {
    padding: 28px 20px;
  }
  .rbody,
  .rhdr,
  .ucta {
    padding-inline: 22px;
  }
  .hs {
    padding: 0 16px;
  }
  .ps::after {
    width: 50px;
    right: -25px;
  }
  .kpi-n {
    font-size: 1.6rem;
  }
  .prob-name {
    width: 110px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   HAMBURGER MENU — MOBILE NAVIGATION
   ════════════════════════════════════════════════════════════════════════ */

/* Hamburger button — visible only on mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
  z-index: calc(var(--z-sticky) + 1);
}

.nav-hamburger:hover {
  border-color: var(--primary-gold);
  background: var(--bg-hover);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Animated X when open */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px; /* height of nav */
  right: 0;
  left: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  z-index: var(--z-sticky);
  flex-direction: column;
  padding: 16px 5%;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-tab {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.mobile-nav-tab.active {
  color: var(--warning);
  background: rgba(182, 142, 21, 0.08);
  border-color: var(--primary-gold-glow);
}

.mobile-nav-cta {
  display: block;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px var(--primary-gold-glow);
}

.mobile-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-gold-glow);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE OVERRIDES
   ════════════════════════════════════════════════════════════════════════ */

/* ── MOBILE FIRST: ≤768px ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav-cta in nav */
  .nav-hamburger {
    display: flex;
  }

  /* Show mobile menu as flex when open */
  .mobile-menu {
    display: flex;
  }

  /* Hide desktop CTA in nav on mobile */
  nav .nav-cta {
    display: none;
  }

  /* Nav adjustments */
  nav {
    padding: 12px 5%;
    gap: 8px;
  }

  .nav-logo-img {
    height: 36px;
  }

  /* Hero */
  .hero {
    padding: 90px 5% 50px;
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 20px;
  }

  .hero-subhead {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
    padding-top: 32px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Sections padding */
  .pain-section,
  .features-section,
  .how-section,
  .testimonials-section,
  .faq-section {
    padding: 64px 5%;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  /* Bundle card */
  .bundle-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 28px 20px;
  }

  /* Products grid: 1 column */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    padding: 40px 5% 24px;
    text-align: center;
  }

  /* Sticky bar */
  .sticky-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 5%;
    text-align: center;
  }

  /* Ticker font size */
  .ticker-item {
    font-size: 0.78rem;
  }
}

/* ── SMALL MOBILE: ≤480px ──────────────────────────────────────────── */
@media (max-width: 480px) {
  nav {
    padding: 10px 4%;
  }

  .nav-logo-img {
    height: 30px;
  }

  .hero {
    padding: 80px 4% 40px;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    line-height: 1.25;
  }

  .hero-subhead {
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .section-title {
    font-size: clamp(1.2rem, 7vw, 1.6rem);
  }

  .section-sub {
    font-size: 0.9rem;
  }

  .card,
  .product-card,
  .pain-card,
  .benefit-card,
  .testi-card {
    padding: 20px 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* Mobile menu slightly lower on smaller screens */
  .mobile-menu {
    top: 62px;
  }
}

/* ── LARGE SCREENS: ≥1440px ────────────────────────────────────────── */
@media (min-width: 1440px) {
  nav {
    padding: 16px 8%;
  }

  .hero {
    padding: 100px 8% 80px;
  }

  .hero-inner {
    max-width: 1000px;
  }

  .hero-headline {
    font-size: 4.2rem;
  }

  .hero-subhead {
    font-size: 1.2rem;
    max-width: 760px;
  }

  .pain-section,
  .features-section,
  .how-section,
  .testimonials-section,
  .faq-section {
    padding: 120px 8%;
  }

  .pain-inner,
  .how-inner {
    max-width: 1300px;
  }

  .section-title {
    font-size: 3rem;
  }

  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
  }
}

/* ── EXTRA LARGE: ≥1920px ──────────────────────────────────────────── */
@media (min-width: 1920px) {
  nav {
    padding: 18px 10%;
  }

  .hero,
  .pain-section,
  .features-section,
  .how-section {
    padding-left: 10%;
    padding-right: 10%;
  }

  .hero-inner,
  .pain-inner,
  .how-inner {
    max-width: 1600px;
  }
}
