: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 Section */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-navy); /* Fallback */
  overflow: hidden;
  color: white;
}

/* Contrast Overlay */
.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(2, 24, 61, 0.5) 0%,
    rgba(2, 24, 61, 0.6) 100%
  );
  z-index: 5;
  pointer-events: none;
}

/* Animation Container Adaptation */
.animation-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding-bottom: 40%;
  z-index: 1;
  opacity: 0.8; /* Increased opacity slightly since we have an overlay now */
  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; /* Changed from currentColor for gradient support */
  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: #f21651; /* Red cursor from user request */
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(242, 22, 81, 0.8);
}

/* Hero Overlay Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 900px;
}

.hero-title-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.hero-logo-img {
  height: 120px; /* Adjust based on actual logo aspect ratio */
  width: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 18px rgba(242, 22, 81, 0.85));
  /* Background removed as requested */
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -2px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8); /* Stronger shadow */
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #ffffff; /* Pure white */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Added shadow for readability */
}

.hero-support {
  font-size: 1rem;
  font-weight: 600;
  color: var(
    --color-orange
  ); /* Changed to orange for better contrast on dark */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 1;
  z-index: 10;
  animation: bounce 2s infinite;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  color: #ffffff;
}

@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;
}

/* --- 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: 1400px;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand-link {
  display: inline-block;
  text-decoration: none;
}

.nav-brand-logo {
  height: 45px;
  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: 20px;
}

.btn-login-nav {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(90deg, var(--color-fuchsia) 0%, var(--color-purple) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 22, 81, 0.3);
  letter-spacing: 0.5px;
}

.btn-login-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 22, 81, 0.4);
}

/* Adjust Hero to account for fixed nav */
.hero-wrapper {
  padding-top: 0; /* No padding needed since nav is overlay */
}

/* --- Hero CTA Group --- */
.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
  color: white;
}

.hero-cta-group {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 50px;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #f21651 0%, #ff4d7a 100%);
  color: white;
  border: none;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 
    0 10px 30px rgba(242, 22, 81, 0.5),
    0 0 40px rgba(242, 22, 81, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-cta-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-cta-hero:hover::before {
  left: 100%;
}

.btn-cta-hero:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(242, 22, 81, 0.6),
    0 0 60px rgba(242, 22, 81, 0.4);
}

.hero-microcopy {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin: 0;
  text-align: center;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* --- 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-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) {
  .landing-nav-inner {
    padding: 12px 25px;
  }

  .nav-brand-logo {
    height: 40px;
  }

  .btn-login-nav {
    padding: 8px 20px;
    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) {
  .landing-nav-inner {
    padding: 10px 20px;
  }

  .nav-brand-logo {
    height: 35px;
  }

  .btn-login-nav {
    padding: 7px 18px;
    font-size: 0.85rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .btn-cta-hero {
    padding: 16px 32px;
    font-size: 1.05rem;
  }

  .hero-microcopy {
    font-size: 0.9rem;
  }

  .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-headline {
    font-size: 1.5rem;
  }

  .btn-cta-hero {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    padding: 16px 30px;
    font-size: 1rem;
  }
}
