/* ==========================================================================
   CHARTS-PERFECT FOR INDESIGN — GRAPHIC DESIGNER & EDITORIAL TYPOGRAPHY SYSTEM
   Swiss Graphic Precision | Inter & JetBrains Mono | Micro-Spring Mechanics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  /* Light Theme (Permanent Default) */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --accent-adobe: #89c4c7;
  --accent-adobe-glow: rgba(137, 196, 199, 0.25);
  --accent-main-blue: #89c4c7;
  --accent-dark-blue: #5e9ea4;
  --accent-teal-deep: #5e9ea4;
  --accent-blue: #89c4c7;
  --accent-ice: #cbdce1;
  --accent-mist: #a9d2d4;
  --accent-marigold: #ffba00;
  --accent-amber: #ffba00;
  --accent-orange: #ff9500;
  --accent-green: #629da3;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-strong: rgba(15, 23, 42, 0.3);
  --border-accent: rgba(137, 196, 199, 0.4);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.08);

  --transition-fast: 120ms cubic-bezier(0.2, 0, 0, 1);
  --transition-spring: 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
}

/* Tabular Numerals Enforcement */
.tabular-nums, .metric-badge, .spec-value, .coordinate-text, .mono-data {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
}

/* Selection */
::selection {
  background: var(--accent-adobe);
  color: #ffffff;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   TYPOGRAPHY HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
  max-width: 760px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mono-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-dark-blue);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.mono-tag.no-bullet::before {
  display: none !important;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRID SYSTEM
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.grid-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  z-index: 0;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.75rem;
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--accent-dark-blue);
  background: transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-social-btn:hover {
  color: var(--accent-marigold);
  background: rgba(255, 186, 0, 0.12);
  transform: translateY(-1px);
}

/* SLIM FOOTER LANGUAGE SELECTOR DROPDOWN */
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-surface-elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.35rem 2rem 0.35rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.footer-lang-select:hover,
.footer-lang-select:focus {
  border-color: var(--accent-dark-blue);
  color: var(--text-main);
  background-color: var(--bg-surface);
}

/* HAMBURGER TOGGLE BUTTON & RESPONSIVE MOBILE MENU */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1001;
}

.nav-toggle:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-dark-blue);
  color: var(--accent-dark-blue);
}

.hamburger-icon line {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  transform-origin: center;
}

.nav-toggle.is-active .line-top {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .line-mid {
  opacity: 0;
}

.nav-toggle.is-active .line-bot {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-divider {
  display: none;
}

.mobile-social-label {
  display: none;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1.5px solid var(--border-medium);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms ease;
    z-index: 999;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    gap: 0.35rem;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    text-align: right;
    width: auto;
  }

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

  .nav-dropdown-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-dropdown-wrapper > a.nav-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .nav-dropdown-wrapper > a.nav-link .dropdown-chevron {
    margin-right: 0;
  }

  /* Crisp, instant inline expansion on mobile - zero hover jumping or sluggish reflow */
  .nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    transform: none !important;
    display: none;
    box-shadow: none;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    padding: 0.5rem 0.35rem;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    width: 100%;
    max-width: 320px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: none;
    transition: none;
  }

  /* Expansion happens strictly when JS toggles .is-open (NO :hover rule on mobile) */
  .nav-dropdown-wrapper.is-open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .dropdown-item {
    justify-content: flex-start;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
  }

  .mobile-nav-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-medium);
    margin: 0.35rem 0;
  }

  .nav-header-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-left: 0;
    padding-top: 0.25rem;
  }

  .nav-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 1;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    color: var(--accent-dark-blue);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
  }

  .nav-social-btn:hover {
    background: var(--bg-surface);
    border-color: var(--accent-marigold);
    color: var(--accent-marigold);
  }

  .mobile-social-label {
    display: inline;
  }
}

.nav-update-badge .update-lbl {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(94, 158, 164, 0.15);
  color: var(--accent-dark-blue);
  border: 1px solid rgba(94, 158, 164, 0.35);
  letter-spacing: 0.01em;
}

.header-nav nav, .nav-container nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

a.nav-link, button.nav-link, .nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text-muted);
  line-height: 1;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  background: transparent;
  border: none;
  padding: 0.35rem 0.25rem;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.nav-link span.nav-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

/* Mouseover Hover & Active State - Zero Layout Shift */
.nav-link:hover {
  color: var(--text-main);
  background: transparent;
  border: none;
  transform: none;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--border-medium);
}

.nav-link:hover span.nav-num {
  color: var(--accent-dark-blue);
}

.nav-link.active {
  color: var(--text-main);
  background: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--accent-dark-blue);
  text-decoration-thickness: 2px;
}

.nav-link.active span.nav-num {
  color: var(--accent-dark-blue);
}

/* HEADER DROPDOWN MENU */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-wrapper > a.nav-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-chevron {
  transition: opacity var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  margin-left: 0.15rem;
  margin-top: 0;
  opacity: 0.75;
  flex-shrink: 0;
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.is-open .dropdown-chevron {
  opacity: 1;
  color: var(--accent-dark-blue);
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.35rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

/* Invisible hover bridge to eliminate gap between link and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  display: block;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.dropdown-item {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-dark-blue);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(137, 196, 199, 0.14);
  color: var(--text-main);
  font-weight: 600;
}

.dropdown-item:hover .dropdown-item-icon {
  color: var(--accent-main-blue);
  transform: scale(1.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE CONTROLS (Spring Mechanics & tactile feedback)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 120ms ease-out, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  user-select: none;
}

.btn:active {
  transform: scale(0.96); /* Exact scale on press principle */
}

.btn-primary {
  background: var(--accent-marigold);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 186, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  background: var(--accent-adobe);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(137, 196, 199, 0.45);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.btn-icon:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.indesign-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(94, 158, 164, 0.12);
  border: 1px solid rgba(94, 158, 164, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-dark-blue);
  font-weight: 700;
}

.indesign-badge svg {
  color: var(--accent-dark-blue);
  fill: currentColor;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 0.62em;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: -0.015em;
}

.hero-title span.accent-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-dark-blue);
  -webkit-text-fill-color: var(--accent-dark-blue);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-medium);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-item .val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-item .lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* ==========================================================================
   HERO INTERACTIVE VECTOR PREVIEW COMPONENT
   ========================================================================== */
.hero-preview-wrapper {
  position: relative;
  background: var(--bg-dark);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.preview-canvas-card {
  position: relative;
  background: var(--bg-dark);
  border-radius: 0;
  border: none;
  padding: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
}

.canvas-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  margin-top: 1.25rem;
  z-index: 2;
}

.canvas-toolbar::before {
  content: "";
  display: block;
  width: 70%;
  height: 1px;
  background: var(--border-medium);
  margin-bottom: 1.25rem;
}

.canvas-title-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.canvas-title {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.canvas-title b, .header-loader-widget b {
  font-weight: 800;
  color: var(--text-main);
}

.dimension-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(94, 158, 164, 0.12);
  color: var(--accent-dark-blue);
  border: 1px solid rgba(94, 158, 164, 0.3);
}

.hero-chart-select {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  cursor: pointer;
  outline: none;
  max-width: 130px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: border-color 150ms ease, background 150ms ease;
}

.hero-chart-select:hover {
  border-color: var(--accent-adobe);
  background: var(--bg-surface-hover);
}

.toggle-grid-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.toggle-grid-btn.active {
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.vector-chart-render {
  position: relative;
  width: 100%;
  height: 175px;
  margin-top: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
}

.canvas-footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 0.5rem;
  z-index: 2;
}

.svg-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 1;
  transition: opacity 220ms ease-in-out;
}

.svg-chart-svg.fade-out {
  opacity: 0;
}

/* Round Loader & BAHM Reveal Animations */
.timer-count-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-adobe);
  display: inline-block;
  min-width: 0.9em;
  text-align: center;
}

.round-spinner-arc {
  stroke-dasharray: 170, 70;
  transform-origin: 250px 104px;
  animation: roundSpin 1.1s linear infinite;
}

.round-spinner-pulse {
  transform-origin: 250px 104px;
  animation: pulseGlow 1.4s ease-in-out infinite;
}

@keyframes roundSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.92); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 1; }
}

.header-spinner-arc {
  stroke-dasharray: 72, 32;
  transform-origin: 27px 27px;
  animation: headerRoundSpin 1s linear infinite;
}

@keyframes headerRoundSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header-loader-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--text-main);
}

.chart-bahm-reveal {
  animation: bahmPop 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bahmPop {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  60% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   GRAPHIC DESIGNERS QUALITY MATRIX / FEATURES SECTION
   ========================================================================== */
section {
  scroll-margin-top: 90px;
}

.section-padding {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.section-header.header-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.header-split-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.header-split-shot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  cursor: default;
}

.header-split-shot:hover {
  transform: none;
}

.shot-card {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.header-split-shot:hover .shot-card {
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.shot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  background-color: transparent;
}

.shot-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-align: left;
  margin-top: 0.65rem;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
  width: 100%;
}

.editorial-experience-banner {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.experience-statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  letter-spacing: -0.02em;
  max-width: 980px;
}

.experience-statement b {
  font-weight: 800;
  color: var(--accent-dark-blue);
  text-decoration: underline;
  text-decoration-color: var(--accent-adobe);
  text-underline-offset: 4px;
}

.experience-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
  max-width: 820px;
}

@media (max-width: 992px) {
  .section-header.header-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-unboxed-text {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-medium);
  box-shadow: none;
  padding: 1.25rem 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-unboxed-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.experience-large-quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.experience-large-quote b {
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.experience-large-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
}

.feature-item-unboxed {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-medium);
  padding: 1.25rem 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 200ms ease;
}

.feature-item-unboxed:hover {
  border-top-color: var(--accent-adobe);
}

.feature-num-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-adobe);
  letter-spacing: 0.05em;
}

.feature-item-unboxed h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.feature-item-unboxed p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent-marigold);
  box-shadow: none;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-code-spec {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  margin-top: auto;
}

/* ==========================================================================
   CHART TYPE COLLECTION GALLERY (12 PRODUCTION + 5 ROADMAP)
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
}

.filter-btn.active {
  background: var(--accent-adobe);
  color: #ffffff;
  border-color: var(--accent-adobe);
}

.filter-btn.filter-btn-upcoming {
  border: 2px dotted var(--accent-marigold);
  color: #0f172a;
  background: transparent;
  font-weight: 700;
}

.filter-btn.filter-btn-upcoming:hover,
.filter-btn.filter-btn-upcoming.active {
  background: var(--accent-marigold);
  color: #0f172a;
  border: 2px dotted var(--accent-marigold);
  box-shadow: 0 2px 8px rgba(255, 186, 0, 0.35);
}

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

@media (max-width: 1100px) {
  .charts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease, box-shadow 200ms ease;
}

.chart-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.chart-card:hover .subpage-link {
  gap: 0.55rem;
  color: var(--accent-dark-blue);
}

.chart-card:active {
  transform: translateY(-2px) scale(0.985);
  box-shadow: var(--shadow-sm);
}

.chart-card.upcoming-card {
  cursor: default;
  border: 2px dotted var(--accent-marigold);
}

.chart-card.upcoming-card:hover {
  border: 2px dotted var(--accent-marigold);
  box-shadow: 0 4px 16px rgba(255, 186, 0, 0.25);
}

.chart-card.upcoming-card:active {
  transform: none;
}

.chart-card.upcoming-card .card-feature-pill {
  border: 1px dotted var(--accent-marigold);
}

.chart-card-preview {
  position: relative;
  width: 100%;
  height: 205px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.5rem;
  overflow: hidden;
}

.chart-card-preview svg {
  width: 98%;
  height: 98%;
  max-width: 100%;
  max-height: 100%;
  transition: transform var(--transition-spring);
}

.preview-hover-grid {
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

.chart-card:hover .preview-hover-grid {
  opacity: 0.85;
}

.chart-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.status-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
}

#hero-chart-label.status-badge {
  top: auto;
  bottom: 0.85rem;
  right: 1.25rem;
  z-index: 10;
}

.status-live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-roadmap {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.chart-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.chart-card-body h3,
.chart-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.chart-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-feature-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: -0.01em;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.chart-card:hover .card-feature-pill {
  border-color: var(--border-accent);
  color: var(--text-main);
}

.subpage-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.subpage-link:hover {
  gap: 0.5rem;
  color: var(--accent-dark-blue);
}

.subpage-hero {
  padding-top: 3.75rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--accent-dark-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-main);
  font-weight: 600;
}

.spec-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 992px) {
  .spec-grid-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SMOOTH SAMPLE DATA TABLE STYLING FOR SUBPAGES
   ========================================================================== */
.sample-data-table {
  width: 100%;
  max-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sample-data-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1.25rem;
  border-bottom: 1.5px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sample-data-table td {
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

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

.sample-data-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.012);
}

.sample-data-table td.num,
.sample-data-table th.num {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ==========================================================================
   SUBPAGE BOTTOM NAVIGATION
   ========================================================================== */
.subpage-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.subpage-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.subpage-nav-btn.back-btn {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
}

.subpage-nav-btn.back-btn:hover {
  color: var(--text-main);
  border-color: var(--border-accent);
}

.subpage-nav-btn.next-btn {
  background: var(--accent-adobe);
  color: #ffffff;
  border: 1px solid var(--accent-adobe);
  font-weight: 700;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(20, 115, 230, 0.25);
}

.subpage-nav-btn.next-btn:hover {
  background: var(--accent-dark-blue);
  border-color: var(--accent-dark-blue);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(20, 115, 230, 0.35);
}

.subpage-shot-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--accent-main-blue);
  color: #ffffff;
  border: 1px solid var(--accent-main-blue);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(94, 158, 164, 0.25);
  transition: all var(--transition-fast);
}

.subpage-shot-next-btn:hover {
  background: var(--accent-dark-blue);
  border-color: var(--accent-dark-blue);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(94, 158, 164, 0.35);
}

/* ==========================================================================
   ROADMAP LAB SPECIFICATION & SAMPLE CSV VIEWER
   ========================================================================== */
.roadmap-lab-section {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  padding: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .roadmap-lab-section {
    padding: 1.5rem;
  }
}

.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.lab-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .lab-specs-grid {
    grid-template-columns: 1fr;
  }
}

.lab-spec-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.csv-snippet-box {
  background: #050608;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a7f3d0;
  overflow-x: auto;
  white-space: pre;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }
}

.footer-brand {
  max-width: 440px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.85rem;
  max-width: 400px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 440px;
}

.footer-social-headline {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.5;
}

.footer-social-headline b, .footer-social-headline strong {
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-social-links a.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--accent-dark-blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-links a.social-btn:hover {
  color: var(--accent-marigold);
  border-color: var(--accent-marigold);
  background: rgba(255, 186, 0, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(255, 186, 0, 0.15);
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-legal-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-legal-nav a:hover {
  color: var(--accent-adobe);
}

/* ==========================================================================
   LABORATORY POPOVER MODAL (Neat rounded corners, soft shadow, backdrop blur)
   ========================================================================== */
.lab-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 10, 15, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.lab-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lab-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.5), 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 840px;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: transform 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lab-modal-overlay.hidden .lab-modal-card {
  transform: scale(0.94);
}

.lab-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-glass);
}

.lab-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease;
}

.lab-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  transform: scale(1.05);
}

.lab-modal-body {
  padding: 1.5rem 1.75rem;
  max-height: 75vh;
  overflow-y: auto;
}

/* ==========================================================================
   LABORATORY INTERACTIVE STUDIO STYLES
   ========================================================================== */
.lab-tabs {
  display: flex;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-medium);
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.lab-tab-btn {
  padding: 0.65rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lab-tab-btn:hover {
  color: var(--text-main);
}

.lab-tab-btn.active {
  color: var(--accent-dark-blue);
  border-bottom-color: var(--accent-adobe);
  font-weight: 700;
}

.lab-tab-content {
  display: none;
}

.lab-tab-content.active {
  display: block;
}

.lab-sandbox-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .lab-sandbox-grid {
    grid-template-columns: 1fr;
  }
}

.lab-preview-box {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lab-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lab-svg-canvas {
  width: 100%;
  height: 210px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.lab-svg-canvas svg {
  width: 100%;
  height: 100%;
}

.lab-preview-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.lab-controls-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.control-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lab-select {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.lab-range {
  width: 100%;
  accent-color: var(--accent-adobe);
  cursor: pointer;
}

.palette-options {
  display: flex;
  gap: 0.5rem;
}

.palette-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease;
}

.palette-btn:hover {
  transform: scale(1.1);
}

.palette-btn.active {
  border-color: var(--text-main);
  transform: scale(1.15);
}

.lab-code-block {
  background: #090a0f;
  color: #38bdf8;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 320px;
  border: 1px solid var(--border-medium);
}

.lab-math-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.lab-math-card h4 {
  margin-bottom: 0.5rem;
}

.math-formula {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-dark-blue);
  margin-top: 0.5rem;
}

/* ==========================================================================
   SUBPAGE DATAVIZ EDITORIAL GUIDE LAYOUT
   ========================================================================== */
.subpage-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.subpage-guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.guide-block {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.guide-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.65rem;
  border-radius: 5px;
  align-self: flex-start;
}

/* Light theme high-contrast defaults */
.guide-pill-do {
  background: rgba(94, 158, 164, 0.18);
  color: #1e6b72;
  border: 1px solid rgba(94, 158, 164, 0.45);
}

.guide-pill-dont {
  background: rgba(239, 68, 68, 0.18);
  color: #d93838;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.guide-pill-best {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.guide-block h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 0.25rem;
  margin-bottom: 0.15rem;
}

.guide-block p, .guide-block ul {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.guide-block p {
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   REVIEW SLIDER COMPONENT (PRICING PAGE)
   ========================================================================== */
.review-slider-card {
  transition: opacity 300ms cubic-bezier(0.2, 0, 0, 1), transform 300ms cubic-bezier(0.2, 0, 0, 1);
}

.review-slider-card.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.review-slider-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.review-dot:hover {
  background: var(--text-dim);
}

.review-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent-dark-blue);
}

.guide-block ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   SUBPAGE SHOWCASE & SPLIT HERO EXTENSIONS
   ========================================================================== */
.subpage-hero.header-split {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.options-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.options-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.options-showcase-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.options-showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .options-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.options-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.options-feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--border-subtle);
}

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

.options-feature-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.options-feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.options-feature-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(137, 196, 199, 0.15);
  color: var(--accent-dark-blue);
  border: 1px solid rgba(137, 196, 199, 0.4);
}

.options-showcase-unboxed {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.header-split-shot.no-hover {
  cursor: default;
  transform: none !important;
  transition: none !important;
}

.header-split-shot.no-hover:hover {
  transform: none !important;
}

.header-split-shot.no-hover .shot-card {
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.08) !important;
}

/* Numbered Callout Badges (Blue Circles with White Text, Yellow Circle for Axis) */
.option-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-main-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(137, 196, 199, 0.5);
}

.option-num-badge.badge-axis {
  background: var(--accent-marigold);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(255, 186, 0, 0.45);
}

.shot-card-container {
  position: relative;
  width: 100%;
}

.shot-callout-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-main-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px #ffffff;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.shot-callout-badge.badge-axis {
  background: var(--accent-marigold);
  color: #0f172a;
}

/* ==========================================================================
   RADAR USP INSPECTOR STAGE LAYOUT & KEYFRAMES
   ========================================================================== */
.radar-stage-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.radar-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-dark-blue);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00a8ff;
  box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(0, 168, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}

.radar-stage-canvas {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-medium);
  padding: 2rem;
  overflow: visible;
  --anim-duration: 10.0s;
  --explode-factor: 1;
}

.radar-stage-canvas svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  overflow: visible;
}

.id-selection-box {
  stroke: #00a8ff;
  stroke-width: 1px;
  stroke-dasharray: 3 3;
  fill: none;
  opacity: 0;
  transition: opacity 250ms ease;
}
.id-anchor-handle {
  fill: #00a8ff;
  stroke: #ffffff;
  stroke-width: 0.75px;
  opacity: 0;
  transition: opacity 250ms ease;
}

.svg-callout-pill {
  opacity: 0;
  transition: opacity 250ms ease;
}
.svg-callout-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 6.5px;
  font-weight: 800;
  fill: #ffffff;
  letter-spacing: 0.03em;
}
.svg-callout-bg {
  fill: #0f172a;
  rx: 2.5px;
  ry: 2.5px;
  opacity: 0.9;
}
.svg-callout-line {
  stroke: #00a8ff;
  stroke-width: 0.75px;
  stroke-dasharray: 2 2;
}

.inspectable-element {
  cursor: pointer;
  transition: filter 150ms ease;
}
.inspectable-element:hover {
  filter: drop-shadow(0 0 6px rgba(0, 168, 255, 0.6));
}
.inspectable-element.active-inspect {
  filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.9));
}

.svg-callout-pill,
.id-selection-box,
.id-anchor-handle {
  animation: pillFullExplosionFade var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes pillFullExplosionFade {
  0%, 10%, 90%, 100% {
    opacity: 0;
  }
  18%, 82% {
    opacity: 1;
  }
}

.radar-rings-group .svg-callout-pill {
  transform-origin: -18px 182px;
  animation: pillRingsScaleFix var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes pillRingsScaleFix {
  0%, 10%, 90%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  18%, 82% {
    transform: scale(0.7407);
    opacity: 1;
  }
}
.radar-rings-group:hover .svg-callout-pill,
.radar-rings-group.active-inspect .svg-callout-pill {
  transform: scale(0.7407) !important;
  opacity: 1 !important;
}

.radar-ring-numbers .svg-callout-pill {
  transform-origin: 145px 12px;
  animation: pillNumDigitsScaleFix var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes pillNumDigitsScaleFix {
  0%, 10%, 90%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  18%, 82% {
    transform: scale(0.8333);
    opacity: 1;
  }
}
.radar-ring-numbers:hover .svg-callout-pill,
.radar-ring-numbers.active-inspect .svg-callout-pill {
  transform: scale(0.8333) !important;
  opacity: 1 !important;
}

.anim-paused * {
  animation-play-state: paused !important;
}

.radar-text-top {
  animation: deconstructTop var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructTop {
  0%, 5%, 95%, 100% { transform: translate(0, 0); opacity: 1; }
  15%, 85% { transform: translate(0, -38px); opacity: 0.95; }
}

.radar-text-top-right {
  animation: deconstructTopRight var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructTopRight {
  0%, 5%, 95%, 100% { transform: translate(0, 0); opacity: 1; }
  15%, 85% { transform: translate(38px, -24px); opacity: 0.95; }
}

.radar-text-bottom-right {
  animation: deconstructBottomRight var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructBottomRight {
  0%, 5%, 95%, 100% { transform: translate(0, 0); opacity: 1; }
  15%, 85% { transform: translate(34px, 34px); opacity: 0.95; }
}

.radar-text-bottom-left {
  animation: deconstructBottomLeft var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructBottomLeft {
  0%, 5%, 95%, 100% { transform: translate(0, 0); opacity: 1; }
  15%, 85% { transform: translate(-34px, 34px); opacity: 0.95; }
}

.radar-text-top-left {
  animation: deconstructTopLeft var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructTopLeft {
  0%, 5%, 95%, 100% { transform: translate(0, 0); opacity: 1; }
  15%, 85% { transform: translate(-38px, -24px); opacity: 0.95; }
}

.radar-ring-numbers {
  transform-origin: 113.95px 117.99px;
  animation: deconstructNumDigits var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructNumDigits {
  0%, 5%, 95%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  15%, 85% { transform: translate(68px, -58px) scale(1.2); opacity: 0.95; }
}

.radar-rings-group {
  transform-origin: 113.95px 117.99px;
  animation: deconstructRingsGroup var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructRingsGroup {
  0%, 5%, 95%, 100% { transform: scale(1); opacity: 1; }
  15%, 85% { transform: scale(1.35); opacity: 0.85; }
}

.radar-spokes line {
  transform-origin: 113.95px 117.99px;
  animation: deconstructSpokes var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructSpokes {
  0%, 5%, 95%, 100% { transform: scale(1); opacity: 1; }
  15%, 85% { transform: scale(1.35); opacity: 0.85; }
}

.radar-series-cyan-group {
  transform-origin: 113.95px 117.99px;
  animation: deconstructCyanGroup var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructCyanGroup {
  0%, 5%, 95%, 100% { transform: translate(0, 0); }
  15%, 85% { transform: translate(-28px, -22px); }
}

.radar-series-marigold-group {
  transform-origin: 113.95px 117.99px;
  animation: deconstructMarigoldGroup var(--anim-duration) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@keyframes deconstructMarigoldGroup {
  0%, 5%, 95%, 100% { transform: translate(0, 0); }
  15%, 85% { transform: translate(28px, 22px); }
}

/* ==========================================================================
   EDITORIAL SPLIT SECTION PREVIEW CARD STYLING (EVEND OUT HEIGHT)
   ========================================================================== */
.section-header.header-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.header-split-shot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: default;
}

.header-split-shot .preview-canvas-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

.header-split-shot .canvas-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: none;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-split-shot .canvas-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
  margin-top: 0.5rem;
  min-height: 300px;
  overflow: visible;
}

.header-split-shot #hero-vector-render {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-split-shot #hero-vector-render svg.svg-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   SETTINGS SCREEN LIGHTBOX MODAL & ENLARGEMENT STYLES
   ========================================================================== */
.lightbox-trigger {
  cursor: zoom-in !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.lightbox-trigger:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16) !important;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: 94vw;
  max-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 100001;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-adobe);
  color: #0f172a;
  transform: scale(1.1);
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-cloned-content {
  position: relative;
  max-width: 1100px;
  width: 88vw;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  cursor: default !important;
  background: var(--bg-surface);
}

.lightbox-cloned-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Custom Footer Dropup */
.footer-lang-dropup {
  position: relative;
  display: inline-block;
}

.footer-lang-btn {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-medium);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.footer-lang-btn:hover {
  background: var(--border-medium);
}

.footer-lang-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  list-style: none;
  padding: 0.5rem 0;
  margin-left: 0;
  margin-right: 0;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  min-width: 220px;
  z-index: 999;
}

.footer-lang-dropup.is-open .footer-lang-list {
  display: flex;
}

.footer-lang-list li.lang-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.15s ease;
}

.footer-lang-list li.lang-item:hover {
  background: var(--bg-surface-hover);
}

.footer-lang-list li.lang-item.selected {
  background: var(--bg-surface-elevated);
  font-weight: 600;
}
.footer-lang-list li.lang-item.selected::before {
  content: '✓';
  color: var(--text-main);
  font-size: 0.9em;
  margin-right: -0.2rem;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-main-blue, #89c4c7);
  color: var(--text-main, #0f172a); /* Changed to black/dark text */
  border: none;
  border-radius: 12px;
  padding: 20px 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 90%;
  max-width: 650px;
  font-family: inherit;
}
.cookie-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}
.cookie-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main, #0f172a); /* Changed to black/dark text */
  line-height: 1.5;
  font-weight: 600;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--accent-marigold, #ffba00);
  color: #0f172a;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s, filter 0.2s;
  box-shadow: 0 4px 12px rgba(255, 186, 0, 0.3);
}
.cookie-btn-accept:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.cookie-btn-decline {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-main, #0f172a); /* Changed to black/dark text */
  border: 1px solid rgba(15, 23, 42, 0.2); /* Dark border */
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.cookie-btn-decline:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.4);
}
@media (max-width: 650px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}
