/* ==========================================================================
   SKONO - CSS VARIABLES & THEME
   ========================================================================== */
:root {
  --bg-primary: #1f1f1f;
  --bg-secondary: #0c2e3b;
  --bg-tertiary: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-tertiary: #868e96;
  --accent-primary: #ac00a4;
  --accent-secondary: #14b9bd;
  --accent-tertiary: #0c2e3b;
  --border-color: #404040;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  --gradient-primary: linear-gradient(45deg, #ac00a4 40%, #14b9bd 100%);
  --supademo-display: block;
  /* Section alternating backgrounds */
  --section-bg-a: #0c2e3b;   /* Skono Anthracite */
  /* Candidates for --section-bg-b:
     #130a2a  dark indigo-purple, clear contrast with anthracite
     #5c0058  pure Tyrian — very bold, high contrast
     #1a0e30  subtle purple cast over dark                        */
  --section-bg-b: #130a2a;
  /* Type scale — body sizes fixed; heading sizes are fluid:
     Minor Third (1.2) at 390px → Perfect Fourth (1.333) at 1440px,
     so every heading level stays distinct at every width. */
  --fs-xs:   0.75rem;   /* 12px — fine print, tiny labels */
  --fs-sm:   0.875rem;  /* 14px — secondary UI text */
  --fs-base: 1rem;      /* 16px — body copy */
  --fs-lead: 1.125rem;  /* 18px — lead text under headings, large buttons */
  --fs-lg:  clamp(1.200rem, 1.1506rem + 0.2027vw, 1.333rem); /* h4 + compact card titles: 19.2px mobile → 21.3px desktop */
  --fs-xl:  clamp(1.440rem, 1.3148rem + 0.5135vw, 1.777rem); /* h3: 23.0px mobile → 28.4px desktop */
  --fs-2xl: clamp(1.728rem, 1.4899rem + 0.9768vw, 2.369rem); /* h2: 27.6px mobile → 37.9px desktop */
  --fs-3xl: clamp(2.074rem, 1.6712rem + 1.6509vw, 3.157rem); /* h1: 33.2px mobile → 50.5px desktop */
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 300;
  line-height: 1.2;
}

h1 { font-size: var(--fs-3xl); font-weight: 300; margin-bottom: 1.5rem; }
h2 { font-size: var(--fs-2xl); font-weight: 300; margin-bottom: 1.25rem; }
h3 { font-size: var(--fs-xl); font-weight: 300; margin-bottom: 1rem; }
h4 { font-size: var(--fs-lg); font-weight: 300; margin-bottom: 0.75rem; }

/* Compact card titles: keep their h3 tag for the outline, render at h4 size */
.footer-column h3,
.stat-label-large,
.hiw-step h3,
.integration-card h3,
.principle-text h3,
.timeline-content h3,
.doc-category h3,
.case-study-card h3,
.form-section h3,
.demo-expect-body h3,
.audience-card h3,
.faq-item h3,
.wizard-step-card h3,
.ai-feature h3,
.integration-category h3,
.report-card h3,
.feature-card h3 {
  font-size: var(--fs-lg);
}

p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.success {
  background: var(--accent-secondary);
  color: white;
}


/* ==========================================================================
   ICON SIZING FIXES
   ========================================================================== */
.service-icon svg,
.service-card .service-icon svg,
.audience-icon svg,
.finding-icon svg,
.included-icon svg {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}

.service-icon,
.audience-icon,
.finding-icon,
.included-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}




/* ==========================================================================
   COMPONENTS - HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(31, 31, 31, 0.65);
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  transition: all 0.3s ease;
}

.nav { padding: 1rem 0; }

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand .logo img {
  height: 20px;
  width: auto;
}

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

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: 'Encode Sans Expanded', sans-serif;
}

.nav-link:hover { color: var(--accent-primary); }
.nav-link.active:not(.btn) { color: var(--accent-primary) !important; font-weight: 700; }

/* Language switcher (EN | HR) — last item in .nav-menu */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-lang .lang-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-lang .lang-link:hover,
.nav-lang .lang-link.current { color: var(--accent-primary); }
.nav-lang .lang-link.current { font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

.nav-toggle .nav-close-icon {
  display: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
}

.nav-toggle.is-open span { display: none; }
.nav-toggle.is-open .nav-close-icon { display: block; }

/* Dropdown Menu Styles */
.nav-item {
  position: relative;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  transform: rotate(45deg);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
}

.dropdown-link small {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: 400;
  margin-top: 2px;
}

/* Dropdown indicator arrow on parent */
.nav-link.has-dropdown {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link.has-dropdown::after {
  content: '▼';
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link.has-dropdown::after {
  transform: rotate(180deg);
}

/* Mobile nav backdrop overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Lock body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

/* ==========================================================================
   COMPONENTS - BREADCRUMB
   ========================================================================== */
.breadcrumb { margin-bottom: 1.5rem; }

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: var(--text-tertiary);
}

.breadcrumb a:hover { text-decoration: underline; }


/* ==========================================================================
   COMPONENTS - BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Encode Sans Expanded', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: var(--fs-base);
  min-width: 140px;
}

.btn:focus, .nav-link:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: #95008d;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large { padding: 16px 32px; font-size: var(--fs-lead); }
.btn-full { width: 100%; }


/* ==========================================================================
   COMPONENTS - FORMS
   ========================================================================== */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group,
.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-label:hover,
.radio-label:hover { border-color: var(--accent-primary); }

.checkbox-label input,
.radio-label input {
  width: auto;
  min-width: 20px;
  height: 20px;
}

.tile-group {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tile-option {
  position: relative;
  padding: 0;
  cursor: pointer;
}

.tile-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tile-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.2s ease;
}

.tile-option:hover .tile-content {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.tile-option input:checked + .tile-content {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px rgba(172, 0, 164, 0.25);
}

.tile-option input:focus-visible + .tile-content {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}


/* ==========================================================================
   COMPONENTS - CARDS
   ========================================================================== */
.card {
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-featured { border: 2px solid var(--accent-primary); }


/* ==========================================================================
   COMPONENTS - FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.5rem; }

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-copyright p {
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  margin: 0;
}

.footer-copyright .footer-disclaimer { margin-top: 0.5rem; }

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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


/* ==========================================================================
   COMPONENTS - HEXAGON ELEMENTS
   ========================================================================== */
.hexagon-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  position: relative;
  margin: 0 auto 1rem;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.hexagon-pattern {
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(172, 0, 164, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(20, 185, 189, 0.1) 0%, transparent 50%);
}


/* ==========================================================================
   SECTIONS - COMMON
   ========================================================================== */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--fs-lead);
  max-width: 600px;
  margin: 0 auto;
}


/* ==========================================================================
   PAGE - HOME (INDEX)
   ========================================================================== */

/* Hero */
.hero {
  height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 130px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-subtitle {
  font-size: var(--fs-lead);
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.proof-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item { text-align: center; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#heroHexCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: auto;
  width: min(1100px, 90vw);
  height: min(1100px, 90vw);
}

.platform-preview {
  position: relative;
  width: 100%;
  max-width: 760px;
  z-index: 1;
  /* No overflow clipping — rotated 3D edges must not be cropped */
}

/* ── Isometric Dashboard Preview ── */
.iso-scene {
  perspective: 1400px;
  perspective-origin: 50% 42%;
  width: 100%;
}

.iso-stack {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-12deg);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border-radius: 12px;
  /* No overflow:hidden — it kills preserve-3d */
}

.iso-stack:hover {
  transform: rotateX(38deg) rotateZ(-20deg);
}

.iso-layer {
  display: block;
  width: 100%;
  border-radius: 12px;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.7s ease,
              opacity 0.7s ease;
}

/* No resting filters on layers 2/3 — filter on preserve-3d children creates
   new stacking contexts and causes misalignment at rest. Applied on hover only. */
.iso-layer:first-child {
  position: relative;
}

.iso-layer:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
}

.iso-layer:nth-child(2) { /* chrome + card shells */
  top: 0px;
}

/* Hover spread */
.iso-stack:hover .iso-layer:nth-child(1) {
  transform: translateZ(-150px);
  filter: brightness(1.0);
}

.iso-stack:hover .iso-layer:nth-child(2) {
  transform: translateZ(0px);
  opacity: 0.75;
  filter: brightness(1.18);
}

.iso-stack:hover .iso-layer:nth-child(3) {
  transform: translateZ(150px);
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: var(--section-bg-b);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon { margin-bottom: 1rem; }

.stat-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  stroke-width: 2;
}

.lottie-icon {
  width: 100px;
  height: 100px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.stat-number-large {
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--accent-primary);
  font-family: 'Encode Sans Expanded', sans-serif;
  margin-bottom: 0.5rem;
}

.stat-label-large {
  color: var(--text-primary);
  margin: 0;
}

.stat-example-list {
  margin-top: 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.stat-example-list li {
  white-space: nowrap;
}

/* Primary Features */
.primary-features { padding: 5rem 0; background: var(--section-bg-a); }

.primary-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.primary-feature-card {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.primary-feature-card.wide { grid-column: 1 / -1; }

.feature-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card-header .lottie-icon {
  flex-shrink: 0;
  margin: 0;
  padding-top: 0.25rem;
}

.feature-card-intro {
  flex: 1;
  min-width: 0;
}

.feature-card-intro h3 { margin-top: 0; }

.feature-icon-large { margin-bottom: 1.5rem; }

.feature-icon-large svg {
  width: 64px;
  height: 64px;
  color: var(--accent-primary);
  stroke-width: 1.5;
}

.feature-bullets {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.primary-feature-card .feature-bullets {
  columns: 2;
  column-gap: 1.5rem;
}

.feature-bullets li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  break-inside: avoid;
}

.feature-bullets li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.security-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.capability-item {
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.capability-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 10px;
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke-width: 2;
}

.feature-fa-icon {
  color: var(--accent-secondary) !important;
  margin-right: 0.35em;
  flex-shrink: 0;
}

h3:has(.feature-fa-icon) {
  display: flex;
  align-items: baseline;
}

.capability-fa-icon {
  font-size: 1rem;
  color: var(--accent-secondary) !important;
  flex-shrink: 0;
  width: 1.4em;
  text-align: center;
}

.capability-text { flex: 1; }

.capability-text h4 {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.capability-text span {
  color: var(--text-secondary);
}

.feature-link {
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-link:hover { color: var(--accent-secondary); }

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--section-bg-b);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card.featured {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.testimonial-card.featured:hover { transform: scale(1.05) translateY(-5px); }

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-info strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* Hero Description */
.hero-description {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.hero-description:last-of-type {
  margin-bottom: 2rem;
}

/* Problem Statement */
.problem-statement { padding: 5rem 0; background: var(--section-bg-a); }

.problem-risks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 2rem auto;
}

.problem-risk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
}

.problem-risk-item i {
  color: var(--accent-secondary);
  font-size: 1.1rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.problem-question {
  text-align: center;
  font-size: var(--fs-lead);
  color: var(--text-primary);
  margin-top: 2.5rem;
}

/* How It Works */
.how-it-works { padding: 5rem 0; background: var(--section-bg-b); }

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.hiw-step {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hiw-step-number {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 300;
  color: var(--accent-secondary);
  margin-bottom: 0.75rem;
}

.hiw-step h3 {
  font-family: 'Encode Sans Expanded', sans-serif;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.hiw-step p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.hiw-tagline {
  text-align: center;
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.hiw-cta {
  text-align: center;
}

/* Bridge Section — typical report vs. Skono finding */
.bridge-section { padding: 5rem 0; background: var(--section-bg-a); }

.bridge-compare {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
  align-items: stretch;
}

.bridge-card {
  background: var(--section-card-bg, var(--bg-secondary));
  border-radius: 16px;
  padding: 2rem;
  min-width: 0;
}

.bridge-card-title {
  color: var(--text-primary);
  margin: 0 0 1.25rem;
}

.bridge-card-typical { opacity: 0.75; }

.bridge-card-head .bridge-card-title { margin: 0; }

.bridge-raw-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bridge-raw-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.bridge-raw-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: none;
  padding: 0;
  overflow-wrap: anywhere;
}

.bridge-raw-list span { flex-shrink: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.bridge-raw-more {
  margin: 1rem 0 0;
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--text-secondary);
}

.bridge-note {
  margin: 1.5rem auto 0;
  max-width: 600px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.bridge-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.bridge-priority {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-primary);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.bridge-finding {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.bridge-finding li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.bridge-finding i {
  color: var(--accent-secondary);
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.bridge-finding h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.bridge-finding span {
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .bridge-compare { grid-template-columns: 1fr; }
  .bridge-card { padding: 1.5rem; }
}

/* Trust Strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--accent-secondary);
}

/* Solutions Preview */
.solutions-preview { padding: 5rem 0; background: var(--section-bg-b); }

.solutions-preview-more {
  text-align: center;
  margin: 2rem 0 0;
}

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

/* Workflow Steps */
.workflow-steps {
  padding: 5rem 0;
  background: var(--section-bg-b);
}

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

.workflow-step-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.workflow-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-preview-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.solution-lottie {
  width: 80px;
  height: 80px;
  margin: 0 0 1rem 0;
}

.solution-detail-lottie {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  pointer-events: none;
}

.solution-preview-card h3 {
  color: var(--text-primary);
}

.solution-preview-card p {
  flex: 1;
  color: var(--text-secondary);
}

.solution-cta {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Integrations Workflow Section */
.integrations-workflow {
  padding: 5rem 0;
  background: var(--section-bg-a);
}

.integration-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.integration-card {
  background: var(--bg-secondary);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.integration-lottie {
  width: 100px !important;
  height: 100px !important;
  margin: 0 auto 1.5rem !important;
}

.integration-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.integration-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

@media (max-width: 600px) {
  .integration-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Demo CTA */

.cta-content { max-width: 800px; margin: 0 auto; }

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

.cta-actions .btn-primary {
  background: white;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.cta-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


.cta-actions .btn-secondary {
  background: var(--accent-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.cta-actions .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   PAGE - PLATFORM
   ========================================================================== */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.page-hero-content { max-width: 800px; margin: 0 auto; }

.page-hero-content h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-subtitle {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.feature-section { padding: 5rem 0; }
.feature-section.alt-bg { background: var(--section-bg-b); }

.feature-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.feature-showcase.reverse { direction: rtl; }
.feature-showcase.reverse > * { direction: ltr; }

.workflow-demo,
.ai-demo {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.workflow-canvas {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-nodes {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.workflow-node:hover,
.workflow-node.active {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.workflow-node.trigger { border-color: var(--accent-secondary); }

.workflow-node span {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

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

.capability-grid .capability-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.supademo-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Security Capabilities */
.security-capabilities-section {
  padding: 5rem 0;
  background: var(--section-bg-b);
}

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

.capability-card {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.capability-card.wide { grid-column: 1 / -1; }

.capability-card h3 {
  color: var(--text-primary);
  margin-top: 1rem;
}

.capability-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.capability-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.capability-features li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

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

.framework-item {
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.framework-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* Integrations */
.integrations-section { padding: 5rem 0; }

.integrations-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.integration-category h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-icon { font-size: 1.5rem; display: inline-block; margin-bottom: 0.75rem; color: var(--accent-secondary); }

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

.integrations-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

/* Technical Specs */
.tech-specs-section {
  padding: 5rem 0;
  background: var(--section-bg-b);
}

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

.spec-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.spec-card h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.spec-list li:last-child { border-bottom: none; }

.page-cta {
  padding: 5rem 0;
  text-align: center;
  background: #5c0058 url('../img/CTA-background.svg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-cta .container {
  position: relative;
  z-index: 1;
}

.page-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}



/* ==========================================================================
   PAGE - SOLUTIONS
   ========================================================================== */
.solutions-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.solution-nav-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all 0.3s ease;
}

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

.solution-nav-card h3 {
  color: var(--text-primary);
  margin: 1rem 0 0.5rem;
}

.solution-detail-section { padding: 5rem 0; }
.solution-detail-section.alt-bg { background: var(--bg-secondary); }
.solution-detail.alt-bg { background: var(--bg-secondary); }

.solution-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.solution-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.benefit-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.solution-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.capability-block {
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.capability-block h4 {
  color: var(--text-primary);
  margin-top: 0.75rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

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

.enterprise-feature {
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.enterprise-feature h4 {
  color: var(--text-primary);
  margin-top: 0.75rem;
}

.solutions-comparison-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.comparison-table-container { overflow-x: auto; }

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .check { color: #28a745; font-weight: bold; }
.comparison-table .dash { color: var(--text-tertiary); }


/* ==========================================================================
   PAGE - ABOUT
   ========================================================================== */
.company-story { padding: 4rem 0; }

.philosophy-section {
  padding: 5rem 0;
  background: var(--bg-primary);
}

.philosophy-heading {
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.philosophy-principles {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.principle-lottie {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.principle-text h3 {
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.principle-text p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.philosophy-quote {
  margin-top: 3.5rem;
  padding: 2rem;
  border-left: 3px solid var(--accent-primary);
  background: var(--bg-primary);
  border-radius: 0 12px 12px 0;
}

.philosophy-quote blockquote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.philosophy-quote cite {
  font-size: var(--fs-sm);
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
}

.story-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  color: var(--text-primary);
  margin-bottom: 2rem;
}

/* Visual timeline */
.story-timeline {
  position: relative;
  padding-left: 1.25rem;
  padding-bottom: 50px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: linear-gradient(180deg, #5c0058 0%, #ac00a4 55%, #14b9bd 80%, transparent 100%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: relative;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c0058, #ac00a4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -1.85rem;
  z-index: 1;
}

.timeline-node.current {
  background: var(--accent-secondary);
}

.timeline-node.current::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-secondary);
  opacity: 0.5;
  animation: timeline-pulse 2s ease-in-out infinite;
}

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

.timeline-year {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}

.timeline-content {
  padding-top: 0.35rem;
}

.timeline-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.timeline-content p a {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 600;
}

.timeline-content p a:hover {
  text-decoration: underline;
}

.team-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

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

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

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

.team-member {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.team-member:hover { transform: translateY(-5px); }

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.member-photo i {
  font-size: 2rem;
  color: var(--accent-primary);
}

/* Real photo — drop any image in and it clips to the circle */
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 0.75rem;
}

.member-linkedin:hover {
  color: var(--accent-secondary);
}

.team-member h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.member-title {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-bio {
  color: var(--text-secondary);
}

.values-section { padding: 4rem 0; }

.mission-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.mission-body {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--text-secondary);
}

.mission-body p {
  margin-bottom: 1rem;
}

.mission-stats {
  margin-top: 5rem;
}

.mission-stats .stat-card {
  background: var(--bg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.value-lottie {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
}

.value-item h3 {
  color: var(--text-primary);
}

.security-philosophy {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pillar {
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.pillar h3 {
  color: var(--text-primary);
}

.company-stats { padding: 4rem 0; }

.company-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}


/* ==========================================================================
   PAGE - RESOURCES
   ========================================================================== */
.section-lottie {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
}

.resources-section {
  padding: 5rem 0;
}

.documentation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.doc-category h3 {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-primary);
}

.doc-category h3 i {
  color: var(--accent-primary);
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.doc-list a:hover {
  color: var(--accent-primary);
}

.documentation-cta {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.documentation-cta p {
  color: var(--text-secondary);
  margin: 0;
}

.resource-categories {
  padding: 2rem 0;
  background: var(--bg-secondary);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 600;
}

.tab-button.active,
.tab-button:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.featured-resources { padding: 4rem 0; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.resource-card.featured {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--accent-primary);
  transition: transform 0.3s ease;
}

.resource-card.featured:hover { transform: translateY(-5px); }

.case-studies,
.tutorials,
.blog-section { padding: 4rem 0; }

.blog-cta {
  margin-top: 3rem;
  text-align: center;
}

.case-studies-grid,
.tutorials-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-study-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-study-tag {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: 'Encode Sans Expanded', sans-serif;
}

.case-study-read-time {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.case-study-card h3 {
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0;
}

.case-study-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.case-study-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.case-study-results-list li {
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.case-study-results-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.case-study-results-list strong {
  color: var(--text-primary);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.company-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.company-info h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.case-challenge,
.case-solution,
.case-results { margin-bottom: 1.5rem; }

.case-challenge h4,
.case-solution h4,
.case-results h4 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.results-list {
  list-style: none;
  padding: 0;
}

.results-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.results-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

.tutorial-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
}

.tutorial-level {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.level.beginner { background: #28a745; color: white; }
.level.intermediate { background: #ffc107; color: #000; }
.level.advanced { background: #dc3545; color: white; }

.blog-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.blog-card:hover { transform: translateY(-5px); }

.blog-content { padding: 2rem; }

.blog-category {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-content h3 {
  color: var(--text-primary);
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
}

.newsletter-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  text-align: center;
}

.newsletter-content h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.newsletter-form { max-width: 500px; margin: 2rem auto 0; }

.newsletter-form .form-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
}


/* ==========================================================================
   PAGE - CONTACT
   ========================================================================== */
.contact-tabs-section {
  padding: 2rem 0;
  background: var(--bg-secondary);
  position: sticky;
  top: 70px;
  z-index: 100;
  border-top: 1px solid var(--border-color);
}

.contact-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-tab {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-tab i {
  --fa-primary-color: var(--accent-primary);
  --fa-secondary-color: #14b9bd;
  --fa-secondary-opacity: 0.6;
  transition: all 0.3s ease;
}

.contact-tab.active,
.contact-tab:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.contact-tab.active i,
.contact-tab:hover i {
  --fa-primary-color: white;
  --fa-secondary-color: rgba(255, 255, 255, 0.6);
  --fa-secondary-opacity: 1;
}

.contact-section.hidden { display: none; }
.contact-panel.hidden { display: none; }

.contact-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-panel h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-info-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.contact-info-item strong {
  display: block;
  color: var(--text-primary);
}

.contact-form-panel {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type { border-bottom: none; }

.form-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.form-privacy {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: 1rem;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.contact-method strong {
  display: block;
  color: var(--text-primary);
}

.contact-method a {
  color: var(--accent-primary);
  text-decoration: none;
}

.support-options {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.support-option strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.support-option a {
  color: var(--accent-primary);
  text-decoration: none;
}

.locations-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.locations-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 12px;
}

.location-item strong {
  display: block;
  color: var(--text-primary);
}


/* ==========================================================================
   CAL.COM BOOKING EMBED
   ========================================================================== */
.demo-booking-hero {
  background: linear-gradient(45deg, #5c0058 0%, #ac00a4 70%);
  border-radius: 20px 20px 0 0;
  padding: 3rem 3rem 2.5rem;
  text-align: center;
}

.demo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: var(--fs-xs);
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.demo-booking-hero h2 {
  color: white;
  margin: 0.75rem 0 0.625rem;
}

.demo-booking-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto;
  font-size: var(--fs-lead);
}

.demo-booking-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  min-height: 660px;
}

.demo-info-panel {
  padding: 2.5rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.demo-expect-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.demo-expect-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.demo-expect-number {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, #5c0058 0%, #ac00a4 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 800;
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}

.demo-expect-body h3 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.demo-expect-body span {
  color: var(--text-secondary);
  line-height: 1.55;
}

.demo-stats-strip {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: auto;
}

.demo-stat {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--border-color);
}

.demo-stat:last-child {
  border-right: none;
}

.demo-stat strong {
  display: block;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.2rem;
}

.demo-stat span {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.cal-embed-wrapper {
  position: relative;
  min-height: 660px;
  background: var(--bg-primary);
}

.cal-embed-wrapper #cal-booking-embed {
  width: 100%;
  height: 100%;
  min-height: 660px;
}

@media (max-width: 1024px) {
  .demo-booking-layout {
    grid-template-columns: 1fr;
  }
  .demo-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .demo-expect-list {
    flex: 1;
    min-width: 260px;
  }
  .demo-stats-strip {
    margin-top: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .demo-booking-hero {
    padding: 2rem 1.5rem;
    border-radius: 12px 12px 0 0;
  }
  .demo-info-panel {
    flex-direction: column;
  }
  .demo-booking-layout {
    border-radius: 0 0 12px 12px;
  }
  .cal-embed-wrapper,
  .cal-embed-wrapper #cal-booking-embed {
    min-height: 580px;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.counting {
  opacity: 1 !important;
  transform: scale(1) !important;
}

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


@keyframes iso-idle {
  0%   { transform: rotateX(10deg) rotateY(-12deg); }
  35%  { transform: rotateX(16deg) rotateY(-8deg); }
  65%  { transform: rotateX(8deg) rotateY(-16deg); }
  100% { transform: rotateX(10deg) rotateY(-12deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Touch devices — iso preview auto-animates since hover isn't available */
@media (hover: none) {
  .iso-stack {
    animation: iso-idle 7s ease-in-out infinite;
    cursor: default;
  }
  /* Guard against first-tap :hover triggering the spread on some mobile browsers */
  .iso-stack:hover { transform: none; }
  .iso-stack:hover .iso-layer:nth-child(1) { transform: none; filter: none; }
  .iso-stack:hover .iso-layer:nth-child(2) { transform: none; opacity: 1; filter: none; }
  .iso-stack:hover .iso-layer:nth-child(3) { transform: none; }
  .iso-scene { perspective: 800px; }
}

/* Tablet */
@media (max-width: 1024px) {
  .primary-features-grid,
  .stats-grid,
  .solutions-preview-grid,
  .solutions-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-steps { grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  
  .testimonial-card.featured { transform: none; }
  
  .feature-showcase,
  .solution-detail-content,
  .contact-section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .security-capabilities-grid,
  .enterprise-features-grid { grid-template-columns: 1fr; }
  
  .compliance-frameworks { grid-template-columns: repeat(2, 1fr); }

  /* Section header — moderate reduction at tablet */
  .section-header { margin-bottom: 3rem; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Prevent any element from causing horizontal scroll on mobile */
  body { overflow-x: hidden; }

  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    transform: translateX(110%);  /* off-screen — transform doesn't inflate scroll width */
    background: var(--bg-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    border-left: 3px solid var(--accent-primary);
    width: 300px;
    height: calc(100dvh - 76px);
    overflow-y: auto;
    overflow-x: hidden;
    gap: 0;
    z-index: 999;
  }

  /* ── Mobile nav panel — uniform purple primary links ── */

  /* ALL top-level links: same purple style, left-aligned, full-width */
  .nav-menu > li > .nav-link:not(.btn) {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.9rem 1.5rem;
    font-size: var(--fs-base);
    font-weight: 600;
    font-family: 'Encode Sans Expanded', sans-serif;
    color: var(--accent-primary);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, opacity 0.2s ease;
    text-transform: none;
  }

  .nav-menu > li > .nav-link:not(.btn):hover {
    background: rgba(172, 0, 164, 0.18);
    opacity: 1;
  }

  /* FA house icon on Home link — simple light, violet */
  .nav-menu .nav-link .fa-house {
    color: var(--accent-primary);
    font-size: 0.875rem;
    flex-shrink: 0;
  }

  .nav-menu > li.nav-lang {
    padding: 1rem 1.5rem;
    font-size: var(--fs-sm);
  }

  /* Separators between top-level groups (placed on <li>) */
  .nav-menu > li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
  }

  /* Dropdown sub-item group — no extra border (li handles separation) */
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0.75rem 0;
    min-width: auto;
    background: transparent;
  }

  /* Sub-links — secondary style, indented */
  .nav-menu .dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.5rem 0.55rem 1.75rem;
    font-size: var(--fs-sm);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    border-left: none;  /* override desktop border-left: 3px solid transparent */
  }

  .nav-menu .dropdown-link::before {
    content: '›';
    color: var(--accent-primary);
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .nav-menu .dropdown-link:hover,
  .nav-menu .dropdown-link:focus {
    color: var(--accent-primary);
    background: rgba(172, 0, 164, 0.13);
    border-left: none;
  }

  /* Hide sub-descriptions, desktop pointer arrow, ▼ chevron */
  .nav-menu .dropdown-link small { display: none; }
  .nav-menu .dropdown-menu::before { display: none; }
  .nav-menu .nav-link.has-dropdown::after { display: none; }

  /* Request Demo button — padded at bottom of panel */
  .nav-menu > li:last-child {
    padding: 1.25rem 1.5rem;
    border-bottom: none;
  }

  .nav-menu .btn.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.875rem 1.5rem;
  }

  .nav-menu.active { transform: translateX(0); }
  .nav-toggle { display: flex; }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero {
    height: auto;
    padding-bottom: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats { justify-content: center; gap: 1.5rem; }

  /* Hero canvas — scale down on mobile */
  #heroHexCanvas { width: min(560px, 120vw); height: min(560px, 120vw); opacity: 0.6; }

  /* Hero visual column — constrain on mobile */
  .hero-visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .platform-preview { max-width: 100%; }

  /* ── min-width resets — prevent any card/element from overflowing narrow screens ── */
  .btn { min-width: 0; }
  .workflow-node { min-width: 0; }
  .demo-expect-list { min-width: 0; width: 100%; }

  /* Pricing steps — stack vertically, hide sideways arrows */
  .pricing-steps { flex-direction: column; align-items: center; }
  .pricing-steps .step { min-width: 0; max-width: 100%; width: 100%; }
    .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* About page — story section: text above, timeline below */
  .story-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .platform-grid,
  .solutions-grid,
  .pricing-grid,
  .resources-grid,
  .about-values { grid-template-columns: 1fr; }
  
  /* minmax(0, 1fr) prevents min-content blowout where 1fr would resolve to
     the item's natural min-content size instead of the available track width */
  .primary-features-grid,
  .stats-grid,
  .solutions-preview-grid,
  .solutions-nav,
  .testimonials-grid { grid-template-columns: minmax(0, 1fr); }

  /* Feature card header: stack icon above text on mobile to give text full width */
  .feature-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Security capabilities grid inside card: single column on mobile */
  .security-capabilities { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .capability-item { min-width: 0; overflow: hidden; }

  /* Prevent internal scrollWidth from propagating to document for card elements */
  .primary-feature-card,
  .tier-card,
  .stat-card,
  .solution-preview-card,
  .audience-card { overflow: hidden; }

  /* All grid children: reset implicit minimum so grid tracks can shrink freely */
  .primary-features-grid > *,
  .stats-grid > *,
  .solutions-preview-grid > *,
  .solutions-nav > *,
  .testimonials-grid > *,
  .platform-grid > *,
  .solutions-grid > *,
  .pricing-grid > *,
  .resources-grid > *,
  .about-values > *,
  .workflow-steps-grid > *,
  .audience-grid > *,
  .call-benefits-grid > *,
  .faq-grid > * { min-width: 0; }

  .workflow-steps-grid { grid-template-columns: minmax(0, 1fr); }

  /* New sales sections — mobile */
  .problem-risks-grid { grid-template-columns: minmax(0, 1fr); }
  .how-it-works-steps { grid-template-columns: minmax(0, 1fr); }
  .bridge-points { flex-direction: column; align-items: stretch; }
  .trust-strip { flex-direction: column; align-items: center; }

  .primary-feature-card .feature-bullets { columns: 1; }
  
  .capability-row,
  .checkbox-group,
  .radio-group { grid-template-columns: 1fr; }
  
  .integrations-categories,
  .specs-grid { grid-template-columns: 1fr; }
  
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  
  .contact-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-tab {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .enterprise-features-grid { grid-template-columns: 1fr; }
  
  .compliance-frameworks { grid-template-columns: 1fr; }
  
  .featured-grid { grid-template-columns: 1fr; }
  
  .category-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-button { width: 200px; text-align: center; }

  /* Global spacing compression at mobile */
  section { padding: 3rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .contact-form-panel { padding: 1.5rem; }
  .capability-grid { grid-template-columns: 1fr; }

  /* Inner page — platform */
  .differentiator-lottie { width: 160px; height: 160px; }
  .page-hero-actions { flex-direction: column; align-items: center; }
  .page-hero-actions .btn { width: 100%; max-width: 300px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container { padding: 0 15px; }
  
  section { padding: 3rem 0; }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  #heroHexCanvas { width: min(360px, 130vw); height: min(360px, 130vw); }

  .btn {
    padding: 10px 20px;
    font-size: var(--fs-sm);
  }

  .btn-large {
    padding: 14px 28px;
    font-size: var(--fs-base);
  }

  .theme-toggle {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .page-hero { padding: 6rem 0 3rem; }
  
  .form-row { grid-template-columns: 1fr; }

  /* Hero stats — stack vertically on very small screens */
  .hero-stats { flex-direction: column; align-items: center; gap: 1rem; }
  .section-header { margin-bottom: 2rem; }

  /* Resource page grids — force 1-col to prevent horizontal scroll */
  .featured-grid { grid-template-columns: 1fr; }
  .case-studies-grid,
  .tutorials-grid,
  .blog-grid { grid-template-columns: 1fr; }

  /* Global min-width reset — no element may be wider than the viewport */
  .btn { min-width: 0; }
  .workflow-node { min-width: 0; width: auto; }
  .tier-card, .call-benefit, .faq-item { min-width: 0; }
  .values-grid, .philosophy-pillars, .documentation-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SOLUTIONS PAGE STYLES
   ========================================================================== */

/* Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.audience-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.audience-card .lottie-icon {
  pointer-events: none;
}

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

.audience-card .audience-icon {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.audience-card h3 {
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.audience-card p {
  flex-grow: 1;
}

.audience-cta {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: var(--fs-sm);
}

/* Solution Detail Sections */
.solution-detail {
  padding: 4rem 0;
}

.solution-header {
  text-align: center;
  margin-bottom: 3rem;
}

.solution-subtitle {
  font-size: var(--fs-lead);
  max-width: 600px;
  margin: 0 auto;
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.solution-problem {
  background: var(--bg-tertiary);
  padding: 1.5rem;
  border-radius: 8px;
}

.solution-problem h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.solution-problem ul {
  list-style: none;
  padding: 0;
}

.solution-problem li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.solution-problem li::before {
  content: "•";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.solution-features h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.includes-note {
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

.feature-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 16px;
}

.feature-card h3 { margin-bottom: 0.75rem; }

.feature-cards-three { grid-template-columns: repeat(3, 1fr); }

.compliance-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 2rem auto 0;
}

.feature-card h4 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  margin-bottom: 0;
}

.solution-cta-box {
  text-align: center;
  padding: 2rem 2rem 2.25rem;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border-top: 3px solid var(--accent-primary);
  margin-top: 2.5rem;
}

.tier-note {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Tier Comparison */
.tier-comparison {
  padding: 4rem 0;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tier-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.tier-card.featured {
  border: 2px solid var(--accent-primary);
  transform: scale(1.02);
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.tier-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.tier-header h3 {
  margin-bottom: 0.5rem;
}

.tier-for {
  color: var(--text-secondary);
  margin: 0;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.tier-features li {
  padding: 0.5rem 0;
}

.tier-check {
  color: var(--accent-secondary);
}

.tier-features li.not-included {
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.tier-cta {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  /* audience-grid: 2-col at tablet — placed here (after base definition) so media query wins */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; }

  .solution-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-cards { grid-template-columns: 1fr; }
  .feature-cards-three { grid-template-columns: 1fr; }
}

/* Audience grid — 1-col on small mobile (placed after base definition so it wins) */
@media (max-width: 600px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING PAGE STYLES
   ========================================================================== */

/* Pricing tiers grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

/* "What to Expect from Your Call" section */
.call-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.call-benefit {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.call-benefit h3 {
  margin-bottom: 0.75rem;
}

/* Process steps ("How It Works" on pricing page) */
.pricing-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.pricing-steps .step {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  text-align: center;
}

/* Pricing CTA wrapper */
.pricing-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* FAQ grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--bg-secondary);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive — pricing page */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .call-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-card.featured { transform: none; }
}

@media (max-width: 600px) {
  .call-benefits-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .pricing-steps { flex-direction: column; align-items: center; }
  }

/* ==========================================================================
   PLATFORM PAGE STYLES
   ========================================================================== */

/* Differentiators */
.differentiator-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.differentiator-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.differentiator-icon {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.differentiator-lottie {
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem;
  pointer-events: none;
}

.differentiator-card h3 {
  margin-bottom: 1rem;
}

/* Workflows Section */
.workflows-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.workflow-steps-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.workflow-steps-list li {
  padding: 0.75rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.workflow-steps-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(0.75rem + 0.8em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* Wizard Steps Grid */
.wizard-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.wizard-step-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.wizard-step-number {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 300;
  color: var(--accent-secondary);
  margin-bottom: 0.75rem;
}

.wizard-step-card h3 {
  margin-bottom: 0.5rem;
}

.wizard-step-card p {
  margin-bottom: 0;
}

/* Project Type Carousel */
.project-type-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
}


.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent-primary);
  transform: scale(1.3);
}

.project-type-card {
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex: 0 0 100%;
  overflow: hidden;
  background: var(--section-card-bg, var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.project-type-header {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.project-type-icon {
  font-size: 1.25rem;
  color: var(--accent-secondary);
}

.project-type-card h4 {
  margin-bottom: 0;
}

.project-type-card p {
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.project-type-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  font-family: 'Encode Sans Expanded', sans-serif;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  cursor: default;
}

.project-type-popover {
  margin-top: 0.25rem;
}

.project-type-popover ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
}

.project-type-popover li {
  padding: 0.3rem 0;
  line-height: 1.4;
  padding-left: 1.25rem;
  position: relative;
}

.project-type-popover li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
}

.project-type-popover li strong {
  color: var(--text-primary);
}

/* Impact section within project type cards */
.project-type-impact-label {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-weight: 700;
  font-size: var(--fs-xs);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.project-type-impact {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.project-type-impact li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  line-height: 1.4;
  position: relative;
}

.project-type-impact li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

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

.example-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.example-card p {
  margin-bottom: 0;
}

/* AI Section */
.ai-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.ai-feature {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.reporting-section .ai-feature {
  background: var(--bg-tertiary, rgba(128, 128, 128, 0.06));
}

.ai-feature h3 {
  margin-bottom: 0.75rem;
}

/* Testing Methods */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.method-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Integration Categories */
.integration-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.integration-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.integration-category h3 {
  margin-bottom: 0.75rem;
}

.integration-category p {
}

/* Reporting Types */
.report-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.report-card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: 16px;
}

.report-card h3 {
  margin-bottom: 0.75rem;
}

.report-card p {
  margin-bottom: 0;
}

/* CTA Actions */
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ==========================================================================
   LOGO RIBBON
   ========================================================================== */
.logo-ribbon-section {
  padding: 3rem 0;
  background: var(--bg-primary);
}

.logo-ribbon-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* ── Customer logos cloud ─────────────────────────────────────────────────── */
.customer-logos-section {
  padding: 2.5rem 0 3.5rem;
  text-align: center;
  background: var(--bg-secondary);
}

.customer-logos-label {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.customer-logos-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.customer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.customer-chip:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 2px 16px rgba(172, 0, 164, 0.12);
}

/* Symmetria logo — light-colored PNG, adapt per theme */
.chip-logo-img {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

[data-theme="light"] .chip-logo-img {
  filter: invert(1) brightness(0.15);
  opacity: 0.55;
}
[data-theme="light"] .customer-chip:hover .chip-logo-img {
  filter: invert(1) brightness(0.15);
  opacity: 1;
}

[data-theme="dark"] .chip-logo-img,
[data-theme="anthracite"] .chip-logo-img {
  filter: brightness(1.1);
  opacity: 0.6;
}
[data-theme="dark"] .customer-chip:hover .chip-logo-img,
[data-theme="anthracite"] .customer-chip:hover .chip-logo-img {
  opacity: 1;
}

[data-theme="brand"] .chip-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
[data-theme="brand"] .customer-chip:hover .chip-logo-img {
  opacity: 1;
}

/* dotted.cloud dot icon */
.chip-dot-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.6;
}

.logo-ribbon-track-wrapper {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
}

/* Gradient fade effect on both sides */
.logo-ribbon-track-wrapper::before,
.logo-ribbon-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.logo-ribbon-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.logo-ribbon-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.logo-ribbon-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.logo-ribbon-track.scroll-left {
  animation: scrollLeft 40s linear infinite;
}

.logo-ribbon-track.scroll-right {
  animation: scrollRight 40s linear infinite;
}

.logo-ribbon-track:hover {
  animation-play-state: paused;
}

.logo-slot {
  flex-shrink: 0;
  width: 140px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive for Logo Ribbon */
@media (max-width: 768px) {
  .logo-ribbon-section {
    padding: 2rem 0;
  }

  .logo-slot {
    width: 100px;
    height: 40px;
  }

  .logo-ribbon-track {
    gap: 1.5rem;
  }

  .logo-ribbon-track-wrapper::before,
  .logo-ribbon-track-wrapper::after {
    width: 60px;
  }
}

/* Responsive for Platform page */
@media (max-width: 1024px) {
  .differentiator-cards,
  .workflows-content,
  .ai-features,
  .methods-grid,
  .report-types { grid-template-columns: 1fr; }

  .wizard-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-categories { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wizard-steps-grid { grid-template-columns: 1fr; }
  .integration-categories { grid-template-columns: 1fr; }

  .carousel-arrow { display: none; }

  .carousel-viewport { border-radius: 16px; }

  .project-type-card { padding: 1.5rem; }

  .project-type-popover ul {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUPADEMO PLACEHOLDERS
   ========================================================================== */

.supademo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Diagonal ribbon — top-right corner, antd-style */
.supademo-frame::before {
  content: 'Coming Soon';
  position: absolute;
  top: 22px;
  right: -28px;
  width: 130px;
  padding: 5px 0;
  background: var(--accent-primary);
  color: #fff;
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.supademo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  user-select: none;
}

.supademo-inner i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  --fa-primary-color: var(--accent-primary);
  --fa-secondary-color: #14b9bd;
  --fa-secondary-opacity: 0.6;
}

.supademo-inner span {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

/* Wrapper that carries the section label above the frame */
.supademo-block {
  display: var(--supademo-display);
  margin-top: 2.5rem;
}

/* Hide slots that still hold a "coming soon" placeholder; live embeds show */
.supademo-block:has(.supademo-frame) {
  display: none;
}

.supademo-block-label {
  font-family: 'Encode Sans Expanded', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .supademo-frame { aspect-ratio: 4 / 3; }
}

/* Live Supademo embed — sized to the player: screen at the demos' 2.02 ratio,
   plus the strip the player keeps below it for its step/play bar. Demos are
   set to fullWidth, no top bar, no border, so only the screen shows. */
.supademo-embed {
  position: relative;
  box-sizing: content-box;
  width: 100%;
  aspect-ratio: 2.02;
  padding-bottom: 88px;
}

.supademo-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Loading placeholder (added by js/script.js) — matches .supademo-frame and
   covers the screen area; the iframe fades in over it once loaded */
.supademo-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  transition: opacity 0.4s ease;
}

.supademo-loader i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  animation: pulse 1.6s ease-in-out infinite;
}

.supademo-loader span {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

.supademo-embed iframe {
  transition: opacity 0.4s ease;
}

.supademo-embed.is-loading iframe {
  opacity: 0;
}

.supademo-embed:not(.is-loading) .supademo-loader {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .supademo-loader i { animation: none; }
}


/* ==========================================================================
   SECTION ALTERNATION SYSTEM
   ========================================================================== */

/* Even sections: primary background, secondary card background */
.page-section {
  background: var(--bg-primary);
  --section-card-bg: var(--bg-secondary);
}

/* Odd sections: secondary background, primary card background */
.page-sections > .page-section:nth-child(odd) {
  background: var(--bg-secondary);
  --section-card-bg: var(--bg-primary);
}

/* All card-like elements inside a page-section inherit --section-card-bg.
   Two-class specificity (0,2,0) beats individual card rules (0,1,0). */
.page-section .stat-card,
.page-section .primary-feature-card,
.page-section .testimonial-card,
.page-section .hiw-step,
.page-section .problem-risk-item,
.page-section .bridge-point,
.page-section .solution-preview-card,
.page-section .integration-card,
.page-section .tier-card,
.page-section .feature-card,
.page-section .audience-card,
.page-section .faq-item,
.page-section .differentiator-card,
.page-section .wizard-step-card,
.page-section .ai-feature,
.page-section .integration-category,
.page-section .report-card,
.page-section .example-card,
.page-section .team-member,
.page-section .metric-card,
.page-section .benefit-item,
.page-section .enterprise-feature,
.page-section .value-item,
.page-section .capability-block,
.page-section .workflow-step-card,
.page-section .solution-problem,
.page-section .solution-cta-box {
  background: var(--section-card-bg);
}


.nowrap { white-space: nowrap; }
