﻿/* ============================================
   Theme tokens + dark mode
   ============================================ */

:root {
  color-scheme: light;
  --theme-bg: #ffffff;
  --theme-bg-soft: #f4f8ff;
  --theme-bg-elevated: #ffffff;
  --theme-bg-muted: #f4f8f7;
  --theme-ink: #0a1628;
  --theme-text: #1a2a3f;
  --theme-muted: #5a6b7d;
  --theme-border: rgba(11, 31, 58, 0.12);
  --theme-border-strong: rgba(11, 31, 58, 0.18);
  --theme-shadow: rgba(15, 35, 70, 0.08);
  --theme-card: rgba(255, 255, 255, 0.96);
  --theme-card-border: #d8e2f0;
  --theme-accent: #2f7cf6;
  --theme-accent-soft: rgba(47, 124, 246, 0.12);
  --theme-header-glass: rgba(255, 255, 255, 0.82);
  --theme-header-text: #0a1628;
  --theme-nav-panel: #ffffff;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #070d18;
  --theme-bg-soft: #0b1424;
  --theme-bg-elevated: #101a2c;
  --theme-bg-muted: #0e1726;
  --theme-ink: #eef3fb;
  --theme-text: #d5deeb;
  --theme-muted: #93a1b6;
  --theme-border: rgba(148, 175, 214, 0.16);
  --theme-border-strong: rgba(148, 175, 214, 0.24);
  --theme-shadow: rgba(0, 0, 0, 0.35);
  --theme-card: rgba(16, 26, 44, 0.92);
  --theme-card-border: rgba(120, 160, 220, 0.22);
  --theme-accent: #5ba0ff;
  --theme-accent-soft: rgba(91, 160, 255, 0.16);
  --theme-header-glass: rgba(10, 18, 32, 0.78);
  --theme-header-text: #eef3fb;
  --theme-nav-panel: #101a2c;

  --color-ink: #eef3fb;
  --color-navy: #d5deeb;
  --color-navy-soft: #b8c5d8;
  --color-slate: #d5deeb;
  --color-muted: #93a1b6;
  --color-line: rgba(148, 175, 214, 0.14);
  --color-line-strong: rgba(148, 175, 214, 0.22);
  --color-surface: #0e1726;
  --color-white: #101a2c;
  --color-hero-tint: #101a2c;
  --color-accent: #2dd4bf;
  --color-accent-deep: #14b8a6;
  --color-accent-soft: rgba(45, 212, 191, 0.14);
  --color-glow: rgba(45, 212, 191, 0.28);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body {
  background: var(--theme-bg);
  color: var(--theme-text);
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Light theme only  -  hide toggle */
.theme-toggle {
  display: none !important;
}

.theme-toggle-legacy-unused {
  display: none;
}

.theme-toggle:hover {
  background: rgba(47, 124, 246, 0.1);
  border-color: rgba(47, 124, 246, 0.35);
  color: #2f7cf6;
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(47, 124, 246, 0.45);
  outline-offset: 3px;
}

.theme-toggle__icon {
  display: none;
  width: 18px;
  height: 18px;
}

html:not([data-theme="dark"]) .theme-toggle__moon,
html[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(148, 175, 214, 0.22);
  background: rgba(16, 26, 44, 0.55);
  color: #eef3fb;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(91, 160, 255, 0.16);
  border-color: rgba(91, 160, 255, 0.45);
  color: #5ba0ff;
}

/* ---------- Dark mode section overrides ---------- */

html[data-theme="dark"] .logo-text {
  color: #eef3fb !important;
}

html[data-theme="dark"] .header {
  background: rgba(10, 18, 32, 0.78);
  border-color: rgba(148, 175, 214, 0.18);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .header .nav-link {
  color: #eef3fb;
}

html[data-theme="dark"] .header .nav-link:hover,
html[data-theme="dark"] .header .nav-link.active {
  color: #5ba0ff;
}

html[data-theme="dark"] .header .mobile-toggle span {
  background: #eef3fb;
}

html[data-theme="dark"] .header.scrolled {
  background: rgba(10, 18, 32, 0.72);
  border-color: rgba(148, 175, 214, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .header.scrolled .nav-link,
html[data-theme="dark"] .header.scrolled .logo-text {
  color: #eef3fb;
}

html[data-theme="dark"] .main-content-wrapper {
  background: linear-gradient(180deg, #0b1424 0%, #070d18 28%, #070d18 100%);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .about-section {
  background:
    url("../assets/images/home_about_klyper_bg.webp") center center / cover no-repeat;
}

html[data-theme="dark"] .about-section__bg::before,
html[data-theme="dark"] .about-section__bg::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

html[data-theme="dark"] .about-title {
  color: #0a1d37;
}

html[data-theme="dark"] .about__copy > p {
  color: #5a6b7d;
}

html[data-theme="dark"] .stat-card--light {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: rgba(226, 238, 252, 0.9);
}

html[data-theme="dark"] .stat-card--dark {
  background: linear-gradient(145deg, #0d2a4d 0%, #0a1d37 48%, #071526 100%);
  border-color: transparent;
}

html[data-theme="dark"] .stat-card__value,
html[data-theme="dark"] .stat-card__label {
  color: inherit;
}

html[data-theme="dark"] .services-section {
  background:
    radial-gradient(ellipse 75% 55% at 8% 12%, rgba(47, 124, 246, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 92% 88%, rgba(91, 160, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 70% 18%, rgba(139, 92, 246, 0.1) 0%, transparent 65%),
    linear-gradient(165deg, #0b1424 0%, #0a1220 42%, #08101c 100%);
}

html[data-theme="dark"] .services-section::before {
  background:
    linear-gradient(118deg, transparent 42%, rgba(47, 124, 246, 0.06) 42%, rgba(47, 124, 246, 0.06) 54%, transparent 54%),
    linear-gradient(118deg, transparent 58%, rgba(91, 160, 255, 0.04) 58%, rgba(91, 160, 255, 0.04) 68%, transparent 68%);
}

html[data-theme="dark"] .services-section::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 26, 44, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, rgba(11, 20, 36, 0.45) 0%, transparent 18%, transparent 82%, rgba(8, 16, 28, 0.55) 100%);
}

html[data-theme="dark"] .services-title {
  color: #eef3fb;
}

html[data-theme="dark"] .services-lead {
  color: #93a1b6;
}

html[data-theme="dark"] .services-view-btn {
  border-color: rgba(120, 160, 220, 0.28);
  background: rgba(16, 26, 44, 0.75);
  color: #eef3fb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .services-view-btn:hover {
  background: #5ba0ff;
  border-color: #5ba0ff;
  color: #061018;
}

html[data-theme="dark"] .service-card {
  background: linear-gradient(165deg, rgba(18, 28, 48, 0.96) 0%, rgba(14, 22, 38, 0.94) 100%);
  border-color: color-mix(in srgb, var(--svc-accent) 28%, rgba(120, 160, 220, 0.22));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 10px 28px rgba(0, 0, 0, 0.3),
    0 22px 48px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .service-card:hover {
  background: linear-gradient(165deg, rgba(22, 34, 56, 0.98) 0%, rgba(16, 26, 44, 0.96) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 18px 36px rgba(0, 0, 0, 0.35),
    0 28px 56px color-mix(in srgb, var(--svc-accent) 18%, transparent);
}

html[data-theme="dark"] .service-card__title {
  color: #eef3fb;
}

html[data-theme="dark"] .service-card__text {
  color: #93a1b6;
}

html[data-theme="dark"] .service-card__link {
  border-top-color: color-mix(in srgb, var(--svc-accent) 22%, rgba(120, 160, 220, 0.18));
}

html[data-theme="dark"] .section--surface {
  background: #0e1726;
}

html[data-theme="dark"] .section {
  background: transparent;
}

html[data-theme="dark"] .service-item {
  background: rgba(16, 26, 44, 0.85);
  border-color: rgba(120, 160, 220, 0.18);
}

html[data-theme="dark"] .industries-section {
  background: #0b1422;
}

html[data-theme="dark"] .industries-section__bg {
  background:
    linear-gradient(115deg, rgba(14, 23, 38, 0.95) 0%, rgba(11, 20, 34, 0.55) 45%, rgba(12, 24, 42, 0.9) 100%),
    linear-gradient(180deg, #0a1320 0%, #0e1726 55%, #0a1320 100%);
}

html[data-theme="dark"] .industries-section__bg::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(148, 180, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 230, 0.07) 1px, transparent 1px);
}

html[data-theme="dark"] .industries-section__bg::after {
  background:
    linear-gradient(
      128deg,
      transparent 0%,
      transparent 38%,
      rgba(96, 165, 250, 0.05) 49%,
      transparent 60%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(270deg, rgba(14, 165, 233, 0.06), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.07), transparent 36%);
}

html[data-theme="dark"] .industries-section__eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] .industries-section__eyebrow::after {
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
}

html[data-theme="dark"] .industries-section__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .industries-section__title span {
  background: linear-gradient(120deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .industries-section__lead {
  color: #94a3b8;
}

html[data-theme="dark"] .industries-nav__btn--prev {
  background: rgba(18, 28, 45, 0.82);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
}

html[data-theme="dark"] .industries-nav__btn--next {
  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .industry-card {
  border-color: rgba(120, 160, 220, 0.22);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .why-section {
  background: linear-gradient(180deg, #0b1422 0%, #0e1726 50%, #0b1422 100%);
}

html[data-theme="dark"] .why-section__bg {
  background:
    radial-gradient(ellipse 40% 35% at 90% 8%, rgba(14, 165, 233, 0.08), transparent 55%);
}

html[data-theme="dark"] .why-section__bg::before,
html[data-theme="dark"] .why-section__bg::after {
  opacity: 0.28;
}

html[data-theme="dark"] .why-section__accent {
  background: linear-gradient(120deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .why-connectors__path {
  stroke: #60a5fa;
}

html[data-theme="dark"] .why-connectors__node {
  fill: #60a5fa;
}

html[data-theme="dark"] .why-hub__halo {
  background:
    conic-gradient(from 200deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.55), rgba(14, 165, 233, 0.18), rgba(37, 99, 235, 0.5), rgba(56, 189, 248, 0.2));
  box-shadow: none;
}

html[data-theme="dark"] .why-hub__halo::before {
  background: linear-gradient(160deg, #1a2740 0%, #121c2e 55%, #0e1726 100%);
}

html[data-theme="dark"] .why-hub__core {
  background: radial-gradient(circle at 32% 26%, #1c2a44 0%, #121c2e 58%, #0d1524 100%);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .why-hub__brand {
  color: #eef3fb;
}

html[data-theme="dark"] .why-hub__sub {
  color: #93a1b6;
}

html[data-theme="dark"] .why-card {
  background: linear-gradient(135deg, rgba(22, 34, 56, 0.88) 0%, rgba(16, 26, 44, 0.86) 100%);
  border-color: rgba(120, 160, 220, 0.22);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .why-card:hover {
  border-color: rgba(96, 165, 250, 0.48);
  background: linear-gradient(135deg, rgba(28, 42, 68, 0.92) 0%, rgba(18, 30, 50, 0.9) 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(96, 165, 250, 0.12);
}

html[data-theme="dark"] .why-card__body h3 {
  color: #eef3fb;
}

html[data-theme="dark"] .why-card__body p {
  color: #93a1b6;
}

html[data-theme="dark"] .why-card__num {
  color: #60a5fa;
}

html[data-theme="dark"] .cta-band {
  background: linear-gradient(135deg, #101a2c, #0b1424);
}

html[data-theme="dark"] .products-section {
  background: linear-gradient(180deg, #0b1422 0%, #0e1726 50%, #0b1422 100%);
}

html[data-theme="dark"] .products-section__bg {
  background: none;
}

html[data-theme="dark"] .products-section__bg::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(148, 180, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 230, 0.06) 1px, transparent 1px);
}

html[data-theme="dark"] .products-section__bg::after {
  opacity: 0.2;
}

html[data-theme="dark"] .products-section__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .products-section__title span {
  background: linear-gradient(120deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .products-section__lead {
  color: #94a3b8;
}

html[data-theme="dark"] .product-panel {
  background: linear-gradient(155deg, rgba(18, 28, 45, 0.94) 0%, rgba(14, 23, 38, 0.92) 100%);
  border-color: rgba(120, 160, 220, 0.18);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .product-panel:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .product-card {
  background: linear-gradient(155deg, rgba(18, 28, 45, 0.96) 0%, rgba(14, 23, 38, 0.94) 100%);
  border-color: rgba(120, 160, 220, 0.2);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .product-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .product-card__name {
  color: #f1f5f9;
}

html[data-theme="dark"] .product-card__desc,
html[data-theme="dark"] .product-card__features li {
  color: #94a3b8;
}

html[data-theme="dark"] .product-card__eyebrow {
  color: #60a5fa;
}

html[data-theme="dark"] .product-panel__visual--shot {
  background: linear-gradient(155deg, #0f2748 0%, #0a1d37 48%, #071628 100%);
}

html[data-theme="dark"] .product-panel__eyebrow {
  color: #7c8ea3;
}

html[data-theme="dark"] .product-panel__name {
  color: #f1f5f9;
}

html[data-theme="dark"] .product-panel__desc,
html[data-theme="dark"] .product-panel__features li {
  color: #94a3b8;
}

html[data-theme="dark"] .product-panel__link {
  color: #60a5fa;
}

html[data-theme="dark"] .product-float {
  background: rgba(18, 28, 45, 0.96);
  border-color: rgba(120, 160, 220, 0.16);
}

html[data-theme="dark"] .product-float__title,
html[data-theme="dark"] .product-float__foot strong {
  color: #f1f5f9;
}

html[data-theme="dark"] .btn--ghost {
  border-color: rgba(120, 160, 220, 0.28);
  color: #eef3fb;
}

html[data-theme="dark"] .btn--ghost:hover {
  background: rgba(91, 160, 255, 0.12);
  border-color: #5ba0ff;
  color: #5ba0ff;
}

html[data-theme="dark"] .products-hero {
  background:
    linear-gradient(105deg, #0b1728 0%, #0e2038 35%, #123056 70%, #0a1a30 100%);
}

html[data-theme="dark"] .products-hero__media-shade {
  background:
    linear-gradient(
      100deg,
      rgba(8, 17, 29, 0.45) 0%,
      rgba(8, 17, 29, 0.18) 34%,
      transparent 62%
    );
}

html[data-theme="dark"] .products-hero__copy {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="dark"] .products-hero__title {
  color: #ffffff;
}

html[data-theme="dark"] .products-hero__lead {
  color: rgba(226, 236, 250, 0.92);
}

html[data-theme="dark"] .products-hero__badge {
  color: #ffffff;
  background: rgba(12, 28, 56, 0.45);
  border-color: rgba(56, 189, 248, 0.75);
}

html[data-theme="dark"] .products-hero__badge svg {
  color: #7dd3fc;
}

html[data-theme="dark"] .products-hero__feature span {
  color: #ffffff;
}

html[data-theme="dark"] .products-hero__feature-icon {
  color: #67e8f9;
  background: linear-gradient(155deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.12));
  border-color: rgba(125, 211, 252, 0.4);
}

html[data-theme="dark"] .products-hero__btn--ghost {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .products-hero__play {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .products-explore {
  background:
    radial-gradient(ellipse 48% 40% at 88% 12%, rgba(14, 165, 233, 0.14), transparent 55%),
    linear-gradient(165deg, #0a1628 0%, #0d1c32 45%, #0b1830 100%);
}

html[data-theme="dark"] .products-explore__eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] .products-explore__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .products-explore__subtitle {
  color: #94a3b8;
}

html[data-theme="dark"] .pe-card {
  background: linear-gradient(155deg, rgba(14, 23, 38, 0.96), rgba(12, 20, 34, 0.94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .pe-card__name {
  color: #e2e8f0;
}

html[data-theme="dark"] .pe-card__desc {
  color: #94a3b8;
}

html[data-theme="dark"] .pe-card__arrow {
  background: rgba(18, 28, 45, 0.9);
  border-color: rgba(148, 163, 184, 0.25);
}

html[data-theme="dark"] .pe-card__features {
  border-top-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .pe-card__features span:last-child {
  color: #cbd5e1;
}

html[data-theme="dark"] .products-eco {
  background:
    radial-gradient(ellipse 50% 40% at 94% 92%, rgba(29, 95, 214, 0.1), transparent 55%),
    linear-gradient(180deg, #0a1628 0%, #0b1424 50%, #0c1a30 100%);
}

html[data-theme="dark"] .products-eco__blob--tl,
html[data-theme="dark"] .products-eco__blob--br {
  opacity: 0.28;
}

html[data-theme="dark"] .products-eco__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .products-eco__lead,
html[data-theme="dark"] .products-eco__tagline {
  color: #94a3b8;
}

html[data-theme="dark"] .products-eco__pill {
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.95), rgba(12, 22, 40, 0.9));
  border-color: rgba(0, 229, 255, 0.4);
  color: #e2e8f0;
}

html[data-theme="dark"] .eco-badge {
  background: linear-gradient(180deg, #121c30, #0e1728);
  border-color: rgba(96, 165, 250, 0.28);
}

html[data-theme="dark"] .eco-badge__text {
  color: #e2e8f0;
}

html[data-theme="dark"] .eco-badge__icon {
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.16), rgba(47, 124, 246, 0.12));
}

html[data-theme="dark"] .eco-panel {
  background: linear-gradient(145deg, #121c30, #0e1728);
  border-color: rgba(96, 165, 250, 0.25);
}

html[data-theme="dark"] .eco-panel__title {
  color: #e2e8f0;
}

html[data-theme="dark"] .eco-panel__desc {
  color: #94a3b8;
}

html[data-theme="dark"] .eco-panel__tags li {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.22);
  color: #7dd3fc;
}

html[data-theme="dark"] .products-eco__flow-title {
  color: #e2e8f0;
}

html[data-theme="dark"] .eco-step:not(.eco-step--dark) {
  background: linear-gradient(135deg, #152238, #1a2c48);
  color: #e2e8f0;
}

html[data-theme="dark"] .pe-card__feat-icon {
  background: color-mix(in srgb, var(--pe-accent) 18%, transparent);
}

html[data-theme="dark"] .hrms-about {
  background:
    linear-gradient(180deg, #0a1424 0%, #0b1628 50%, #0c1a30 100%);
}

html[data-theme="dark"] .hrms-about__badge {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}

html[data-theme="dark"] .hrms-about__title,
html[data-theme="dark"] .hrms-about__subtitle,
html[data-theme="dark"] .ha-ftile__label {
  color: #e2e8f0;
}

html[data-theme="dark"] .hrms-about__lead {
  color: #94a3b8;
}

html[data-theme="dark"] .ha-ftile {
  background: linear-gradient(165deg, rgba(18, 28, 48, 0.96), rgba(14, 23, 40, 0.94));
  border-color: rgba(96, 165, 250, 0.28);
}

html[data-theme="dark"] .hrms-overview {
  background: linear-gradient(180deg, #0a1424 0%, #0b1628 55%, #0c1a30 100%);
}

html[data-theme="dark"] .ho-card:not(.ho-card--accent) {
  background: linear-gradient(160deg, #121c30 0%, #0e1728 100%);
  border-color: rgba(96, 165, 250, 0.22);
}

html[data-theme="dark"] .ho-card:not(.ho-card--accent) .ho-card__title {
  color: #e2e8f0;
}

html[data-theme="dark"] .ho-card:not(.ho-card--accent) .ho-card__desc {
  color: #94a3b8;
}

html[data-theme="dark"] .hrms-overview__meta {
  background: #101a2c;
  border-color: rgba(96, 165, 250, 0.22);
}

html[data-theme="dark"] .ho-meta__label {
  color: #64748b;
}

html[data-theme="dark"] .ho-meta__value {
  color: #e2e8f0;
}

html[data-theme="dark"] .ho-meta + .ho-meta::before {
  background: linear-gradient(180deg, transparent, rgba(100, 116, 139, 0.45), transparent);
}

/* About Us hero is image-led dark; keep contrast in both themes */
html[data-theme="dark"] .about-hero {
  background: #050a18;
}

html[data-theme="dark"] .about-stats {
  background: transparent;
}

html[data-theme="dark"] .about-stats__panel {
  background: linear-gradient(180deg, #0b1a33 0%, #071428 100%);
  border-color: rgba(0, 229, 255, 0.65);
}

html[data-theme="dark"] .about-stats__value {
  color: #5ba0ff;
}

html[data-theme="dark"] .about-stats__label {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] .about-stats__item:not(:last-child)::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(125, 165, 220, 0.35) 18%,
    rgba(125, 165, 220, 0.35) 82%,
    transparent
  );
}

html[data-theme="dark"] .about-who {
  background: linear-gradient(165deg, #081422 0%, #0a1628 42%, #0c1a30 100%);
}

html[data-theme="dark"] .about-who__orb--a,
html[data-theme="dark"] .about-who__orb--b {
  display: none;
  background: none;
}

html[data-theme="dark"] .about-who__grid-fade {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(125, 165, 220, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 165, 220, 0.1) 1px, transparent 1px);
}

html[data-theme="dark"] .about-who__shine {
  opacity: 0.12;
}

html[data-theme="dark"] .about-who__eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] .about-who__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .about-who__text {
  color: #94a3b8;
}

html[data-theme="dark"] .about-who__text strong {
  color: #60a5fa;
}

html[data-theme="dark"] .about-who__text + .about-who__text {
  color: #8b9cb3;
}

html[data-theme="dark"] .about-who__visual::before {
  display: none;
  background: none;
}

html[data-theme="dark"] .about-who__visual::after {
  border-color: rgba(125, 211, 252, 0.48);
  box-shadow: none;
  background: transparent;
}

html[data-theme="dark"] .about-who__visual-img {
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
}

html[data-theme="dark"] .about-mv {
  background: #0a1628;
}

html[data-theme="dark"] .about-mv__eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] .about-mv__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .mv-pillar__label {
  color: #e2e8f0;
}

html[data-theme="dark"] .mv-pillar__text {
  color: #94a3b8;
}

html[data-theme="dark"] .mv-badge__disc {
  background: rgba(30, 58, 110, 0.45);
  border-color: rgba(120, 160, 220, 0.22);
  box-shadow: none;
}

html[data-theme="dark"] .mv-badge__icon {
  filter: none;
}

html[data-theme="dark"] .mv-badge__ring-dots {
  stroke: #60a5fa;
}

html[data-theme="dark"] .mv-pillar:not(:last-child)::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(125, 165, 220, 0.28) 18%,
    rgba(125, 165, 220, 0.28) 82%,
    transparent
  );
}

html[data-theme="dark"] .about-values {
  background:
    radial-gradient(ellipse 60% 45% at 92% 100%, rgba(47, 124, 246, 0.1), transparent 55%),
    linear-gradient(180deg, #0a1628 0%, #0d1c32 50%, #0b1424 100%);
}

html[data-theme="dark"] .about-values__eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] .about-values__title {
  color: #f1f5f9;
}

html[data-theme="dark"] .about-values__lead {
  color: #94a3b8;
}

html[data-theme="dark"] .cv-card {
  background: linear-gradient(165deg, #152238 0%, #101a2c 55%, #0d1728 100%);
  border-color: rgba(96, 165, 250, 0.22);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.4),
    0 8px 18px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .cv-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(47, 124, 246, 0.2);
}

html[data-theme="dark"] .cv-card__title {
  color: #e2e8f0;
}

html[data-theme="dark"] .cv-card__text {
  color: #94a3b8;
}

html[data-theme="dark"] .cv-card__icon-wrap {
  background: linear-gradient(145deg, #1d4ed8 0%, #2f7cf6 48%, #0ea5e9 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .cv-card__icon {
  color: #ffffff;
}

/* What Sets Us Apart stays intentionally dark in both themes */
html[data-theme="light"] .about-apart,
html[data-theme="dark"] .about-apart {
  color: #e8f1ff;
}


html[data-theme="dark"] .about-hero__media-shade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 22, 0.78) 0%,
      rgba(4, 8, 22, 0.5) 28%,
      rgba(4, 8, 22, 0.14) 52%,
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(5, 10, 24, 0.4) 0%,
      transparent 22%,
      transparent 70%,
      rgba(5, 10, 24, 0.5) 100%
    );
}

@media (max-width: 1024px) {
  html[data-theme="dark"] .nav-links {
    background: #101a2c;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  }

  html[data-theme="dark"] .header .nav-link {
    color: #eef3fb;
    border-bottom-color: rgba(148, 175, 214, 0.14);
  }

  html[data-theme="dark"] .theme-toggle {
    border-color: rgba(148, 175, 214, 0.22);
    background: rgba(16, 26, 44, 0.7);
    color: #eef3fb;
  }
}
