:root {
  /* Brand Colors */
  --color-navy: #02183d;
  --color-white: #ffffff;
  --color-fuchsia: #f21651;
  --color-orange: #f9921c;
  --color-burgundy: #8c1c3f;
  --color-purple: #913793;
  --color-bg-light: #f4f6f9;
  --color-text-main: #02183d;
  --color-text-muted: #6c757d;

  /* Semantic Colors */
  --color-success: #2ecc71;
  --color-danger: #f21651;
  --color-warning: #f9921c;
  --color-info: #3498db;

  /* Layout */
  --sidebar-width: 260px;
  --topbar-height: 60px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--color-navy);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 20px; /* Reduced padding from 2rem for a tighter look if needed */
  flex-shrink: 0;
}

.brand-logo {
  margin-bottom: 40px;
  text-align: center;
}

.brand-logo img {
  max-width: 100%; /* Ensure logo fits */
  height: auto;
  max-height: 60px; /* Limit height */
}

.brand-placeholder {
  color: var(--color-white);
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.nav-menu {
  list-style: none;
  flex: 1;
}

.nav-item {
  margin-bottom: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.nav-link.active {
  border-left: 4px solid var(--color-fuchsia);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  height: var(--topbar-height);
  background-color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.company-name {
  font-weight: 700;
  color: var(--color-navy);
}

.last-updated {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

/* Common Components */
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-fuchsia);
  color: white;
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 100%;
}

.btn:hover {
  opacity: 0.9;
}

.card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.card h3 {
  color: var(--color-navy);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

td {
  font-size: 0.95rem;
}

/* Landing Page Specifics */
body.landing-page {
  display: block; /* Override flex if present */
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-bg-light);
}

/* ========== NEW HERO 50/50 LAYOUT ========== */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #020c1b 0%, #02183d 40%, #0a1e3d 70%, #071428 100%);
  overflow: hidden;
  color: white;
  padding: 120px 5vw 80px;
  gap: 4vw;
}

/* Subtle ambient glow */
.hero-wrapper::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  z-index: 0;
}
.hero-wrapper::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  pointer-events: none;
  z-index: 0;
}

/* --- LEFT COLUMN --- */
.hero-left {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 10;
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 50px;
  color: #818cf8;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-title-new {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 1.5rem;
}

.hero-title-white {
  display: block;
  color: #ffffff;
  margin-bottom: 0.3em;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #e879f9, #818cf8, #38bdf8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradientShift 5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(129, 140, 248, 0.4))
          drop-shadow(0 0 40px rgba(129, 140, 248, 0.15));
}

@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle-new {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

/* --- CTAs Row --- */
.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    0 8px 30px rgba(99, 102, 241, 0.4),
    0 0 50px rgba(99, 102, 241, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 40px rgba(99, 102, 241, 0.55),
    0 0 70px rgba(99, 102, 241, 0.2);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
  transform: translateY(-2px);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 50%;
  font-size: 0.7rem;
  color: #818cf8;
}

/* --- RIGHT COLUMN --- */
.hero-right {
  flex: 1.2;
  max-width: 680px;
  position: relative;
  z-index: 10;
}

/* --- Browser Mockup --- */
.browser-mockup {
  background: rgba(10, 18, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.browser-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.browser-url {
  flex: 1;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
}

.browser-content {
  position: relative;
  height: 460px;
  overflow: hidden;
}

/* Animation wrapper - repositioned for inside mockup */
.animation-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding-bottom: 50%;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
}

.stagger-visualizer {
  position: absolute;
  width: 1100px;
  height: 550px;
  transform-origin: left top;
}

.stagger-visualizer .dots-wrapper {
  transform: translateZ(0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.stagger-visualizer .dot {
  position: relative;
  z-index: 1;
  width: 23px;
  height: 23px;
  margin: 16px;
  background-color: transparent;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #ffffff 8%, #d3cdc6 100%);
}

.stagger-visualizer .cursor {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 37px;
  height: 37px;
  margin: 9px;
  background-color: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

/* --- Floating Insight Cards (JS-driven reveal) --- */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--card-glow, rgba(255, 255, 255, 0.15));
  border-radius: 14px;
  z-index: 5;
  /* Hidden by default — JS reveals them */
  opacity: 0;
  transform: scale(0.5) translateY(20px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.5s ease, border-color 0.5s ease;
  pointer-events: none;
  box-shadow: none;
}

.floating-card.card-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  box-shadow:
    0 0 20px var(--card-glow, rgba(99, 102, 241, 0.4)),
    0 0 50px var(--card-glow, rgba(99, 102, 241, 0.15)),
    0 10px 40px rgba(0, 0, 0, 0.5);
  animation: cardPop 0.6s ease-out, cardFloat 3.5s ease-in-out 0.6s infinite;
}

.floating-card.card-exiting {
  opacity: 0;
  transform: scale(0.7) translateY(-15px);
  box-shadow: none;
}

@keyframes cardPop {
  0% {
    transform: scale(0.5) translateY(20px);
    box-shadow: 0 0 60px var(--card-glow, rgba(99,102,241,0.8));
  }
  50% {
    transform: scale(1.12) translateY(-5px);
    box-shadow:
      0 0 40px var(--card-glow, rgba(99,102,241,0.6)),
      0 0 80px var(--card-glow, rgba(99,102,241,0.3));
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 0 20px var(--card-glow, rgba(99,102,241,0.4)),
      0 0 50px var(--card-glow, rgba(99,102,241,0.15)),
      0 10px 40px rgba(0, 0, 0, 0.5);
  }
}

.floating-card-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 6px var(--card-glow, rgba(255,255,255,0.3)));
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.fc-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.fc-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 12px var(--card-glow, rgba(255,255,255,0.3));
}

/* Card positions */
.card-roi        { top: 10%; right: -30px; --card-glow: rgba(52, 211, 153, 0.5); }
.card-risk       { top: 42%; left: -25px;  --card-glow: rgba(251, 191, 36, 0.5); }
.card-prediction { bottom: 20%; right: -18px; --card-glow: rgba(129, 140, 248, 0.5); }
.card-savings    { bottom: 6%; left: 3%;   --card-glow: rgba(251, 146, 60, 0.5); }
.card-coverage   { top: 26%; left: -15px;  --card-glow: rgba(56, 189, 248, 0.5); }

/* Card accent colors */
.card-roi .fc-value        { color: #34d399; }
.card-risk .fc-value       { color: #fbbf24; }
.card-prediction .fc-value { color: #a78bfa; }
.card-savings .fc-value    { color: #fb923c; }
.card-coverage .fc-value   { color: #38bdf8; }

@keyframes cardFloat {
  0%, 100% { transform: scale(1) translateY(0px); }
  50% { transform: scale(1) translateY(-8px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 1;
  z-index: 10;
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 
  =========================================
  PREMIUM CONTENT BLOCKS DESIGN (Altitud 100K)
  =========================================
*/

/* --- Common Section Styles --- */
.section-block {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.section-white {
  background-color: white;
}

.section-light {
  background-color: var(--color-bg-light);
  /* Subtle texture pattern */
  background-image: radial-gradient(#02183D 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

.section-navy {
  background: linear-gradient(135deg, #02183D 0%, #052659 100%);
  color: white;
  border-top: 4px solid var(--color-fuchsia);
  min-height: 700px; /* Ensure enough height for 3D animation */
  position: relative;
  overflow: hidden;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3.5rem; /* Larger, bolder */
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-navy);
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-navy .section-title {
  color: white;
}

.section-text {
  font-size: 1.2rem;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 400;
}

.section-navy .section-text {
  color: rgba(255,255,255,0.8);
}

/* --- Feature List (Cards with Hover Glow) --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 60px;
  perspective: 1200px;
}

.feature-item {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 50px 35px;
  border-radius: 24px;
  border: 2px solid rgba(2, 24, 61, 0.06);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(2, 24, 61, 0.06);
}

/* Animated gradient overlay on hover */
.feature-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 22, 81, 0.03) 0%, rgba(249, 146, 28, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-item:hover::after {
  opacity: 1;
}

/* Gradient Top Border with animation */
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-fuchsia), var(--color-orange), var(--color-purple));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-item:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Number badge for each card */
.feature-item h3::before {
  content: counter(feature-counter);
  counter-increment: feature-counter;
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-navy) 0%, #0a2d5c 100%);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(2, 24, 61, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset counter for feature list */
.feature-list {
  counter-reset: feature-counter;
}

/* Different gradient colors for each card number */
.feature-item:nth-child(1) h3::before {
  background: linear-gradient(135deg, #F21651 0%, #ff4d7a 100%);
}

.feature-item:nth-child(2) h3::before {
  background: linear-gradient(135deg, #F9921C 0%, #ffb347 100%);
}

.feature-item:nth-child(3) h3::before {
  background: linear-gradient(135deg, #913793 0%, #b967bb 100%);
}

.feature-item:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 
    0 25px 60px rgba(2, 24, 61, 0.15),
    0 0 40px rgba(242, 22, 81, 0.1);
  border-color: rgba(242, 22, 81, 0.2);
}

.feature-item:hover h3::before {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 
    0 12px 30px rgba(242, 22, 81, 0.3),
    0 0 20px rgba(242, 22, 81, 0.2);
}

.feature-item h3 {
  color: var(--color-navy);
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.feature-item:hover h3 {
  color: var(--color-fuchsia);
}

.feature-item p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  transition: color 0.3s ease;
}

.feature-item:hover p {
  color: #333;
}

/* --- Solutions Cards (Section 3 Animated Expand) --- */
.solutions-cards {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(2, 24, 61, 0.14);
  box-shadow:
    0 30px 70px rgba(2, 24, 61, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.26) inset;
  margin-top: 16px;
}

.solution-card {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  outline: none;
  transition: flex 0.62s ease, box-shadow 0.35s ease;
}

.solutions-cards:hover .solution-card {
  flex: 0.62 1 0;
}

.solution-card:is(:focus, :focus-visible, :active) {
  flex: 4.8 1 0;
  box-shadow: 0 0 26px rgba(2, 24, 61, 0.45);
  z-index: 2;
}

.solutions-cards:hover .solution-card:is(:hover, :focus, :focus-visible, :active) {
  flex: 4.8 1 0;
  box-shadow: 0 0 26px rgba(2, 24, 61, 0.45);
  z-index: 2;
}

.solution-card__media {
  position: absolute;
  inset: 0;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter 0.55s ease, transform 0.55s ease, opacity 0.4s ease;
  z-index: 1;
}

.solution-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.22;
}

.solution-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 10, 24, 0.88), rgba(2, 10, 24, 0.2) 45%, rgba(2, 10, 24, 0));
  opacity: 0.95;
}

.solution-card__icon {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 98px;
  height: 98px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.78;
  filter: brightness(1.35) saturate(0.78);
  transition: transform 0.55s ease, opacity 0.4s ease, filter 0.55s ease;
  z-index: 5;
}

.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__media {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__icon {
  transform: translate(-50%, -50%) scale(1.14);
  opacity: 1;
  filter: brightness(1.2) saturate(1.1);
}

.solution-card__title {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  background: rgba(2, 24, 61, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
  z-index: 4;
  transition: transform 0.35s ease, background 0.35s ease, opacity 0.35s ease;
}

.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__title {
  transform: translate(-50%, calc(-50% - 8px));
  background: rgba(255, 255, 255, 0.88);
  color: #02183d;
}

.solution-card__desc {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  color: #fff;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  line-height: 1.58;
  transform: translateY(14%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 4;
  background: linear-gradient(135deg, rgba(2, 24, 61, 0.95), rgba(2, 24, 61, 0.88));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.solution-card__desc > * {
  max-width: 860px;
}

.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__desc {
  transform: translateY(0);
  opacity: 1;
  font-size: clamp(1.16rem, 1.6vw, 1.62rem);
  line-height: 1.5;
  font-weight: 600;
  padding: clamp(26px, 4vw, 56px);
}

.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__title,
.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__media,
.solution-card:is(:hover, :focus, :focus-visible, :active) .solution-card__icon {
  opacity: 0;
}

.solution-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: -2px;
}

.solution-card--summary .solution-card__media {
  background: linear-gradient(145deg, #0f3a78 0%, #0b2c5e 100%);
}
.solution-card--summary .solution-card__desc {
  background: linear-gradient(135deg, rgba(7, 38, 88, 0.96), rgba(12, 71, 145, 0.9));
}

.solution-card--impact .solution-card__media {
  background: linear-gradient(145deg, #1f3b9a 0%, #2a63c9 100%);
}
.solution-card--impact .solution-card__desc {
  background: linear-gradient(135deg, rgba(23, 39, 125, 0.96), rgba(44, 87, 201, 0.9));
}

.solution-card--risk .solution-card__media {
  background: linear-gradient(145deg, #9e4700 0%, #f9921c 100%);
}
.solution-card--risk .solution-card__desc {
  background: linear-gradient(135deg, rgba(134, 57, 2, 0.96), rgba(235, 128, 15, 0.9));
}

.solution-card--prescription .solution-card__media {
  background: linear-gradient(145deg, #6f1a6b 0%, #b53cb5 100%);
}
.solution-card--prescription .solution-card__desc {
  background: linear-gradient(135deg, rgba(87, 20, 91, 0.96), rgba(173, 49, 173, 0.9));
}

.solution-card--quality .solution-card__media {
  background: linear-gradient(145deg, #0d5c49 0%, #16a06a 100%);
}
.solution-card--quality .solution-card__desc {
  background: linear-gradient(135deg, rgba(10, 76, 54, 0.96), rgba(21, 146, 96, 0.9));
}

/* --- Steps Process (Connected Timeline) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

/* Connecting line */
.process-grid::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-navy) 0%,
    var(--color-fuchsia) 100%
  );
  opacity: 0.1;
  z-index: 0;
}

.process-step {
  background: white;
  padding: 30px;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.process-step:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(145, 55, 147, 0.15); /* Purple shadow */
  border-color: rgba(145, 55, 147, 0.2);
}

.step-num {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid var(--color-bg-light);
  border-radius: 50%;
  line-height: 56px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-step:hover .step-num {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

.step-title {
  color: var(--color-burgundy);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-step p {
  font-size: 0.95rem;
  color: #666;
}

/* --- Stacking Cards Animation --- */
:root {
  --stack-card-height: 45vh;
  --stack-card-margin: 3vw;
  --stack-card-top-offset: 1.5em;
}

.stacking-cards-section {
  background: linear-gradient(180deg, var(--color-bg-light) 0%, #e8ecf2 100%);
  padding: 60px 20px 40vh;
  position: relative;
  overflow: visible;
}

.stacking-cards-section .section-title {
  margin-bottom: 60px;
}

#stacking-cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, var(--stack-card-height));
  gap: var(--stack-card-margin);
  padding-bottom: calc(4 * var(--stack-card-margin));
  max-width: 900px;
  margin: 0 auto;
}

.stack-card {
  position: sticky;
  top: 15vh;
  height: var(--stack-card-height);
  padding-top: calc(var(--index) * var(--stack-card-top-offset));
  perspective: 1000px;
}

.stack-card__content {
  box-sizing: border-box;
  padding: 40px 50px;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: white;
  color: var(--color-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid rgba(2, 24, 61, 0.08);
  overflow: hidden;
  position: relative;

  /* Transform config */
  transform-origin: 50% 0%;
  will-change: transform, filter;
  transform-style: preserve-3d;
  box-shadow: 0 10px 40px rgba(2, 24, 61, 0.1);

  /* Animate based on viewport visibility */
  animation: scale-stack-card linear forwards;
  animation-timeline: view();
  animation-range: exit-crossing 0% exit-crossing 100%;
}

/* Card variants with brand colors */
.stack-card:nth-child(1) {
  --index: 1;
}
.stack-card:nth-child(1) .stack-card__content {
  background: linear-gradient(135deg, #02183d 0%, #0a2d5c 100%);
  color: white;
  --shadow-color: rgba(2, 24, 61, 0.6);
}

.stack-card:nth-child(2) {
  --index: 2;
}
.stack-card:nth-child(2) .stack-card__content {
  background: linear-gradient(135deg, #f21651 0%, #ff4d7a 100%);
  color: white;
  --shadow-color: rgba(242, 22, 81, 0.5);
}

.stack-card:nth-child(3) {
  --index: 3;
}
.stack-card:nth-child(3) .stack-card__content {
  background: linear-gradient(135deg, #f9921c 0%, #ffb347 100%);
  color: var(--color-navy);
  --shadow-color: rgba(249, 146, 28, 0.5);
}

.stack-card:nth-child(4) {
  --index: 4;
}
.stack-card:nth-child(4) .stack-card__content {
  background: linear-gradient(135deg, #2ecc71 0%, #58d68d 100%);
  color: var(--color-navy);
  --shadow-color: rgba(46, 204, 113, 0.5);
}

@keyframes scale-stack-card {
  to {
    transform: scale(0.85) translateY(-8vh) rotateX(-15deg);
    filter: brightness(0.7);
    border-radius: 16px;
    box-shadow: 0 40px 60px -10px var(--shadow-color);
  }
}

/* Content Styling for Stacking Cards */
.stack-card__content h2 {
  font-size: 3rem;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.stack-card__content p {
  font-size: 1.35rem;
  max-width: 550px;
  line-height: 1.6;
  opacity: 1;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.stack-card__number {
  font-size: 9rem;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
  font-weight: 900;
  line-height: 1;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animated gradient overlay for hover effect */
.stack-card__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.stack-card:hover .stack-card__content::before {
  opacity: 1;
}

/* Floating particles effect */
.stack-card__content::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  opacity: 0;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.stack-card:hover .stack-card__content::after {
  opacity: 1;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}

/* Enhanced shadow and glow on hover */
.stack-card:hover .stack-card__content {
  box-shadow: 
    0 15px 50px rgba(2, 24, 61, 0.15),
    0 0 30px rgba(242, 22, 81, 0.15);
}

/* Shimmer effect on card border */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.stack-card__content {
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.stack-card__content:hover {
  border-image: linear-gradient(90deg, 
    transparent,
    rgba(242, 22, 81, 0.5),
    rgba(249, 146, 28, 0.5),
    transparent
  ) 1;
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}

/* Fallback for browsers without animation-timeline support */
@supports not (animation-timeline: view()) {
  .stack-card__content {
    animation: none;
  }
  .stack-card {
    position: relative;
    top: 0;
    padding-top: 0;
  }
  #stacking-cards {
    gap: 24px;
  }
}

/* --- View Cards (Interactive & Glassy) --- */
.view-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  perspective: 1000px; /* 3D effect setup */
}

.view-card {
  background: white;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05); /* Softer border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Color accents per card */
.view-card:nth-child(1) {
  border-bottom: 4px solid var(--color-navy);
}
.view-card:nth-child(2) {
  border-bottom: 4px solid var(--color-success);
}
.view-card:nth-child(3) {
  border-bottom: 4px solid var(--color-warning);
}
.view-card:nth-child(4) {
  border-bottom: 4px solid var(--color-fuchsia);
}
.view-card:nth-child(5) {
  border-bottom: 4px solid var(--color-purple);
}

.view-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.view-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

/* Title colors corresponding to borders */
.view-card:nth-child(2) h3 {
  color: var(--color-success);
}
.view-card:nth-child(3) h3 {
  color: var(--color-warning);
}
.view-card:nth-child(4) h3 {
  color: var(--color-fuchsia);
}
.view-card:nth-child(5) h3 {
  color: var(--color-purple);
}

.view-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  flex-grow: 1;
}

/* Responsive grid */
@media (max-width: 1200px) {
  .view-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .view-cards {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* --- Block 5 Animation & Output Cards --- */

/* 3D Canvas Background for Block 5 */
.canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#tubes-canvas-container {
  position: absolute;
  inset: 0;
}

/* Content overlay to ensure visibility above canvas */
.content-overlay {
  position: relative;
  z-index: 2;
}

.section-animated {
  position: relative;
  overflow: hidden;
}

/* Output Grid */
.output-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.output-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  box-shadow: 0 10px 30px rgba(2, 24, 61, 0.1);
}

.output-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(2, 24, 61, 0.15),
    0 0 25px rgba(242, 22, 81, 0.1);
  background: rgba(255, 255, 255, 1);
}

.output-card-icon {
  width: 50px;
  height: 50px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.output-card-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  display: block;
}

.output-card-text strong {
  color: white;
  font-weight: 700;
}

/* Color accents for each output card */
.output-card[data-color-index="0"] {
  border-left: 4px solid var(--color-navy);
}

.output-card[data-color-index="1"] {
  border-left: 4px solid var(--color-fuchsia);
}

.output-card[data-color-index="2"] {
  border-left: 4px solid var(--color-warning);
}

.output-card[data-color-index="3"] {
  border-left: 4px solid var(--color-success);
}

.output-card[data-color-index="4"] {
  border-left: 4px solid var(--color-purple);
}

.output-card[data-color-index="5"] {
  border-left: 4px solid var(--color-orange);
}

@media (max-width: 768px) {
  .output-grid {
    grid-template-columns: 1fr;
  }
}

/* 
  =========================================
  TRUST SECTION - Block 6
  =========================================
*/

.trust-section {
  padding: 120px 20px !important;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-fuchsia) 20%, 
    var(--color-purple) 50%, 
    var(--color-fuchsia) 80%, 
    transparent 100%);
  opacity: 0.5;
}

.trust-content {
  max-width: 900px;
  margin: 0 auto;
}

.trust-main-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 auto 60px;
  max-width: 800px;
  font-weight: 400;
}

.trust-main-text strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* Trust Badges Grid */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.trust-badge {
  background: white;
  border-radius: 20px;
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid rgba(2, 24, 61, 0.08);
  box-shadow: 0 8px 20px rgba(2, 24, 61, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

/* Animated gradient background on hover */
.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(242, 22, 81, 0.03), transparent);
  transition: left 0.6s ease;
}

.trust-badge:hover::before {
  left: 100%;
}

.trust-badge:hover {
  transform: translateY(-8px);
  border-color: var(--color-fuchsia);
  box-shadow: 
    0 15px 35px rgba(2, 24, 61, 0.12),
    0 0 25px rgba(242, 22, 81, 0.08);
}

/* Icon styling */
.trust-badge-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.4s ease;
  border: 3px solid rgba(242, 22, 81, 0.1);
}

.trust-badge:hover .trust-badge-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #fff0f5 0%, #ffe4f0 100%);
  border-color: var(--color-fuchsia);
  box-shadow: 0 8px 20px rgba(242, 22, 81, 0.15);
}

/* Pulse animation for icon */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 22, 81, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(242, 22, 81, 0);
  }
}

.trust-badge:hover .trust-badge-icon {
  animation: pulse-glow 2s infinite;
}

.trust-badge-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-badge-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.trust-badge:hover .trust-badge-content h4 {
  color: var(--color-fuchsia);
}

.trust-badge-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
  .trust-badges {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Output List (Grid with Checkmarks) --- */
.output-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 0 auto;
}

.output-item {
  background: rgba(255, 255, 255, 0.1); /* Transparent on dark bg */
  padding: 20px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.05rem;
  font-weight: 500;
  transition: background 0.3s;
}

.output-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.output-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-orange);
  color: white;
  border-radius: 50%;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(249, 146, 28, 0.4);
}

/* --- Animated Section (3D Canvas Background) --- */
.section-animated {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.canvas-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.content-overlay {
  position: relative;
  z-index: 2;
}

/* --- Output Grid (Cards with Icons) --- */
.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.output-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: all 0.3s ease;
  color: white;
}

.output-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Specific title style for this dark section */
#block5-deliverables .section-title {
  font-size: 2.8rem;
  margin-bottom: 60px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  font-weight: 800;
}

.output-card-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.output-card-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .output-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .output-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Buttons (Pill shape, gradient) --- */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.btn-large {
  padding: 18px 45px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--color-fuchsia) 0%,
    var(--color-purple) 100%
  );
  color: white;
  border: none;
  box-shadow: 0 10px 25px rgba(145, 55, 147, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(145, 55, 147, 0.5);
  opacity: 1; /* Override existing opacity hover */
}

.btn-secondary {
  background: white;
  color: var(--color-navy);
  border: 2px solid #eee;
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  transform: translateY(-3px);
}

/* --- Footer Mini --- */
.landing-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Helpers --- */
@media (max-width: 900px) {
  .section-title {
    font-size: 2.5rem;
  }
  .feature-list,
  .view-cards {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid::after {
    display: none;
  }
  .output-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing specific */
body.landing-page {
  flex-direction: column;
  overflow-y: auto;
}

.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #052659 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-fuchsia);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .body {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
  }
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.text-fuchsia {
  color: var(--color-fuchsia);
}
.text-orange {
  color: var(--color-orange);
}
.text-success {
  color: #2ecc71;
}
.text-danger {
  color: #e74c3c;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.kpi-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* ========================================
   DASHBOARD SPECIFIC STYLES
   ======================================== */

/* Dashboard Header */
.header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-date {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Dashboard Tabs */
.dashboard-tabs {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-bg-light);
  display: flex;
  gap: 0;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-button {
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-button:hover {
  color: var(--color-navy);
  background: rgba(2, 24, 61, 0.03);
}

.tab-button.active {
  color: var(--color-fuchsia);
  border-bottom-color: var(--color-fuchsia);
}

.tab-icon {
  font-size: 1.2rem;
}

/* Dashboard Container */
.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  overflow-y: auto;
  height: calc(100vh - 120px);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.kpi-card.kpi-positive {
  border-left-color: var(--color-success);
}

.kpi-card.kpi-danger {
  border-left-color: var(--color-danger);
}

.kpi-card.kpi-warning {
  border-left-color: var(--color-warning);
}

.kpi-card.kpi-neutral {
  border-left-color: var(--color-info);
}

.kpi-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.kpi-content {
  flex: 1;
}

.kpi-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.kpi-description {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-card.span-2 {
  grid-column: 1 / -1;
}

.chart-header {
  margin-bottom: 1.5rem;
}

.chart-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.chart-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.chart-container {
  position: relative;
  height: 300px;
}

/* Tables */
.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.table-section {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.table-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}


/* --- Landing Footer --- */
.landing-footer {
  background: var(--color-navy);
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-brand-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-fuchsia) 0%, var(--color-purple) 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9em;
  margin: 0 4px;
  box-shadow: 0 4px 10px rgba(242, 22, 81, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 22, 81, 0.5);
  text-decoration: none;
  color: white;
}

.footer-credits {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.footer-link {
  color: var(--color-fuchsia);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.data-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-bg-light);
}

.data-table tbody tr {
  transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(2, 24, 61, 0.02);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(244, 246, 249, 0.5);
}

.data-table tbody tr:nth-child(even):hover {
  background: rgba(2, 24, 61, 0.03);
}

/* Info Banner */
.info-banner {
  background: linear-gradient(
    135deg,
    rgba(2, 24, 61, 0.05),
    rgba(242, 22, 81, 0.05)
  );
  border-left: 4px solid var(--color-navy);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-banner.banner-success {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.05),
    rgba(46, 204, 113, 0.1)
  );
  border-left-color: var(--color-success);
}

.banner-icon {
  font-size: 2rem;
}

.info-banner h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.info-banner p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-success);
}

.badge-warning {
  background: rgba(249, 146, 28, 0.15);
  color: var(--color-warning);
}

.badge-danger {
  background: rgba(242, 22, 81, 0.15);
  color: var(--color-danger);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-success {
  color: var(--color-success) !important;
  font-weight: 600;
}

.text-danger {
  color: var(--color-danger) !important;
  font-weight: 600;
}

.text-warning {
  color: var(--color-warning) !important;
  font-weight: 600;
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }

  .tables-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .dashboard-tabs {
    overflow-x: auto;
    padding: 0 1rem;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .chart-container {
    height: 250px;
  }
}

/* ==========================================================================
   CRO REDESIGN STYLES — Landing Page Optimization
   ========================================================================== */

/* --- Top Navigation Bar (Fixed) --- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 24, 61, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(2, 24, 61, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 4px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand-link {
  display: inline-block;
  text-decoration: none;
}

.nav-brand-logo {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.nav-brand-logo:hover {
  transform: scale(1.05);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-home-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #22c55e;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.4px;
  border: none;
  box-shadow: none;
}

.btn-home-nav:hover {
  color: #4ade80;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.btn-login-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #f21651;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
}

.btn-login-nav:hover {
  color: #ff4d7a;
  text-shadow: 0 0 12px rgba(242, 22, 81, 0.5);
}

.btn-ecosystem-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #f9921c;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
}

.btn-ecosystem-nav:hover {
  color: #ffb347;
  text-shadow: 0 0 12px rgba(249, 146, 28, 0.5);
}

.btn-architecture-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #0ea5e9;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
}

.btn-architecture-nav:hover {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.btn-dashboard-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
}

.btn-dashboard-nav:hover {
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.btn-pilot-nav {
  display: inline-block;
  padding: 8px 14px;
  background: none;
  color: #9b6dff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
}

.btn-pilot-nav:hover {
  color: #b794ff;
  text-shadow: 0 0 12px rgba(111, 61, 244, 0.5);
}

/* (Old CRO hero overrides removed — now using new 50/50 layout) */

/* --- Product Proof Section --- */
.product-proof-section {
  padding: 100px 20px 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.product-proof-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-fuchsia) 20%, 
    var(--color-purple) 50%, 
    var(--color-fuchsia) 80%, 
    transparent 100%);
}

.product-proof-section .section-text {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.25rem;
}

.dashboard-preview-link {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  text-decoration: none;
  cursor: pointer;
}

.dashboard-preview-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(2, 24, 61, 0.15),
    0 0 40px rgba(242, 22, 81, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid rgba(242, 22, 81, 0.1);
}

.dashboard-preview-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 80px rgba(2, 24, 61, 0.25),
    0 0 60px rgba(242, 22, 81, 0.2);
  border-color: rgba(242, 22, 81, 0.3);
}

.dashboard-preview-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.dashboard-preview-wrapper:hover .dashboard-preview-img {
  transform: scale(1.02);
}

.dashboard-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(2, 24, 61, 0) 0%, 
    rgba(2, 24, 61, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dashboard-preview-wrapper:hover .dashboard-preview-overlay {
  opacity: 1;
}

.preview-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  background: linear-gradient(90deg, var(--color-fuchsia) 0%, var(--color-purple) 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(242, 22, 81, 0.4);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.dashboard-preview-wrapper:hover .preview-play-btn {
  transform: translateY(0);
}

.preview-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* IMAGE PLACEHOLDER INSTRUCTIONS:
   For dashboard-preview.webp:
   - Recommended dimensions: 1400px x 900px (16:9 aspect ratio)
   - Format: WebP or PNG 
   - Quality: High (80-90%)
   - Content: Full screenshot of dashboard.html showing the main view
   - Optimization: Compress to keep under 500KB
   - Alternative text already included for SEO
*/

/* --- CTA Closing Section --- */
.cta-closing-section {
  background: linear-gradient(135deg, #02183d 0%, #0a2d5c 100%);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.cta-closing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-fuchsia) 50%, 
    transparent 100%);
}

.cta-closing-section .section-title {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-closing-section .section-text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.cta-closing-section .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.cta-closing-microcopy {
  margin-top: 25px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-weight: 500;
}

/* Enhanced button styling for closing section */
.cta-closing-section .btn-primary {
  background: linear-gradient(90deg, #f21651 0%, #ff4d7a 100%);
  border: 3px solid transparent;
  position: relative;
}

.cta-closing-section .btn-primary:hover {
  border-color: rgba(255, 77, 122, 0.5);
}

.cta-closing-section .btn-ecosystem-cta {
  background: linear-gradient(90deg, #f9921c 0%, #ffb347 100%);
  color: white;
  border: 3px solid transparent;
  box-shadow: 0 10px 25px rgba(249, 146, 28, 0.45);
  position: relative;
}

.cta-closing-section .btn-ecosystem-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(249, 146, 28, 0.55);
  border-color: rgba(255, 179, 71, 0.55);
}

.cta-closing-section .btn-plan-cta {
  background: linear-gradient(90deg, #6f3df4 0%, #9b6dff 100%);
  color: white;
  border: 3px solid transparent;
  box-shadow: 0 10px 25px rgba(111, 61, 244, 0.45);
  position: relative;
}

.cta-closing-section .btn-plan-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(111, 61, 244, 0.55);
  border-color: rgba(155, 109, 255, 0.55);
}

.cta-closing-section .btn-architecture-cta {
  background: linear-gradient(90deg, #06b6d4 0%, #0ea5e9 100%);
  color: white;
  border: 3px solid transparent;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.45);
  position: relative;
}

.cta-closing-section .btn-architecture-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.55);
  border-color: rgba(125, 211, 252, 0.6);
}

.cta-closing-section .btn-secondary {
  background: transparent;
  border: 3px solid white;
  color: white;
}

.cta-closing-section .btn-secondary:hover {
  background: white;
  color: var(--color-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* --- Responsive Adjustments for CRO Elements --- */
@media (max-width: 992px) {
  .nav-right-actions {
    gap: 8px;
  }

  .landing-nav-inner {
    padding: 12px 25px;
  }

  .nav-brand-logo {
    height: 40px;
  }

  .btn-login-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .btn-home-nav {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .btn-ecosystem-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .btn-architecture-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .btn-dashboard-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .btn-pilot-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .btn-cta-hero {
    padding: 18px 40px;
    font-size: 1.15rem;
  }

  .cta-closing-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-closing-section .btn-large {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --stack-card-height: 65vh;
  }

  .landing-nav-inner {
    padding: 10px 20px;
  }

  .nav-right-actions {
    gap: 6px;
  }

  .nav-brand-logo {
    height: 35px;
  }

  .btn-login-nav {
    padding: 7px 18px;
    font-size: 0.85rem;
  }

  .btn-home-nav {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .btn-ecosystem-nav {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .btn-architecture-nav {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .btn-dashboard-nav {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .btn-pilot-nav {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  /* --- Hero 50/50 → Stacked on Mobile --- */
  .hero-wrapper {
    flex-direction: column;
    padding: 100px 20px 60px;
    gap: 2rem;
    min-height: auto;
  }

  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-title-new {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .hero-subtitle-new {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-right {
    max-width: 100%;
  }

  .browser-content {
    height: 260px;
  }

  .floating-card {
    display: none;
  }

  .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto 0;
  }

  .stack-card__content {
    padding: 30px 25px;
  }

  .stack-card__content h2 {
    font-size: 1.8rem;
  }

  .product-proof-section {
    padding: 80px 20px;
  }

  .dashboard-preview-wrapper {
    border-radius: 12px;
  }

  .preview-play-btn {
    font-size: 1rem;
    padding: 14px 28px;
  }

  .cta-closing-section {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-headline {
    font-size: 1.4rem;
  }

  .btn-cta-hero {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    padding: 16px 30px;
    font-size: 1rem;
  }

  :root {
    --stack-card-height: 70vh;
  }
}

@media (max-width: 1100px) {
  .solutions-cards {
    height: 400px;
  }

  .solution-card__title {
    font-size: 0.95rem;
  }

  .solution-card__desc {
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .solutions-cards {
    flex-direction: column;
    height: auto;
  }

  .solutions-cards:hover .solution-card {
    flex: none;
  }

  .solution-card {
    flex: none;
    height: 245px;
  }

  .solution-card:is(:hover, :focus, :focus-visible, :active) {
    flex: none;
  }

  .solution-card__media {
    filter: grayscale(0%);
    transform: scale(1);
    opacity: 1;
  }

  .solution-card__title {
    top: 58%;
    font-size: 1rem;
    opacity: 1;
  }

  .solution-card__icon {
    top: 28%;
    width: 84px;
    height: 84px;
    opacity: 0.72;
  }

  .solution-card__desc {
    inset: auto 0 0 0;
    opacity: 1;
    transform: none;
    font-size: 0.9rem;
    padding: 14px 14px 14px;
    display: block;
    text-align: left;
    background: linear-gradient(to top, rgba(2, 24, 61, 0.96), rgba(2, 24, 61, 0.18));
  }
}

/* Intro sequence overlay */
body.landing-page.intro-active {
  overflow: hidden !important;
}

#intro-sequence {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: radial-gradient(circle at 25% 20%, #0e2c5b 0%, #05142d 45%, #020918 100%);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#intro-sequence::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(242, 22, 81, 0.16) 0%, transparent 55%);
  animation: introPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.intro-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 7vh, 64px);
  transform: translateX(-50%);
  text-align: center;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
  z-index: 2;
  letter-spacing: 0.04em;
}

.intro-eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.82;
}

.intro-title {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  animation: introBlink 1.6s ease-in-out infinite;
}

#intro-sequence.intro-fadeout {
  opacity: 0;
}

@keyframes introPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.08) rotate(2deg);
    opacity: 0.75;
  }
}

@keyframes introBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .intro-copy {
    width: calc(100% - 30px);
  }
}
