/* ==========================================================================
   Super Cleaner C v1.2.1 — Enterprise Liquid Glass Design System
   - Optical Multi-Layer Liquid Glass (oklab Light & Deep Sapphire Dark)
   - Scroll-Driven Header & Progress + Spring Physics Motion
   - Intrinsic Container Queries & Universal Responsiveness (320px - 4K)
   - Full RTL (ar) & LTR (en, ru, de, zh) Logical Layout + Safe-Area Support
   ========================================================================== */

:root {
  color-scheme: light dark;

  --in-oklab: ;
  --in-oklch: ;
  --target-size: 24px;

  /* Light Mode Palette — Arctic White & Signature Royal/Sky Blue */
  --bg-canvas-light: #eff6ff;
  --bg-elevated-light: #ffffff;
  --bg-subtle-light: #e5effd;
  --bg-glass-light: rgba(255, 255, 255, 0.64);
  --bg-glass-strong-light: rgba(255, 255, 255, 0.80);
  --bg-glass-inset-light: rgba(238, 246, 255, 0.56);

  --text-primary-light: #09172e;
  --text-secondary-light: #2b4464;
  --text-muted-light: #526e91;

  --border-subtle-light: rgba(37, 99, 235, 0.16);
  --border-strong-light: rgba(37, 99, 235, 0.34);

  /* Dark Mode Palette — Deep Abyssal Sapphire & Luminous Cyan */
  --bg-canvas-dark: #040b18;
  --bg-elevated-dark: #0b172c;
  --bg-subtle-dark: #102344;
  --bg-glass-dark: rgba(11, 24, 50, 0.62);
  --bg-glass-strong-dark: rgba(13, 27, 56, 0.78);
  --bg-glass-inset-dark: rgba(8, 19, 40, 0.64);

  --text-primary-dark: #f0f6ff;
  --text-secondary-dark: #bdd2f0;
  --text-muted-dark: #88a4cb;

  --border-subtle-dark: rgba(56, 189, 248, 0.20);
  --border-strong-dark: rgba(56, 189, 248, 0.44);

  /* Brand Accents */
  --brand-primary-light: #1d4ed8;
  --brand-primary-dark: #4f96ff;
  --brand-secondary-light: #0284c7;
  --brand-secondary-dark: #38bdf8;
  --brand-glow-light: rgba(37, 99, 235, 0.22);
  --brand-glow-dark: rgba(56, 189, 248, 0.28);

  /* Status Colors */
  --color-success: light-dark(#047857, #34d399);
  --color-success-bg: light-dark(rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.16));

  /* Dynamic Tokens */
  --bg-canvas: light-dark(var(--bg-canvas-light), var(--bg-canvas-dark));
  --bg-elevated: light-dark(var(--bg-elevated-light), var(--bg-elevated-dark));
  --bg-subtle: light-dark(var(--bg-subtle-light), var(--bg-subtle-dark));
  --bg-glass: light-dark(var(--bg-glass-light), var(--bg-glass-dark));
  --bg-glass-strong: light-dark(var(--bg-glass-strong-light), var(--bg-glass-strong-dark));
  --bg-glass-inset: light-dark(var(--bg-glass-inset-light), var(--bg-glass-inset-dark));

  --text-primary: light-dark(var(--text-primary-light), var(--text-primary-dark));
  --text-secondary: light-dark(var(--text-secondary-light), var(--text-secondary-dark));
  --text-muted: light-dark(var(--text-muted-light), var(--text-muted-dark));

  --border-subtle: light-dark(var(--border-subtle-light), var(--border-subtle-dark));
  --border-strong: light-dark(var(--border-strong-light), var(--border-strong-dark));

  --brand-primary: light-dark(var(--brand-primary-light), var(--brand-primary-dark));
  --brand-secondary: light-dark(var(--brand-secondary-light), var(--brand-secondary-dark));
  --brand-glow: light-dark(var(--brand-glow-light), var(--brand-glow-dark));

  /* Liquid Glass Optical Reflections */
  --glass-rim-top: light-dark(rgba(255, 255, 255, 0.96), rgba(186, 230, 253, 0.36));
  --glass-rim-inner: light-dark(rgba(255, 255, 255, 0.68), rgba(96, 165, 250, 0.16));
  --glass-rim-bottom: light-dark(rgba(37, 99, 235, 0.10), rgba(56, 189, 248, 0.10));
  --glass-specular-spot: light-dark(rgba(255, 255, 255, 0.72), rgba(125, 211, 252, 0.20));

  --shadow-glass: light-dark(
    inset 0 1.5px 0 var(--glass-rim-top),
    inset 0 1.5px 0 var(--glass-rim-top)
  ), light-dark(
    inset 0 -1px 0 var(--glass-rim-bottom),
    inset 0 -1px 0 var(--glass-rim-bottom)
  ), light-dark(
    inset 0 0 0 1px var(--glass-rim-inner),
    inset 0 0 0 1px var(--glass-rim-inner)
  ), light-dark(
    0 18px 44px -12px rgba(29, 78, 216, 0.14),
    0 24px 56px -14px rgba(2, 6, 23, 0.72)
  );

  --shadow-glass-hover: light-dark(
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 1.5px 0 rgba(186, 230, 253, 0.48)
  ), light-dark(
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(96, 165, 250, 0.28)
  ), light-dark(
    0 26px 60px -12px rgba(29, 78, 216, 0.22),
    0 28px 66px -12px rgba(56, 189, 248, 0.20)
  );

  --gradient-brand: linear-gradient(135deg var(--in-oklab), #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  --gradient-brand-hover: linear-gradient(135deg var(--in-oklab), #1e40af 0%, #1d4ed8 48%, #0284c7 100%);

  accent-color: var(--brand-primary);
  --scrollbar-track: light-dark(#e6f0ff, #071122);
  --scrollbar-thumb: light-dark(#2563eb, #3b82f6);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --font-sans: "Cairo", "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 80px;
  --header-scrolled-h: 68px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.36s linear(0, 0.46 15%, 1.07 38%, 0.98 62%, 1.01 80%, 1);
  --transition-smooth: 0.38s cubic-bezier(0.16, 1, 0.3, 1);

  /* Explicit Header & Header Control Tokens (Instant Theme Switch Without Scroll-Animation Cache) */
  --header-bg: rgba(255, 255, 255, 0.80);
  --header-bg-scrolled: rgba(255, 255, 255, 0.92);
  --header-border: rgba(255, 255, 255, 0.78);
  --header-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 30px -6px rgba(29, 78, 216, 0.08);
  --nav-capsule-bg: rgba(235, 244, 255, 0.74);
  --nav-capsule-border: rgba(255, 255, 255, 0.88);
  --nav-capsule-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 16px rgba(29, 78, 216, 0.06);
  --nav-link-color: #2b4464;
  --nav-link-hover-color: #1d4ed8;
  --nav-link-hover-bg: rgba(255, 255, 255, 0.78);
  --nav-link-active-color: #1d4ed8;
  --nav-link-active-bg: rgba(255, 255, 255, 0.96);
  --nav-link-active-shadow: inset 0 1px 0 #ffffff, 0 4px 14px rgba(29, 78, 216, 0.14);
  --ctrl-bg: rgba(255, 255, 255, 0.84);
  --ctrl-border: rgba(37, 99, 235, 0.34);
  --ctrl-color: #09172e;
  --ctrl-shadow: inset 0 1px 0 #ffffff, 0 4px 12px rgba(29, 78, 216, 0.07);
  --lang-menu-bg: rgba(255, 255, 255, 0.94);
  --drawer-nav-bg: rgba(255, 255, 255, 0.94);
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

@media (pointer: coarse) {
  :root {
    --target-size: 44px;
  }
}

:root:has(> head > meta[name="color-scheme"][content="dark"]),
:root[data-theme="dark"] {
  color-scheme: dark;
  --header-bg: rgba(4, 10, 24, 0.88);
  --header-bg-scrolled: rgba(4, 10, 24, 0.95);
  --header-border: rgba(56, 189, 248, 0.24);
  --header-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.20), 0 8px 30px -6px rgba(0, 0, 0, 0.72);
  --nav-capsule-bg: rgba(9, 20, 44, 0.90);
  --nav-capsule-border: rgba(96, 165, 250, 0.30);
  --nav-capsule-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.14), 0 4px 16px rgba(0, 0, 0, 0.48);
  --nav-link-color: #dbeafe;
  --nav-link-hover-color: #ffffff;
  --nav-link-hover-bg: rgba(59, 130, 246, 0.24);
  --nav-link-active-color: #ffffff;
  --nav-link-active-bg: linear-gradient(135deg var(--in-oklab), #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  --nav-link-active-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), 0 4px 14px rgba(37, 99, 235, 0.45);
  --ctrl-bg: rgba(10, 23, 49, 0.92);
  --ctrl-border: rgba(96, 165, 250, 0.38);
  --ctrl-color: #f0f7ff;
  --ctrl-shadow: inset 0 1px 0 rgba(186, 230, 253, 0.16), 0 4px 12px rgba(0, 0, 0, 0.45);
  --lang-menu-bg: rgba(10, 22, 46, 0.95);
  --drawer-nav-bg: rgba(10, 22, 46, 0.95);
}

:root:has(> head > meta[name="color-scheme"][content="light"]),
:root[data-theme="light"] {
  color-scheme: light;
}

/* Fallback scrollbar theming for engines without scrollbar-color */
@supports not (scrollbar-color: auto) {
  :root {
    scrollbar-width: auto;
  }
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
  }
}

/* Anti-Clickjacking Defense-in-Depth */
html[data-framed-blocked="true"] body {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-block-size: 100dvh;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow-wrap: break-word;
  position: relative;
  transition: background-color 0.35s ease, color 0.35s ease;
}

::selection {
  background-color: var(--brand-primary);
  color: #ffffff;
}

img,
video,
svg {
  max-inline-size: 100%;
  display: block;
}

img {
  block-size: auto;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2.5px solid CanvasText;
  outline-offset: 3px;
}

/* Touch & Keyboard Target Floor */
:where(button, select, input:not([type="checkbox"], [type="radio"]), nav a, .lang-option) {
  min-block-size: var(--target-size);
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  height: 24px;
  width: 1px;
  pointer-events: none;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.vt-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.vt-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Liquid Glass Ambient Optical Backdrop
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
  background:
    radial-gradient(ellipse 80% 60% at 15% 12%, light-dark(rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.36)) 0%, transparent 58%),
    radial-gradient(ellipse 75% 55% at 85% 18%, light-dark(rgba(14, 165, 233, 0.24), rgba(56, 189, 248, 0.26)) 0%, transparent 56%),
    radial-gradient(ellipse 85% 65% at 50% 88%, light-dark(rgba(59, 130, 246, 0.16), rgba(29, 78, 216, 0.30)) 0%, transparent 62%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, light-dark(rgba(37, 99, 235, 0.055), rgba(56, 189, 248, 0.06)) 1px, transparent 1px),
    linear-gradient(to bottom, light-dark(rgba(37, 99, 235, 0.055), rgba(56, 189, 248, 0.06)) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: light-dark(0.62, 0.48);
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-orb {
    animation: orbFloat 20s ease-in-out infinite alternate;
  }
}

.orb-1 {
  width: min(520px, 75dvw);
  height: min(520px, 75dvw);
  background: radial-gradient(circle, #38bdf8 0%, #2563eb 68%, transparent 100%);
  top: -150px;
  inset-inline-start: -110px;
}

.orb-2 {
  width: min(460px, 70dvw);
  height: min(460px, 70dvw);
  background: radial-gradient(circle, #1d4ed8 0%, #0ea5e9 68%, transparent 100%);
  top: 24%;
  inset-inline-end: -130px;
  animation-delay: -7s;
}

.orb-3 {
  width: min(420px, 65dvw);
  height: min(420px, 65dvw);
  background: radial-gradient(circle, #60a5fa 0%, #1d4ed8 70%, transparent 100%);
  bottom: 4%;
  inset-inline-start: 18%;
  animation-delay: -13s;
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -24px, 0) scale(1.07);
  }
  100% {
    transform: translate3d(-22px, 24px, 0) scale(0.95);
  }
}

/* ==========================================================================
   Core Liquid Glass Surface Architecture
   ========================================================================== */
.glass-surface {
  position: relative;
  background: linear-gradient(
    150deg var(--in-oklab),
    light-dark(rgba(255, 255, 255, 0.80), rgba(15, 31, 62, 0.68)) 0%,
    light-dark(rgba(239, 246, 255, 0.54), rgba(8, 18, 38, 0.50)) 100%
  );
  border: 1px solid light-dark(rgba(255, 255, 255, 0.72), rgba(125, 211, 252, 0.22));
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass-surface {
    backdrop-filter: blur(26px) saturate(195%) brightness(1.03);
    -webkit-backdrop-filter: blur(26px) saturate(195%) brightness(1.03);
  }
}

/* Prismatic Liquid Glass Edge Refraction Border (non-blocking ::after) */
.glass-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    light-dark(rgba(255, 255, 255, 0.95), rgba(186, 230, 253, 0.45)) 0%,
    light-dark(rgba(37, 99, 235, 0.22), rgba(56, 189, 248, 0.14)) 45%,
    light-dark(rgba(255, 255, 255, 0.70), rgba(147, 197, 253, 0.30)) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.glass-interactive {
  --px: 50%;
  --py: 20%;
}

/* Cursor-Following Liquid Lens Specular Sheen (pointer: fine & motion enabled only) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .glass-interactive::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      360px circle at var(--px) var(--py),
      var(--glass-specular-spot) 0%,
      transparent 65%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 0;
  }

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

.glass-interactive > * {
  position: relative;
  z-index: 2;
}

.glass-inset {
  background: linear-gradient(
    165deg var(--in-oklab),
    light-dark(rgba(255, 255, 255, 0.72), rgba(13, 28, 56, 0.68)) 0%,
    light-dark(rgba(235, 244, 255, 0.56), rgba(7, 16, 35, 0.58)) 100%
  );
  border: 1px solid var(--border-subtle);
  box-shadow:
    inset 0 1px 0 light-dark(rgba(255, 255, 255, 0.9), rgba(186, 230, 253, 0.18)),
    0 10px 28px -8px light-dark(rgba(29, 78, 216, 0.08), rgba(0, 0, 0, 0.45));
}

.glass-pill {
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(17, 36, 70, 0.64));
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 light-dark(rgba(255, 255, 255, 0.95), rgba(186, 230, 253, 0.25)),
    0 6px 20px var(--brand-glow);
}

/* ==========================================================================
   Layout Container & Section Typography
   ========================================================================== */
.container {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.section > .container {
  container: page-sec / inline-size;
}

.section {
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.6rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--brand-primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.95rem;
}

.section-title {
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.24;
  text-wrap: balance;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: clamp(0.98rem, 0.85rem + 0.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.72;
  text-wrap: pretty;
}

.gradient-text {
  background: linear-gradient(135deg var(--in-oklab), #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme="dark"] .gradient-text,
:root:has(> head > meta[name="color-scheme"][content="dark"]) .gradient-text {
  background: linear-gradient(135deg var(--in-oklab), #93c5fd 0%, #38bdf8 55%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Fixed Shrinking Liquid Glass Header & Scroll Progress Line
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  width: 100%;
  z-index: 1000;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  transition: height 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.92;
  pointer-events: none;
}

.site-header.is-scrolled {
  height: calc(var(--header-scrolled-h) + env(safe-area-inset-top, 0px));
  background: var(--header-bg-scrolled);
  box-shadow: var(--shadow-glass);
}

/* Native Scroll-Driven Shrinking Header (Dimensional Height Only so Theme Switches Paint Immediately) */
@keyframes headerCompactScroll {
  to {
    height: calc(var(--header-scrolled-h) + env(safe-area-inset-top, 0px));
  }
}

.scroll-progress-line {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2.5px;
  background: var(--gradient-brand);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  pointer-events: none;
  opacity: 0.9;
}

html[dir="rtl"] .scroll-progress-line {
  transform-origin: right center;
}

@keyframes scrollProgressGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .site-header {
      animation: headerCompactScroll auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 140px;
    }

    .scroll-progress-line {
      animation: scrollProgressGrow auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0% 100%;
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1260px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-inline-size: 0;
}

/* Brand Identity */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

/* Center Liquid Glass Navigation Capsule */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.26rem 0.34rem;
  border-radius: var(--radius-pill);
  background: var(--nav-capsule-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--nav-capsule-border);
  box-shadow: var(--nav-capsule-shadow);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nav-link-color);
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), scale 150ms ease-out;
}

.nav-link:hover {
  color: var(--nav-link-hover-color);
  background: var(--nav-link-hover-bg);
}

.nav-link:active {
  scale: 0.97;
}

.nav-link.active {
  color: var(--nav-link-active-color);
  background: var(--nav-link-active-bg);
  box-shadow: var(--nav-link-active-shadow);
}

/* Header Action Cluster */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-dropdown {
  position: relative;
}

.lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  height: 38px;
  padding-inline: 0.78rem;
  border-radius: 10px;
  background: var(--ctrl-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ctrl-border);
  color: var(--ctrl-color);
  font-weight: 600;
  font-size: 0.84rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--ctrl-shadow);
  transition: background-color 0.2s ease, border-color var(--transition-fast), box-shadow var(--transition-fast), scale 150ms ease-out;
}

.lang-trigger-btn:hover,
.lang-dropdown.is-open .lang-trigger-btn {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 18px var(--brand-glow);
}

.lang-trigger-btn:active {
  scale: 0.97;
}

.lang-globe-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.lang-chevron-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.lang-dropdown.is-open .lang-chevron-icon {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 172px;
  list-style: none;
  background: var(--lang-menu-bg);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: var(--shadow-glass-hover);
  transform-origin: top end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.94);
  transition: opacity 0.2s ease-out, transform 0.25s ease-out, visibility 0.2s ease;
  transition-timing-function: ease-out, var(--transition-spring), ease;
  z-index: 1100;
}

.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--bg-subtle);
  color: var(--brand-primary);
}

.lang-option.active {
  background: var(--gradient-brand);
  color: #ffffff;
}

.lang-opt-code {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.1rem 0.42rem;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-primary);
}

.lang-option.active .lang-opt-code {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Theme Toggle Button (Light / Dark) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  height: 38px;
  padding: 0.24rem 0.78rem 0.24rem 0.34rem;
  border-radius: 10px;
  background: var(--ctrl-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ctrl-border);
  color: var(--ctrl-color);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--ctrl-shadow);
  transition: transform var(--transition-fast), background-color 0.2s ease, border-color var(--transition-fast), box-shadow var(--transition-fast), scale 150ms ease-out;
}

html[dir="rtl"] .theme-toggle-btn {
  padding: 0.24rem 0.34rem 0.24rem 0.78rem;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.theme-toggle-btn:active {
  scale: 0.97;
}

.theme-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--bg-subtle);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.theme-icon-circle svg {
  width: 14px;
  height: 14px;
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

/* Native Desktop-Crafted Header Download Button (No Neon Pill / No AI Shimmer) */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  height: 38px;
  padding-inline: 0.96rem;
  border-radius: 10px;
  background: #2563eb;
  border: 1px solid #1d4ed8;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(15, 23, 42, 0.14),
    0 2px 6px rgba(37, 99, 235, 0.18);
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, scale 120ms ease-out;
}

html[data-theme="dark"] .btn-header-cta {
  background: #2563eb;
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.42);
}

.btn-header-cta:hover {
  background: #1d4ed8;
  border-color: #1e40af;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 2px 4px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(29, 78, 216, 0.24);
  transform: translateY(-0.5px);
}

html[data-theme="dark"] .btn-header-cta:hover {
  background: #3b82f6;
  border-color: rgba(147, 197, 253, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(37, 99, 235, 0.32);
}

.btn-header-cta:active {
  transform: translateY(0);
  scale: 0.98;
}

.btn-header-cta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.96;
}

/* Mobile Menu Button & Drawer Backdrop */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ctrl-bg);
  border: 1px solid var(--ctrl-border);
  color: var(--ctrl-color);
  place-items: center;
  cursor: pointer;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(6, 14, 30, 0.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease-out, visibility 0s linear 0.18s;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease-out, visibility 0s;
}

/* ==========================================================================
   Buttons (Tactile Spring Feedback + Optical Depth)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  white-space: normal;
  text-align: center;
  max-inline-size: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), scale 140ms ease-out;
}

.btn svg {
  flex-shrink: 0;
}

.btn-header-cta {
  white-space: nowrap;
}

.btn:active {
  scale: 0.97;
}

.btn-lg {
  padding: 0.94rem 1.9rem;
  font-size: 1.04rem;
}

.btn-primary {
  background: #2563eb;
  border: 1px solid #1d4ed8;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 22px -4px rgba(37, 99, 235, 0.36);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  background: #1d4ed8;
  border-color: #1e40af;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px -4px rgba(29, 78, 216, 0.44);
}

.btn-secondary {
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(15, 31, 62, 0.72));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--brand-primary);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-glass);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glass-hover);
}

.btn-ghost {
  background: light-dark(rgba(255, 255, 255, 0.36), rgba(17, 36, 70, 0.36));
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* ==========================================================================
   Hero Section & Container-Aware Split Layout
   ========================================================================== */
.hero-section {
  padding-top: clamp(2.5rem, 5.5vw, 5rem);
  padding-bottom: clamp(3.5rem, 6.5vw, 5.5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.32fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: center;
}

.hero-content,
.hero-visual-wrap {
  min-inline-size: 0;
}

.hero-visual-wrap {
  container: app-shell / inline-size;
}

.hero-title {
  font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.55rem);
  font-weight: 900;
  line-height: 1.16;
  text-wrap: balance;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1rem, 0.88rem + 0.5vw, 1.18rem);
  color: var(--text-secondary);
  margin-bottom: 1.85rem;
  max-width: 60ch;
  text-wrap: pretty;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.hero-meta-notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Authentic V2 Interactive 3-Pane Super Cleaner C Window Replica
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scc-v2-window {
  --scc-bg: #f8fafc;
  --scc-surface: #ffffff;
  --scc-sidebar-bg: #f8fafc;
  --scc-border: #e2e8f0;
  --scc-border-soft: #f1f5f9;
  --scc-text: #0f172a;
  --scc-sub: #64748b;
  --scc-muted: #94a3b8;
  --scc-hover: #f1f5f9;
  --scc-active-bg: #eff6ff;
  --scc-active-fg: #1d4ed8;
  --scc-blue: #2563eb;
  --scc-blue-hover: #1d4ed8;
  --scc-size-fg: #3b82f6;
  --scc-warn: #d97706;
  --scc-green: #16a34a;
  --scc-pro-bg: #dcfce7;
  --scc-pro-fg: #15803d;
  --scc-ctrl-bg: #f8fafc;
  --scc-ctrl-border: #e2e8f0;
  --scc-table-head: #f8fafc;

  direction: ltr;
  text-align: left;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--scc-surface);
  color: var(--scc-text);
  border: 1px solid var(--scc-border);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  box-shadow:
    0 24px 54px -14px rgba(15, 23, 42, 0.16),
    0 4px 16px rgba(15, 23, 42, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scc-v2-window[data-app-theme="dark"] {
  --scc-bg: #0b1526;
  --scc-surface: #0f1d35;
  --scc-sidebar-bg: #0a1425;
  --scc-border: rgba(148, 163, 184, 0.18);
  --scc-border-soft: rgba(148, 163, 184, 0.1);
  --scc-text: #f1f5f9;
  --scc-sub: #94a3b8;
  --scc-muted: #64748b;
  --scc-hover: rgba(37, 99, 235, 0.12);
  --scc-active-bg: rgba(37, 99, 235, 0.22);
  --scc-active-fg: #60a5fa;
  --scc-blue: #2563eb;
  --scc-blue-hover: #3b82f6;
  --scc-size-fg: #60a5fa;
  --scc-warn: #f59e0b;
  --scc-green: #4ade80;
  --scc-pro-bg: rgba(22, 101, 52, 0.42);
  --scc-pro-fg: #4ade80;
  --scc-ctrl-bg: #152644;
  --scc-ctrl-border: rgba(148, 163, 184, 0.22);
  --scc-table-head: #11213c;

  box-shadow:
    0 26px 60px -12px rgba(2, 6, 23, 0.72),
    0 0 0 1px rgba(148, 163, 184, 0.14);
}

/* Topbar */
.scc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.52rem 0.75rem;
  background: var(--scc-surface);
  border-bottom: 1px solid var(--scc-border);
}

.scc-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.scc-topbar-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.scc-topbar-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--scc-text);
  letter-spacing: -0.01em;
}

.scc-topbar-title b {
  color: var(--scc-blue);
  font-weight: 800;
}

.scc-topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.scc-pill-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: 24px;
  padding: 0 0.5rem;
  border-radius: 6px;
  background: var(--scc-pro-bg);
  color: var(--scc-pro-fg);
  font-size: 0.64rem;
  font-weight: 700;
}

.scc-pro-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Topbar & Desktop Window Micro-Control Reset (Overrides Global Page Button Floor) */
.scc-v2-window button {
  min-block-size: 0;
  min-inline-size: 0;
  line-height: 1;
}

.scc-autoclean-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  height: 24px;
  padding: 0 0.36rem 0 0.5rem;
  border-radius: 6px;
  background: var(--scc-ctrl-bg);
  border: 1px solid var(--scc-ctrl-border);
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--scc-sub);
}

.scc-switch {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 15px;
  min-block-size: 0;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.18s ease;
  flex-shrink: 0;
}

.scc-v2-window[data-app-theme="dark"] .scc-switch {
  background: #334155;
}

.scc-switch[aria-checked="true"] {
  background: var(--scc-blue);
}

.scc-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.24);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.scc-switch[aria-checked="true"] .scc-switch-thumb {
  transform: translateX(13px);
}

.scc-gear-btn {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--scc-sub);
  cursor: pointer;
}

.scc-gear-btn:hover {
  color: var(--scc-blue);
}

.scc-gear-btn svg {
  width: 11px;
  height: 11px;
}

.scc-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  height: 24px;
  padding: 0 0.48rem;
  border-radius: 6px;
  background: var(--scc-ctrl-bg);
  border: 1px solid var(--scc-ctrl-border);
  color: var(--scc-text);
  font-size: 0.63rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.scc-top-btn:hover {
  border-color: var(--scc-blue);
  color: var(--scc-blue);
}

.scc-top-btn svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.scc-support-link {
  color: var(--scc-blue);
}

.scc-icon-sun {
  display: none;
}

.scc-v2-window[data-app-theme="dark"] .scc-icon-moon {
  display: none;
}

.scc-v2-window[data-app-theme="dark"] .scc-icon-sun {
  display: block;
}

/* 3-Column Interior Split */
.scc-body-grid {
  display: grid;
  grid-template-columns: 136px 194px minmax(0, 1fr);
  height: 432px;
  background: var(--scc-bg);
}

/* Column 1: Sidebar */
.scc-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--scc-sidebar-bg);
  border-right: 1px solid var(--scc-border);
  min-inline-size: 0;
  overflow: hidden;
}

.scc-nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.35rem 0.28rem;
  scrollbar-width: thin;
}

.scc-nav-group {
  margin-bottom: 0.22rem;
}

.scc-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.22rem 0.38rem;
  border: none;
  background: transparent;
  color: var(--scc-muted);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.scc-caret {
  font-size: 0.6rem;
  transition: transform 0.18s ease;
}

.scc-group-toggle[aria-expanded="false"] .scc-caret {
  transform: rotate(-90deg);
}

.scc-nav-group.is-collapsed .scc-group-items {
  display: none;
}

.scc-group-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.scc-nav-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.28rem 0.4rem 0.28rem 0.52rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--scc-sub);
  font-size: 0.62rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.scc-nav-item:hover {
  background: var(--scc-hover);
  color: var(--scc-text);
}

.scc-nav-item.active {
  background: var(--scc-active-bg);
  color: var(--scc-active-fg);
  font-weight: 600;
}

.scc-nav-item.active::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  bottom: 5px;
  width: 2.5px;
  border-radius: 2px;
  background: var(--scc-blue);
}

.scc-nav-item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Pinned Hardware Specs Box */
.scc-hw-box {
  padding: 0.42rem 0.48rem;
  border-top: 1px solid var(--scc-border);
  background: var(--scc-surface);
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.scc-hw-heading {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--scc-muted);
  margin-bottom: 0.08rem;
}

.scc-hw-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 0.22rem;
  font-size: 0.54rem;
  line-height: 1.25;
}

.scc-hw-row span {
  color: var(--scc-muted);
  font-weight: 600;
}

.scc-hw-row strong {
  color: var(--scc-text);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scc-hw-row strong.hw-gpu {
  color: var(--scc-blue);
}

.scc-hw-row strong.hw-disk {
  color: var(--scc-green);
}

/* Column 2: Categories List */
.scc-cats-pane {
  display: flex;
  flex-direction: column;
  background: var(--scc-surface);
  border-right: 1px solid var(--scc-border);
  min-inline-size: 0;
  overflow: hidden;
}

.scc-cats-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.3rem;
  padding: 0.52rem 0.55rem 0.42rem;
  border-bottom: 1px solid var(--scc-border-soft);
}

.scc-cats-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--scc-text);
  line-height: 1.15;
}

.scc-cats-sub {
  font-size: 0.54rem;
  color: var(--scc-muted);
  margin-top: 1px;
}

.scc-cats-btns {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.scc-mini-btn {
  height: 20px;
  padding: 0 0.4rem;
  border-radius: 5px;
  border: 1px solid var(--scc-ctrl-border);
  background: var(--scc-ctrl-bg);
  color: var(--scc-text);
  font-size: 0.58rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease;
}

.scc-mini-btn:hover {
  border-color: var(--scc-blue);
  color: var(--scc-blue);
}

.scc-cat-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}

.scc-cat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.4rem 0.34rem 0.48rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.scc-cat-row:hover {
  background: var(--scc-hover);
}

.scc-cat-row.is-selected {
  background: var(--scc-active-bg);
}

.scc-cat-row.is-selected::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  bottom: 6px;
  width: 2.5px;
  border-radius: 2px;
  background: var(--scc-blue);
}

.scc-chk-btn {
  width: 14px;
  height: 14px;
  min-block-size: 0;
  min-inline-size: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 3.5px;
  border: 1.5px solid #cbd5e1;
  background: var(--scc-surface);
  color: transparent;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.scc-v2-window[data-app-theme="dark"] .scc-chk-btn {
  border-color: #475569;
}

.scc-chk-btn[aria-checked="true"] {
  background: var(--scc-blue);
  border-color: var(--scc-blue);
  color: #ffffff;
}

.scc-chk-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--scc-ctrl-bg);
}

.scc-chk-btn svg {
  width: 9px;
  height: 9px;
  display: block;
}

.scc-cat-ico {
  width: 14px;
  height: 14px;
  color: var(--scc-sub);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.scc-cat-row.is-selected .scc-cat-ico {
  color: var(--scc-blue);
}

.scc-cat-ico svg {
  width: 13px;
  height: 13px;
}

.scc-cat-txt {
  flex: 1;
  min-inline-size: 0;
}

.scc-cat-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--scc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.scc-cat-hint {
  font-size: 0.52rem;
  color: var(--scc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.scc-cat-right {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.scc-warn-tri {
  width: 11px;
  height: 11px;
  color: var(--scc-warn);
  flex-shrink: 0;
}

.scc-cat-sz {
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--scc-sub);
  white-space: nowrap;
}

/* Column 3: Right Detail & Item Inspection */
.scc-detail-pane {
  display: flex;
  flex-direction: column;
  background: var(--scc-surface);
  padding: 0.6rem 0.72rem 0.55rem;
  min-inline-size: 0;
  overflow: hidden;
  gap: 0.45rem;
}

.scc-detail-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.scc-detail-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--scc-text);
  letter-spacing: -0.01em;
}

.scc-detail-desc {
  font-size: 0.58rem;
  line-height: 1.38;
  color: var(--scc-sub);
  margin: 0.18rem 0 0;
}

/* Sticky-Header Data Table (responsive-table pattern) */
.scc-table-wrap {
  flex: 1;
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  border: 1px solid var(--scc-border);
  border-radius: 8px;
  background: var(--scc-surface);
  scrollbar-width: thin;
}

.scc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.58rem;
}

.scc-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--scc-table-head);
}

.scc-table th {
  padding: 0.34rem 0.45rem;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--scc-sub);
  border-bottom: 1px solid var(--scc-border);
  text-align: left;
  background: var(--scc-table-head);
}

.scc-table .scc-col-chk {
  width: 24px;
  padding-right: 0.15rem;
}

.scc-table td {
  padding: 0.36rem 0.45rem;
  border-bottom: 1px solid var(--scc-border-soft);
  vertical-align: middle;
}

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

.scc-table tr.is-locked {
  opacity: 0.68;
}

.scc-item-main {
  font-weight: 600;
  color: var(--scc-text);
  line-height: 1.2;
}

.scc-item-sub {
  font-size: 0.5rem;
  color: var(--scc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
  line-height: 1.25;
}

.scc-td-size {
  color: var(--scc-size-fg);
  font-weight: 600;
  white-space: nowrap;
}

.scc-td-status {
  color: var(--scc-sub);
  font-size: 0.54rem;
  white-space: nowrap;
}

.scc-td-status.is-ready {
  color: var(--scc-green);
  font-weight: 600;
}

@container (width < 290px) {
  .scc-table th:nth-child(4),
  .scc-table td:nth-child(4) {
    display: none;
  }
}

/* Bottom Floating Action Card */
.scc-bottom-card {
  border: 1px solid var(--scc-border);
  border-radius: 10px;
  background: var(--scc-ctrl-bg);
  padding: 0.46rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scc-progress-line {
  height: 4px;
  border-radius: 999px;
  background: var(--scc-border);
  overflow: hidden;
}

.scc-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--scc-blue);
  transition: width 0.32s ease;
}

.scc-progress-fill.is-half {
  width: 54%;
}

.scc-progress-fill.is-done {
  width: 100%;
}

.scc-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.scc-reclaim-info {
  min-inline-size: 0;
  flex: 1;
}

.scc-reclaim-main {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--scc-text);
}

.scc-nav-scroll,
.scc-cat-list,
.scc-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.38) transparent;
}

.scc-nav-scroll::-webkit-scrollbar,
.scc-cat-list::-webkit-scrollbar,
.scc-table-wrap::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.scc-nav-scroll::-webkit-scrollbar-track,
.scc-cat-list::-webkit-scrollbar-track,
.scc-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.scc-nav-scroll::-webkit-scrollbar-thumb,
.scc-cat-list::-webkit-scrollbar-thumb,
.scc-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.38);
  border-radius: 999px;
}

.scc-reclaim-main strong {
  color: var(--scc-blue);
  font-weight: 800;
  margin-left: 0.18rem;
  white-space: nowrap;
}

.scc-reclaim-sub {
  font-size: 0.52rem;
  color: var(--scc-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.scc-bottom-btns {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  flex-shrink: 0;
}

.scc-btn-outline {
  height: 26px;
  padding: 0 0.58rem;
  border-radius: 6px;
  border: 1px solid var(--scc-ctrl-border);
  background: var(--scc-surface);
  color: var(--scc-text);
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.14s ease, color 0.14s ease, scale 120ms ease-out;
}

.scc-btn-outline:hover {
  border-color: var(--scc-blue);
  color: var(--scc-blue);
}

.scc-btn-clean {
  height: 26px;
  padding: 0 0.72rem;
  border-radius: 6px;
  border: 1px solid var(--scc-blue-hover);
  background: var(--scc-blue);
  color: #ffffff;
  font-size: 0.61rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 6px rgba(37, 99, 235, 0.24);
  transition: background-color 0.14s ease, scale 120ms ease-out;
}

.scc-btn-clean:hover {
  background: var(--scc-blue-hover);
}

.scc-btn-clean:active,
.scc-btn-outline:active {
  scale: 0.97;
}

/* Container Responsive Adaptation for V2 3-Pane Window */
@container app-shell (inline-size < 650px) {
  .scc-body-grid {
    grid-template-columns: 182px minmax(0, 1fr);
    height: auto;
  }

  .scc-sidebar {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid var(--scc-border);
  }

  .scc-nav-scroll {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.38rem 0.5rem;
  }

  .scc-nav-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0;
  }

  .scc-group-toggle {
    display: none;
  }

  .scc-nav-group.is-collapsed .scc-group-items,
  .scc-group-items {
    display: flex;
    flex-direction: row;
    gap: 0.22rem;
  }

  .scc-hw-box {
    display: none;
  }

  .scc-cats-pane,
  .scc-detail-pane {
    max-height: 390px;
  }
}

@container app-shell (inline-size < 470px) {
  .scc-body-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scc-cats-pane {
    border-right: none;
    border-bottom: 1px solid var(--scc-border);
    max-height: 185px;
  }

  .scc-detail-pane {
    max-height: none;
  }

  .scc-table-wrap {
    max-height: 175px;
  }

  .scc-bottom-btns {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Legacy Simulator Helpers (Preserved Progress Utility Classes)
   ========================================================================== */
.product-window {
  width: 100%;
}

.app-topbar {
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(14, 30, 60, 0.78));
  border-bottom: 1px solid light-dark(rgba(203, 213, 225, 0.7), rgba(56, 189, 248, 0.20));
  padding: 0.68rem 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.app-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-inline-size: 0;
}

.app-topbar-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.app-topbar-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-inline-size: 0;
}

.app-topbar-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: light-dark(#0f172a, #f8fafc);
}

.app-topbar-name span {
  color: var(--brand-primary);
}

.app-topbar-sub {
  font-size: 0.64rem;
  font-weight: 600;
  color: light-dark(#64748b, #94a3b8);
}

.app-topbar-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.app-badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: light-dark(rgba(220, 252, 231, 0.9), rgba(22, 101, 52, 0.45));
  color: light-dark(#166534, #4ade80);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.24rem 0.56rem;
  border-radius: 7px;
  min-block-size: auto;
}

.app-badge-pro-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
}

.app-badge-autoclean {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: light-dark(rgba(241, 245, 249, 0.85), rgba(22, 42, 76, 0.85));
  border: 1px solid light-dark(#cbd5e1, rgba(56, 189, 248, 0.24));
  color: light-dark(#0f172a, #e2e8f0);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.56rem;
  border-radius: 7px;
  cursor: pointer;
  min-block-size: 28px;
  transition: border-color 0.2s ease, scale 140ms ease-out;
}

.app-badge-autoclean:hover {
  border-color: var(--brand-primary);
}

.app-badge-autoclean:active {
  scale: 0.96;
}

.app-check-mini {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #2563eb;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 900;
  transition: background-color 0.2s ease;
}

.app-badge-autoclean[aria-pressed="false"] .app-check-mini {
  background: light-dark(#cbd5e1, #334155);
  color: transparent;
}

/* Interior Split: Interactive Sidebar + Workspace */
.app-body-grid {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 365px;
}

.app-sidebar {
  min-inline-size: 0;
  background: light-dark(rgba(241, 245, 249, 0.66), rgba(9, 20, 42, 0.72));
  border-right: 1px solid light-dark(rgba(203, 213, 225, 0.7), rgba(56, 189, 248, 0.16));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.55rem 0.45rem 0;
}

.app-nav-groups {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.app-group-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.32rem 0.45rem 0.12rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: light-dark(#475569, #94a3b8);
}

.app-nav-pill {
  padding: 0.34rem 0.58rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  color: light-dark(#334155, #cbd5e1);
  cursor: pointer;
  min-block-size: 28px;
  transition: background-color 0.2s ease, color 0.2s ease, scale 140ms ease-out;
}

.app-nav-pill:hover {
  background: light-dark(rgba(255, 255, 255, 0.75), rgba(37, 99, 235, 0.18));
  color: var(--brand-primary);
}

.app-nav-pill.active {
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.34);
}

.app-hw-box {
  margin-inline: -0.45rem;
  margin-top: 0.55rem;
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(14, 29, 58, 0.78));
  border-top: 1px solid light-dark(rgba(203, 213, 225, 0.7), rgba(56, 189, 248, 0.16));
  padding: 0.5rem 0.62rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.app-hw-title {
  font-size: 0.58rem;
  font-weight: 800;
  color: light-dark(#64748b, #7c96b8);
  letter-spacing: 0.05em;
  margin-bottom: 0.08rem;
}

.app-hw-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  white-space: nowrap;
}

.app-hw-key {
  width: 28px;
  font-weight: 700;
  color: light-dark(#64748b, #94a3b8);
}

.app-hw-val {
  font-weight: 700;
  color: light-dark(#0f172a, #e2e8f0);
}

.app-hw-val.gpu {
  color: var(--brand-primary);
}

.app-hw-val.disk {
  color: var(--brand-secondary);
}

/* Right Workspace */
.app-workspace {
  min-inline-size: 0;
  padding: 0.68rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  background: light-dark(rgba(248, 251, 255, 0.45), rgba(6, 15, 32, 0.55));
}

.app-ws-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-inline: 0.15rem;
  margin-bottom: 0.42rem;
}

.app-ws-title {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: light-dark(#475569, #94a3b8);
}

.app-ws-mini-btns {
  display: flex;
  gap: 0.3rem;
}

.app-mini-btn {
  padding: 0.14rem 0.5rem;
  border-radius: 6px;
  font-size: 0.64rem;
  font-weight: 700;
  background: light-dark(rgba(255, 255, 255, 0.85), rgba(21, 40, 76, 0.85));
  border: 1px solid light-dark(#cbd5e1, rgba(56, 189, 248, 0.24));
  color: light-dark(#334155, #e2e8f0);
  cursor: pointer;
  min-block-size: 24px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.app-mini-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.app-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.app-cat-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(14, 30, 60, 0.72));
  border: 1px solid light-dark(rgba(226, 232, 240, 0.9), rgba(56, 189, 248, 0.18));
  border-radius: 10px;
  padding: 0.45rem 0.58rem;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-block-size: 46px;
  transition: border-color 0.2s ease, background-color 0.2s ease, scale 140ms ease-out;
}

.app-cat-card:hover {
  border-color: var(--brand-primary);
}

.app-cat-card:active {
  scale: 0.99;
}

.app-cat-card.selected {
  background: light-dark(rgba(239, 246, 255, 0.92), rgba(37, 99, 235, 0.24));
  border: 1.5px solid #2563eb;
}

.app-cat-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: light-dark(#e2e8f0, #1e3a5f);
  color: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.app-cat-card.selected .app-cat-check {
  background: #2563eb;
  color: #ffffff;
}

.app-cat-check svg {
  width: 11px;
  height: 11px;
}

.app-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: light-dark(#eff6ff, rgba(56, 189, 248, 0.16));
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.app-cat-icon svg {
  width: 14px;
  height: 14px;
}

.app-cat-info {
  flex: 1;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
}

.app-cat-name {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  color: light-dark(#0f172a, #f8fafc);
  unicode-bidi: plaintext;
  text-align: left;
  overflow-wrap: anywhere;
}

.app-cat-desc {
  font-size: 0.62rem;
  line-height: 1.25;
  color: light-dark(#526e91, #94a3b8);
  margin-top: 0.08rem;
  overflow-wrap: anywhere;
}

.app-cat-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.app-cat-count {
  background: light-dark(#f1f5f9, #162847);
  border: 1px solid light-dark(#e2e8f0, rgba(56, 189, 248, 0.22));
  color: light-dark(#334155, #cbd5e1);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
}

.app-cat-size {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-top: 2px;
}

.app-progress-box {
  background: light-dark(rgba(255, 255, 255, 0.8), rgba(14, 30, 60, 0.74));
  border: 1px solid light-dark(rgba(226, 232, 240, 0.9), rgba(56, 189, 248, 0.18));
  border-radius: 9px;
  padding: 0.42rem 0.65rem;
}

.app-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
  color: light-dark(#334155, #cbd5e1);
}

#winStatusText,
.app-reclaim-label {
  unicode-bidi: plaintext;
}

.app-scan-pct {
  color: var(--brand-primary);
  font-weight: 800;
}

.mini-progress-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  overflow: hidden;
}

.mini-progress-bar {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  transition: width 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-w100 { width: 100%; }
.fill-w97 { width: 97%; }
.fill-w96 { width: 96%; }
.fill-w95 { width: 95%; }
.fill-w92 { width: 92%; }
.fill-w90 { width: 90%; }
.fill-w88 { width: 88%; }
.fill-w82 { width: 82%; }
.fill-w74 { width: 74%; }
.fill-w43 { width: 43%; }
.fill-w31 { width: 31%; }
.fill-w26 { width: 26%; }

.app-action-bar {
  background: light-dark(rgba(255, 255, 255, 0.84), rgba(14, 30, 58, 0.82));
  border: 1px solid light-dark(rgba(203, 213, 225, 0.85), rgba(56, 189, 248, 0.22));
  border-radius: 10px;
  padding: 0.5rem 0.68rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.app-reclaim-summary {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-reclaim-label {
  font-size: 0.64rem;
  font-weight: 600;
  color: light-dark(#526e91, #94a3b8);
}

.app-reclaim-total {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--brand-primary);
}

.app-action-btns {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-btn-secondary {
  padding: 0.36rem 0.62rem;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  background: light-dark(#f8fafc, #162847);
  border: 1px solid light-dark(#cbd5e1, rgba(56, 189, 248, 0.25));
  color: light-dark(#1e293b, #e2e8f0);
  cursor: pointer;
  min-block-size: 30px;
  transition: border-color 0.2s ease, color 0.2s ease, scale 140ms ease-out;
}

.app-btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.app-btn-clean {
  padding: 0.4rem 0.82rem;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-block-size: 30px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, scale 140ms ease-out;
}

.app-btn-clean:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.52);
}

.app-btn-clean:active,
.app-btn-secondary:active {
  scale: 0.96;
}

/* Container Query Adaptation for App Window */
@container app-shell (inline-size < 470px) {
  .app-topbar-sub {
    display: none;
  }

  .app-body-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .app-sidebar {
    border-right: none;
    border-bottom: 1px solid light-dark(rgba(203, 213, 225, 0.7), rgba(56, 189, 248, 0.16));
    padding: 0.5rem 0.65rem 0;
  }

  .app-group-hdr {
    display: none;
  }

  .app-nav-groups {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.28rem;
  }

  .app-nav-pill {
    width: auto;
    font-size: 0.65rem;
    padding: 0.26rem 0.52rem;
  }

  .app-hw-box {
    margin-inline: -0.65rem;
    margin-top: 0.45rem;
    padding: 0.45rem 0.65rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 0.5rem;
  }

  .app-hw-title {
    grid-column: 1 / -1;
  }

  .app-hw-row {
    font-size: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .app-action-btns {
    width: 100%;
    justify-content: space-between;
  }

  .app-btn-clean {
    flex: 1;
    justify-content: center;
  }
}

/* ==========================================================================
   Stats & Trust Strip
   ========================================================================== */
.stats-strip {
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.85rem;
}

.stat-item {
  text-align: center;
  padding-inline: 0.7rem;
  border-inline-end: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-inline-end: none;
}

.stat-number {
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.35rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  margin-bottom: 0.25rem;
  direction: ltr;
  unicode-bidi: isolate;
}

:root[data-theme="dark"] .stat-number,
:root:has(> head > meta[name="color-scheme"][content="dark"]) .stat-number {
  background: linear-gradient(135deg var(--in-oklab), #93c5fd 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   Features Liquid Glass Bento Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.65rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass-hover);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  box-shadow: 0 8px 20px var(--brand-glow);
}

.feature-icon-box svg {
  width: 25px;
  height: 25px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-wrap: balance;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
  text-wrap: pretty;
  flex-grow: 1;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--brand-primary);
}

/* ==========================================================================
   4-Suites Interactive Showcase Tabs (Container-Aware)
   ========================================================================== */
.suites-tabs-wrapper {
  container: suites-box / inline-size;
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3.5vw, 2.65rem);
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  background: var(--bg-glass-inset);
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 0.9rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), scale 140ms ease-out;
}

.tab-btn:active {
  scale: 0.97;
}

.tab-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.tab-btn[aria-selected="true"] {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.36);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.suite-info-title {
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
  font-weight: 800;
  text-wrap: balance;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.suite-info-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  text-wrap: pretty;
}

.suite-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.suite-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-wrap: pretty;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

.suite-visual-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.visual-bar-item {
  background: light-dark(rgba(255, 255, 255, 0.85), rgba(14, 29, 58, 0.82));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.88rem 1.05rem;
}

.visual-bar-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.visual-bar-badge {
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
  flex-shrink: 0;
}

@container suites-box (inline-size < 740px) {
  .tabs-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tab-panel-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container suites-box (inline-size < 460px) {
  .tabs-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   OS-Calibrated Resource Estimator (Container-Aware Liquid Glass)
   ========================================================================== */
.estimator-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.1rem, 3.8vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.15rem);
  align-items: stretch;
}

.estimator-controls-col {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.est-step-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.os-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.os-btn {
  padding: 0.82rem 0.92rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: light-dark(rgba(255, 255, 255, 0.82), rgba(14, 29, 58, 0.78));
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  text-align: start;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), scale 140ms ease-out;
}

.os-btn:hover {
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.os-btn:active {
  scale: 0.98;
}

.os-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.os-btn-icon svg {
  width: 20px;
  height: 20px;
}

.os-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-inline-size: 0;
  flex: 1;
}

.os-btn-title {
  font-size: 0.92rem;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
}

.os-btn-sub {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
  direction: ltr;
  unicode-bidi: isolate;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.os-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
}

.os-btn.active .os-btn-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.os-btn.active .os-btn-sub {
  color: rgba(255, 255, 255, 0.88);
}

.profile-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 1.4rem;
}

.profile-btn {
  padding: 0.82rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: light-dark(rgba(255, 255, 255, 0.82), rgba(14, 29, 58, 0.78));
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: start;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), scale 140ms ease-out;
}

.profile-btn:hover {
  border-color: var(--brand-primary);
}

.profile-btn:active {
  scale: 0.98;
}

.profile-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
}

.slider-group {
  margin-top: 0.2rem;
}

.slider-label-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.slider-value-pill {
  color: var(--brand-primary);
  font-weight: 900;
}

.range-slider {
  width: 100%;
  height: 10px;
  cursor: pointer;
}

.estimator-results {
  min-inline-size: 0;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.65rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.est-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.est-results-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-primary);
}

.est-os-badge {
  padding: 0.26rem 0.76rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--brand-primary);
  font-size: 0.76rem;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
}

.result-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  text-align: center;
}

.result-box {
  background: light-dark(rgba(255, 255, 255, 0.82), rgba(14, 29, 58, 0.78));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.6rem;
}

.result-value {
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1.15;
  direction: ltr;
  unicode-bidi: isolate;
}

.result-caption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.est-breakdown-box {
  background: light-dark(rgba(255, 255, 255, 0.76), rgba(12, 26, 52, 0.72));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.88rem 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.est-breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.est-breakdown-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.est-breakdown-label {
  min-inline-size: 0;
  overflow-wrap: break-word;
}

.est-breakdown-val {
  color: var(--brand-primary);
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
  flex-shrink: 0;
}

.est-mini-track {
  height: 5px;
  border-radius: 99px;
  background: light-dark(#dbeafe, rgba(56, 189, 248, 0.16));
  overflow: hidden;
}

.est-mini-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--gradient-brand);
  transition: width 0.35s ease;
}

.est-os-diagnostic-note {
  background: light-dark(rgba(239, 246, 255, 0.85), rgba(37, 99, 235, 0.14));
  border-inline-start: 3px solid var(--brand-primary);
  border-radius: 7px;
  padding: 0.68rem 0.85rem;
}

.est-os-diagnostic-note p {
  font-size: 0.79rem;
  line-height: 1.58;
  color: var(--text-secondary);
  text-wrap: pretty;
}

@container page-sec (inline-size < 880px) {
  .estimator-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container page-sec (inline-size < 520px) {
  .os-selector-grid,
  .profile-buttons,
  .result-highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Safety, Compliance & VirusTotal Verification
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.safety-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass-hover);
}

.safety-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.safety-icon svg {
  width: 24px;
  height: 24px;
}

.safety-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.38rem;
}

.safety-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.virustotal-banner {
  margin-top: 1.85rem;
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3.2vw, 1.85rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.vt-info {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-inline-size: 0;
}

.vt-shield {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.36);
}

.vt-shield svg {
  width: 29px;
  height: 29px;
}

/* ==========================================================================
   Commercial Editions (#pricing)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 1.85rem);
  max-width: 980px;
  margin-inline: auto;
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.65rem, 3.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass-hover);
}

.pricing-card.pro-featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-glass-hover);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  inset-inline-end: 26px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
  z-index: 3;
}

.plan-name {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.plan-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.plan-badge-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.65rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.plan-price-main {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--brand-primary);
}

.plan-price-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

@container page-sec (inline-size < 740px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   FAQ Accordion (<details> with smooth discrete entry)
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glass-hover);
}

.faq-question {
  padding: 1.2rem 1.45rem;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--brand-primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--brand-primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.45rem 1.3rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer {
    animation: tabFadeIn 0.25s ease;
  }
}

/* ==========================================================================
   Bottom CTA Banner & Liquid Glass Footer
   ========================================================================== */
.cta-banner {
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 3.85rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.42),
    0 25px 60px -12px rgba(29, 78, 216, 0.55);
}

.cta-banner h2 {
  font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.65rem);
  font-weight: 900;
  text-wrap: balance;
  margin-bottom: 0.85rem;
}

.cta-banner p {
  font-size: 1.06rem;
  opacity: 0.94;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1.85rem;
}

.btn-white {
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f0f7ff;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.52);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.75rem 2rem;
  background: light-dark(rgba(255, 255, 255, 0.72), rgba(8, 17, 34, 0.76));
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
}

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

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

/* ==========================================================================
   Scroll-Driven Reveal Animations (Always Ends at Full Opacity)
   ========================================================================== */
@keyframes revealEntry {
  from {
    opacity: 0.18;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: 0% 100%)) {
    .reveal-on-scroll {
      animation: revealEntry linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
  }
}

/* ==========================================================================
   Viewport Media Breakpoints (Complements Intrinsic Container Queries)
   ========================================================================== */
@media (max-width: 1120px) {
  .mobile-menu-btn {
    display: grid;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 1rem;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    background: var(--drawer-nav-bg);
    border: 1.5px solid var(--border-strong);
    box-shadow: var(--shadow-glass-hover);
    z-index: 1050;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.72rem 1rem;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .estimator-card {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .stat-item:nth-child(2) {
    border-inline-end: none;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
    --header-scrolled-h: 58px;
  }

  .header-inner {
    width: calc(100% - 1rem);
    gap: 0.4rem;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .lang-trigger-btn {
    height: 36px;
    padding-inline: 0.56rem;
    font-size: 0.76rem;
  }

  .btn-header-cta,
  #themeToggleLabel {
    display: none;
  }

  .theme-toggle-btn,
  html[dir="rtl"] .theme-toggle-btn {
    height: 36px;
    padding: 0.2rem;
  }

  .hero-section {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .hero-meta-notes {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
  }

  .features-grid,
  .safety-grid,
  .pricing-grid,
  .estimator-card,
  .os-selector-grid,
  .profile-buttons,
  .result-highlight-grid,
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .virustotal-banner .btn,
  .cta-banner-actions .btn {
    width: 100%;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .stat-item {
    border-inline-end: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.95rem;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .vt-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 0.32rem;
  }

  .lang-globe-icon,
  .lang-chevron-icon {
    display: none;
  }

  .lang-trigger-btn {
    padding-inline: 0.5rem;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
  }
}
