/* ==========================================================================
   SM999 Official Pakistan - Production-Ready Design System
   State-of-the-Art Luxury Deep Green & Gold Responsive Design
   Zero CDN Dependencies • Pure System Fonts • Core Web Vitals Optimized
   ========================================================================== */

/* Design Tokens & CSS Custom Properties */
:root {
  /* Background Palette (Luxury Deep Green / Black) */
  --bg-primary: #03150F;
  --bg-surface: #041C14;
  --bg-card: #06251A;
  --bg-card-hover: #082D20;
  --bg-elevated: #0B3828;
  --bg-glass: rgba(6, 37, 26, 0.88);
  --bg-glass-heavy: rgba(4, 28, 20, 0.95);

  /* Gold & Yellow Accents */
  --gold-primary: #FFD84D;
  --gold-soft: #F4D35E;
  --gold-dark: #EAB308;
  --gold-gradient: linear-gradient(135deg, #FFD84D 0%, #F4D35E 50%, #EAB308 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE680 0%, #FFD84D 50%, #F4D35E 100%);

  /* Secondary Accents */
  --accent-emerald: #10B981;
  --accent-emerald-light: #34D399;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);
  --accent-emerald-border: rgba(16, 185, 129, 0.35);

  /* Borders */
  --border-gold: rgba(255, 216, 77, 0.28);
  --border-gold-subtle: rgba(255, 216, 77, 0.16);
  --border-gold-strong: rgba(255, 216, 77, 0.55);
  --border-subtle: rgba(229, 238, 233, 0.08);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #E5EEE9;
  --text-muted: #A9BDB4;
  --text-dim: #7A968B;

  /* Backward Compatibility Aliases */
  --bg-main: var(--bg-primary);
  --bg-surface-alt: var(--bg-card);
  --bg-dark-glass: var(--bg-glass);
  --brand-yellow: var(--gold-primary);
  --brand-yellow-bright: var(--gold-soft);
  --brand-yellow-light: #FEF08A;
  --brand-yellow-dark: var(--gold-dark);
  --brand-gold: var(--gold-primary);
  --brand-emerald: var(--accent-emerald);
  --brand-emerald-light: var(--accent-emerald-light);
  --text-main: var(--text-secondary);
  --text-white: var(--text-primary);

  /* System Typography Stack (Zero CDN) */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 216, 77, 0.2);
  --shadow-card-hover: 0 18px 40px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 216, 77, 0.18);
  --shadow-panel: 0 24px 48px -12px rgba(0, 0, 0, 0.85);
  --shadow-glow-gold: 0 0 25px rgba(255, 216, 77, 0.35);
  --shadow-glow-gold-lg: 0 0 45px rgba(255, 216, 77, 0.55);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 216, 77, 0.05) 0%, transparent 45%),
                    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background-color: var(--gold-primary);
  color: #03150F;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

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

a.text-link, p a, .content-section a:not(.btn):not(.stat-box) {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

a.text-link:hover, p a:hover, .content-section a:not(.btn):not(.stat-box):hover {
  color: var(--text-primary);
  text-decoration-color: var(--gold-soft);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(3, 21, 15, 0.85);
  color: var(--gold-primary);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.88em;
  border: 1px solid var(--border-gold-subtle);
  word-break: break-word;
}

/* Layout Containers */
.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, 1180px);
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(100% - 64px, 1180px);
  }
}

/* Responsive Grids */
.grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

.grid-cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .grid-mobile-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* 2-Column Responsive Layout */
.lg-grid-12 {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.lg-col-7, .lg-col-5, .lg-col-8, .lg-col-4, .lg-col-6 {
  width: 100%;
}

@media (min-width: 1025px) {
  .lg-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    align-items: center;
  }
  .lg-grid-12.items-start {
    align-items: flex-start;
  }
  .lg-col-7 { grid-column: span 7; }
  .lg-col-5 {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .lg-col-8 { grid-column: span 8; }
  .lg-col-4 { grid-column: span 4; }
  .lg-col-6 { grid-column: span 6; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing Utilities */
.p-8 { padding: 22px; }
.p-6 { padding: 18px; }
.p-5 { padding: 16px; }
.p-4 { padding: 14px; }
.p-3 { padding: 10px; }
.mb-8 { margin-bottom: 28px; }
.mb-6 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 14px; }
.mb-3 { margin-bottom: 10px; }
.mt-4 { margin-top: 16px; }
.my-3 { margin-top: 12px; margin-bottom: 12px; }
.my-4 { margin-top: 16px; margin-bottom: 16px; }

@media (min-width: 640px) {
  .p-8 { padding: 30px; }
  .p-6 { padding: 24px; }
  .p-5 { padding: 20px; }
  .p-4 { padding: 16px; }
  .mb-8 { margin-bottom: 36px; }
  .mb-6 { margin-bottom: 24px; }
}

@media (min-width: 1024px) {
  .p-8 { padding: 36px; }
  .p-6 { padding: 28px; }
  .p-5 { padding: 24px; }
}

/* Visual Aesthetics & Gradient Accents */
.yellow-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(255, 216, 77, 0.25));
}

.glass-panel {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 60%, var(--bg-primary) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  border-color: var(--border-gold-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* Kicker Badges */
.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 216, 77, 0.1);
  border: 1px solid rgba(255, 216, 77, 0.35);
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.badge-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px var(--gold-primary); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal), background var(--transition-normal);
  text-decoration: none !important;
  text-align: center;
  touch-action: manipulation;
}

.btn-primary-yellow {
  background: var(--gold-gradient);
  color: #03150F !important;
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary-yellow:hover {
  background: var(--gold-gradient-hover);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold-lg);
  color: #03150F !important;
}

.btn-outline-yellow {
  background: transparent;
  color: var(--gold-primary) !important;
  border: 2px solid var(--gold-primary);
}

.btn-outline-yellow:hover {
  background: rgba(255, 216, 77, 0.12);
  color: #FFFFFF !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(229, 238, 233, 0.06);
  color: var(--text-primary) !important;
  border: 1px solid rgba(229, 238, 233, 0.18);
}

.btn-glass:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary) !important;
  background: rgba(255, 216, 77, 0.08);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 54px;
  padding: 16px 32px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 12px 18px;
    font-size: 0.92rem;
  }
}

/* Navigation Header */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.nav-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(255, 216, 77, 0.35);
  object-fit: cover;
  background: var(--bg-surface);
}

.nav-logo-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.nav-logo-title span {
  color: var(--gold-primary);
}

.nav-logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--gold-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

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

.nav-link-item {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.nav-link-item:hover {
  color: var(--gold-primary);
  background: rgba(255, 216, 77, 0.1);
}

.nav-link-item.active {
  background: var(--gold-primary);
  color: #03150F !important;
  box-shadow: 0 0 16px rgba(255, 216, 77, 0.35);
}

.nav-mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
}

@media (max-width: 868px) {
  .nav-links, .nav-desktop-btn {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-gold);
  padding: 16px;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-subtle);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none !important;
}

.mobile-nav-item.active {
  background: var(--gold-primary);
  color: #03150F !important;
  font-weight: 800;
}

.mobile-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-sub-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(6, 37, 26, 0.6);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none !important;
}

.mobile-sub-item:hover {
  color: var(--gold-primary);
  background: var(--bg-card);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 38px 0 46px 0;
  border-bottom: 1px solid var(--border-gold-subtle);
  background: radial-gradient(circle at 50% 20%, rgba(255, 216, 77, 0.08) 0%, rgba(3, 21, 15, 0.98) 75%);
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(255, 216, 77, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-h1 {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 14px;
}

.hero-subtitle {
  display: block;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 800;
  margin-top: 6px;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 50px 0;
  }
  .hero-h1 {
    font-size: 2.9rem;
  }
  .hero-subtitle {
    font-size: 1.45rem;
  }
}

@media (min-width: 1200px) {
  .hero-h1 {
    font-size: 3.3rem;
  }
}

/* Responsive Hero Switcher & Mobile Showcase Card */
.mobile-hero-block {
  display: block;
  margin: 14px auto 18px auto;
  max-width: 320px;
  width: 100%;
}

.mobile-showcase-card {
  background: linear-gradient(180deg, #0A3525 0%, #06251A 50%, #03150F 100%);
  border: 2px solid var(--border-gold);
  border-radius: 22px;
  padding: 16px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 216, 77, 0.2);
  text-align: center;
  margin-bottom: 14px;
}

.mobile-showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.badge-safe {
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald-light);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-rating {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.mobile-showcase-img-box {
  background: rgba(3, 21, 15, 0.9);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 16px;
  padding: 10px;
  margin: 0 auto 12px auto;
  box-shadow: 0 0 15px rgba(255, 216, 77, 0.12) inset, 0 0 20px rgba(255, 216, 77, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
}

.mobile-showcase-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.mobile-showcase-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mobile-showcase-title span {
  color: var(--gold-primary);
}

.mobile-showcase-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 700;
}

.mobile-hero-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.mobile-hero-btns .btn {
  min-height: 46px;
  padding: 10px 8px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1024px) {
  .badge-kicker {
    display: none !important;
  }
  .desktop-hero-btns {
    display: none !important;
  }
  .hero-h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-h1 .hero-title-main {
    color: var(--gold-primary);
    display: block;
  }
  .hero-h1 .hero-title-sub {
    color: var(--text-primary);
    display: block;
  }
  .hero-h1 .hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 800;
    margin-top: 4px;
    display: block;
  }
}

.desktop-hero-showcase {
  display: none;
}

@media (min-width: 1025px) {
  .mobile-hero-block {
    display: none !important;
  }
  .desktop-hero-showcase {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .desktop-hero-btns {
    display: flex !important;
  }
}

/* Phone Device Frame Showcase */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 270px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(180deg, #0A3828 0%, #06251A 50%, #03150F 100%);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 25px rgba(255, 216, 77, 0.25);
  margin: 0 auto;
  transition: transform var(--transition-smooth);
}

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

.phone-speaker {
  width: 60px;
  height: 10px;
  background: #03150F;
  border-radius: 20px;
  margin: 0 auto 8px auto;
  border: 1px solid var(--border-gold-subtle);
}

.phone-screen {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  background: #03150F;
  aspect-ratio: 9/19.44;
}

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

/* Trust Badges & Stat Boxes */
.trust-bar {
  padding: 18px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.stat-box {
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  text-decoration: none !important;
  display: block;
}

.stat-box:hover {
  border-color: var(--border-gold-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 1.55rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
  .stat-box {
    padding: 10px 8px;
  }
}

/* Content Sections & Article */
.content-section {
  padding: 42px 0;
  scroll-margin-top: 90px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-top: 6px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .content-section {
    padding: 52px 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
}

.border-accent-yellow {
  border-left: 4px solid var(--gold-primary);
}

.border-accent-emerald {
  border-left: 4px solid var(--accent-emerald);
}

/* Feature Cards */
.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--border-gold-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--gold-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  margin: 20px 0;
  background: var(--bg-surface);
}

table.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

table.custom-table th {
  background: rgba(255, 216, 77, 0.1);
  color: var(--gold-primary);
  font-weight: 800;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

table.custom-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

table.custom-table tr:nth-child(even) {
  background: rgba(6, 37, 26, 0.4);
}

table.custom-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-gold-subtle);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 18px rgba(255, 216, 77, 0.15);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  touch-action: manipulation;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--gold-primary);
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 22px 20px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-gold-subtle);
  padding-top: 15px;
  background: rgba(3, 21, 15, 0.7);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-label span {
  color: var(--gold-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(255, 216, 77, 0.25);
}

/* Toast Notifications */
.download-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--gold-primary);
  color: #03150F;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #FFFFFF;
  animation: bounce-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce-in {
  0% { transform: translate(-50%, -40px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Status Alert Boxes */
.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald-light);
}

.alert-error {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid #EF4444;
  color: #FCA5A5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Design System */
.site-footer {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
  padding: 56px 0 32px 0;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.3fr;
  gap: 36px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none !important;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-primary) !important;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-gold-subtle);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Utility Animations & Icons */
.animate-pulse {
  animation: pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

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