/* ELEMES marketing — premium landing (lms.uz+ uslub, ELEMES ranglari) */
:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  --dark-300: #cbd5e1;
  --dark-400: #94a3b8;
  --dark-500: #64748b;
  --dark-600: #475569;
  --dark-700: #334155;
  --dark-800: #1e293b;
  --dark-900: #0f172a;
  --dark-950: #020617;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --gradient-dark: linear-gradient(160deg, #020617 0%, #0f172a 40%, #1e293b 100%);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.2);
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 4.25rem;
  --topbar-h: 2.25rem;
  --header-total: calc(var(--topbar-h) + var(--header-h));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  --primary-50: #082f49;
  --primary-100: #0c4a6e;
  --bg: #020617;
  --surface: #0b1220;
  --surface-alt: #0f172a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.container--wide { width: min(1280px, 94%); margin: 0 auto; }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes line-draw {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

/* ── Header ── */
.site-header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.logo-link {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: inherit;
  transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.85; }
.logo-img { height: 2.5rem; width: auto; }
.logo-text {
  font-weight: 700; font-size: 1.3rem;
  color: var(--dark-900); letter-spacing: -0.03em;
}

.nav-main { display: none; }
@media (min-width: 960px) {
  .nav-main { display: block; }
  .nav-links {
    display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0;
  }
  .nav-links a {
    text-decoration: none; color: var(--text-muted); font-weight: 500;
    font-size: 0.875rem; padding: 0.5rem 0.9rem; border-radius: 0.6rem;
    transition: all 0.2s; position: relative;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--primary-700); background: var(--primary-50);
  }
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { display: flex; gap: 0.1rem; background: var(--bg); border-radius: 0.5rem; padding: 0.15rem; }
.lang-switch a {
  text-decoration: none; font-size: 0.7rem; font-weight: 700;
  color: var(--text-muted); padding: 0.35rem 0.55rem; border-radius: 0.4rem;
  transition: all 0.2s;
}
.lang-switch a.active { background: var(--primary-600); color: #fff; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); border-radius: 50%; width: 2.75rem; height: 2.75rem;
  padding: 0; font: inherit; cursor: pointer; flex-shrink: 0;
  transition: all 0.2s var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--primary-200);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.theme-toggle__icon {
  width: 1rem; height: 1rem; display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle__icon svg { width: 1rem; height: 1rem; }
.theme-toggle__icon--moon { display: none; }
html[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
html[data-theme="dark"] .theme-toggle__icon--moon { display: inline-flex; }
.theme-toggle--mobile {
  margin-top: 1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.7rem 1.35rem; border-radius: 0.75rem; font-weight: 600;
  font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s var(--ease-out); white-space: nowrap;
}
.btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
}
.btn-outline {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.btn-outline--light {
  background: transparent; color: var(--primary-700);
  border: 1.5px solid var(--primary-200);
}
.btn-outline--light:hover { background: var(--primary-50); }
.btn-dark { background: var(--dark-900); color: #fff; }
.btn-dark:hover { background: var(--dark-800); transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 0.95rem; }

.menu-toggle {
  display: flex; background: var(--primary-50); border: none; cursor: pointer;
  padding: 0.5rem; border-radius: 0.6rem; color: var(--dark-800);
}
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .header-cta-desktop { display: inline-flex; }
}
@media (max-width: 959px) {
  .header-cta-desktop, .lang-switch--desktop { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw);
  background: var(--surface); transform: translateX(100%);
  transition: transform 0.35s var(--ease-out); z-index: 200;
  box-shadow: -12px 0 40px rgba(0,0,0,0.15);
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.35s; z-index: 150;
  backdrop-filter: blur(4px);
}
.mobile-backdrop.open { opacity: 1; pointer-events: auto; }
.mobile-menu__links { list-style: none; margin: 0; padding: 0; }
.mobile-menu__links a {
  display: block; padding: 0.9rem 0; text-decoration: none;
  color: var(--text); font-weight: 500; font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

body.has-fixed-header main { padding-top: var(--header-total); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: var(--gradient-dark);
  color: #fff; padding: 4rem 0 5rem;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: pulse-glow 8s ease-in-out infinite;
}
.hero__orb--1 { width: 500px; height: 500px; background: var(--primary-600); top: -120px; right: -80px; opacity: 0.35; }
.hero__orb--2 { width: 400px; height: 400px; background: #38bdf8; bottom: -100px; left: -100px; opacity: 0.25; animation-delay: -3s; }
.hero__orb--3 { width: 250px; height: 250px; background: #6366f1; top: 40%; left: 30%; opacity: 0.15; animation-delay: -5s; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; }
  .hero { padding: 5rem 0 6rem; min-height: auto; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem; border-radius: 2rem;
  background: rgba(14,165,233,0.15); border: 1px solid rgba(56,189,248,0.35);
  font-size: 0.8rem; font-weight: 600; color: #7dd3fc;
  margin-bottom: 1.5rem; animation: fade-up 0.8s var(--ease-out) both;
}
.hero-badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e;
  animation: pulse-glow 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.35rem); font-weight: 700;
  line-height: 1.12; margin: 0 0 1.25rem; letter-spacing: -0.03em;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem); color: var(--dark-300);
  max-width: 540px; margin: 0 0 2rem; line-height: 1.7;
  animation: fade-up 0.8s var(--ease-out) 0.2s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem;
  animation: fade-up 0.8s var(--ease-out) 0.3s both;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem;
  animation: fade-up 0.8s var(--ease-out) 0.4s both;
}
@media (min-width: 540px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1rem 0.85rem;
  backdrop-filter: blur(8px); transition: border-color 0.3s, transform 0.3s;
}
.hero-stat:hover { border-color: rgba(56,189,248,0.35); transform: translateY(-2px); }
.hero-stat strong {
  display: block; font-size: 1.65rem; font-weight: 700;
  color: #38bdf8; letter-spacing: -0.02em;
}
.hero-stat span { font-size: 0.75rem; color: var(--dark-400); line-height: 1.3; display: block; margin-top: 0.15rem; }

.hero__visual {
  position: relative; animation: scale-in 1s var(--ease-out) 0.3s both;
}
.hero__visual-frame {
  position: relative; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow), 0 25px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.hero__visual-frame img { width: 100%; border-radius: var(--radius-xl); }
.hero__visual-glow {
  position: absolute; inset: -20%; background: radial-gradient(circle, rgba(14,165,233,0.2), transparent 70%);
  pointer-events: none; z-index: -1;
}

.hero__float-card {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem; border-radius: 0.85rem;
  background: rgba(255,255,255,0.95); color: var(--dark-900);
  box-shadow: var(--shadow-lg); font-size: 0.8rem; font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.hero__float-card--1 { top: 8%; right: -4%; animation-delay: -1s; }
.hero__float-card--2 { bottom: 12%; left: -6%; animation-delay: -2.5s; }
.hero__float-card .fc-icon {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: var(--primary-50); color: var(--primary-600);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 959px) {
  .hero__float-card { display: none; }
}

/* ── Marquee / trust strip ── */
.trust-strip {
  padding: 2.5rem 0; background: var(--surface);
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.trust-strip__label {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 1.25rem;
}
.marquee-wrap {
  overflow: hidden;
  padding-inline: 1rem;
  mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
}
.marquee-track {
  display: flex; width: max-content;
  padding-right: 1rem;
  animation: marquee 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.75rem; white-space: nowrap;
  font-size: 0.9rem; font-weight: 600; color: var(--dark-600);
}
.marquee-item__icon {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: var(--primary-50); color: var(--primary-600);
  display: flex; align-items: center; justify-content: center;
}

/* ── Sections ── */
.section { padding: 5rem 0; position: relative; }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%); color: var(--text);
}
.section--mesh::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(14,165,233,0.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(56,189,248,0.1), transparent 50%);
  pointer-events: none;
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent 32%, rgba(255,255,255,0.08));
  pointer-events: none;
}
.section--dark > .container {
  position: relative;
  z-index: 1;
}
html[data-theme="dark"] .section--dark {
  background: var(--gradient-dark);
  color: #fff;
}
html[data-theme="dark"] .section--mesh::before {
  background-image: radial-gradient(circle at 20% 50%, rgba(14,165,233,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(56,189,248,0.06), transparent 50%);
}
html[data-theme="dark"] .section--dark::after {
  background: none;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary-600);
  margin-bottom: 0.75rem; padding: 0.35rem 0.85rem;
  background: var(--primary-50); border-radius: 2rem;
}
.section--dark .section-badge { background: rgba(14,165,233,0.12); color: var(--primary-700); }
html[data-theme="dark"] .section--dark .section-badge { background: rgba(14,165,233,0.15); color: #38bdf8; }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700;
  margin: 0 0 1rem; line-height: 1.15; letter-spacing: -0.03em;
}
.section-subtitle { color: var(--text-muted); margin: 0; font-size: 1.05rem; line-height: 1.65; }
.section--dark .section-subtitle { color: var(--text-muted); }
html[data-theme="dark"] .section--dark .section-subtitle { color: var(--dark-400); }

/* ── Cards ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.cards-grid--bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem;
}
@media (max-width: 768px) { .cards-grid--bento { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.65rem;
  transition: all 0.35s var(--ease-out); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-200);
  box-shadow: 0 16px 40px rgba(14,165,233,0.12);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card--bento-span-4 { grid-column: span 4; }
.feature-card--bento-span-6 { grid-column: span 6; }
.feature-card--bento-span-8 { grid-column: span 8; }
.feature-card--bento-span-12 { grid-column: span 12; }
@media (max-width: 768px) {
  .feature-card--bento-span-4,
  .feature-card--bento-span-6,
  .feature-card--bento-span-8,
  .feature-card--bento-span-12 { grid-column: span 1; }
}

.feature-card--dark {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.feature-card--dark:hover { border-color: rgba(56,189,248,0.35); background: rgba(255,255,255,0.06); }

.feature-icon {
  width: 3rem; height: 3rem; border-radius: 0.85rem;
  background: var(--primary-50); color: var(--primary-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem; transition: transform 0.3s, background 0.3s;
}
.feature-card:hover .feature-icon { transform: scale(1.08); background: var(--primary-100); }
.feature-icon svg { width: 1.35rem; height: 1.35rem; }
.feature-card--dark .feature-icon { background: rgba(14,165,233,0.18); color: #38bdf8; }
.feature-card h3 { margin: 0 0 0.55rem; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.feature-card--dark p { color: var(--dark-400); }
.feature-card ul { margin: 0.85rem 0 0; padding-left: 1.1rem; font-size: 0.85rem; color: var(--text-muted); }
.feature-card--dark ul { color: var(--dark-300); }
.feature-card__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 1rem; font-size: 0.85rem; font-weight: 600;
  color: var(--primary-600); text-decoration: none;
  transition: gap 0.2s;
}
.feature-card:hover .feature-card__link { gap: 0.55rem; }

.highlights-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.15rem;
}
.highlight-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 1.5rem;
  backdrop-filter: blur(8px); transition: all 0.3s;
}
.highlight-card:hover {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.06);
}
.highlight-card h4 { margin: 0.75rem 0 0.4rem; font-size: 1rem; font-weight: 600; }
.highlight-card p { margin: 0; font-size: 0.85rem; color: var(--dark-400); line-height: 1.55; }

/* ── Ecosystem flow (lms.uz style) ── */
.eco-flow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 2rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl); margin-top: 2rem;
}
.eco-flow__node {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.1rem; border-radius: 0.75rem;
  background: rgba(14,165,233,0.12); border: 1px solid rgba(56,189,248,0.25);
  font-size: 0.85rem; font-weight: 600; color: #e0f2fe;
  transition: transform 0.2s, background 0.2s;
}
.eco-flow__node:hover { transform: scale(1.04); background: rgba(14,165,233,0.2); }
.eco-flow__arrow { color: var(--primary-400); font-size: 1.25rem; opacity: 0.7; }

/* ── Platform cards ── */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.15rem; }
.platform-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all 0.3s var(--ease-out); position: relative; overflow: hidden;
}
.platform-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); transform: scaleX(0); transition: transform 0.3s;
}
.platform-card:hover {
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(14,165,233,0.1);
  transform: translateY(-4px);
}
.platform-card:hover::after { transform: scaleX(1); }
.platform-card h3 { margin: 0.85rem 0 0.4rem; font-size: 1.05rem; font-weight: 600; }
.platform-card p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
.platform-card .arrow {
  color: var(--primary-600); font-size: 0.85rem; font-weight: 600;
  margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap 0.2s;
}
.platform-card:hover .arrow { gap: 0.5rem; }

/* ── CTA ── */
.cta-block {
  text-align: center; padding: 4rem 2rem; position: relative; overflow: hidden;
  background: var(--gradient); border-radius: var(--radius-xl); color: #fff;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { margin: 0 0 0.85rem; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; }
.cta-block p { margin: 0 0 1.75rem; opacity: 0.92; font-size: 1.05rem; max-width: 520px; margin-inline: auto; }
.cta-block .btn { background: #fff; color: var(--primary-700); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.cta-block .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm);
}
.contact-card--apply {
  display: flex;
  flex-direction: column;
}
.contact-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  background: var(--primary-50); color: var(--primary-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-item span, .contact-item a { font-size: 0.95rem; color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--primary-600); }

.contact-grid--apply { align-items: start; }
.contact-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-side-stack .contact-card {
  padding: 1.5rem;
}
.contact-map-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.contact-map {
  flex: 1;
  display: flex;
  min-height: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.14);
  box-shadow: var(--shadow-sm);
  background: #e2e8f0;
}
.contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}
.contact-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact-map__actions .btn-outline {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-200);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
}
.contact-map__actions .btn-outline:hover {
  background: var(--primary-100);
  border-color: var(--primary-300);
}
@media (min-width: 960px) {
  .contact-grid--apply {
    align-items: stretch;
  }
  .contact-grid--apply > .contact-card,
  .contact-side-stack {
    height: 100%;
  }
  .contact-map-card {
    flex: 1;
    min-height: 0;
  }
  .contact-map iframe {
    height: 100%;
    min-height: 240px;
  }
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.apply-form {
  margin-top: 0.5rem;
}
.contact-card--apply .apply-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contact-card--apply .form-grid {
  flex: 1;
  align-content: start;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.95rem; border: 1px solid var(--border);
  border-radius: 0.75rem; font-family: inherit; font-size: 0.9rem;
  background: var(--primary-50); border-color: var(--primary-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea {
  min-height: 5rem;
  resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15); background: #fff;
}
.apply-submit { width: 100%; margin-top: 1rem; }
.contact-card--apply .apply-submit {
  margin-top: auto;
}

.social-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.social-links a {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem;
  background: var(--primary-50); color: var(--primary-700); border-radius: 0.6rem;
  text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
.social-links a:hover { background: var(--primary-100); transform: translateY(-1px); }

/* ── Resources ── */
.resource-list { display: flex; flex-direction: column; gap: 0.85rem; }
.resource-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.35rem;
  text-decoration: none; color: inherit; transition: all 0.25s;
}
.resource-item:hover {
  border-color: var(--primary-300); background: var(--primary-50);
  transform: translateX(4px);
}
.resource-item svg { color: var(--primary-600); transition: transform 0.2s; }
.resource-item:hover svg { transform: translateX(3px); }

/* ── Footer ── */
.site-footer {
  background: var(--dark-900); color: var(--dark-300);
  padding: 4rem 0 1.75rem; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.875rem; color: var(--dark-400); margin: 1rem 0 0; max-width: 300px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  color: var(--dark-400); text-decoration: none; font-size: 0.875rem;
  display: block; padding: 0.3rem 0; transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: #38bdf8; transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid var(--dark-700); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.8rem; color: var(--dark-500);
}

/* ── Page hero (subpages) ── */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(125, 211, 252, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
  color: var(--text);
  padding: 4.5rem 0 3.5rem; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  margin: 0 0 0.75rem; font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.03em;
  animation: fade-up 0.7s var(--ease-out) both;
}
.page-hero p {
  margin: 0; color: var(--text-muted); max-width: 580px;
  margin-inline: auto; font-size: 1.05rem; line-height: 1.65;
  animation: fade-up 0.7s var(--ease-out) 0.1s both;
}
.page-hero__badge {
  display: inline-block; margin-bottom: 1rem;
  padding: 0.35rem 0.9rem; border-radius: 2rem;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.18);
  font-size: 0.75rem; font-weight: 700; color: var(--primary-700);
  text-transform: uppercase; letter-spacing: 0.08em;
}
html[data-theme="dark"] .page-hero {
  background: var(--gradient-dark);
  color: #fff;
}
html[data-theme="dark"] .page-hero p {
  color: var(--dark-400);
}
html[data-theme="dark"] .page-hero__badge {
  background: rgba(14,165,233,0.15);
  border-color: rgba(56,189,248,0.3);
  color: #7dd3fc;
}

.eco-flow__node .icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.marquee-item__icon .icon { width: 1rem; height: 1rem; }
.hero__float-card .fc-icon .icon { width: 1rem; height: 1rem; }

/* ── Icons ── */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ── Flash ── */
.flash-messages { padding: 0.75rem 0; }
.flash {
  padding: 0.85rem 1.15rem; border-radius: 0.75rem;
  margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500;
}
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Topbar (Green University uslubi) ── */
.site-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--dark-950), var(--primary-900));
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--topbar-h); gap: 1rem;
}
.site-topbar__left { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-topbar__link { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.site-topbar__link:hover { color: #7dd3fc; }
.site-topbar__tag { color: #7dd3fc; font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .site-topbar__tag { display: none; }
  .site-topbar__left { gap: 0.75rem; font-size: 0.72rem; }
}

html[data-theme="dark"] .site-header {
  background: transparent;
}
html[data-theme="dark"] .site-header.is-scrolled {
  background: transparent;
}
html[data-theme="dark"] .mobile-menu {
  background: rgba(2, 6, 23, 0.98);
}
html[data-theme="dark"] .lang-switch,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle {
  background: rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .hero__card,
html[data-theme="dark"] .highlight-card,
html[data-theme="dark"] .eco-flow {
  border-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .glass-stats__inner {
  background: rgba(11, 18, 32, 0.88);
  border-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .glass-stats__item span,
html[data-theme="dark"] .hero__card p,
html[data-theme="dark"] .showcase-panel p {
  color: var(--text-muted);
}
html[data-theme="dark"] .resource-item svg,
html[data-theme="dark"] .visual-gallery__icon,
html[data-theme="dark"] .stats-band__icon {
  color: #fff;
}
html[data-theme="dark"] .stats-band,
html[data-theme="dark"] .trust-strip {
  background: var(--surface-alt);
}

/* ── Cinematic hero (Ecocentre + Green University) ── */
.hero--cinematic {
  min-height: calc(100vh - var(--header-total));
  padding: 0; display: block; margin-top: calc(-1 * var(--header-total));
  padding-top: var(--header-total);
}
.hero--cinematic .hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero--cinematic .hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.18) saturate(1.04) contrast(1.02);
}
.hero--cinematic .hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.16) 14%, transparent 30%),
    linear-gradient(105deg, rgba(2,6,23,0.6) 0%, rgba(15,23,42,0.42) 42%, rgba(15,23,42,0.18) 100%),
    linear-gradient(to top, rgba(2,6,23,0.38), rgba(2,6,23,0.04) 52%, transparent 82%);
}
html[data-theme="dark"] .hero--cinematic .hero__bg img {
  filter: brightness(0.92) saturate(1.02) contrast(1.02);
}
html[data-theme="dark"] .hero--cinematic .hero__overlay {
  background:
    linear-gradient(105deg, rgba(2,6,23,0.68) 0%, rgba(15,23,42,0.48) 42%, rgba(15,23,42,0.24) 100%),
    linear-gradient(to top, rgba(2,6,23,0.46), rgba(2,6,23,0.06) 52%, transparent 82%);
}
.hero--cinematic .hero__inner {
  position: relative; z-index: 2;
  min-height: calc(100vh - var(--header-total) - 5rem);
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center; padding: 3.5rem 0 2rem;
}
@media (min-width: 1024px) {
  .hero--cinematic .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - var(--header-total) - 6rem);
    padding: 4rem 0 2rem;
  }
}
.hero--cinematic .hero__content { max-width: 640px; }

.hero__cards {
  display: grid; gap: 0.85rem;
}
@media (min-width: 1024px) { .hero__cards { gap: 1rem; } }
.hero__card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px); text-decoration: none; color: #fff;
  transition: all 0.3s var(--ease-out);
}
.hero__card:hover {
  background: rgba(255,255,255,0.14); border-color: rgba(56,189,248,0.45);
  transform: translateX(6px);
}
.hero__card-visual {
  width: 4.5rem; height: 3.25rem; border-radius: 0.65rem;
  overflow: hidden; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.1);
}
.hero__card-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__card h3 { margin: 0 0 0.2rem; font-size: 0.95rem; font-weight: 600; }
.hero__card p { margin: 0; font-size: 0.78rem; color: var(--dark-300); line-height: 1.4; }
.hero__card-arrow { margin-left: auto; color: #38bdf8; font-size: 1.1rem; opacity: 0.8; }

.glass-stats {
  position: relative; z-index: 3;
  margin: 2.75rem auto 0; width: min(1200px, 92%);
  transform: none;
  margin-bottom: 4rem;
}
.glass-stats__inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(15,23,42,0.18); overflow: hidden;
}
@media (min-width: 640px) { .glass-stats__inner { grid-template-columns: repeat(4, 1fr); } }
.glass-stats__item {
  padding: 1.35rem 1rem; text-align: center;
  border-right: 1px solid var(--border);
}
.glass-stats__item:last-child { border-right: none; }
@media (max-width: 639px) {
  .glass-stats__item:nth-child(2) { border-right: none; }
  .glass-stats__item { border-bottom: 1px solid var(--border); }
  .glass-stats__item:nth-last-child(-n+2) { border-bottom: none; }
}
.glass-stats__item strong {
  display: block; font-size: 1.85rem; font-weight: 800;
  color: var(--primary-700); letter-spacing: -0.03em;
}
.glass-stats__item span { font-size: 0.78rem; color: var(--text-muted); }

.hero__scroll {
  position: absolute; bottom: 5.5rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  text-decoration: none; color: rgba(255,255,255,0.55); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 2rem; background: linear-gradient(to bottom, #38bdf8, transparent);
}
@media (max-width: 1023px) { .hero__scroll { display: none; } }

/* ── About split (Ecocentre) ── */
.about-split {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 960px) { .about-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-split__visual {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.about-split__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-split__visual-badge {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  padding: 0.85rem 1rem; border-radius: var(--radius);
  background: rgba(15,23,42,0.85); backdrop-filter: blur(8px);
  color: #e0f2fe; font-size: 0.85rem; font-weight: 500;
  border: 1px solid rgba(56,189,248,0.25);
}
.about-split > :first-child { max-width: 36rem; }
.about-split h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; margin: 0 0 1rem; letter-spacing: -0.03em; }
.about-split p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.5rem; }
.about-split__checks {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.about-split__checks li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
}
.about-split__check-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.1);
}
.about-split__check-icon .icon {
  width: 0.9rem;
  height: 0.9rem;
}
.about-split__check-copy strong {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}
.about-split__check-copy p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.6;
}

.hero-capabilities {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  margin: 0 0 1.6rem;
}
.hero-capabilities__pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.8rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dbeafe; font-size: 0.8rem; font-weight: 600;
  backdrop-filter: blur(10px);
}
.hero-capabilities__pill .icon { width: 0.95rem; height: 0.95rem; }

.domain-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 900px) {
  .domain-grid { grid-template-columns: repeat(3, 1fr); }
}
.domain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-200);
}
.domain-card__head {
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem;
}
.domain-card__head h3 {
  margin: 0; font-size: 1.05rem; letter-spacing: -0.02em;
}
.domain-card__meta {
  display: block; margin-top: 0.1rem; color: var(--text-muted); font-size: 0.8rem;
}
.domain-card p {
  margin: 0 0 1rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6;
}
.domain-card__chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.domain-card__chips span {
  font-size: 0.74rem; font-weight: 600;
  padding: 0.35rem 0.65rem; border-radius: 999px;
  background: var(--primary-50); color: var(--primary-700);
}

/* ── Stats band ── */
.stats-band { background: var(--primary-50); }
.stats-band__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
@media (min-width: 768px) { .stats-band__grid { grid-template-columns: repeat(4, 1fr); } }
.stats-band__card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: center; border: 1px solid var(--primary-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stats-band__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stats-band__icon {
  width: 3rem; height: 3rem; margin: 0 auto 0.85rem;
  border-radius: 0.85rem; background: var(--gradient);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.stats-band__card strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-800); }
.stats-band__card span { font-size: 0.85rem; color: var(--text-muted); }

/* ── Visual feature cards ── */
.feature-card--visual { padding: 0; overflow: hidden; }
.feature-card--visual .module-visual-wrap {
  aspect-ratio: 16/9; overflow: hidden; background: var(--primary-50);
  border-bottom: 1px solid var(--border);
}
.module-visual-wrap--compact {
  aspect-ratio: 16/7;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.feature-card--visual .module-visual {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.feature-card--visual:hover .module-visual { transform: scale(1.05); }
.feature-card--visual .feature-card__body { padding: 1.35rem 1.5rem 1.5rem; }

/* ── Showcase panel ── */
.showcase-panel {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.94));
  border-radius: var(--radius-xl);
  padding: 2rem; overflow: hidden; border: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.18);
}
@media (min-width: 900px) {
  .showcase-panel { grid-template-columns: 1fr 1.2fr; padding: 2.5rem 2.5rem 2.5rem 3rem; }
}
.showcase-panel h3 { color: #0f172a; font-size: 1.5rem; margin: 0 0 0.75rem; }
.showcase-panel p { color: var(--text-muted); margin: 0 0 1.25rem; line-height: 1.65; }
.showcase-panel__img {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow: var(--shadow);
}
.showcase-panel__img img { width: 100%; display: block; }
.showcase-panel--interactive {
  align-items: stretch;
}
.hemis-visual__tabs {
  display: grid;
  gap: 0.75rem;
  margin: 1.35rem 0 1.1rem;
}
.hemis-visual__tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.82);
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.hemis-visual__tab:hover,
.hemis-visual__tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.32);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  box-shadow: 0 14px 26px rgba(14, 165, 233, 0.12);
}
.hemis-visual__tab-icon {
  width: 2.6rem;
  height: 2.6rem;
  min-width: 2.6rem;
  border-radius: 0.9rem;
  background: rgba(14,165,233,0.1);
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hemis-visual__tab-icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}
.hemis-visual__tab strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
}
.hemis-visual__tab small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #64748b;
}
.hemis-visual__board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.94));
  box-shadow: 0 20px 42px rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(12px);
}
.hemis-visual__board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.hemis-visual__board-badge {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(14,165,233,0.1);
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hemis-visual__board h4 {
  margin: 0.75rem 0 0;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.2;
}
.hemis-visual__board-head p {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
}
.hemis-visual__board-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.22);
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 700;
}
.hemis-visual__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.hemis-visual__metric {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(255,255,255,0.85);
}
.hemis-visual__metric span {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
}
.hemis-visual__metric strong {
  display: block;
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
}
.hemis-visual__board-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0.9rem;
}
.hemis-visual__panel {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(255,255,255,0.82);
}
.hemis-visual__panel h5 {
  margin: 0 0 0.8rem;
  color: #0f172a;
  font-size: 0.92rem;
}
.hemis-visual__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.hemis-visual__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.5;
}
.hemis-visual__list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  min-width: 0.55rem;
  margin-top: 0.34rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12);
}
.hemis-visual__panel--bars {
  display: grid;
  gap: 0.9rem;
}
.hemis-visual__bar {
  display: grid;
  gap: 0.45rem;
}
.hemis-visual__bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.hemis-visual__bar-meta span {
  color: #64748b;
  font-size: 0.8rem;
}
.hemis-visual__bar-meta strong {
  color: #0f172a;
  font-size: 0.82rem;
}
.hemis-visual__bar-track {
  display: block;
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(148,163,184,0.18);
  overflow: hidden;
}
.section--dark .btn-outline.btn-sm {
  background: rgba(255,255,255,0.98);
  color: #0f172a;
  border-color: rgba(148,163,184,0.22);
}
.section--dark .btn-outline.btn-sm:hover {
  background: #fff;
  color: #0369a1;
  border-color: rgba(14,165,233,0.28);
}
html[data-theme="dark"] .showcase-panel {
  background: var(--gradient-dark);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
html[data-theme="dark"] .showcase-panel h3 { color: #fff; }
html[data-theme="dark"] .showcase-panel p { color: var(--dark-400); }
html[data-theme="dark"] .showcase-panel__img {
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-glow);
}
html[data-theme="dark"] .hemis-visual__tab {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(255,255,255,0.04);
  color: #fff;
}
html[data-theme="dark"] .hemis-visual__tab:hover,
html[data-theme="dark"] .hemis-visual__tab.is-active {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(14,165,233,0.14);
  box-shadow: 0 14px 26px rgba(2, 132, 199, 0.14);
}
html[data-theme="dark"] .hemis-visual__tab-icon {
  background: rgba(255,255,255,0.1);
  color: #7dd3fc;
}
html[data-theme="dark"] .hemis-visual__tab strong { color: #fff; }
html[data-theme="dark"] .hemis-visual__tab small { color: rgba(226,232,240,0.78); }
html[data-theme="dark"] .hemis-visual__board {
  border-color: rgba(125, 211, 252, 0.18);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%),
    rgba(255,255,255,0.05);
  box-shadow: var(--shadow-glow);
}
html[data-theme="dark"] .hemis-visual__board-badge {
  background: rgba(255,255,255,0.1);
  color: #93c5fd;
}
html[data-theme="dark"] .hemis-visual__board h4 { color: #fff; }
html[data-theme="dark"] .hemis-visual__board-head p { color: rgba(226,232,240,0.8); }
html[data-theme="dark"] .hemis-visual__board-state { color: #86efac; }
html[data-theme="dark"] .hemis-visual__metric {
  border-color: rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.34);
}
html[data-theme="dark"] .hemis-visual__metric span { color: rgba(226,232,240,0.72); }
html[data-theme="dark"] .hemis-visual__metric strong { color: #fff; }
html[data-theme="dark"] .hemis-visual__panel {
  border-color: rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.3);
}
html[data-theme="dark"] .hemis-visual__panel h5 { color: #fff; }
html[data-theme="dark"] .hemis-visual__list li { color: rgba(226,232,240,0.82); }
html[data-theme="dark"] .hemis-visual__bar-meta span { color: rgba(226,232,240,0.8); }
html[data-theme="dark"] .hemis-visual__bar-meta strong { color: #fff; }
html[data-theme="dark"] .hemis-visual__bar-track { background: rgba(255,255,255,0.08); }
html[data-theme="dark"] .section--dark .btn-outline.btn-sm {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(148,163,184,0.16);
}
html[data-theme="dark"] .section--dark .btn-outline.btn-sm:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(125,211,252,0.32);
}
.hemis-visual__bar-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8 0%, #22c55e 100%);
  box-shadow: 0 0 18px rgba(56,189,248,0.2);
}
@media (max-width: 899px) {
  .hemis-visual__metrics,
  .hemis-visual__board-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Security split ── */
.security-split {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start;
}
@media (min-width: 960px) { .security-split { grid-template-columns: 1.02fr 0.98fr; } }
.security-split__visual {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}

/* ── Visual gallery strip ── */
.visual-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .visual-gallery { grid-template-columns: repeat(4, 1fr); } }
.visual-gallery__item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s;
}
.visual-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.visual-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.visual-gallery--showcase {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .visual-gallery--showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1140px) {
  .visual-gallery--showcase { grid-template-columns: repeat(3, 1fr); }
}
.visual-gallery__item--card {
  aspect-ratio: auto;
  background: var(--surface);
}
.visual-gallery__item--card img {
  aspect-ratio: 16/10;
  display: block;
}
.visual-gallery__content {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem 1.15rem;
}
.visual-gallery__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visual-gallery__content h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.visual-gallery__content p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.resource-item__media {
  width: 7rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--primary-100);
  background: var(--primary-50);
}
.resource-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}
.resource-item__body strong {
  font-size: 0.95rem;
  color: var(--text);
}
.resource-item__body small {
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .resource-item__media {
    width: 5.5rem;
    height: 3.75rem;
  }
}

.mobile-menu { padding-top: calc(var(--header-total) + 1rem); }
.mobile-backdrop { top: var(--topbar-h); }

/* ── Public UI polish overrides ── */
.site-topbar {
  background: linear-gradient(90deg, #081226 0%, #0d1b35 50%, #0a1630 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
  color: rgba(226, 232, 240, 0.9);
}
.site-topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.site-topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.74rem;
  white-space: nowrap;
}
.site-topbar__pill .icon {
  width: 0.82rem;
  height: 0.82rem;
  color: #7dd3fc;
}
.site-header,
.site-header.is-scrolled {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
}
.header-inner {
  height: calc(var(--header-h) - 0.35rem);
  margin-top: 0.7rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.92));
  border: 2px solid rgba(15, 23, 42, 0.38);
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px) saturate(180%);
}
.logo-text { color: #0f172a; }
.nav-links {
  gap: 0.3rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.nav-links a {
  color: #475569;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}
.nav-links a:hover {
  color: #0f172a;
  background: rgba(14, 165, 233, 0.12);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.08);
}
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.88));
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.24);
}
.header-actions {
  gap: 0.65rem;
}
.lang-switch {
  padding: 0.22rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
}
.lang-switch a { color: #475569; }
.theme-toggle {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  color: #334155;
}
.theme-toggle:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.2);
}
.header-cta-desktop {
  border-radius: 999px;
  padding-inline: 1.15rem;
}
.menu-toggle {
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.menu-toggle:hover {
  background: rgba(240, 249, 255, 0.92);
}
.mobile-menu {
  background: linear-gradient(180deg, #081226 0%, #0b1220 100%);
  color: #e2e8f0;
}
.mobile-menu__links a {
  color: #e2e8f0;
  border-bottom-color: rgba(148, 163, 184, 0.12);
}
@media (max-width: 959px) {
  .header-inner {
    padding: 0 0.7rem 0 0.8rem;
  }
}
@media (max-width: 640px) {
  .site-topbar__pill--hide-sm { display: none; }
}
@media (max-width: 900px) {
  .site-topbar__right .site-topbar__pill:nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .site-topbar__right { display: none; }
}

.about-split__visual {
  aspect-ratio: auto;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.visual-mosaic {
  position: relative;
  display: grid;
  gap: 0.85rem;
}
.visual-mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0b1220;
  box-shadow: var(--shadow);
}
.visual-mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.visual-mosaic:hover .visual-mosaic__tile img { transform: scale(1.05); }
.about-storyboard {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
}
.about-storyboard__feature,
.about-storyboard__mini {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  box-shadow: var(--shadow);
}
.about-storyboard__feature {
  min-height: 430px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.about-storyboard__feature-media,
.about-storyboard__mini-media {
  position: relative;
  overflow: hidden;
}
.about-storyboard__feature img,
.about-storyboard__mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.about-storyboard__feature:hover img,
.about-storyboard__mini:hover img {
  transform: scale(1.04);
}
.about-storyboard__feature-meta {
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.98), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(125, 211, 252, 0.14);
}
.about-storyboard__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.about-storyboard__feature-meta strong {
  display: block;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.25;
}
.about-storyboard__feature-meta p {
  margin: 0.55rem 0 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.9rem;
  line-height: 1.6;
}
.about-storyboard__rail {
  display: grid;
  gap: 0.9rem;
}
.about-storyboard__mini {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 132px;
  overflow: hidden;
}
.about-storyboard__mini-copy {
  padding: 1rem 1rem 0.95rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-storyboard__mini strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.3;
}
.about-storyboard__mini span {
  margin-top: 0.42rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .about-storyboard {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .about-storyboard__feature {
    min-height: 300px;
  }
  .about-storyboard__mini {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 108px;
  }
}
.visual-mosaic--showcase {
  grid-template-columns: 1.2fr 0.95fr;
  grid-template-rows: repeat(2, minmax(145px, 1fr));
  min-height: 360px;
}
.visual-mosaic--showcase .visual-mosaic__tile--wide { grid-row: 1 / span 2; }
.visual-mosaic__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(8, 18, 38, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.25);
  backdrop-filter: blur(12px);
}
.visual-mosaic__badge--dark {
  background: rgba(8, 18, 38, 0.84);
}
@media (max-width: 767px) {
  .about-storyboard,
  .visual-mosaic--about,
  .visual-mosaic--showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-storyboard__feature {
    min-height: 300px;
  }
  .about-storyboard__mini {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 118px;
  }
  .visual-mosaic--about .visual-mosaic__tile--tall,
  .visual-mosaic--showcase .visual-mosaic__tile--wide {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 220px;
  }
}

.feature-card--visual {
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}
.feature-card--visual .module-visual-wrap {
  position: relative;
  z-index: 2;
  aspect-ratio: 16/10;
  margin: 1rem 1rem 0;
  border-radius: 1rem;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: #0b1220;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.feature-card--visual .feature-card__body {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.5rem 1.55rem;
}
.feature-card__hover-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.feature-card__hover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.18), rgba(8, 18, 38, 0.92));
}
.feature-card__hover-bg .module-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card--immersive:hover .feature-card__hover-bg {
  opacity: 1;
  transform: scale(1);
}
.feature-card--immersive:hover .module-visual-wrap {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.28);
}
.feature-card--immersive:hover h3,
.feature-card--immersive:hover .feature-card__link {
  color: #fff;
}
.feature-card--immersive:hover p,
.feature-card--immersive:hover ul {
  color: rgba(226, 232, 240, 0.88);
}
.feature-card--immersive:hover .feature-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
html[data-theme="dark"] .feature-card--visual {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
  border-color: rgba(148, 163, 184, 0.14);
}

.platform-card--immersive {
  isolation: isolate;
}
.platform-card__hover-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.platform-card__hover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.16), rgba(8, 18, 38, 0.9));
}
.platform-card__hover-bg .module-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platform-card .module-visual-wrap {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: #0b1220;
}
.platform-card__content {
  position: relative;
  z-index: 2;
}
.platform-card--immersive:hover .platform-card__hover-bg {
  opacity: 1;
  transform: scale(1);
}
.platform-card--immersive:hover h3,
.platform-card--immersive:hover .arrow {
  color: #fff;
}
.platform-card--immersive:hover p {
  color: rgba(226, 232, 240, 0.86);
}
.platform-card--immersive:hover .feature-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.showcase-panel__img {
  border: none;
  box-shadow: none;
  background: transparent;
}
.security-split__visual {
  position: relative;
  align-self: start;
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow-lg);
  background: #081226;
}
.security-split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.security-split__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(8, 18, 38, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.2);
  backdrop-filter: blur(10px);
}

.resource-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.resource-overview__card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.96));
  border: 1px solid rgba(14, 165, 233, 0.14);
  box-shadow: var(--shadow-sm);
}
.resource-overview__card strong {
  font-size: 1.15rem;
  color: var(--primary-800);
}
.resource-overview__card span {
  color: var(--text-muted);
  font-size: 0.84rem;
}
.resource-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.resource-doc-grid--full {
  margin-top: 1rem;
}
.resource-doc-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.resource-doc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow);
}
.resource-doc-card__media {
  width: 100%;
  height: 132px;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background: #0b1220;
}
.resource-doc-card__media--cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #082f49 100%);
}
.resource-doc-card__cover-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
}
.resource-doc-card__cover-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.resource-doc-card__cover-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.resource-doc-card__cover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
.resource-doc-card__cover-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}
.resource-doc-card__cover-graphic {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(46%, 9rem);
  margin-left: auto;
}
.resource-doc-card__cover-graphic span {
  display: block;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.resource-doc-card__cover-graphic span:nth-child(2) {
  width: 82%;
}
.resource-doc-card__cover-graphic span:nth-child(3) {
  width: 64%;
}
.resource-doc-card strong {
  font-size: 1.02rem;
  line-height: 1.35;
}
.resource-doc-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}
.resource-doc-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-700);
  font-size: 0.84rem;
  font-weight: 700;
}
.resource-doc-card__meta .icon {
  width: 1rem;
  height: 1rem;
}
[data-resource-tone="overview"] .resource-doc-card__media--cover,
[data-resource-tone="lms"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #0f766e 0%, #0ea5e9 100%);
}
[data-resource-tone="admin"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #14532d 0%, #0891b2 100%);
}
[data-resource-tone="analytics"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
}
[data-resource-tone="security"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}
[data-resource-tone="api"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #312e81 0%, #0891b2 100%);
}
[data-resource-tone="portal"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #082f49 0%, #0ea5e9 100%);
}
[data-resource-tone="mobile"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}
[data-resource-tone="docs"] .resource-doc-card__media--cover,
[data-resource-tone="guide"] .resource-doc-card__media--cover {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, #334155 0%, #0f766e 100%);
}
@media (max-width: 820px) {
  .resource-overview {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
    #071122;
  padding: 3.75rem 0 1.75rem;
}
.footer-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}
.footer-brand-card,
.footer-cta-card {
  padding: 1.5rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.footer-brand-card .logo-text { color: #fff; }
.footer-brand-card p,
.footer-cta-card p {
  margin: 0.9rem 0 0;
  color: var(--dark-400);
  line-height: 1.7;
}
.footer-brand-pills,
.footer-contact-strip,
.footer-bottom__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.footer-brand-pills {
  margin-top: 1rem;
}
.footer-brand-pills span,
.footer-contact-strip a,
.footer-contact-strip span,
.footer-bottom__badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--dark-300);
  font-size: 0.78rem;
  text-decoration: none;
}
.footer-cta-card__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-cta-card h3 {
  margin: 0.9rem 0 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.25;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.footer-contact-strip {
  margin-top: 1.1rem;
}
.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.footer-col h4 {
  margin-bottom: 0.9rem;
}
.footer-col a,
.footer-col span {
  color: var(--dark-400);
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  padding: 0.35rem 0;
}
.footer-col a:hover { color: #7dd3fc; }
.footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.12);
  align-items: center;
}
@media (max-width: 960px) {
  .footer-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
html[data-theme="dark"] .header-inner {
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.96), rgba(8, 18, 38, 0.92));
  border-color: rgba(248, 250, 252, 0.34);
}
html[data-theme="dark"] .site-topbar {
  background: linear-gradient(90deg, #081226 0%, #0d1b35 50%, #0a1630 100%);
  border-bottom-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.22);
  color: rgba(226, 232, 240, 0.9);
}
html[data-theme="dark"] .site-topbar__pill {
  border-color: rgba(125, 211, 252, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.88);
}
html[data-theme="dark"] .site-topbar__pill .icon {
  color: #7dd3fc;
}
html[data-theme="dark"] .logo-text {
  color: #f8fafc;
}
html[data-theme="dark"] .nav-links {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.12);
}
html[data-theme="dark"] .nav-links a {
  color: rgba(226, 232, 240, 0.78);
}
html[data-theme="dark"] .nav-links a:hover {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .lang-switch {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.14);
}
html[data-theme="dark"] .lang-switch a {
  color: rgba(226, 232, 240, 0.8);
}
html[data-theme="dark"] .lang-switch a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(148, 163, 184, 0.14);
  color: rgba(255, 255, 255, 0.96);
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.2);
  color: #fff;
}
html[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
}
html[data-theme="dark"] .resource-overview__card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(11, 18, 32, 0.98));
  border-color: rgba(148, 163, 184, 0.14);
}
html[data-theme="dark"] .resource-doc-card__badge {
  background: rgba(14, 165, 233, 0.14);
  color: #7dd3fc;
}

/* ── Public cleanup overrides ── */
.lang-switch {
  gap: 0.18rem;
  border-radius: 999px;
  padding: 0.22rem;
}
.lang-switch a {
  color: #475569;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  min-width: 2.1rem;
  text-align: center;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.lang-switch a:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.16);
  color: #0f172a;
}
.lang-switch a.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.88));
  border-color: rgba(125, 211, 252, 0.28);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.22);
}
.theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(148,163,184,0.16);
  color: #334155;
  box-shadow: none;
}
.theme-toggle:hover {
  background: rgba(240, 249, 255, 0.92);
  border-color: rgba(14, 165, 233, 0.28);
}
.theme-toggle--mobile {
  width: 100%;
  justify-content: center;
}

html[data-theme="dark"] .lang-switch a {
  color: rgba(226, 232, 240, 0.8);
}
html[data-theme="dark"] .lang-switch a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(148, 163, 184, 0.14);
  color: rgba(255, 255, 255, 0.96);
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(125, 211, 252, 0.32);
}

.cards-grid--modules {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cards-grid--modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1120px) {
  .cards-grid--modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card--visual {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
}
.feature-card--visual .feature-card__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.feature-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}
.feature-card__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}
.feature-card__chips--wide span {
  white-space: normal;
}
.feature-card__link {
  margin-top: auto;
  padding-top: 1rem;
}
.feature-card--immersive:hover .feature-card__eyebrow {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.feature-card--immersive:hover .feature-card__chips span {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.94);
}
html[data-theme="dark"] .feature-card__eyebrow {
  background: rgba(14, 165, 233, 0.12);
  color: #7dd3fc;
}
html[data-theme="dark"] .feature-card__chips span {
  background: rgba(14, 165, 233, 0.12);
  color: #bae6fd;
}

.showcase-panel__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
}
.showcase-panel__points span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 600;
}
.showcase-panel__single {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-glow);
}
.showcase-panel__single img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.showcase-panel__single-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(8, 18, 38, 0.82);
  border: 1px solid rgba(125,211,252,0.2);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.module-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .module-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1140px) {
  .module-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.module-overview-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}
.module-overview-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.module-overview-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--text);
}
.module-overview-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.security-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .security-explainer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.security-explainer__item {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 5.85rem;
  overflow: hidden;
  transition: border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.security-explainer__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0;
}
.security-explainer__icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-50), rgba(186, 230, 253, 0.72));
  color: var(--primary-700);
  flex-shrink: 0;
}
.security-explainer__icon .icon {
  width: 1rem;
  height: 1rem;
}
.security-explainer__item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.security-explainer__item p {
  display: none;
  margin: 0;
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.77rem;
  line-height: 1.45;
  pointer-events: none;
}
.security-explainer__item:hover,
.security-explainer__item:focus-within {
  background: linear-gradient(180deg, #0c4a6e 0%, #0f172a 100%);
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.12);
}
.security-explainer__item:hover .security-explainer__icon,
.security-explainer__item:focus-within .security-explainer__icon {
  background: rgba(255,255,255,0.12);
  color: #7dd3fc;
}
.security-explainer__item:hover strong,
.security-explainer__item:focus-within strong {
  color: #fff;
}
.security-explainer__item:hover p,
.security-explainer__item:focus-within p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.security-tour,
.security-tour__media,
.security-tour__info {
  min-width: 0;
}
.security-tour__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 980px) {
  .security-tour__layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}
.security-tour__player {
  display: grid;
  gap: 0.9rem;
}
.security-tour__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #081226;
  box-shadow: var(--shadow);
}
.security-tour__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.security-tour__frame-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.security-tour__frame-badge {
  display: inline-flex;
  max-width: 100%;
  padding: 0.82rem 0.98rem;
  border-radius: 0.95rem;
  background: rgba(8, 18, 38, 0.84);
  border: 1px solid rgba(125, 211, 252, 0.2);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}
.security-tour__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.security-tour__thumb {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 0.4rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.security-tour__thumb:hover,
.security-tour__thumb.is-active {
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}
.security-tour__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}
.security-tour__thumb span {
  display: block;
  padding: 0 0.15rem 0.1rem;
  color: #0f172a;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}
.security-tour__focus {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  margin-bottom: 1.1rem;
}
.security-tour__focus-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(186, 230, 253, 0.78));
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.08);
}
.security-tour__focus-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.security-tour__title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.38rem, 2vw, 1.78rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.security-tour__lead {
  margin: 0.62rem 0 0;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.72;
}
.security-tour__highlights {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.security-tour__highlight {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}
.security-tour__highlight-icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-50), rgba(186, 230, 253, 0.72));
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.security-tour__highlight-icon .icon {
  width: 1rem;
  height: 1rem;
}
.security-tour__highlight span:last-child {
  color: #0f172a;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 600;
}
.security-tour__note {
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.12);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.92), rgba(248, 250, 252, 0.96));
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.62;
}
.security-tour__note p {
  margin: 0;
}
.security-tour__note-link {
  margin-top: 0;
}
html[data-theme="dark"] .security-tour__thumb {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
}
html[data-theme="dark"] .security-tour__thumb:hover,
html[data-theme="dark"] .security-tour__thumb.is-active {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(12, 18, 32, 1));
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.18);
}
html[data-theme="dark"] .security-tour__thumb span {
  color: #e2e8f0;
}
html[data-theme="dark"] .security-tour__focus-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(8, 47, 73, 0.78));
  color: #7dd3fc;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.16);
}
html[data-theme="dark"] .security-tour__title {
  color: #f8fafc;
}
html[data-theme="dark"] .security-tour__lead {
  color: rgba(226, 232, 240, 0.78);
}
html[data-theme="dark"] .security-tour__highlight {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}
html[data-theme="dark"] .security-tour__highlight-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(8, 47, 73, 0.72));
  color: #7dd3fc;
}
html[data-theme="dark"] .security-tour__highlight span:last-child {
  color: #e2e8f0;
}
html[data-theme="dark"] .security-tour__note {
  border-color: rgba(56, 189, 248, 0.18);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(11, 18, 32, 0.98));
  color: rgba(226, 232, 240, 0.78);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}
.security-cta-panel {
  padding: 2rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
  text-align: center;
  color: #0f172a;
}
.security-cta-panel__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.2);
  color: var(--primary-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.security-cta-panel h2 {
  margin: 1rem 0 0;
  color: #0f172a;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.security-cta-panel p {
  margin: 0.8rem auto 0;
  max-width: 46rem;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.72;
}
.security-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.35rem;
}
.security-cta-panel__actions .btn {
  min-width: 10.5rem;
}
.security-cta-panel__actions .btn-primary {
  background: var(--gradient);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.24);
}
.security-cta-panel__actions .btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 14px 28px rgba(14, 165, 233, 0.32);
}
.security-cta-panel__actions .btn-outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  color: #075985;
  border: 1.5px solid rgba(14, 165, 233, 0.22);
  backdrop-filter: none;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.14);
}
.security-cta-panel__actions .btn-outline:hover {
  background: linear-gradient(180deg, #f0f9ff, #e0f2fe);
  color: #0c4a6e;
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.18);
}
.security-list-grid {
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .security-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.security-card {
  padding: 1.05rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
.security-card:hover {
  background: linear-gradient(180deg, #ffffff, #f0f9ff);
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.14);
}
.security-card:hover .security-card__icon {
  background: linear-gradient(135deg, #dbeafe, #bae6fd);
  color: #0369a1;
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.16);
}
.security-card:hover .security-card__title {
  color: #0c4a6e;
}
.security-card:hover .security-card__body p {
  color: #475569;
}
.security-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.security-card__icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  margin: 0;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(186, 230, 253, 0.72));
  color: var(--primary-700);
}
.security-card__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #0f172a;
}
.security-card__body {
  margin-top: 0.7rem;
}
.security-card__body p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
}
@media (max-width: 959px) {
  .security-tour__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .security-tour__thumbs,
  .security-tour__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .security-tour__frame {
    aspect-ratio: 3 / 2;
  }
}
@media (max-width: 520px) {
  .security-tour__focus {
    grid-template-columns: 1fr;
  }
  .security-tour__highlights {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  padding: 1.25rem;
}
.platform-card__content h3 {
  margin-top: 0;
}
.resource-doc-card {
  padding: 0.95rem;
}
.resource-doc-card__media {
  height: 120px;
}

.site-footer {
  padding: 2.5rem 0 1.25rem;
}
.footer-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(148,163,184,0.12);
}
.footer-compact-head__brand p {
  margin: 0.6rem 0 0;
  color: var(--dark-400);
  max-width: 24rem;
  font-size: 0.86rem;
}
.footer-compact-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}
.footer-compact-head__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(2, 132, 199, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.18);
}
.footer-compact-head__cta--ghost {
  color: var(--dark-200, #e2e8f0);
  background: rgba(255,255,255,0.04);
  border-color: rgba(148,163,184,0.14);
  box-shadow: none;
}
.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
  border-top: none;
  margin-bottom: 1.35rem;
}
.footer-col:last-child {
  display: block;
}
.footer-col h4 {
  margin-bottom: 0.75rem;
}
.footer-col a,
.footer-col span {
  padding: 0.22rem 0;
}
.footer-bottom {
  padding-top: 1rem;
}
@media (max-width: 900px) {
  .footer-compact-head,
  .footer-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .footer-compact-head__actions {
    justify-content: flex-start;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
