/* ═══════════════════════════════════════════════
   CheckMet Premium — Award-Winning Styles
   World-class, minimal, cinematic design
   ═══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --premium-font: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --body-font: 'Inter', -apple-system, sans-serif;
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: all 0.6s var(--ease-out-expo);
}

/* ── Custom Cursor ── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(30, 64, 175, 0.3);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s ease;
}

.cursor-dot.hovering {
  width: 16px;
  height: 16px;
  background: rgba(30, 64, 175, 0.15);
  mix-blend-mode: difference;
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: rgba(30, 64, 175, 0.5);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Section Utilities ── */
.section-container-v2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--premium-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
}

.label-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title-v2 {
  font-family: var(--premium-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

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

.text-gradient-light {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Reveal Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════
   HERO V2 - Cinematic & Bold
   ═══════════════════════════════════════════════ */
.hero-v2 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--neutral-50);
  padding: 8rem 2rem 4rem;
}

.dark-theme .hero-v2 {
  background: var(--neutral-900);
}

/* Gradient orbs */
.hero-v2-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  will-change: transform;
  animation: orbFloat 20s ease-in-out infinite alternate;
  contain: layout style;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.02); }
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(30, 64, 175, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.dark-theme .hero-grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero-v2-container {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Badge */
.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 100px;
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.dark-theme .hero-v2-badge {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--primary-light);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Title */
.hero-v2-title {
  font-family: var(--premium-font);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.dark-theme .hero-v2-title {
  color: #ffffff;
}

.title-line {
  display: block;
}

.title-dot {
  color: var(--primary);
}

/* Subtitle */
.hero-v2-subtitle {
  font-family: var(--body-font);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* Buttons V2 */
.hero-v2-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--premium-font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-v2-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3), 0 0 0 0 rgba(30, 64, 175, 0);
}

.btn-v2-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4), 0 0 0 4px rgba(30, 64, 175, 0.1);
  color: #ffffff;
  text-decoration: none;
}

.btn-v2-primary i {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-v2-primary:hover i {
  transform: translateX(4px);
}

.btn-v2-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--neutral-300);
}

.btn-v2-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.dark-theme .btn-v2-ghost {
  color: var(--neutral-300);
  border-color: var(--neutral-600);
}

.dark-theme .btn-v2-ghost:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* Light buttons for dark CTA section */
.btn-v2-light {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-v2-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary);
  text-decoration: none;
}

.btn-v2-light:hover i {
  transform: translateX(4px);
}

.btn-v2-light i {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-v2-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-v2-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Stats bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.dark-theme .hero-stats-bar {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-number {
  font-family: var(--premium-font);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-suffix {
  font-family: var(--premium-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--neutral-200);
}

.dark-theme .stat-divider {
  background: var(--neutral-700);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--neutral-300);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════════════
   SHOWCASE SECTION - Product Display
   ═══════════════════════════════════════════════ */
.showcase-section {
  padding: 8rem 0;
  background: var(--neutral-50);
  position: relative;
}

.dark-theme .showcase-section {
  background: var(--neutral-900);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.showcase-title {
  font-family: var(--premium-font);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.showcase-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.showcase-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 12px;
  color: var(--primary);
  font-size: 1rem;
}

.dark-theme .showcase-feature-icon {
  background: rgba(59, 130, 246, 0.12);
}

.showcase-feature h4 {
  font-family: var(--premium-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.showcase-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Dashboard frame */
.showcase-visual {
  position: relative;
}

.dashboard-frame {
  background: var(--neutral-800);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--neutral-900);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #1e40af; }
.dashboard-dots span:nth-child(2) { background: #3b82f6; }
.dashboard-dots span:nth-child(3) { background: #06b6d4; }

.dashboard-url {
  font-family: var(--premium-font);
  font-size: 0.75rem;
  color: var(--neutral-400);
  flex: 1;
  text-align: center;
}

.dashboard-img {
  width: 100%;
  display: block;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: badgeFloat 3s ease-in-out infinite alternate;
}

.badge-accuracy {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.badge-accuracy i {
  color: var(--primary);
}

.badge-live {
  bottom: 20%;
  right: -20px;
  animation-delay: -1.5s;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #06b6d4;
  border-radius: 50%;
  position: relative;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #06b6d4;
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════
   PROCESS SECTION - 3-Step
   ═══════════════════════════════════════════════ */
.process-section {
  padding: 8rem 0;
  background: #ffffff;
}

.dark-theme .process-section {
  background: var(--neutral-800);
}

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

.process-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--neutral-200);
  border-radius: 20px;
  transition: var(--transition-smooth);
  position: relative;
}

.dark-theme .process-card {
  border-color: var(--neutral-700);
}

.process-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.08);
  transform: translateY(-4px);
}

.process-number {
  font-family: var(--premium-font);
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.process-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 16px;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.dark-theme .process-icon-wrap {
  background: rgba(59, 130, 246, 0.12);
}

.process-card h3 {
  font-family: var(--premium-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   NUMBERS MARQUEE - Infinite Scroll
   ═══════════════════════════════════════════════ */
.numbers-section {
  padding: 3rem 0;
  background: var(--primary);
  overflow: hidden;
}

.numbers-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  will-change: transform;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.marquee-number {
  font-family: var(--premium-font);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.marquee-label {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   INDUSTRIES SECTION
   ═══════════════════════════════════════════════ */
.industries-section {
  padding: 8rem 0;
  background: var(--neutral-50);
}

.dark-theme .industries-section {
  background: var(--neutral-900);
}

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

.industry-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--neutral-200);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dark-theme .industry-card {
  border-color: var(--neutral-700);
  color: var(--text-color);
}

.industry-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
  transform: translateY(-4px);
  color: var(--text-primary);
  text-decoration: none;
}

.dark-theme .industry-card:hover {
  color: #ffffff;
}

.industry-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 14px;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.dark-theme .industry-icon {
  background: rgba(59, 130, 246, 0.12);
}

.industry-card:hover .industry-icon {
  background: var(--primary);
  color: #ffffff;
}

.industry-card h3 {
  font-family: var(--premium-font);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.industry-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--neutral-200);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  font-size: 0.8rem;
}

.dark-theme .industry-arrow {
  border-color: var(--neutral-600);
}

.industry-card:hover .industry-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   CTA V2 - Bold Dark Section
   ═══════════════════════════════════════════════ */
.cta-v2 {
  padding: 8rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  position: relative;
  overflow: hidden;
}

.cta-v2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.2);
  top: -100px;
  right: -50px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.15);
  bottom: -80px;
  left: -50px;
}

.cta-v2-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-v2-title {
  font-family: var(--premium-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-v2-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.cta-v2-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.cta-trust-badges i {
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════
   FOOTER V2 - Clean & Minimal
   ═══════════════════════════════════════════════ */
.footer-v2 {
  background: #ffffff;
  border-top: 1px solid var(--neutral-200);
  padding: 4rem 0 0;
}

.dark-theme .footer-v2 {
  background: var(--neutral-900);
  border-top-color: var(--neutral-800);
}

.footer-v2-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-v2-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-v2-logo {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-v2-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-v2-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

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

.footer-v2-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.dark-theme .footer-v2-social a {
  border-color: var(--neutral-700);
}

.footer-v2-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.footer-v2-col h4 {
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-v2-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-v2-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-v2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--neutral-200);
  flex-wrap: wrap;
  gap: 1rem;
}

.dark-theme .footer-v2-bottom {
  border-top-color: var(--neutral-800);
}

.footer-v2-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer-v2-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-v2-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v2-legal a:hover {
  color: var(--primary);
}

.footer-v2-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-v2-tagline i {
  color: #3b82f6;
}

.footer-v2-tagline a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-v2-tagline a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE - Mobile First Adjustments
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase-text {
    order: 2;
  }

  .showcase-visual {
    order: 1;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-stats-bar {
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-stat-item {
    min-width: calc(50% - 1rem);
  }

  .showcase-section,
  .process-section,
  .industries-section,
  .cta-v2 {
    padding: 5rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .process-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none;
  }

  .footer-v2-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-v2-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-v2-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

  .btn-v2 {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-v2-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-v2-links .footer-v2-col:last-child {
    grid-column: span 2;
  }

  .section-title-v2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-v2-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* ═══════════════════════════════════════════════
   PREMIUM PAGE OVERRIDES
   Upgrades all existing page classes to match
   the world-class index page design system
   ═══════════════════════════════════════════════ */

/* ── PAGE HEADER (Hero on sub-pages) ── */
.page-header {
  position: relative;
  background: var(--neutral-50, #f8fafc);
  padding: clamp(8rem, 15vw, 12rem) 2rem clamp(5rem, 8vw, 8rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.dark-theme .page-header,
[data-theme="dark"] .page-header {
  background: var(--neutral-900, #0f172a);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(59,130,246,0.08), transparent),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(6,182,212,0.06), transparent);
  z-index: 0;
}

.dark-theme .page-header::before,
[data-theme="dark"] .page-header::before {
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(59,130,246,0.15), transparent),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(6,182,212,0.1), transparent);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.dark-theme .page-header::after,
[data-theme="dark"] .page-header::after {
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
}

.page-header-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-header .page-title,
.page-header h1.page-title,
.page-header .page-header-title {
  font-family: var(--premium-font);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.page-header .page-subtitle,
.page-header p.page-subtitle,
.page-header .page-header-subtitle {
  font-family: var(--body-font);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: none;
}

/* ── GENERIC SECTIONS ── */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section.bg-light {
  background: var(--surface, #f8fafc);
}

[data-theme="dark"] .section.bg-light {
  background: rgba(255,255,255,0.02);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section .section-title {
  font-family: var(--premium-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1rem;
  text-align: center;
}

[data-theme="dark"] .section .section-title {
  color: #f1f5f9;
}

.section .section-subtitle {
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  max-width: 600px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  border-color: rgba(59,130,246,0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

[data-theme="dark"] .feature-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #3b82f6;
  transition: transform 0.4s var(--ease-out-expo), background 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2));
}

.feature-title {
  font-family: var(--premium-font);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .feature-title {
  color: #f1f5f9;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── FEATURE TABLE ── */
.table-responsive {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
}

[data-theme="dark"] .table-responsive {
  border-color: rgba(255,255,255,0.06);
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--body-font);
}

.feature-table thead {
  background: var(--gradient-dark);
}

.feature-table thead th {
  font-family: var(--premium-font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-align: left;
}

.feature-table tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-primary, #334155);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.feature-table tbody tr {
  transition: background 0.2s ease;
}

.feature-table tbody tr:hover {
  background: rgba(59,130,246,0.03);
}

[data-theme="dark"] .feature-table tbody td {
  color: #cbd5e1;
  border-color: rgba(255,255,255,0.04);
}

[data-theme="dark"] .feature-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

/* ── PRICING PLANS ── */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-plan {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  position: relative;
}

.pricing-plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}

.pricing-plan.highlighted {
  border: 2px solid #3b82f6;
  transform: scale(1.03);
  box-shadow: 0 30px 60px -15px rgba(59,130,246,0.15);
}

.pricing-plan.highlighted:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 40px 80px -20px rgba(59,130,246,0.2);
}

[data-theme="dark"] .pricing-plan {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .pricing-plan.highlighted {
  border-color: #3b82f6;
  background: rgba(59,130,246,0.05);
}

.pricing-plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--premium-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
}

.pricing-plan-header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

.pricing-plan-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .pricing-plan-title {
  color: #f1f5f9;
}

.pricing-plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.5rem;
}

.pricing-plan-price {
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--premium-font);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary, #64748b);
}

.pricing-custom {
  font-family: var(--premium-font);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-plan-employees {
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.5rem;
}

.pricing-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  font-family: var(--premium-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  background: var(--gradient-dark);
  color: #fff;
  width: 100%;
}

.pricing-plan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(15,23,42,0.3);
}

.pricing-plan.highlighted .pricing-plan-button {
  background: var(--gradient-primary);
}

.pricing-plan.highlighted .pricing-plan-button:hover {
  box-shadow: 0 10px 40px -10px rgba(59,130,246,0.4);
}

/* Pricing example text */
.pricing-plan-example {
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Volume pricing table */
.volume-pricing-table {
  max-width: 700px;
  margin: 2.5rem auto 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
}

.dark-theme .volume-pricing-table,
[data-theme="dark"] .volume-pricing-table {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.volume-pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.volume-pricing-table thead {
  background: var(--gradient-primary);
}

.volume-pricing-table th {
  padding: 1rem 1.5rem;
  font-family: var(--premium-font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: left;
}

.volume-pricing-table td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-primary, #0f172a);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.dark-theme .volume-pricing-table td,
[data-theme="dark"] .volume-pricing-table td {
  color: var(--text-primary, #f1f5f9);
  border-top-color: rgba(255,255,255,0.06);
}

.volume-pricing-table tbody tr:hover {
  background: rgba(59,130,246,0.04);
}

.volume-pricing-table td a {
  color: var(--primary, #3b82f6);
  text-decoration: none;
  font-weight: 500;
}

.volume-pricing-table td a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .volume-pricing-table th,
  .volume-pricing-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

.pricing-plan-features {
  padding: 0 2rem 2.5rem;
}

.pricing-features-heading {
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

[data-theme="dark"] .pricing-features-heading {
  border-color: rgba(255,255,255,0.06);
}

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

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-primary, #334155);
}

[data-theme="dark"] .pricing-feature {
  color: #cbd5e1;
}

.pricing-feature i {
  font-size: 0.8rem;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-feature.inactive {
  opacity: 0.4;
}

.pricing-feature.inactive i {
  color: var(--text-secondary, #94a3b8);
}

/* Pricing toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 3rem;
  width: fit-content;
}

.pricing-toggle span {
  font-family: var(--premium-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
}

.pricing-toggle span.active {
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .pricing-toggle span.active {
  color: #f1f5f9;
}

.toggle-switch {
  width: 56px;
  height: 30px;
  border-radius: 100px;
  background: var(--gradient-primary);
  position: relative;
  cursor: pointer;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease-out-expo);
}

.toggle-switch.active::after {
  transform: translateX(26px);
}

/* ── HARDWARE OPTIONS ── */
.hardware-options {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hardware-option {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.hardware-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
}

[data-theme="dark"] .hardware-option {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.hardware-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

.hardware-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .hardware-title {
  color: #f1f5f9;
}

.hardware-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.5rem;
}

.hardware-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hardware-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hardware-spec-label {
  font-family: var(--premium-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary, #94a3b8);
}

.hardware-spec-value {
  font-family: var(--premium-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .hardware-spec-value {
  color: #f1f5f9;
}

.hardware-price {
  font-family: var(--premium-font);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.hardware-note {
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
}

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

/* ── SOLUTION CARDS ── */
.solution-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
}

[data-theme="dark"] .solution-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.solution-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.solution-content {
  padding: 2.5rem;
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #3b82f6;
  margin-bottom: 1.25rem;
}

.solution-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .solution-title {
  color: #f1f5f9;
}

.solution-challenge,
.solution-benefits,
.solution-outcome {
  margin-bottom: 1.5rem;
}

.solution-challenge h4,
.solution-benefits h4,
.solution-outcome h4 {
  font-family: var(--premium-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-challenge h4 i { color: #64748b; }
.solution-benefits h4 i { color: #10b981; }
.solution-outcome h4 i { color: #3b82f6; }

.solution-challenge p,
.solution-benefits p,
.solution-outcome p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

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

.solution-list li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

.solution-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.solution-cta {
  padding-top: 0.5rem;
}

.solution-cta .btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-family: var(--premium-font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--gradient-dark);
  color: #fff;
  transition: all 0.4s var(--ease-out-expo);
}

.solution-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(15,23,42,0.3);
}

/* ── SECURITY PILLARS ── */
.security-architecture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.security-pillar {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.security-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.security-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.security-pillar:hover::before {
  opacity: 1;
}

[data-theme="dark"] .security-pillar {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.security-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #3b82f6;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.security-pillar:hover .security-pillar-icon {
  transform: scale(1.1);
}

.security-pillar-title {
  font-family: var(--premium-font);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .security-pillar-title {
  color: #f1f5f9;
}

.security-pillar-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.25rem;
}

.security-feature-list {
  list-style: none;
  padding: 0;
}

.security-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

.security-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* Security overview */
.security-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.security-overview-image img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

.security-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: rgba(59,130,246,0.06);
  font-family: var(--premium-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .security-badge {
  background: rgba(59,130,246,0.1);
  color: #f1f5f9;
}

.security-badge img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

/* ── PROCESS STEPS (How It Works) ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr 320px;
  gap: 2.5rem;
  align-items: start;
  position: relative;
}

.process-step:nth-child(even) {
  direction: ltr;
}

.process-step-number {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step-content {
  padding-top: 0.5rem;
}

.process-step-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .process-step-title {
  color: #f1f5f9;
}

.process-step-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.25rem;
}

.process-step-list {
  list-style: none;
  padding: 0;
}

.process-step-list li {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
}

.process-step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.process-step-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .process-step {
    grid-template-columns: auto 1fr;
  }
  .process-step-image {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .process-step {
    grid-template-columns: 1fr;
  }
  .process-step-number {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 14px;
  }
}

/* ── TABS (User Experience) ── */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  font-family: var(--premium-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.tab-btn:hover {
  border-color: rgba(59,130,246,0.3);
  color: var(--text-primary, #0f172a);
}

.tab-btn.active {
  background: var(--gradient-dark);
  color: #fff;
  border-color: transparent;
}

[data-theme="dark"] .tab-btn {
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .tab-btn:hover {
  border-color: rgba(59,130,246,0.3);
  color: #f1f5f9;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .tab-title {
  color: #f1f5f9;
}

.tab-title i {
  color: #3b82f6;
}

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tab-image img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

.tab-description h4 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .tab-description h4 {
  color: #f1f5f9;
}

.tab-description p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
}

.numbered-list {
  padding-left: 1.5rem;
}

.numbered-list li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 0.75rem;
}

.numbered-list li strong {
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .numbered-list li strong {
  color: #f1f5f9;
}

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

/* ── ABOUT: MISSION & VALUES ── */
.mission-values {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.mission {
  background: var(--gradient-dark);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 300px 300px at 50% 0%, rgba(59,130,246,0.15), transparent);
}

.mission-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: #60a5fa;
}

.mission-title {
  position: relative;
  z-index: 1;
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.mission-text {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .mission-values {
    grid-template-columns: 1fr;
  }
}

.values-title {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 2rem;
}

[data-theme="dark"] .values-title {
  color: #f1f5f9;
}

.value-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.value-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
}

[data-theme="dark"] .value-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.04);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #3b82f6;
  flex-shrink: 0;
}

.value-name {
  font-family: var(--premium-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .value-name {
  color: #f1f5f9;
}

.value-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── ABOUT: TEAM MEMBERS ── */
.leadership-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

[data-theme="dark"] .team-member {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.team-member-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid rgba(59,130,246,0.1);
}

.team-member-name {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .team-member-name {
  color: #f1f5f9;
}

.team-member-title {
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.team-member-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.25rem;
}

.team-member-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59,130,246,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── ABOUT: TIMELINE ── */
.company-timeline {
  position: relative;
  padding-left: 3rem;
}

.company-timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3b82f6, #06b6d4);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

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

.timeline-marker {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 64px;
  height: 36px;
  border-radius: 100px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--premium-font);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  margin-left: 2.5rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.timeline-content:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
}

[data-theme="dark"] .timeline-content {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.timeline-title {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .timeline-title {
  color: #f1f5f9;
}

.timeline-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── ABOUT: STATS / NUMBERS ── */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

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

.stat-number {
  font-family: var(--premium-font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--premium-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  margin-top: 0.35rem;
}

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

/* ── CTA SECTION (all pages) ── */
.cta {
  position: relative;
  background: var(--gradient-dark);
  padding: clamp(5rem, 10vw, 8rem) 2rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 500px at 30% 50%, rgba(59,130,246,0.12), transparent),
    radial-gradient(ellipse 400px 400px at 70% 50%, rgba(139,92,246,0.08), transparent);
  z-index: 0;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.cta > * {
  position: relative;
  z-index: 1;
}

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

.cta .cta-title,
.cta h2 {
  font-family: var(--premium-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.cta .cta-text,
.cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta .cta-button,
.cta a.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  background: #fff;
  color: #0f172a;
  font-family: var(--premium-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.cta .cta-button:hover,
.cta a.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(255,255,255,0.15);
}

/* ── CONTACT FORM ── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  padding-top: 1rem;
}

.contact-info h3 {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-info h3 {
  color: #f1f5f9;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 2rem;
}

.contact-details .contact-item {
  display: flex;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.contact-item .contact-icon,
.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 3rem;
}

[data-theme="dark"] .contact-form {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--premium-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary, #334155);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .form-group label {
  color: #e2e8f0;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-primary, #0f172a);
  background: var(--card-bg, #fff);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

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

.form-submit,
.contact-form button[type="submit"],
.contact-form .btn-submit,
.demo-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 100px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--premium-font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  width: 100%;
}

.form-submit:hover,
.contact-form button[type="submit"]:hover,
.contact-form .btn-submit:hover,
.demo-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(59,130,246,0.3);
}

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

/* ── GDPR FRAMEWORK ── */
.gdpr-framework {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.gdpr-framework-image img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

.gdpr-principle {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.gdpr-principle:hover {
  transform: translateX(8px);
}

[data-theme="dark"] .gdpr-principle {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.04);
}

.gdpr-principle-title {
  font-family: var(--premium-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="dark"] .gdpr-principle-title {
  color: #f1f5f9;
}

.gdpr-principle-title i {
  color: #10b981;
}

.gdpr-principle-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

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

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

[data-theme="dark"] .blog-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.blog-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-category {
  display: inline-block;
  font-family: var(--premium-font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: var(--premium-font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

[data-theme="dark"] .blog-card-title {
  color: #f1f5f9;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-secondary, #94a3b8);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

/* ── CAREERS ── */
.career-openings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.career-opening,
.job-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.3s ease;
}

.career-opening:hover,
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px -10px rgba(0,0,0,0.08);
  border-color: rgba(59,130,246,0.15);
}

[data-theme="dark"] .career-opening,
[data-theme="dark"] .job-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.career-opening h3,
.job-card h3 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .career-opening h3,
[data-theme="dark"] .job-card h3 {
  color: #f1f5f9;
}

.career-tag,
.job-tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-family: var(--premium-font);
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(59,130,246,0.06);
  color: #3b82f6;
}

/* ── PARTNERS ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

[data-theme="dark"] .partner-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.partner-card img {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.partner-card h3 {
  font-family: var(--premium-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .partner-card h3 {
  color: #f1f5f9;
}

/* ── DOCS / API ── */
.docs-sidebar,
.api-sidebar {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 1.5rem;
}

[data-theme="dark"] .docs-sidebar,
[data-theme="dark"] .api-sidebar {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.docs-sidebar a,
.api-sidebar a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  text-decoration: none;
  transition: all 0.2s ease;
}

.docs-sidebar a:hover,
.api-sidebar a:hover,
.docs-sidebar a.active,
.api-sidebar a.active {
  background: rgba(59,130,246,0.06);
  color: #3b82f6;
}

.docs-content,
.api-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-primary, #334155);
}

[data-theme="dark"] .docs-content,
[data-theme="dark"] .api-content {
  color: #cbd5e1;
}

.docs-content h2,
.api-content h2 {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.docs-content h3,
.api-content h3 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Code blocks */
.code-block,
pre, code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
}

pre {
  background: #0f172a;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  color: #e2e8f0;
  margin: 1.5rem 0;
}

/* ── SUPPORT ── */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.support-option,
.support-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}

.support-option:hover,
.support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

[data-theme="dark"] .support-option,
[data-theme="dark"] .support-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.support-option .support-icon,
.support-card .support-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.4rem;
  color: #3b82f6;
}

.support-option h3,
.support-card h3 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .support-option h3,
[data-theme="dark"] .support-card h3 {
  color: #f1f5f9;
}

.support-option p,
.support-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(59,130,246,0.2);
}

[data-theme="dark"] .faq-item {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--premium-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

[data-theme="dark"] .faq-question {
  color: #f1f5f9;
}

.faq-question i {
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── BENEFIT CARDS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.benefit-card:hover::before {
  opacity: 1;
}

[data-theme="dark"] .benefit-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: #3b82f6;
}

.benefit-card h3 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .benefit-card h3 {
  color: #f1f5f9;
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #64748b);
}

/* ── BUTTONS (global overrides) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--premium-font);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
}

.btn-primary {
  padding: 0.75rem 2rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(59,130,246,0.35);
}

.btn-secondary,
.btn-outline {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline {
  border-color: rgba(255,255,255,0.15);
  color: #f1f5f9;
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.3);
}

/* ── LEGAL PAGES (Privacy, Terms, GDPR) ── */
.legal-content,
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-primary, #334155);
}

[data-theme="dark"] .legal-content,
[data-theme="dark"] .policy-content {
  color: #cbd5e1;
}

.legal-content h2,
.policy-content h2 {
  font-family: var(--premium-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .legal-content h2,
[data-theme="dark"] .policy-content h2 {
  color: #f1f5f9;
}

.legal-content h3,
.policy-content h3 {
  font-family: var(--premium-font);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.policy-content p {
  margin-bottom: 1rem;
}

.legal-content ul,
.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li,
.policy-content li {
  margin-bottom: 0.5rem;
}

/* ── ROUNDED IMAGES ── */
.rounded-image {
  border-radius: 16px;
}

/* ── DEMO FORM ── */
.demo-form {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

[data-theme="dark"] .demo-form {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

/* ── REVEAL ANIMATIONS (for all pages) ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features-grid .feature-card,
.security-architecture .security-pillar,
.pricing-plans .pricing-plan,
.leadership-team .team-member,
.benefits-grid .benefit-card,
.support-options .support-option,
.support-options .support-card,
.partners-grid .partner-card,
.blog-grid .blog-card,
.value-items .value-item,
.career-openings .career-opening,
.career-openings .job-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.features-grid .feature-card.revealed,
.security-architecture .security-pillar.revealed,
.pricing-plans .pricing-plan.revealed,
.leadership-team .team-member.revealed,
.benefits-grid .benefit-card.revealed,
.support-options .support-option.revealed,
.support-options .support-card.revealed,
.partners-grid .partner-card.revealed,
.blog-grid .blog-card.revealed,
.value-items .value-item.revealed,
.career-openings .career-opening.revealed,
.career-openings .job-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE HEADER RESPONSIVE ── */
@media (max-width: 768px) {
  .page-header {
    padding: clamp(6rem, 12vw, 8rem) 1.5rem clamp(3rem, 6vw, 5rem);
  }

  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .pricing-plan.highlighted {
    transform: none;
  }

  .pricing-plan.highlighted:hover {
    transform: translateY(-8px);
  }
}

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

  .security-architecture {
    grid-template-columns: 1fr;
  }

  .career-opening,
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================
   DOCUMENTATION PAGE — WORLD-CLASS STYLES
   ===================================================== */

/* Page-level overrides */
.docs-page {
  padding-top: 0;
}
.docs-page .section-container {
  max-width: 100%;
  padding: 0;
}

/* Two-column layout */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

/* ---- Sidebar ---- */
.docs-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(59,130,246,0.2) transparent;
}
.docs-sidebar-inner {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(30,64,175,0.08);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
}
.dark-theme .docs-sidebar-inner {
  background: rgba(15,23,42,0.65);
  border-color: rgba(96,165,250,0.12);
}
.docs-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--premium-font, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(30,64,175,0.08);
}
.dark-theme .docs-sidebar-header {
  color: #94a3b8;
  border-bottom-color: rgba(96,165,250,0.1);
}
.docs-sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
}
.docs-nav {
  display: flex;
  flex-direction: column;
}
.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.dark-theme .docs-nav-link {
  color: #94a3b8;
}
.docs-nav-link:hover {
  background: rgba(59,130,246,0.06);
  color: #1e40af;
}
.dark-theme .docs-nav-link:hover {
  background: rgba(59,130,246,0.1);
  color: #60a5fa;
}
.docs-nav-link.active {
  background: rgba(59,130,246,0.08);
  color: #1e40af;
  border-left-color: #3b82f6;
  font-weight: 600;
}
.dark-theme .docs-nav-link.active {
  color: #60a5fa;
}
.docs-nav-heading {
  font-weight: 600;
  margin-top: 0.6rem;
  color: #1e293b;
}
.dark-theme .docs-nav-heading {
  color: #e2e8f0;
}
.docs-nav-sub {
  padding-left: 2.2rem;
  font-size: 0.82rem;
  font-weight: 400;
}
.docs-nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Main content ---- */
.docs-main {
  min-width: 0;
}

/* Article sections */
.docs-article {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(30,64,175,0.06);
}
.dark-theme .docs-article {
  border-bottom-color: rgba(96,165,250,0.08);
}
.docs-article:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.docs-article-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.docs-article-header h2 {
  font-family: var(--premium-font, 'Space Grotesk', sans-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}
.dark-theme .docs-article-header h2 {
  color: #f1f5f9;
}
.docs-chapter-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 14px;
  font-family: var(--premium-font, 'Space Grotesk', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}
.docs-intro {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.dark-theme .docs-intro {
  color: #94a3b8;
}

/* Docs blocks */
.docs-block {
  margin-bottom: 2.5rem;
}
.docs-block h3 {
  font-family: var(--premium-font, 'Space Grotesk', sans-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(59,130,246,0.1);
}
.dark-theme .docs-block h3 {
  color: #60a5fa;
  border-bottom-color: rgba(96,165,250,0.15);
}
.docs-block h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.6rem;
}
.dark-theme .docs-block h4 {
  color: #e2e8f0;
}
.docs-block p,
.docs-block li {
  color: #475569;
  line-height: 1.75;
  font-size: 0.95rem;
}
.dark-theme .docs-block p,
.dark-theme .docs-block li {
  color: #94a3b8;
}
.docs-block ul, .docs-block ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.docs-block li {
  margin-bottom: 0.3rem;
}
.docs-block code {
  background: rgba(59,130,246,0.08);
  color: #1e40af;
  padding: 0.15em 0.45em;
  border-radius: 5px;
  font-size: 0.87em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.dark-theme .docs-block code {
  background: rgba(96,165,250,0.15);
  color: #93c5fd;
}

/* Ordered steps */
.docs-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.docs-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
}
.docs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Tables */
.docs-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(30,64,175,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dark-theme .docs-table-wrap {
  border-color: rgba(96,165,250,0.12);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.docs-table thead {
  background: linear-gradient(135deg, rgba(30,64,175,0.04), rgba(59,130,246,0.04));
}
.dark-theme .docs-table thead {
  background: linear-gradient(135deg, rgba(30,64,175,0.15), rgba(59,130,246,0.1));
}
.docs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e40af;
  border-bottom: 2px solid rgba(59,130,246,0.1);
  white-space: nowrap;
}
.dark-theme .docs-table th {
  color: #60a5fa;
  border-bottom-color: rgba(96,165,250,0.15);
}
.docs-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: #475569;
  vertical-align: top;
}
.dark-theme .docs-table td {
  border-bottom-color: rgba(255,255,255,0.04);
  color: #94a3b8;
}
.docs-table tbody tr:hover {
  background: rgba(59,130,246,0.02);
}
.dark-theme .docs-table tbody tr:hover {
  background: rgba(59,130,246,0.06);
}
.docs-table-compact th,
.docs-table-compact td {
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
  text-align: center;
}
.docs-table-compact td:first-child,
.docs-table-compact th:first-child {
  text-align: left;
}
.docs-table-sm th,
.docs-table-sm td {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
}

/* Badges */
.docs-badge {
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.docs-badge-green { background: rgba(16,185,129,0.1); color: #059669; }
.dark-theme .docs-badge-green { background: rgba(16,185,129,0.18); color: #34d399; }
.docs-badge-red { background: rgba(239,68,68,0.1); color: #dc2626; }
.dark-theme .docs-badge-red { background: rgba(239,68,68,0.18); color: #f87171; }
.docs-badge-yellow { background: rgba(245,158,11,0.1); color: #d97706; }
.dark-theme .docs-badge-yellow { background: rgba(245,158,11,0.18); color: #fbbf24; }
.docs-badge-blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.dark-theme .docs-badge-blue { background: rgba(59,130,246,0.18); color: #60a5fa; }
.docs-badge-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.dark-theme .docs-badge-purple { background: rgba(139,92,246,0.18); color: #a78bfa; }
.docs-badge-gray { background: rgba(100,116,139,0.1); color: #64748b; }
.dark-theme .docs-badge-gray { background: rgba(100,116,139,0.18); color: #94a3b8; }

/* Scope tag */
.docs-scope {
  display: inline-block;
  padding: 0.1em 0.4em;
  background: rgba(59,130,246,0.08);
  color: #3b82f6;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Stat preview cards */
.docs-stat-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.docs-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.dark-theme .docs-stat {
  background: rgba(30,41,59,0.6);
  border-color: rgba(255,255,255,0.06);
}
.docs-stat i { font-size: 0.9rem; }
.docs-stat-green { color: #059669; border-color: rgba(16,185,129,0.2); }
.docs-stat-green i { color: #10b981; }
.docs-stat-red { color: #dc2626; border-color: rgba(239,68,68,0.2); }
.docs-stat-red i { color: #ef4444; }
.docs-stat-yellow { color: #d97706; border-color: rgba(245,158,11,0.2); }
.docs-stat-yellow i { color: #f59e0b; }
.docs-stat-blue { color: #2563eb; border-color: rgba(59,130,246,0.2); }
.docs-stat-blue i { color: #3b82f6; }
.docs-stat-orange { color: #ea580c; border-color: rgba(249,115,22,0.2); }
.docs-stat-orange i { color: #f97316; }
.docs-stat-neutral { color: #475569; border-color: rgba(100,116,139,0.2); }
.docs-stat-neutral i { color: #64748b; }
.dark-theme .docs-stat-green { color: #34d399; }
.dark-theme .docs-stat-red { color: #f87171; }
.dark-theme .docs-stat-yellow { color: #fbbf24; }
.dark-theme .docs-stat-blue { color: #60a5fa; }
.dark-theme .docs-stat-orange { color: #fb923c; }
.dark-theme .docs-stat-neutral { color: #94a3b8; }

/* Callouts */
.docs-callout {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
  border: 1px solid;
}
.docs-callout-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}
.docs-callout p { margin: 0; }
.docs-callout-tip {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.15);
}
.docs-callout-tip .docs-callout-icon { color: #10b981; }
.dark-theme .docs-callout-tip {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.2);
}
.docs-callout-success {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.15);
}
.docs-callout-success .docs-callout-icon { color: #10b981; }
.dark-theme .docs-callout-success {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.2);
}
.docs-callout-info {
  background: rgba(59,130,246,0.05);
  border-color: rgba(59,130,246,0.15);
}
.docs-callout-info .docs-callout-icon { color: #3b82f6; }
.dark-theme .docs-callout-info {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.2);
}
.docs-callout-warning {
  background: rgba(245,158,11,0.05);
  border-color: rgba(245,158,11,0.15);
}
.docs-callout-warning .docs-callout-icon { color: #f59e0b; }
.dark-theme .docs-callout-warning {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.2);
}

/* Mini cards (deployment modes) */
.docs-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.docs-mini-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.08);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.docs-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.1);
}
.dark-theme .docs-mini-card {
  background: rgba(30,41,59,0.5);
  border-color: rgba(96,165,250,0.1);
}
.docs-mini-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,64,175,0.08), rgba(59,130,246,0.08));
  border-radius: 12px;
  font-size: 1.2rem;
  color: #3b82f6;
}
.dark-theme .docs-mini-icon {
  background: linear-gradient(135deg, rgba(30,64,175,0.2), rgba(59,130,246,0.15));
  color: #60a5fa;
}
.docs-mini-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.dark-theme .docs-mini-card h4 { color: #f1f5f9; }
.docs-mini-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.dark-theme .docs-mini-card p { color: #94a3b8; }

/* Checklist */
.docs-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.docs-checklist-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.docs-checklist-item:hover {
  border-color: rgba(59,130,246,0.2);
}
.dark-theme .docs-checklist-item {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-checklist-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.docs-checklist-item strong {
  display: block;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.dark-theme .docs-checklist-item strong { color: #f1f5f9; }
.docs-checklist-item p {
  margin: 0;
  font-size: 0.9rem;
}

/* Role cards grid */
.docs-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.docs-role-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 14px;
  padding: 1.25rem;
}
.dark-theme .docs-role-card {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, rgba(30,64,175,0.06), rgba(59,130,246,0.06));
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.75rem;
}
.dark-theme .docs-role-badge {
  background: linear-gradient(135deg, rgba(30,64,175,0.15), rgba(59,130,246,0.1));
  color: #60a5fa;
}
.docs-role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-role-card li {
  padding: 0.3rem 0;
  font-size: 0.88rem;
  color: #475569;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.dark-theme .docs-role-card li {
  color: #94a3b8;
  border-bottom-color: rgba(255,255,255,0.04);
}
.docs-role-card li:last-child { border-bottom: none; }

/* Enrollment flow */
.docs-flow {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.docs-flow-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 12px;
}
.dark-theme .docs-flow-step {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.docs-flow-step p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}
.docs-flow-arrow {
  display: flex;
  align-items: center;
  color: #3b82f6;
  font-size: 1rem;
  padding-top: 2rem;
}
.dark-theme .docs-flow-arrow { color: #60a5fa; }

/* Tabs preview */
.docs-tabs-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.docs-tab-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 14px;
  padding: 1.25rem;
}
.dark-theme .docs-tab-card {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-tab-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e40af;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark-theme .docs-tab-card h4 { color: #60a5fa; }
.docs-tab-card p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.dark-theme .docs-tab-card p { color: #94a3b8; }

/* Tag list */
.docs-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}
.docs-tag-list span {
  display: inline-block;
  padding: 0.3em 0.65em;
  background: rgba(59,130,246,0.06);
  color: #1e40af;
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.dark-theme .docs-tag-list span {
  background: rgba(96,165,250,0.1);
  color: #93c5fd;
  border-color: rgba(96,165,250,0.15);
}

/* Highlight grid (security) */
.docs-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.docs-highlight-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.docs-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(59,130,246,0.1);
}
.dark-theme .docs-highlight-card {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-highlight-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,64,175,0.08), rgba(59,130,246,0.08));
  border-radius: 14px;
  font-size: 1.4rem;
  color: #3b82f6;
}
.dark-theme .docs-highlight-icon {
  background: linear-gradient(135deg, rgba(30,64,175,0.2), rgba(59,130,246,0.15));
  color: #60a5fa;
}
.docs-highlight-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.dark-theme .docs-highlight-card h4 { color: #f1f5f9; }
.docs-highlight-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.dark-theme .docs-highlight-card p { color: #94a3b8; }

/* Legend grid */
.docs-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
}
.docs-legend-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.dark-theme .docs-legend-group h4 { color: #e2e8f0; }
.docs-legend-group p {
  font-size: 0.88rem;
  margin: 0.3rem 0;
}

/* Link cards */
.docs-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.docs-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,64,175,0.06);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.docs-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
}
.dark-theme .docs-link-card {
  background: rgba(30,41,59,0.4);
  border-color: rgba(96,165,250,0.08);
}
.docs-link-card i {
  font-size: 1.4rem;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}
.dark-theme .docs-link-card i { color: #60a5fa; }
.docs-link-card span {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}
.dark-theme .docs-link-card span { color: #f1f5f9; }
.docs-link-card small {
  font-size: 0.78rem;
  color: #64748b;
}
.dark-theme .docs-link-card small { color: #94a3b8; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
  }
  .docs-sidebar-inner {
    max-height: 300px;
    overflow-y: auto;
  }
  .docs-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .docs-flow-arrow {
    justify-content: center;
    padding: 0;
    transform: rotate(90deg);
  }
  .docs-tabs-preview {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .docs-article-header h2 {
    font-size: 1.5rem;
  }
  .docs-chapter-num {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .docs-stat-preview {
    flex-direction: column;
  }
  .docs-role-grid {
    grid-template-columns: 1fr;
  }
  .docs-table-compact th,
  .docs-table-compact td {
    padding: 0.35rem 0.4rem;
    font-size: 0.75rem;
  }
}

/* =====================================================
   DOCS — ROLE SWITCHER
   ===================================================== */
.docs-role-switcher {
  max-width: 1280px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}
.docs-role-switcher-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(30,64,175,0.08);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dark-theme .docs-role-switcher-inner {
  background: rgba(15,23,42,0.65);
  border-color: rgba(96,165,250,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.docs-role-switcher-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.dark-theme .docs-role-switcher-label {
  color: #94a3b8;
}
.docs-role-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.docs-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(30,64,175,0.1);
  border-radius: 10px;
  background: transparent;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.dark-theme .docs-role-pill {
  border-color: rgba(96,165,250,0.12);
  color: #94a3b8;
}
.docs-role-pill:hover {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.2);
  color: #1e40af;
}
.dark-theme .docs-role-pill:hover {
  background: rgba(59,130,246,0.1);
  color: #60a5fa;
}
.docs-role-pill.active {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.docs-role-pill i {
  font-size: 0.8rem;
}

/* Smooth hide/show transitions for filtered articles */
.docs-article[data-role],
.docs-nav-link[data-role] {
  transition: opacity 0.3s ease;
}
.docs-article.docs-hidden {
  display: none !important;
}
.docs-nav-link.docs-hidden {
  display: none !important;
}

/* Back-to-top for docs */
.docs-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
  z-index: 100;
}
.docs-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.docs-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

/* Smooth scroll hint at sidebar bottom */
.docs-sidebar-inner {
  position: relative;
}
.docs-sidebar-inner::after {
  content: '';
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  display: block;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}
.dark-theme .docs-sidebar-inner::after {
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
}

@media (max-width: 600px) {
  .docs-role-switcher {
    padding: 0 1rem;
  }
  .docs-role-switcher-inner {
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }
  .docs-role-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }
  .docs-role-switcher-label {
    font-size: 0.78rem;
  }
}
