/* =========================================================
   Lion Force Security — style.css
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --accent: #c6a85c;
  --accent-soft: rgba(198, 168, 92, 0.14);
  --accent-border: rgba(198, 168, 92, 0.36);
  --accent-glow: rgba(198, 168, 92, 0.22);

  --bg: #060606;
  --bg-soft: #0e0e0e;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --text: #f0ede8;
  --text-muted: rgba(240, 237, 232, 0.68);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.55);

  --radius: 14px;
  --radius-lg: 22px;
  --gap: 2rem;
  --max-w: 1260px;

  --font-display: "DIN Condensed", "Cairo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Cairo", "DIN Condensed", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s var(--ease);
}

body.light {
  --bg: #f8f7f4;
  --bg-soft: #efefec;
  --surface: rgba(0, 0, 0, 0.04);
  --surface-strong: rgba(0, 0, 0, 0.07);
  --text: #0a0906;
  --text-muted: rgba(10, 9, 6, 0.62);
  --border: rgba(0, 0, 0, 0.1);
  --shadow: rgba(0, 0, 0, 0.15);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

body.rtl { direction: rtl; text-align: right; }
body.ltr { direction: ltr; text-align: left; }

/* Smooth theme switch — class is added by JS for 700 ms then removed */
body.theme-transition,
body.theme-transition *,
body.theme-transition *::before,
body.theme-transition *::after {
  transition:
    background-color 0.65s ease,
    color            0.65s ease,
    border-color     0.65s ease,
    box-shadow       0.65s ease !important;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
/* Font loading moved to <link rel="preconnect"> + <link rel="stylesheet"> in <head> (see HTML) */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header { max-width: 680px; margin-bottom: 4rem; }
.section-header.center { margin: 0 auto 4rem; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::before { display: none; }
.section-header.center .section-desc { margin-inline: auto; }

/* Alternate section background (was inline style="background:var(--bg-soft);") */
.section-alt { background: var(--bg-soft); }

/* Centered eyebrow used outside a .section-header (e.g. inside .cta-border) */
.eyebrow-center { justify-content: center; margin-bottom: 1.2rem; }

/* Generic helpers replacing one-off inline styles */
.mt-lg-center { text-align: center; margin-top: 3rem; }
.mb-sm { margin-bottom: 1.2rem; }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--accent-border);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(198, 168, 92, 0.2);
  transform: translateY(-1px);
}

/* ---------- Cards ---------- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.glass-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow);
}

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

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(6, 6, 6, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

body.light .site-header.scrolled {
  background: rgba(248, 247, 244, 0.9);
}

/* Home page: header stays dark over hero in light mode (unscrolled) */
body.light.page-home .site-header {
  --text:           #f0ede8;
  --text-muted:     rgba(240, 237, 232, 0.68);
  --border:         rgba(255, 255, 255, 0.1);
  --surface:        rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --shadow:         rgba(0, 0, 0, 0.55);
}

/* Home page: once scrolled in light mode, switch to white header like other pages */
body.light.page-home .site-header.scrolled {
  background: rgba(248, 247, 244, 0.9);
  --text:           #0a0906;
  --text-muted:     rgba(10, 9, 6, 0.62);
  --border:         rgba(0, 0, 0, 0.1);
  --surface:        rgba(0, 0, 0, 0.04);
  --surface-strong: rgba(0, 0, 0, 0.07);
  --shadow:         rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}

body.ltr .nav-link::after { transform-origin: left; }

.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--accent);
  color: #000;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-soft);
  border-inline-start: 1px solid var(--border);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(110%);
  transition: transform 0.4s var(--ease);
}

body.ltr .mobile-nav { transform: translateX(110%); }
body.rtl .mobile-nav { transform: translateX(-110%); }

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

.mobile-nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.mobile-controls {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(198,168,92,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(198,168,92,0.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(2,2,2,0.78) 0%, rgba(6,6,6,0.70) 100%),
    url('../assets/hero.avif') center / cover no-repeat;
}

/* Light mode hero uses a separate image; overlay preserved for readability */
body.light .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(198,168,92,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(198,168,92,0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(2,2,2,0.82) 0%, rgba(6,6,6,0.76) 100%),
    url('../assets/herow.avif') center / cover no-repeat;
}

/* Re-pin all light-mode variable overrides back to dark values inside hero only */
body.light .hero {
  --text:           #f0ede8;
  --text-muted:     rgba(240, 237, 232, 0.68);
  --border:         rgba(255, 255, 255, 0.1);
  --surface:        rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --shadow:         rgba(0, 0, 0, 0.55);
}

/* Animated grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,168,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,168,92,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

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



.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.8s var(--ease) 0.35s both;
}

.home-hero-title-lg {
  font-size: 60px;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: inline;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.65s both;
}

/* Decorative accent line */
.hero-line {
  position: absolute;
  bottom: 2.5rem;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
  z-index: 2;
}

/* ---------- Page Hero ---------- */
.page-hero {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(198,168,92,0.12) 0%, transparent 70%),
    var(--bg-soft);
}

body.light .page-hero-bg {
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(198,168,92,0.1) 0%, transparent 70%),
    var(--bg-soft);
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.page-hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  animation: fadeUp 0.7s var(--ease) 0.25s both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s var(--ease) 0.05s both;
}

.breadcrumb a { color: var(--accent); }
.breadcrumb span { opacity: 0.5; }

/* ---------- About Preview ---------- */
.about-preview {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-shield {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  animation: ringRotate 20s linear infinite;
}

.shield-ring:nth-child(2) {
  inset: 15%;
  animation-direction: reverse;
  animation-duration: 15s;
  border-style: dashed;
  border-color: rgba(198,168,92,0.2);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.shield-core {
  width: 55%;
  aspect-ratio: 1;
  background: var(--accent-soft);
  border-radius: 50%;
  border: 2px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px var(--accent-glow);
}

.shield-logo { width: 120px; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2rem;
  margin-inline: auto;
}

.stat-item {
  flex: 0 1 130px;
  text-align: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ---------- Why Us ---------- */
.why-section { background: var(--bg-soft); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--shadow);
}

.feature-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-border);
  font-family: var(--font-display);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(198,168,92,0.12) 0%, transparent 70%),
    var(--bg);
}

body.light .cta-bg {
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(198,168,92,0.1) 0%, transparent 70%),
    var(--bg);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Decorative border */
.cta-border {
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  background: var(--surface);
}

/* ---------- Services Page ---------- */
.service-block {
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-block:hover {
  border-color: var(--accent-border);
  box-shadow: 0 20px 60px var(--shadow);
}

.service-block:hover::before { opacity: 1; }

.service-block-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-block-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--accent);
}

.service-block-title {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.service-block-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  margin-top: 1.2rem;
}

.service-detail-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ---------- About Page ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.overview-decorative {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-badge {
  background: var(--surface-strong);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.license-badge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-border), transparent, var(--accent-border));
  z-index: -1;
}

.license-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
}

.license-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

.license-badge-icon-spacer {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.license-badge-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.2rem auto 0;
}

.license-badge-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

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

.vm-card {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}

.vm-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-strong);
}

.vm-card-label {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.vm-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- General Info / Stat Cards (Compliance Page) ---------- */
.general-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.info-stat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}

.info-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.75;
}

.info-stat-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px var(--shadow);
}

.info-stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  transition: all var(--transition);
}

.info-stat-card:hover .info-stat-icon {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}

.info-stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.info-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.info-stat-value-sm { font-size: 1.15rem; }

/* ---------- Compliance Page: License block & Org cards ---------- */
.license-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem;
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.license-block-icon {
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
}

.license-block-title { font-size: 1.4rem; }

.license-block-text { font-size: 0.98rem; }
.license-block-text.license-block-intro { margin-bottom: 1.1rem; }

.org-card { min-height: 190px; }

/* ---------- Contact Page ---------- */
.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-info-val {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info-val a { color: var(--text-muted); transition: color var(--transition); }
.contact-info-val a:hover { color: var(--accent); }

/* ---------- Contact Page Redesign ---------- */
.contact-new-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.8rem;
}

.contact-accent-bar {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.contact-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.contact-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--shadow);
}

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

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-card-body { flex: 1; }

.contact-ctas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-cta-btn {
  padding: 1rem 2.8rem;
  font-size: 1rem;
  min-width: 220px;
  justify-content: center;
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .contact-new-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .contact-ctas { flex-direction: column; align-items: stretch; }
  .contact-cta-btn { min-width: 0; width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr;
  gap: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.footer-logo-img { height: 44px; }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-contact-text a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-contact-text a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-rights {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-accent-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

/* ---------- Call Modal ---------- */
body.modal-open {
  overflow: hidden;
}

.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;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2rem 2.2rem;
  text-align: center;
  box-shadow: 0 30px 80px var(--shadow);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
}

.modal-close:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-call-btn {
  width: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1.2rem;
}

.modal-call-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.85;
  direction: ltr;
}

@media (max-width: 480px) {
  .modal-box { padding: 2.2rem 1.4rem 1.8rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

/* ---------- Decorative separator ---------- */
.sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-preview-inner,
  .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
  .general-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --gap: 1.5rem; }
  .section { padding: 5rem 0; }

  .desktop-nav { display: none; }
  .burger { display: flex; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block { padding: 2rem 1.5rem; }
  .cta-border { padding: 2.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .vm-grid { grid-template-columns: 1fr; }

  /* Lighter backdrop-filter cost on mobile GPUs */
  .site-header.scrolled { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .modal-overlay { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding: 7rem 0 4rem; }
  .page-hero { padding: 8rem 0 3.5rem; }
  .hero-actions { gap: 0.8rem; }
  .about-stats { gap: 0.6rem; }
  .stat-item { flex-basis: 96px; padding: 0.75rem 0.5rem; }
  .stat-num { font-size: 1.4rem; }
  .general-info-grid { grid-template-columns: 1fr; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Selection ---------- */
::selection { background: var(--accent-soft); color: var(--accent); }

/* ---------- Touch devices: skip hover-only lift/shadow effects ---------- */
@media (hover: none) {
  .glass-card:hover,
  .feature-card:hover,
  .service-block:hover,
  .vm-card:hover,
  .contact-card:hover,
  .info-stat-card:hover,
  .btn-primary:hover,
  .btn-outline:hover {
    transform: none;
    box-shadow: none;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-bg {
    transform: none !important;
  }
}
