/* ============================================
   RD TAX & ACCOUNTING - MAIN STYLESHEET
   ============================================
   A modern, gradient-based design system with
   gold brand accent for professional appeal.

   TABLE OF CONTENTS
   ============================================
   1. CSS Custom Properties (Variables)
   2. Reset & Base Styles
   3. Typography
   4. Layout Utilities
   5. Components
      5.1 Buttons
      5.2 Cards
      5.3 Forms
      5.4 Badges & Pills
   6. Navigation & Header
   7. Hero Sections
   8. Section Layouts
   9. Footer
   10. Animations & Keyframes
   11. Responsive Breakpoints
   12. Accessibility & Utilities
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* === PRIMARY GRADIENT === */
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  --gradient-primary: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  --gradient-primary-hover: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);

  /* === BRAND GOLD (Retained for continuity) === */
  --gold: #d4af37;
  --gold-light: #f0d887;
  --gold-dark: #b59226;
  --gold-400: #e5c158;
  --gold-500: #d4af37;
  --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);

  /* === NEUTRAL COLORS === */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --black: #000000;

  /* === SEMANTIC COLORS === */
  --success: #10b981;
  --success-light: #d1fae5;
  --error: #ef4444;
  --error-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --info: #3b82f6;
  --info-light: #dbeafe;

  /* === TYPOGRAPHY === */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* === SPACING === */
  --space-0: 0;
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* === LAYOUT === */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --max-width-wide: 1400px;
  --container-padding: var(--space-6);

  /* === BORDERS & RADIUS === */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* Border Widths */
  --border-1: 1px;
  --border-2: 2px;
  --border-4: 4px;

  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.35);
  --shadow-primary: 0 4px 20px rgba(102, 126, 234, 0.35);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;

  /* === Z-INDEX SCALE === */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-sidebar: 1000;

  /* === SIDEBAR LAYOUT === */
  --sidebar-width-mini: 80px;
  --sidebar-width-expanded: 280px;
  --sidebar-width: var(--sidebar-width-mini);
  --header-height: 70px;

  /* === AURORA GRADIENTS === */
  --aurora-1: #667eea;
  --aurora-2: #764ba2;
  --aurora-3: #f093fb;
  --aurora-4: #f5576c;
  --aurora-5: #4facfe;
  --aurora-gradient: linear-gradient(
    135deg,
    var(--aurora-1) 0%,
    var(--aurora-2) 25%,
    var(--aurora-3) 50%,
    var(--aurora-4) 75%,
    var(--aurora-5) 100%
  );

  /* === GLASSMORPHISM === */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-medium: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(20px);
  --glass-blur-strong: blur(30px);

  /* === 3D TRANSFORMS === */
  --perspective: 1000px;
  --tilt-max: 10deg;

  /* === DARK MODE COLORS (will be toggled) === */
  --dark-bg: #0a0a0f;
  --dark-surface: #12121a;
  --dark-surface-2: #1a1a24;
  --dark-text: #e4e4e7;
  --dark-text-muted: #a1a1aa;
}

/* === DARK MODE THEME === */
[data-theme="dark"] {
  --white: #0a0a0f;
  --gray-50: #12121a;
  --gray-100: #1a1a24;
  --gray-200: #27272a;
  --gray-300: #3f3f46;
  --gray-400: #52525b;
  --gray-500: #71717a;
  --gray-600: #a1a1aa;
  --gray-700: #d4d4d8;
  --gray-800: #e4e4e7;
  --gray-900: #fafafa;
  --glass-bg: rgba(0, 0, 0, 0.3);
  --glass-bg-light: rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Dark mode - Glassmorphism card adjustments */
[data-theme="dark"] .card--service,
[data-theme="dark"] .card--feature,
[data-theme="dark"] .card--service-large {
  background: rgba(30, 30, 40, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .card--service:hover,
[data-theme="dark"] .card--feature:hover {
  background: rgba(40, 40, 55, 0.8);
  border-color: var(--gold-500);
}

[data-theme="dark"] .card--service::before,
[data-theme="dark"] .card--feature::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

[data-theme="dark"] .stat-card {
  background: rgba(30, 30, 40, 0.6);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .contact-form {
  background: rgba(30, 30, 40, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: rgba(20, 20, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--gray-800);
}

[data-theme="dark"] .form-input:hover,
[data-theme="dark"] .form-textarea:hover,
[data-theme="dark"] .form-select:hover {
  background: rgba(30, 30, 45, 0.7);
  border-color: rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus,
[data-theme="dark"] .form-select:focus {
  background: rgba(35, 35, 50, 0.8);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Dark mode section backgrounds */
[data-theme="dark"] .why-us,
[data-theme="dark"] .process-section,
[data-theme="dark"] .partner-services,
[data-theme="dark"] .contact-section {
  background: linear-gradient(135deg, #0f0f14 0%, #15151d 50%, #0f0f14 100%);
}

[data-theme="dark"] .engagement-section {
  background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
}

/* Dark mode header and navigation */
[data-theme="dark"] .header {
  background: rgba(10, 10, 15, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .header.scrolled,
[data-theme="dark"] .header--scrolled {
  background: rgba(10, 10, 15, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav__logo-text,
[data-theme="dark"] .nav__link {
  color: #ffffff;
}

[data-theme="dark"] .nav__toggle-bar {
  background: #ffffff;
}

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

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

/* Remove default margin and set base styles */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Body base styles */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Reset anchor styles */
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Image reset */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form element reset */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Button reset */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Remove outline on focus for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

/* Responsive heading sizes */
@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }

  h2 {
    font-size: var(--text-4xl);
  }

  h3 {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-6xl);
  }
}

/* Paragraphs */
p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

/* Lead text */
.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .lead {
    font-size: var(--text-xl);
  }
}

/* Small text */
small,
.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

/* Text colors */
.text-primary {
  color: var(--gradient-start);
}

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

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

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

/* Text gradient effect */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text alignment */
.text-center {
  text-align: center;
}

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

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

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

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

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

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

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

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */

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

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-wide {
  max-width: var(--max-width-wide);
}

/* Section padding */
.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

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

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

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

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

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

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

/* Responsive grid */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Spacing utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

/* Display utilities */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

/* Width utilities */
.w-full {
  width: 100%;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

/* ============================================
   5. COMPONENTS
   ============================================ */

/* --------------------------------------
   5.1 BUTTONS
   -------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-normal);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn svg {
  width: 1.25em;
  height: 1.25em;
}

/* --------------------------------------
   5.1.1 BEM BUTTON MODIFIERS
   -------------------------------------- */

/* Primary button - BEM modifier */
.btn--primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover:not(:disabled) {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.45);
}

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

/* Gold button - BEM modifier */
.btn--gold {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(180deg, #e8c84a 0%, #d4af37 40%, #c9a22e 100%);
  color: var(--gray-900);
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -2px 3px rgba(0, 0, 0, 0.15) inset,
    0 6px 0 #9a7b1c,
    0 8px 4px rgba(0, 0, 0, 0.3),
    0 12px 20px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid #b8952d;
  border-bottom: 1px solid #7a5f15;
  transform: translateY(-4px);
  transition: transform 0.15s cubic-bezier(0.3, 0.7, 0.4, 1),
              box-shadow 0.15s cubic-bezier(0.3, 0.7, 0.4, 1),
              filter 0.2s ease;
}

/* Shine sweep effect */
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: btn-shine-sweep 3s ease-in-out infinite;
}

@keyframes btn-shine-sweep {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* Sparkle star animations */
.btn--gold .sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  pointer-events: none;
}

.btn--gold .sparkle svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.btn--gold .sparkle-1 { top: 10%; left: 15%; animation: twinkle 1.5s ease-in-out infinite; }
.btn--gold .sparkle-2 { top: 60%; left: 25%; animation: twinkle 2s ease-in-out infinite 0.3s; }
.btn--gold .sparkle-3 { top: 20%; right: 20%; animation: twinkle 1.8s ease-in-out infinite 0.6s; }
.btn--gold .sparkle-4 { bottom: 15%; right: 30%; animation: twinkle 2.2s ease-in-out infinite 0.9s; }

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

.btn--gold:hover:not(:disabled) {
  transform: translateY(-6px);
  filter: brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 -2px 3px rgba(0, 0, 0, 0.15) inset,
    0 8px 0 #9a7b1c,
    0 12px 8px rgba(0, 0, 0, 0.25),
    0 20px 30px rgba(212, 175, 55, 0.4);
}

.btn--gold:hover::before {
  animation: btn-shine-sweep 1.5s ease-in-out infinite;
}

.btn--gold:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -1px 2px rgba(0, 0, 0, 0.2) inset,
    0 2px 0 #9a7b1c,
    0 3px 3px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(212, 175, 55, 0.2);
}

/* Secondary/Outline button - BEM modifier */
.btn--secondary,
.btn--outline {
  background: transparent;
  color: #ffffff;
  border: var(--border-2) solid var(--gray-300);
}

.btn--secondary:hover:not(:disabled),
.btn--outline:hover:not(:disabled) {
  border-color: var(--gradient-start);
  color: var(--gradient-start);
  background: rgba(102, 126, 234, 0.05);
}

/* Large button - BEM modifier */
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* Small button - BEM modifier */
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* --------------------------------------
   5.2 CARDS
   -------------------------------------- */

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: var(--border-1) solid var(--gray-200);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-300);
}

/* Card with gradient border on hover */
.card-hover-gradient:hover {
  border-color: transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--gradient-primary) border-box;
}

/* Service card */
.service-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: var(--border-1) solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--gradient-start);
  font-size: var(--text-2xl);
}

.service-card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.service-card-description {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.service-card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold);
  flex-shrink: 0;
}

/* Feature card - for trust indicators */
.feature-card {
  text-align: center;
  padding: var(--space-6);
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-2xl);
}

.feature-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.feature-card-description {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* Glass card - for dark backgrounds */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: var(--border-1) solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

/* Stats card */
.stats-card {
  text-align: center;
  padding: var(--space-6);
}

.stats-card-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.stats-card-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------
   5.2.1 BEM CARD STYLES
   (Matches HTML BEM class names)
   -------------------------------------- */

/* Stats card - BEM modifier */
.card--stats {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card--stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card--stats:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

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

/* Stats card text colors for dark background */
.card--stats .card__stats-number {
  color: var(--gold);
}

.card--stats .card__stats-label {
  color: var(--white);
}

.card--stats .card__stats-desc {
  color: rgba(255, 255, 255, 0.7);
}

.card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.card__icon svg {
  width: 32px;
  height: 32px;
}

.card__stats-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--gradient-start);
  margin-bottom: var(--space-1);
}

.card__stats-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.card__stats-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-relaxed);
}

/* Card with icon wrapper */
.card__icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--space-4);
}

/* Card title and description */
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--gray-800);
  margin-bottom: var(--space-2);
}

.card__description {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

/* Service card variant - Glassmorphism */
.card--service {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card--service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.card--service::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card--service:hover::after {
  opacity: 1;
}

.card--service:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 30px rgba(212, 175, 55, 0.1);
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.85);
}

/* Feature card variant - Glassmorphism */
.card--feature {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card--feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.card--feature:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(212, 175, 55, 0.08);
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.85);
}

/* Card header */
.card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

/* Card badges */
.card__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
}

.card__badge--gold {
  background: var(--gold-gradient);
  color: var(--gray-900);
}

/* Card icon wrapper variants */
.card__icon-wrapper--gradient {
  background: var(--gradient-primary);
}

.card__icon-wrapper--gold {
  background: var(--gold-gradient);
  color: var(--gray-900);
}

/* Card list */
.card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
}

.card__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.card__list-item:last-child {
  border-bottom: none;
}

.card__list-item svg {
  flex-shrink: 0;
  color: var(--success);
}

/* Card button */
.card__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* --------------------------------------
   5.3 FORMS
   -------------------------------------- */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

.form-label-required::after {
  content: ' *';
  color: var(--error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-base);
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gradient-start);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
  transition: opacity 0.2s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  opacity: 0.5;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 1em;
  padding-right: var(--space-10);
}

/* Form error state */
.form-input-error {
  border-color: var(--error);
}

.form-input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error-message {
  font-size: var(--text-sm);
  color: var(--error);
  margin-top: var(--space-1);
}

/* Dark form inputs */
.form-input-dark,
.form-textarea-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.form-input-dark::placeholder,
.form-textarea-dark::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input-dark:focus,
.form-textarea-dark:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* --------------------------------------
   5.4 BADGES & PILLS
   -------------------------------------- */

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

.badge-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: var(--border-1) solid rgba(212, 175, 55, 0.3);
}

.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: var(--border-1) solid rgba(255, 255, 255, 0.2);
}

/* BEM badge modifiers */
.badge--gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: var(--border-1) solid rgba(212, 175, 55, 0.3);
}

.badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: var(--border-1) solid rgba(255, 255, 255, 0.2);
}

/* Pill tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.pill:hover {
  background: var(--gray-200);
}

/* ============================================
   5.5 SIDEBAR NAVIGATION
   ============================================ */

/* App Layout - Sidebar + Content */
.app-layout {
  display: block;
  min-height: 100vh;
  padding-left: var(--sidebar-width-mini);
  transition: padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-layout[data-sidebar="expanded"] {
  padding-left: var(--sidebar-width-expanded);
}

/* Main Content Area */
.app-content {
  min-width: 0;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width-mini);
  height: 100vh;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
  backdrop-filter: var(--glass-blur);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: var(--z-sidebar);
  display: flex;
  flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sidebar[data-state="expanded"] {
  width: var(--sidebar-width-expanded);
}

/* Sidebar Brand */
.sidebar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 70px;
}

.sidebar__logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sidebar:hover .sidebar__logo {
  transform: scale(1.05);
}

.sidebar__brand-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar[data-state="expanded"] .sidebar__brand-text {
  opacity: 1;
  transform: translateX(0);
}

/* Sidebar Navigation */
.sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  overflow-y: auto;
}

.sidebar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-lg);
  color: var(--gray-400);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.2s ease;
  overflow: hidden;
}

.sidebar__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 24px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  transition: transform 0.2s ease;
}

.sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sidebar__link--active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.sidebar__link--active::before {
  transform: translateY(-50%) scaleY(1);
}

.sidebar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
}

.sidebar__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.sidebar__label {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar[data-state="expanded"] .sidebar__label {
  opacity: 1;
  transform: translateX(0);
}

/* Sidebar Tooltip (for mini state) */
.sidebar__link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: var(--space-2) var(--space-3);
  background: var(--gray-900);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

.sidebar:not([data-state="expanded"]) .sidebar__link:hover[data-tooltip]::after {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Toggle Button */
.sidebar__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar__toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.sidebar__toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.sidebar[data-state="expanded"] .sidebar__toggle-icon {
  transform: rotate(180deg);
}

/* Dark Mode Toggle in Sidebar */
.sidebar__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3);
  margin: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar__theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Sidebar Footer */
.sidebar__footer {
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3);
  background: var(--gold-gradient);
  color: var(--gray-900);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  overflow: hidden;
}

.sidebar__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.sidebar__cta-text {
  white-space: nowrap;
  opacity: 0;
  width: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.sidebar[data-state="expanded"] .sidebar__cta-text {
  opacity: 1;
  width: auto;
}

/* Mobile Sidebar - Off-canvas */
@media (max-width: 1023px) {
  .app-layout {
    padding-left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-2xl);
  }

  .sidebar.sidebar--open {
    transform: translateX(0);
    width: var(--sidebar-width-expanded);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: calc(var(--z-sidebar) - 1);
  }

  .sidebar-overlay.sidebar-overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile sidebar toggle button */
  .sidebar-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    z-index: calc(var(--z-sidebar) - 2);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .sidebar-mobile-toggle:hover {
    transform: scale(1.1);
  }
}

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

  .sidebar-overlay {
    display: none;
  }
}

/* ============================================
   6. NAVIGATION & HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width-mini);
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

/* Adjust header when sidebar expands */
.app-layout[data-sidebar="expanded"] .header {
  left: var(--sidebar-width-expanded);
}

@media (max-width: 1023px) {
  .header {
    left: 0;
  }
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-image {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  line-height: var(--leading-tight);
}

.logo-sub {
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gradient-start);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

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

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Menu */
.nav-mobile {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: var(--z-fixed);
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile .nav-link {
  font-size: var(--text-lg);
  padding: var(--space-3) 0;
  border-bottom: var(--border-1) solid var(--gray-100);
}

.nav-mobile .btn {
  margin-top: var(--space-4);
}

/* --------------------------------------
   6.1 BEM NAVIGATION STYLES
   (Matches HTML BEM class names)
   -------------------------------------- */

/* Main nav container */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav__logo-img {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: #ffffff;
  line-height: var(--leading-tight);
}

/* Desktop Menu */
.nav__menu {
  display: none;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav__menu {
    display: flex;
  }
}

.nav__item {
  margin: 0;
}

.nav__link {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gradient-start);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* CTA Button in Nav */
.nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Mobile Navigation Toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: var(--space-1);
  background: none;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Mobile Navigation Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: var(--space-6);
  z-index: var(--z-fixed);
  flex-direction: column;
  overflow-y: auto;
}

.nav__mobile--open {
  display: flex;
  animation: slideDown 0.3s ease-out;
}

.nav__mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav__mobile-link {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: var(--border-1) solid var(--gray-100);
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover,
.nav__mobile-link.active {
  color: var(--gradient-start);
}

.nav__mobile-cta {
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
}

/* ============================================
   7. HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: var(--space-16);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}

/* Aurora Background Effect */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(240, 147, 251, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(79, 172, 254, 0.3) 0%, transparent 50%);
  animation: auroraShift 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes auroraShift {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-5%, 5%) rotate(2deg);
  }
  50% {
    transform: translate(5%, -5%) rotate(-2deg);
  }
  75% {
    transform: translate(-3%, -3%) rotate(1deg);
  }
}

/* Mesh gradient overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.15);
  border: var(--border-1) solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.hero h1 .highlight {
  color: var(--gold-light);
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .hero-description {
    font-size: var(--text-xl);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero decorative elements */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-decoration-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-decoration-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator-arrow {
  width: 24px;
  height: 24px;
}

/* Page hero - full viewport height like index.html */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(240, 147, 251, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(79, 172, 254, 0.3) 0%, transparent 50%);
  animation: auroraShift 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Decorative floating shapes for page-hero */
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-height));
  justify-content: center;
  padding-top: var(--header-height);
}

/* Page hero title - matches .hero__title styling */
.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: var(--text-6xl);
  }
}

/* Page hero subtitle - matches .hero__subtitle styling */
.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0;
}

@media (min-width: 768px) {
  .page-hero__subtitle {
    font-size: var(--text-xl);
  }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------
   7.1 BEM HERO STYLES
   (Matches HTML BEM class names)
   -------------------------------------- */

.hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(212, 175, 55, 0.1));
}

.hero__shape--1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 20%;
  animation: float 12s ease-in-out infinite;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 73px);
  justify-content: center;
}

.hero__content {
  max-width: 700px;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--text-xl);
  }
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: var(--text-sm);
}

.hero__scroll-icon {
  width: 24px;
  height: 24px;
}

/* ============================================
   8. SECTION LAYOUTS
   ============================================ */

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-label-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Background variants */
.bg-white {
  background-color: var(--white);
}

.bg-gray {
  background-color: var(--gray-50);
}

.bg-dark {
  background: var(--gray-900);
  color: var(--white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: var(--white);
}

.bg-dark p {
  color: var(--gray-400);
}

.bg-gradient {
  background: var(--gradient-primary);
  color: var(--white);
}

.bg-gradient h1,
.bg-gradient h2,
.bg-gradient h3,
.bg-gradient h4,
.bg-gradient h5,
.bg-gradient h6 {
  color: var(--white);
}

.bg-gradient p {
  color: rgba(255, 255, 255, 0.85);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

/* Process/Timeline */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.process-card {
  position: relative;
  text-align: center;
  padding: var(--space-6);
}

.process-number {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.process-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.process-description {
  font-size: var(--text-sm);
  color: var(--gray-600);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--space-16) var(--space-6);
}

.cta-section h2 {
  margin-bottom: var(--space-4);
}

.cta-section p {
  margin-bottom: var(--space-8);
}

/* ============================================
   9. FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, #060a12 0%, #0d1220 50%, #060a12 100%);
  color: var(--gray-400);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-brand .logo-main {
  color: var(--white);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: var(--leading-relaxed);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: var(--border-1) solid var(--gray-800);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

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

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

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

/* ============================================
   10. ANIMATIONS & KEYFRAMES
   ============================================ */

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* Slide down animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

/* Float animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
  }
}

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

/* Scroll reveal - elements hidden by default */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

/* ============================================
   10.5 ADVANCED VISUAL EFFECTS
   ============================================ */

/* Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--glass-bg-light);
  border-color: var(--glass-border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Dark Glassmorphism */
.glass-card--dark {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.glass-card--dark:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 3D Card with Tilt Effect */
.tilt-card {
  perspective: var(--perspective);
  transform-style: preserve-3d;
}

.tilt-card__inner {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover .tilt-card__inner {
  transform: rotateX(5deg) rotateY(5deg);
}

/* 3D Floating Effect */
.float-3d {
  transform-style: preserve-3d;
  animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
  25% {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  }
  50% {
    transform: translateY(-5px) rotateX(-2deg) rotateY(2deg);
  }
  75% {
    transform: translateY(-15px) rotateX(1deg) rotateY(-1deg);
  }
}

/* Gradient Border Effect */
.gradient-border {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--aurora-gradient);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Glow Effect */
.glow {
  transition: box-shadow 0.3s ease;
}

.glow:hover {
  box-shadow:
    0 0 20px rgba(102, 126, 234, 0.3),
    0 0 40px rgba(118, 75, 162, 0.2),
    0 0 60px rgba(212, 175, 55, 0.1);
}

.glow--gold:hover {
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.4),
    0 0 40px rgba(212, 175, 55, 0.2),
    0 0 60px rgba(212, 175, 55, 0.1);
}

/* Kinetic Typography */
.kinetic-text {
  display: inline-block;
}

.kinetic-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: kinetic 0.5s forwards;
}

@keyframes kinetic {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger kinetic animation */
.kinetic-text span:nth-child(1) { animation-delay: 0.1s; }
.kinetic-text span:nth-child(2) { animation-delay: 0.15s; }
.kinetic-text span:nth-child(3) { animation-delay: 0.2s; }
.kinetic-text span:nth-child(4) { animation-delay: 0.25s; }
.kinetic-text span:nth-child(5) { animation-delay: 0.3s; }
.kinetic-text span:nth-child(6) { animation-delay: 0.35s; }
.kinetic-text span:nth-child(7) { animation-delay: 0.4s; }
.kinetic-text span:nth-child(8) { animation-delay: 0.45s; }
.kinetic-text span:nth-child(9) { animation-delay: 0.5s; }
.kinetic-text span:nth-child(10) { animation-delay: 0.55s; }

/* Scroll Reveal Animations */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.reveal-fade.revealed {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Reveal */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-reveal.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-reveal.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-reveal.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-reveal.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
}

.bento-grid__item--wide {
  grid-column: span 2;
}

.bento-grid__item--tall {
  grid-row: span 2;
}

.bento-grid__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

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

  .bento-grid__item--wide {
    grid-column: span 2;
  }

  .bento-grid__item--featured {
    grid-column: span 2;
  }
}

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

  .bento-grid__item--wide,
  .bento-grid__item--tall,
  .bento-grid__item--featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Particle Effect Container */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Particles Container - Full Page Background */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Individual Particle Dot */
.particles__dot {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.7);
  animation: particleFloat linear infinite;
  opacity: 0;
}

/* Particle Size Variants */
.particles__dot--sm {
  width: 2px;
  height: 2px;
}

.particles__dot--md {
  width: 4px;
  height: 4px;
}

.particles__dot--lg {
  width: 6px;
  height: 6px;
}

/* Particle Float Animation */
@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(30px);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .float-3d,
  .shimmer::after,
  .kinetic-text span,
  .particles__dot {
    animation: none;
  }

  .reveal-fade,
  .reveal-up,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .stagger-reveal > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   11. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile styles are default (mobile-first) */

/* Small mobile: 375px+ */
@media (min-width: 375px) {
  .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .hidden-mobile {
    display: block;
  }

  .hidden-tablet-up {
    display: none;
  }
}

/* Laptop: 1024px+ */
@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }

  .hidden-desktop {
    display: none;
  }
}

/* Reduced motion preference */
@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;
  }
}

/* ============================================
   12. ACCESSIBILITY & UTILITIES
   ============================================ */

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus trap utility */
.focus-trap {
  position: relative;
}

/* High contrast focus indicator */
.high-contrast-focus:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Visibility utilities */
.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

/* Pointer events */
.pointer-events-none {
  pointer-events: none;
}

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

/* Overflow utilities */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

/* Position utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

/* Object fit */
.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

/* Opacity utilities */
.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-100 {
  opacity: 1;
}

/* Cursor utilities */
.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

/* Selection color */
::selection {
  background: var(--gold);
  color: var(--gray-900);
}

/* ============================================
   13. PAGE-SPECIFIC SECTIONS
   ============================================ */

/* --- Section Header Component (Alternative) --- */
.section-header__badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--gray-800);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .section-header__title {
    font-size: var(--text-5xl);
  }
}

.section-header__subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

/* Section header styles for dark backgrounds */
.services-overview .section-header__title,
.why-us .section-header__title {
  color: var(--white);
}

.services-overview .section-header__subtitle,
.why-us .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.services-overview .section-header__badge,
.why-us .section-header__badge {
  color: var(--gold);
}

/* --- Trust Section --- Level 1: Slate (Lightest) */
.trust {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

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

/* --- Services Overview Section --- Level 2: Steel */
.services-overview {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  position: relative;
  overflow: hidden;
}

.services-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.services-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

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

/* Large service cards - Glassmorphism */
.card--service-large {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card--service-large .card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.card--service-large .card__icon-wrapper {
  width: 64px;
  height: 64px;
}

.card--service-large .card__badge {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: var(--font-medium);
}

.card--service-large .card__badge--gold {
  background: var(--gold-gradient);
  color: var(--gray-900);
}

.card--service-large .card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.card--service-large .card__description {
  margin-bottom: var(--space-6);
}

.card--service-large .card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}

.card--service-large .card__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.card--service-large .card__list-item:last-child {
  border-bottom: none;
}

.card--service-large .card__list-item svg {
  flex-shrink: 0;
  color: var(--success);
}

.card--service-large .card__btn {
  width: 100%;
  justify-content: center;
}

/* Service large cards on dark background */
.services-overview .card--service-large {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.services-overview .card--service-large:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

.services-overview .card--service-large .card__title {
  color: var(--white);
}

.services-overview .card--service-large .card__description {
  color: rgba(255, 255, 255, 0.75);
}

.services-overview .card--service-large .card__list-item {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.services-overview .card--service-large .card__list-item svg {
  color: var(--success);
}

/* --- Why Choose Us Section --- Level 3: Charcoal */
.why-us {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #151c28 0%, #1d2636 50%, #151c28 100%);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

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

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

/* Feature cards on dark background (Why Us section) */
.why-us .card--feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.why-us .card--feature::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.why-us .card--feature:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 175, 55, 0.08);
}

.why-us .card--feature .card__title {
  color: var(--white);
}

.why-us .card--feature .card__description {
  color: rgba(255, 255, 255, 0.7);
}

/* Icon wrapper adjustment for dark background */
.why-us .card__icon-wrapper--gradient {
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* --- CTA Section --- Level 4: Deep Midnight (Darkest) */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #0a0f1a 0%, #141c2a 50%, #0a0f1a 100%);
  overflow: hidden;
}

/* Glow Effect for CTA - Consistent with other sections */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.cta-section__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-section__shape {
  position: absolute;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(212, 175, 55, 0.15));
}

.cta-section__shape--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
  animation: float 6s ease-in-out infinite;
}

.cta-section__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -30px;
  animation: float 8s ease-in-out infinite reverse;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: var(--text-4xl);
  }
}

.cta-section__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta-section__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-section__buttons {
    flex-direction: row;
  }
}

/* White button for CTA section */
.btn--white {
  background: var(--white);
  color: var(--gray-800);
  border: none;
}

.btn--white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Ghost light button */
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* ============================================
   14. FOOTER (Enhanced)
   ============================================ */

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer__logo-img {
  width: 40px;
  height: auto;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--white);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--gray-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.footer__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Footer Social Media Icons */
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background: var(--gold);
  color: var(--gray-900);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer columns */
.footer__links,
.footer__contact {
  /* Column styles handled by grid */
}

.footer__heading {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__menu li {
  margin-bottom: var(--space-2);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.footer__contact-item a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-2);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Badge outline variant */
.badge--gold-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
}

/* ============================================
   15. SERVICES PAGE
   ============================================ */

.services-section {
  padding: var(--space-16) 0 var(--space-20);
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

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

/* Service Card Features List */
.card__features {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 var(--space-6);
}

.card__features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-600);
}

.card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.card__cta {
  margin-top: auto;
}

/* Process Section - Dark Theme */
.process-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Services page text colors for dark backgrounds */
.services-section .section-header__title,
.process-section .section-header__title {
  color: var(--white);
}

.services-section .section-header__subtitle,
.process-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.services-section .section-header__badge,
.process-section .section-header__badge {
  color: var(--gold);
}

/* Service cards on dark background */
.services-section .card--service {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.services-section .card--service:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.4);
}

.services-section .card--service .card__title {
  color: var(--white);
}

.services-section .card--service .card__description {
  color: rgba(255, 255, 255, 0.75);
}

.services-section .card__features li {
  color: rgba(255, 255, 255, 0.85);
}

/* Process cards on dark background */
.process-section .process-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-section .process-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.3);
}

.process-section .process-card__title,
.process-section .process-title {
  color: var(--white);
}

.process-section .process-card__description,
.process-section .process-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Gradient text for light backgrounds */
.text-gradient-light {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   16. PARTNERS PAGE
   ============================================ */

.partners-hero-content {
  max-width: 800px;
}

.partners-stats {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.partners-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.partners-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

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

.stat-card {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.4);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-medium);
}

/* Partner Services Grid - Dark Theme */
.partner-services {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #151c28 0%, #1d2636 50%, #151c28 100%);
  position: relative;
  overflow: hidden;
}

.partner-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Partner services text colors */
.partner-services .section-header__title {
  color: var(--white);
}

.partner-services .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.partner-services .section-header__badge {
  color: var(--gold);
}

.partner-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

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

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

/* Engagement Models - Dark Theme */
.engagement-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #0d1420 0%, #151d2a 50%, #0d1420 100%);
  position: relative;
  overflow: hidden;
}

.engagement-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Engagement section text colors */
.engagement-section .section-header__title {
  color: var(--white);
}

.engagement-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.engagement-section .section-header__badge {
  color: var(--gold);
}

.engagement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

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

.engagement-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.engagement-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.engagement-card--featured {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  position: relative;
}

.engagement-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-gradient);
  color: var(--gray-900);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

.engagement-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.engagement-card__description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

.engagement-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  text-align: left;
}

.engagement-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.engagement-card__features svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

/* Security Section */
.security-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #0a1018 0%, #121a24 50%, #0a1018 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.security-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

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

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

.security-card {
  text-align: center;
  padding: var(--space-6);
}

.security-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-card__icon svg {
  color: var(--gold);
}

.security-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.security-card__description {
  font-size: var(--text-sm);
  color: var(--gray-400);
}

/* ============================================
   17. ABOUT PAGE
   ============================================ */

/* About Story Section - Dark Theme */
.about-story {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.about-story .section-header__title {
  color: var(--white);
}

.about-story .section-header__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.about-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .about-story__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .about-story__title {
    font-size: var(--text-4xl);
  }
}

.about-story__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.about-story__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Value Cards - Dark Theme */
.value-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.value-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.value-card__description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
}

.value-card__commitment {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Values Section (Partners Page) - Dark Theme */
.values-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Values section text colors */
.values-section .section-header__title {
  color: var(--white);
}

.values-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.values-section .section-header__badge {
  color: var(--gold);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

.values-grid .value-card {
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
}

.values-grid .value-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.4);
}

.values-grid .value-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.values-grid .value-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--white);
}

.values-grid .value-card__description {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.values-grid .value-card__commitment {
  text-align: left;
  font-size: var(--text-sm);
  background: var(--white);
  color: var(--gray-700);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  border-top: none;
}

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

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

/* Founder Section - Dark Theme */
.founder-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Founder section text colors */
.founder-section .section-header__title {
  color: var(--white);
}

.founder-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.founder-section .section-header__badge {
  color: var(--gold);
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .founder-card {
    grid-template-columns: auto 1fr;
    padding: var(--space-12);
  }
}

.founder-card__image {
  display: flex;
  justify-content: center;
}

.founder-card__avatar {
  width: 180px;
  height: 180px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card__avatar span {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--white);
}

.founder-card__photo {
  width: 605px;
  height: 493px;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.founder-card__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.founder-card__title {
  font-size: var(--text-lg);
  color: var(--gold);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-6);
}

.founder-card__bio {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.founder-card__credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
}

.credential-item svg {
  flex-shrink: 0;
  color: var(--success);
}

.founder-card__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.expertise-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Expertise Section - Dark Theme */
.expertise-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #151c28 0%, #1d2636 50%, #151c28 100%);
  position: relative;
  overflow: hidden;
}

.expertise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Expertise section text colors */
.expertise-section .section-header__title {
  color: var(--white);
}

.expertise-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.expertise-section .section-header__badge {
  color: var(--gold);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

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

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

.expertise-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.expertise-card:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}

.expertise-card__icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.expertise-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.expertise-card__description {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-relaxed);
}

/* ============================================
   YouTube Video Cards
   ============================================ */

/* Video Grid - responsive layout */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

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

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

/* Video Card */
.video-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: block;
  color: inherit;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(212, 175, 55, 0.08),
    0 0 60px rgba(102, 126, 234, 0.05);
}

.video-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Thumbnail - Cinematic letterbox (black bars frame the full image) */
.video-card__thumbnail {
  position: relative;
  padding-top: 70%; /* Taller than 16:9 to fit bars + full image */
  overflow: hidden;
  background: #000;
}

/* Image centered vertically — bars are the natural black space above/below */
.video-card__thumbnail img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 80%; /* 16:9 image within the taller container */
  transform: translateY(-50%);
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.video-card:hover .video-card__thumbnail img {
  transform: translateY(-50%) scale(1.04);
  filter: brightness(1.08) contrast(1.05);
}

/* Subtle thin line at bar edges for cinematic separation */
.video-card__thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 9%, rgba(255,255,255,0.06) 9.5%, transparent 10%),
    linear-gradient(to top, transparent 9%, rgba(255,255,255,0.06) 9.5%, transparent 10%);
  z-index: 3;
  pointer-events: none;
}

/* Subtle depth gradient on the image area */
.video-card__thumbnail::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Play overlay - always slightly visible, prominent on hover */
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.video-card:hover .video-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-card__play svg {
  width: 22px;
  height: 22px;
  color: var(--gray-900);
  margin-left: 3px;
}

/* Duration badge — on the image, above bottom bar */
.video-card__duration {
  position: absolute;
  bottom: 13%;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  line-height: 1.4;
  z-index: 4;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* "Latest" badge — on the image, below top bar */
.video-card__badge {
  position: absolute;
  top: 13%;
  left: 10px;
  background: var(--gold-gradient);
  color: var(--gray-900);
  font-size: 0.65rem;
  font-weight: var(--font-bold);
  padding: 4px 10px;
  border-radius: var(--radius-full, 50px);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
  z-index: 4;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

/* Gold accent line between thumbnail and info */
.video-card__info::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gradient-start), var(--gradient-end));
  margin-bottom: var(--space-4);
  border-radius: 1px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-card__info::before {
  opacity: 1;
}

/* Info section below thumbnail */
.video-card__info {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

/* Video title - 2-line clamp */
.video-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--white);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.video-card:hover .video-card__title {
  color: var(--gold-light);
}

/* Meta info (views + time ago) */
.video-card__meta {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  letter-spacing: 0.3px;
}

/* Loading state */
.yt-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) 0;
  gap: var(--space-4);
}

.yt-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: yt-spin 0.8s linear infinite;
}

@keyframes yt-spin {
  to { transform: rotate(360deg); }
}

.yt-loading__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

/* Error / Empty states */
.yt-error,
.yt-empty {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.yt-error__icon,
.yt-empty__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: rgba(255, 255, 255, 0.3);
}

.yt-error__message,
.yt-empty__message {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--white);
}

.yt-error__detail,
.yt-empty__detail {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-6);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .video-card {
    transition: none;
  }
  .video-card:hover {
    transform: none;
  }
  .video-card:hover .video-card__thumbnail img {
    transform: none;
    filter: none;
  }
  .video-card__play {
    transition: none;
  }
  .yt-loading__spinner {
    animation: none;
    border-top-color: var(--gold);
    opacity: 0.6;
  }
}

/* ============================================
   YouTube Video Modal
   ============================================ */

/* Overlay - full viewport dark backdrop */
.video-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal__overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* Modal container - centered */
.video-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: var(--z-modal);
  width: 90vw;
  max-width: 900px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.video-modal--visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.video-modal__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.video-modal__close svg {
  width: 18px;
  height: 18px;
}

/* Iframe wrapper - 16:9 responsive */
.video-modal__iframe-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal__iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video title below iframe */
.video-modal__title {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Body scroll lock */
body.video-modal-open {
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .video-modal__overlay {
    transition: none;
  }
  .video-modal {
    transition: none;
    transform: translate(-50%, -50%);
  }
  .video-modal--visible {
    transform: translate(-50%, -50%);
  }
  .video-modal__close:hover {
    transform: none;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .video-modal {
    width: 95vw;
  }
  .video-modal__close {
    top: -40px;
    right: 4px;
    width: 32px;
    height: 32px;
  }
  .video-modal__close svg {
    width: 16px;
    height: 16px;
  }
  .video-modal__title {
    font-size: var(--text-sm);
  }
}

/* Tools Section - Dark Theme */
.tools-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #111824 0%, #192230 50%, #111824 100%);
  position: relative;
  overflow: hidden;
}

.tools-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Tools section text colors */
.tools-section .section-header__title {
  color: var(--white);
}

.tools-section .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.tools-section .section-header__badge {
  color: var(--gold);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

.tool-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  transition: all var(--transition-base);
}

.tool-item:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-item__name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   18. CONTACT PAGE
   ============================================ */

.contact-section {
  padding: var(--space-16) 0 var(--space-20);
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Form - Glassmorphism (Dark) */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.contact-form__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

/* Contact Form Inputs - Dark Background Override */
.contact-form .form-input,
.contact-form .form-textarea,
.contact-form .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-form .form-input:hover,
.contact-form .form-textarea:hover,
.contact-form .form-select:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(102, 126, 234, 0.4);
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus,
.contact-form .form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gradient-start);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 1em;
}

.contact-form .form-select option {
  background: var(--white);
  color: var(--gray-800);
}

.contact-form .form-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Panel */
.contact-info {
  padding: var(--space-8);
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-2);
}

.contact-info__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-8);
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.contact-info__item:hover .contact-info__icon {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}

.contact-info__content h3 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.contact-info__content p,
.contact-info__content a {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.contact-info__content a:hover {
  color: var(--gold);
}

/* Preferred Methods */
.contact-preferred {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-preferred__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.contact-preferred__methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.preferred-method {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preferred-method svg {
  color: var(--gradient-start);
}

/* Form Success Message */
.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--success-light);
  border: 1px solid var(--success);
  border-radius: var(--radius-lg);
  color: var(--gray-800);
  margin-top: var(--space-4);
}

.form-success svg {
  flex-shrink: 0;
  color: var(--success);
}

.form-success[hidden] {
  display: none;
}

/* Form Error States */
.form-input--error,
.form-textarea--error {
  border-color: var(--error);
}

.form-input--error:focus,
.form-textarea--error:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  display: none;
  font-size: var(--text-sm);
  color: var(--error);
  margin-top: var(--space-1);
}

/* Form submit button full width */
.form-submit {
  width: 100%;
  justify-content: center;
}

/* Form submit loading state */
.form-submit--loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submit__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: submitSpin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes submitSpin {
  to { transform: rotate(360deg); }
}

/* Form submission error message */
.form-submit-error {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--error-light);
  color: var(--error);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================
   19. ANIMATION STATES
   ============================================ */

/* Fade in up animation for scroll reveal */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animation delays for grids */
.fade-in-up:nth-child(1) { transition-delay: 0ms; }
.fade-in-up:nth-child(2) { transition-delay: 100ms; }
.fade-in-up:nth-child(3) { transition-delay: 200ms; }
.fade-in-up:nth-child(4) { transition-delay: 300ms; }
.fade-in-up:nth-child(5) { transition-delay: 400ms; }
.fade-in-up:nth-child(6) { transition-delay: 500ms; }

/* Mouse-based focus removal */
body.using-mouse *:focus {
  outline: none;
}

/* Header scrolled state */
.header--scrolled {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Header hidden state (optional - for hide on scroll down) */
.header--hidden {
  transform: translateY(-100%);
}

/* Mobile nav open state */
.nav__mobile--open {
  display: block;
  animation: slideDown 0.3s ease-out;
}

/* Mobile toggle active state (X icon) */
.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white;
  }

  .header,
  .footer {
    display: none;
  }
}

/* ============================================
   SPA PAGE TRANSITIONS
   ============================================ */

/* Content transition states */
.main-content--exiting {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.main-content--entering {
  opacity: 0;
}

.main-content--visible {
  opacity: 1;
  transition: opacity 0.15s ease-out;
}

/* Loading indicator bar */
.page-loader {
  position: fixed;
  top: 0;
  left: var(--sidebar-width-mini);
  right: 0;
  height: 3px;
  background: transparent;
  z-index: calc(var(--z-fixed) + 10);
  pointer-events: none;
  overflow: hidden;
}

.page-loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.page-loader--loading::before {
  width: 70%;
  transition: width 1s ease-out;
}

.page-loader--complete::before {
  width: 100%;
  transition: width 0.2s ease-out;
}

.page-loader--hidden::before {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Responsive loader position */
@media (max-width: 1023px) {
  .page-loader {
    left: 0;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .main-content--exiting,
  .main-content--entering,
  .main-content--visible {
    transition: none;
    transform: none;
  }

  .page-loader {
    display: none;
  }
}

/* ============================================
   OUR VALUES PAGE
   ============================================ */

/* Values Introduction Section */
.values-intro {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  position: relative;
  overflow: hidden;
}

.values-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.values-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.values-intro__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .values-intro__title {
    font-size: var(--text-4xl);
  }
}

.values-intro__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.values-intro__text:last-child {
  margin-bottom: 0;
}

/* Scripture Sections */
.scripture-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.scripture-section--dark {
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  color: var(--white);
}

.scripture-section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.scripture-section--dark .section-header__title {
  color: var(--white);
}

.scripture-section--dark .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.scripture-section--dark .section-header__badge {
  color: var(--gold);
}

.scripture-section--light {
  background: linear-gradient(135deg, #1e2836 0%, #283344 50%, #1e2836 100%);
  color: var(--white);
}

.scripture-section--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.scripture-section--light .section-header__title {
  color: var(--white);
}

.scripture-section--light .section-header__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.scripture-section--light .section-header__badge {
  color: var(--gold);
}

/* Scripture Grid */
.scripture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
  z-index: 1;
}

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

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

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

/* Scripture Card */
.scripture-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.scripture-section--light .scripture-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scripture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.scripture-section--dark .scripture-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.4);
}

.scripture-section--light .scripture-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Quote Mark Icon */
.scripture-card__quote-mark {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--white);
}

.scripture-card__quote-mark svg {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

/* Verse Text */
.scripture-card__verse {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--white);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.scripture-section--light .scripture-card__verse {
  color: var(--white);
}

/* Reference Badge */
.scripture-card__reference {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--gray-900);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  align-self: flex-start;
}

/* Commitment Box */
.scripture-card__commitment {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-relaxed);
  border-top: 2px solid var(--gold);
}

.scripture-section--light .scripture-card__commitment {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.scripture-card__commitment strong {
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-1);
}

.scripture-section--light .scripture-card__commitment strong {
  color: var(--gold);
}

/* Values Founder Section */
.values-founder {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #1a2332 0%, #242f40 50%, #1a2332 100%);
  position: relative;
  overflow: hidden;
}

.values-founder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.values-founder__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.values-founder__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-8);
}

.values-founder__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-6);
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
  text-align: left;
}

.values-founder__name {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.values-founder__title-text {
  font-size: var(--text-base);
  color: var(--gold);
  font-weight: var(--font-medium);
}

/* Dark mode adjustments for Values page */
/* Sections are already dark by default, these provide darker variants for dark mode toggle */
[data-theme="dark"] .values-intro {
  background: linear-gradient(135deg, #0f0f14 0%, #15151d 50%, #0f0f14 100%);
}

[data-theme="dark"] .scripture-section--light {
  background: linear-gradient(135deg, #0f0f14 0%, #15151d 50%, #0f0f14 100%);
}

[data-theme="dark"] .scripture-section--light .scripture-card {
  background: rgba(30, 30, 40, 0.7);
}

[data-theme="dark"] .values-founder {
  background: linear-gradient(135deg, #0f0f14 0%, #15151d 50%, #0f0f14 100%);
}

[data-theme="dark"] .values-founder__quote {
  background: rgba(30, 30, 40, 0.7);
}
