/* =====================================================
   CPASS LANDING PAGE - PROFESSIONAL REDESIGN
   Brand Colors: Navy #2B1B4D | Teal #10B981
   ===================================================== */

:root {
  --cpass-navy: #2B1B4D;
  --cpass-teal: #10B981;
  --cpass-teal-light: #34D399;
  --cpass-teal-dark: #059669;
  --cpass-navy-light: #3D2B5F;
  --cpass-navy-dark: #1F1438;
}

/* =====================================================
   BASE LAYOUT
   ===================================================== */

.landing-page {
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
}

.shell.header:has(.landing-nav) {
  width: 100%;
  max-width: 100%;
}

main.shell:has(.landing-page) {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.landing-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(var(--bg-rgb, 15, 17, 23), 0.95);
}

body[data-theme="light"] .landing-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #e5e7eb;
}

.landing-nav .brand-logo {
  display: flex;
  align-items: center;
}

.landing-nav .logo-img {
  height: 36px;
  width: auto;
}

.landing-nav .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.landing-nav .nav-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.landing-nav .nav-links a:hover {
  color: var(--cpass-teal);
  background: rgba(16, 185, 129, 0.1);
}

.landing-nav .nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.landing-nav .btn-link {
  color: var(--cpass-teal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.landing-nav .btn-link:hover {
  color: var(--cpass-teal-light);
  background: rgba(43, 27, 77, 0.1);
}

body[data-theme="light"] .landing-nav .btn-link:hover {
  color: var(--cpass-navy);
  background: rgba(43, 27, 77, 0.08);
}

.landing-nav .btn-sm {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}

.landing-nav .btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.landing-nav .btn-icon:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--cpass-teal);
  color: var(--cpass-teal);
}

.theme-icon {
  width: 18px;
  height: 18px;
}

.theme-icon.moon {
  display: block;
}

.theme-icon.sun {
  display: none;
}

body[data-theme="light"] .theme-icon.moon {
  display: none;
}

body[data-theme="dark"] .theme-icon.moon {
  display: block;
}

body[data-theme="light"] .theme-icon.sun {
  display: block;
}

body[data-theme="dark"] .theme-icon.sun {
  display: none;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cpass-teal);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--cpass-teal-dark);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--cpass-navy);
  color: var(--cpass-navy);
}

.btn-outline:hover {
  background: var(--cpass-navy);
  color: white;
}

body[data-theme="light"] .btn-outline {
  border-color: var(--cpass-navy);
  color: var(--cpass-navy);
}

body[data-theme="light"] .btn-outline:hover {
  background: var(--cpass-navy);
  color: white;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-section {
  position: relative;
  padding: 80px 48px ;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 98vh;
  min-width: 98vw;
  overflow: hidden;
}

/* Sophisticated Background System */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43, 27, 77, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-bg-gradient {
  position: absolute;
  top: -300px;
  right: -300px;
  width: 800px;
  height: 800px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: float 25s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-50px, 50px) scale(1.05);
  }
  66% {
    transform: translate(50px, -50px) scale(0.95);
  }
}

/* Secondary gradient orb */
.hero-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background:
    radial-gradient(circle at 50% 50%, rgba(43, 27, 77, 0.08) 0%, rgba(43, 27, 77, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
  animation: floatReverse 30s ease-in-out infinite;
}

@keyframes floatReverse {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -40px) scale(1.08);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.92);
  }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Geometric accent shapes */
.hero-bg-grid::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.hero-bg-grid::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 300px;
  height: 300px;
  background:
    linear-gradient(225deg, rgba(43, 27, 77, 0.04) 0%, transparent 70%);
  border-radius: 40%;
  filter: blur(35px);
  animation: pulseReverse 18s ease-in-out infinite;
}

@keyframes pulseReverse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15) rotate(45deg);
    opacity: 0.7;
  }
}

/* Light mode sophisticated background */
body[data-theme="light"] .hero-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(5, 150, 105, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43, 27, 77, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
}

body[data-theme="light"] .hero-bg-gradient {
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.08) 30%, transparent 70%);
  filter: blur(70px);
}

body[data-theme="light"] .hero-section::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 242, 254, 0.6) 0%, rgba(209, 250, 229, 0.4) 40%, transparent 70%);
  filter: blur(60px);
}

body[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.06) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.06) 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  opacity: 0.5;
}

body[data-theme="light"] .hero-bg-grid::before {
  background:
    linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(224, 242, 254, 0.4) 50%, transparent 70%);
}

body[data-theme="light"] .hero-bg-grid::after {
  background:
    linear-gradient(225deg, rgba(219, 234, 254, 0.5) 0%, rgba(209, 250, 229, 0.3) 50%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cpass-navy), var(--cpass-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text);
  margin: 0 0 12px;
  font-weight: 600;
}

.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.hero-lottie-frame {
  width: clamp(320px, 40vw, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.hero-lottie {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lottie svg {
  width: 100%;
  height: 100%;
}

.hero-lottie-frame::after {
  display: none;
}

.floating-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--cpass-teal);
}

body[data-theme="light"] .floating-card:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.floating-card.card-1,
.floating-card.card-2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-card.card-3,
.floating-card.card-4 {
  grid-column: span 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--cpass-teal);
}

.card-icon.blue {
  background: rgba(43, 27, 77, 0.1);
  color: var(--cpass-navy);
}

.card-icon.purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.card-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

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

.card-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.card-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* =====================================================
   COMMON SECTIONS
   ===================================================== */

.section {
  padding: 80px 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.05));
  max-width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.section-header.section-header--left {
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
  margin-right: auto;
  max-width: 900px;
  gap: 12px;
  padding-left: 18px;
  position: relative;
}

.section-header.section-header--left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cpass-teal), transparent);
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--cpass-teal);
  margin-bottom: 0;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
}

body[data-theme="light"] .section-eyebrow {
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.15);
  color: var(--cpass-teal-dark);
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.65;
  font-weight: 400;
}

.section-header.section-header--left .section-subtitle {
  margin-left: 0;
  margin-right: 0;
  max-width: 720px;
}

.section-switcher {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
}

.section-switcher--hero {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  margin-top: 0;
  width: auto;
}

.scroll-indicator {
  width: 30px;
  height: 46px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-indicator:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.scroll-dot {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
}

body[data-theme="light"] .scroll-indicator {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

body[data-theme="light"] .scroll-indicator:hover {
  border-color: #059669;
  background: rgba(5, 150, 105, 0.15);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

body[data-theme="light"] .scroll-dot {
  background: #059669;
}

/* Why section layout */
.why-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
  align-items: center;
}

@media (max-width: 1024px) {
  .why-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .comparison-card {
    padding: 26px 22px;
    max-width: 560px;
    margin: 0 auto;
  }

  .diagram-section {
    gap: 28px;
    padding: 18px;
  }

  .diagram-arrow svg {
    width: 32px;
    height: 32px;
  }

  .silo,
  .connected {
    padding: 10px 18px;
    font-size: 12px;
  }

  .unified-layer {
    padding: 12px 20px;
    min-height: 48px;
  }

  .diagram-logo {
    width: 72px;
  }
}
@media (max-width: 1064px) {
  .why-inner {
    grid-template-columns: 1fr;
  }
}

/* comparison styling tweaks */
.comparison-card.problem {
  border-color: rgba(239, 68, 68, 0.12);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.03), rgba(239, 68, 68, 0.01));
}

.comparison-card.solution {
  border-color: rgba(16, 185, 129, 0.08);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), rgba(16, 185, 129, 0.01));
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.04);
}

.diagram-section {
  padding: 24px;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--cpass-teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cpass-navy), var(--cpass-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpass-teal);
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.step-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 6px;
  color: var(--cpass-teal);
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* =====================================================
   FEATURES
   ===================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--cpass-teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(43, 27, 77, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpass-teal);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.feature-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   AI INTELLIGENCE SECTION
   ===================================================== */

.ai-intelligence-section {
  position: relative;
  padding: 100px 48px;
  overflow: hidden;
}

.ai-background-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--cpass-teal), transparent);
  top: -200px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cpass-navy), transparent);
  top: 100px;
  right: -150px;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--cpass-teal), transparent);
  bottom: -100px;
  left: 50%;
}

.ai-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ai-intelligence-section .section-title {
  font-size: 36px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  color: var(--cpass-teal);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.ai-hero-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.ai-hero-card:hover {
  border-color: var(--cpass-teal);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(43, 27, 77, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cpass-teal);
}

.hero-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--text);
}

.hero-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-card-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--cpass-teal);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.ai-hero-card-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.small-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.small-card-icon.blue {
  background: rgba(43, 27, 77, 0.1);
  color: var(--cpass-navy);
}

.small-card-icon.purple {
  background: rgba(16, 185, 129, 0.1);
  color: var(--cpass-teal);
}

.card-small h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.card-small p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.capabilities-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  margin-top: auto;
}

.ai-capabilities-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.ai-future-banner--side {
  margin-top: 24px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.capability-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.capability-item:hover {
  border-color: var(--cpass-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08);
}

.capability-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--cpass-teal);
}

.capability-content {
  flex: 1;
}

.capability-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.capability-icon-wrap {
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpass-teal);
}

.capability-header h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.capability-content p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.ai-future-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(43, 27, 77, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.future-banner-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cpass-navy), var(--cpass-teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.future-banner-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.future-banner-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   STAKEHOLDERS
   ===================================================== */

.stakeholders-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px;
  max-width: fit-content;
  margin: 40px auto;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}

.tab-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(16, 185, 129, 0.08);
}

.tab-btn.active {
  background: var(--cpass-teal);
  border-color: rgba(16, 185, 129, 0.5);
  color: white;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
}

.stakeholder-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stakeholder-panel.active {
  display: grid;
}

.stakeholder-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}

.stakeholder-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.stakeholder-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stakeholder-benefits li svg {
  color: var(--cpass-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.stakeholder-visual {
  display: flex;
  justify-content: center;
}

.profile-preview-card,
.api-preview-card,
.institution-preview-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.preview-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cpass-navy), var(--cpass-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.preview-info {
  flex: 1;
}

.preview-name {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
}

.preview-tier {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 4px;
}

.preview-tier.tier-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
}

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

.preview-stat .stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--cpass-teal);
}

.preview-stat .stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.preview-progress {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.progress-label {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.progress-bar {
  height: 6px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cpass-navy), var(--cpass-teal));
  border-radius: 3px;
}

.api-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.api-method {
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--cpass-teal);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: monospace;
}

.api-endpoint {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: monospace;
  font-weight: 500;
}

.api-response {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: monospace;
  overflow-x: auto;
  margin: 0;
  line-height: 1.6;
  border: 1px solid var(--border);
}

.inst-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cpass-teal);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 15px;
}

.inst-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.inst-stat {
  background: rgba(16, 185, 129, 0.05);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.inst-value {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--cpass-teal);
}

.inst-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.inst-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 8px;
  font-size: 13px;
  color: #f97316;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* =====================================================
   COMPARISON / WHY SECTION
   ===================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  width: auto;
}

.comparison-card {
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 22px 22px;
  position: relative;
  overflow: hidden;
  width: auto;
}

.comparison-card.problem {
  border-color: rgba(248, 113, 113, 0.35);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.08), rgba(248, 113, 113, 0.02));
}

.comparison-card.solution {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12);
}

.comparison-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
}

.comparison-card.problem .comparison-label {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.comparison-card.solution .comparison-label {
  background: rgba(16, 185, 129, 0.1);
  color: var(--cpass-teal);
}

.comparison-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;

}

.comparison-list li.negative svg {
  color: #dc2626;
  flex-shrink: 0;
}

.comparison-list li.positive svg {
  color: var(--cpass-teal);
  flex-shrink: 0;
}

.diagram-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(43, 27, 77, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.diagram-before,
.diagram-after {
  text-align: center;
}

.diagram-before h4,
.diagram-after h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.diagram-before h4 {
  color: #dc2626;
}

.diagram-after h4 {
  color: var(--cpass-teal);
}

.diagram-silos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.silo {
  padding: 12px 24px;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.diagram-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 240px;
  font-weight: 600;
}

.diagram-arrow {
  color: var(--cpass-teal);
}

.unified-layer {
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(43, 27, 77, 0.92));
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.diagram-logo {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.35));
}

.diagram-before .diagram-caption,
.diagram-after .diagram-caption {
  color: var(--text);
}

.connected-platforms {
  display: flex;
  gap: 10px;
}

.connected {
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--cpass-teal);
  border-radius: 8px;
  color: var(--cpass-teal);
  font-size: 12px;
  font-weight: 500;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
  padding: 72px 40px;
}

.contact-section .section-title {
  font-size: 34px;
}

.contact-section .section-subtitle {
  font-size: 16px;
}

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

.contact-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cpass-teal);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.form-group select {
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--cpass-teal);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--cpass-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--cpass-teal);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpass-teal);
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.contact-link {
  color: var(--cpass-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
  display: inline-block;
  margin-bottom: 8px;
}

.contact-link:hover {
  color: var(--cpass-teal-dark);
}

.contact-info-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta-section {
  text-align: center;
  padding: 100px 48px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06), transparent 70%);
  pointer-events: none;
}

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

.cta-title {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   FOOTER
   ===================================================== */

.landing-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 48px 24px;
  margin-top: 12px;
  display: grid;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 32px;
  grid-column: 2 / -1;
  justify-self: end;
  justify-content: end;
  text-align: left;
}

.footer-brand .footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

body[data-theme='dark'] .footer-logo {
  content: url('/static/cpass-logo-dark-mode.png');
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 280px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s ease;
  line-height: 1.5;
  text-align: left;
}

.footer-column a:hover {
  color: var(--cpass-teal);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

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

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 32px;
  }

  .hero-visual {
    display: none;
  }


  .ai-hero-grid {
    grid-template-columns: 1fr;
  }

  .stakeholder-panel.active {
    grid-template-columns: 1fr;
  }

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

  .why-inner {
    padding: 24px;
  }

  .ai-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .ai-future-banner--side {
    position: static;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: auto;
    justify-self: end;
    text-align: left;
  }

  .section {
    padding: 60px 32px;
  }

  .landing-nav {
    padding: 16px 28px;
    gap: 12px;
  }

  .landing-nav .logo-img {
    height: 32px;
  }

  .landing-nav .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .landing-nav .nav-links {
    display: none;
  }

  .landing-nav {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .landing-nav .btn-link {
    display: none;
  }

  .landing-nav .btn-sm {
    padding: 8px 14px;
    font-size: 13px;
  }

  .landing-nav .btn-icon {
    width: 32px;
    height: 32px;
  }

  .why-inner {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 17px;
  }

  .section-eyebrow {
    font-size: 11px;
    padding: 6px 14px;
  }

  /* Re-center left-aligned headers on mobile */
  .section-header.section-header--left {
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
  }

  .section-header.section-header--left::before {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .steps-grid,
  .features-grid,
  .capabilities-showcase {
    grid-template-columns: 1fr;
  }

  .stakeholders-tabs {
    flex-direction: column;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    -ms-border-radius: 32px;
    -o-border-radius: 32px;
}

  .diagram-section {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .diagram-arrow {
    transform: rotate(90deg);
  }

  .connected-platforms {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-self: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-tagline {
    max-width: none;
  }

  .section {
    padding: 48px 24px;
  }

  .landing-nav {
    padding: 12px 20px;
  }

  .ai-future-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .landing-footer {
    padding: 40px 20px 20px;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  body[data-theme="light"] .comparison-card {
    padding: 18px;
  }

  body[data-theme="light"] .diagram-section {
    padding: 16px;
  }

  body[data-theme="light"] .contact-section {
    padding: 48px 20px;
  }

  /* Reduce shadow intensity on mobile for better performance */
  body[data-theme="light"] .floating-card,
  body[data-theme="light"] .step-card,
  body[data-theme="light"] .feature-card {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.06);
  }

  body[data-theme="light"] .why-inner {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.08);
  }
}

/* Additional responsive enhancements for tablets */
@media (max-width: 1024px) {
  body[data-theme="light"] section.section-alt > * {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  body[data-theme="light"] section.section-alt > * {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Make section eyebrows more prominent on mobile */
  body[data-theme="light"] .section-eyebrow {
    font-weight: 700;
  }
}

.capabilities-heading, .capabilities-subheading {
  text-align: center;
  margin: auto;
}
.capabilities-subheading {
  margin: 12px auto 40px;
}



#herro-btn-shadow {
  text-shadow: none;
}

body[data-theme="dark"] #herro-btn-shadow {
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

body[data-theme="light"] #herro-btn-shadow {
  text-shadow: none;
}
/*
*/
@media (prefers-reduced-motion: reduce) {
  .hero-lottie {
    animation: none;
  }
}

body[data-theme="light"] .hero-lottie-frame {
  box-shadow: none;
  border-color: transparent;
}

.hero-actions .btn-outline {
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--text);
  background: rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(6px);
}

.hero-actions .btn-outline:hover {
  background: rgba(16, 185, 129, 0.2);
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.7);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .hero-section {
    gap: 32px;
  }

    .why-inner {
    grid-template-columns: 1fr;
  }
  .hero-content {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
    .why-inner {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-eyebrow {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 1.5px;
  }

  .why-inner {
    padding: 18px;
  }

  .cta-title {
    font-size: 32px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   LIGHT MODE
   ===================================================== */

body[data-theme="light"] {
  --cpass-navy: #2B1B4D;
  --cpass-teal: #059669;
  --cpass-teal-dark: #047857;
  --bg: #f8fafb;
  --bg-secondary: #e8f5f1;
  --card: #ffffff;
  --card-border: #94a3b8;
  --border: #94a3b8;
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #475569;
}

body[data-theme="light"] .landing-page {
  background: #ffffff;
}

body[data-theme="light"] .section {
  background: #ffffff;
}

body[data-theme="light"] .hero-bg-gradient {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent 70%);
}

body[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.04) 1px, transparent 1px);
}

/* Section Backgrounds - Light Mode */
body[data-theme="light"] .landing-page {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body[data-theme="light"] .section {
  background: transparent;
}

body[data-theme="light"] section.section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Cards with strong, visible shadows and depth */
body[data-theme="light"] .floating-card,
body[data-theme="light"] .step-card,
body[data-theme="light"] .feature-card,
body[data-theme="light"] .ai-hero-card,
body[data-theme="light"] .capability-item,
body[data-theme="light"] .profile-preview-card,
body[data-theme="light"] .platform-preview-card,
body[data-theme="light"] .institution-preview-card,
body[data-theme="light"] .contact-form-wrapper,
body[data-theme="light"] .contact-info-card {
  border: 2px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .floating-card:hover,
body[data-theme="light"] .step-card:hover,
body[data-theme="light"] .feature-card:hover,
body[data-theme="light"] .ai-hero-card:hover,
body[data-theme="light"] .capability-item:hover,
body[data-theme="light"] .contact-info-card:hover {
  border-color: #059669;
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.2), 0 4px 8px rgba(5, 150, 105, 0.15);
  transform: translateY(-2px);
}

body[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4), 0 2px 4px rgba(5, 150, 105, 0.2);
}

body[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #036647 100%);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.5), 0 4px 8px rgba(5, 150, 105, 0.3);
  transform: translateY(-1px);
}

/* Partner With Us Button Fix */
body[data-theme="light"] .hero-actions .btn-outline {
  border-color: #2B1B4D;
  color: #2B1B4D;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(43, 27, 77, 0.1);
}

body[data-theme="light"] .hero-actions .btn-outline:hover {
  background: #2B1B4D;
  color: #ffffff;
  border-color: #2B1B4D;
  box-shadow: 0 4px 12px rgba(43, 27, 77, 0.25);
}

body[data-theme="light"] .btn-outline {
  border-color: #2B1B4D;
  color: #2B1B4D;
  background: transparent;
}

body[data-theme="light"] .btn-outline:hover {
  background: #2B1B4D;
  color: #ffffff;
}

body[data-theme="light"] .step-number {
  background: #059669;
  color: white;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Problem/Solution Cards */
body[data-theme="light"] .comparison-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .comparison-card.problem {
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  border: 3px solid #fca5a5;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15), 0 4px 8px rgba(220, 38, 38, 0.1);
}

body[data-theme="light"] .comparison-card.problem .comparison-label {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

body[data-theme="light"] .comparison-card.solution {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 3px solid #10b981;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.2), 0 6px 12px rgba(5, 150, 105, 0.15);
}

body[data-theme="light"] .comparison-card.solution .comparison-label {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

/* Diagram Section */
body[data-theme="light"] .diagram-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 3px solid #10b981;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18), 0 4px 8px rgba(5, 150, 105, 0.12);
}

body[data-theme="light"] .diagram-before h4 {
  color: #991b1b;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

body[data-theme="light"] .diagram-after h4 {
  color: #065f46;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

body[data-theme="light"] .silo {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  border: 2px solid #cbd5e1;
  color: #475569;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .unified-layer {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 3px solid #10b981;
  color: #065f46;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25), 0 4px 8px rgba(5, 150, 105, 0.15);
}

body[data-theme="light"] .diagram-logo {
  filter: drop-shadow(0 4px 12px rgba(5, 150, 105, 0.25));
}

body[data-theme="light"] .connected {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid #10b981;
  color: #065f46;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.18), 0 2px 4px rgba(5, 150, 105, 0.12);
}

body[data-theme="light"] .diagram-arrow {
  color: #059669;
}

body[data-theme="light"] .diagram-caption {
  color: #475569;
}

/* The Future is Emergent Banner */
body[data-theme="light"] .ai-future-banner {
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
  border: 2px solid #10b981;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.12);
}

body[data-theme="light"] .ai-future-banner h3 {
  color: #065f46;
}

body[data-theme="light"] .ai-future-banner p {
  color: #475569;
}

body[data-theme="light"] .future-banner-icon {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

body[data-theme="light"] .landing-nav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 2px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

body[data-theme="light"] .landing-footer {
  background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
  border-top: 2px solid #cbd5e1;
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
}

/* Button Submit Enhancement */
body[data-theme="light"] .btn-submit {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3), 0 2px 4px rgba(5, 150, 105, 0.2);
}

body[data-theme="light"] .btn-submit:hover {
  background: linear-gradient(135deg, #047857 0%, #036647 100%);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4), 0 4px 8px rgba(5, 150, 105, 0.3);
}

/* Input Focus Enhancement */
body[data-theme="light"] .form-group input:focus,
body[data-theme="light"] .form-group textarea:focus,
body[data-theme="light"] .form-group select:focus {
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15), 0 2px 8px rgba(5, 150, 105, 0.1);
}

/* Tab Button Hover Enhancement */
body[data-theme="light"] .tab-btn:hover {
  background: rgba(5, 150, 105, 0.12);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

/* Card Hover Enhancements for Better Interactivity */
body[data-theme="light"] .step-card,
body[data-theme="light"] .feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="light"] .step-card:hover {
  transform: translateY(-4px);
}

body[data-theme="light"] .feature-card:hover {
  transform: translateY(-4px);
}

/* Enhanced Nav Shadow on Scroll */
body[data-theme="light"] .landing-nav.scrolled {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15), 0 4px 8px rgba(15, 23, 42, 0.08);
}

/* Link Hover States */
body[data-theme="light"] .nav-links a:hover {
  color: #059669;
}

/* Smooth Transitions for All Interactive Elements */
body[data-theme="light"] .btn,
body[data-theme="light"] .tab-btn,
body[data-theme="light"] .contact-info-card,
body[data-theme="light"] .stakeholder-benefits li {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Comparison Cards Hover States */
body[data-theme="light"] .comparison-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="light"] .comparison-card:hover {
  transform: translateY(-2px);
}

body[data-theme="light"] .comparison-card.problem:hover {
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.2), 0 6px 12px rgba(220, 38, 38, 0.15);
}

body[data-theme="light"] .comparison-card.solution:hover {
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.25), 0 8px 16px rgba(5, 150, 105, 0.2);
}

/* Section Eyebrow Hover Effect */
body[data-theme="light"] .section-eyebrow {
  transition: all 0.3s ease;
}

/* Silo and Connected Platform Hover States */
body[data-theme="light"] .silo:hover {
  border-color: #94a3b8;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15), 0 3px 6px rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .connected:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25), 0 3px 6px rgba(5, 150, 105, 0.18);
}

body[data-theme="light"] .feature-icon,
body[data-theme="light"] .capability-icon-wrap,
body[data-theme="light"] .small-card-icon,
body[data-theme="light"] .hero-card-icon {
  background: #e0f2fe;
  color: #0c4a6e;
}

body[data-theme="light"] .card-icon {
  background: #dbeafe;
  color: #1e40af;
}

body[data-theme="light"] .card-icon.green {
  background: #d1fae5;
  color: #065f46;
}

body[data-theme="light"] .card-icon.blue {
  background: #dbeafe;
  color: #1e40af;
}

body[data-theme="light"] .card-icon.purple {
  background: #e9d5ff;
  color: #6b21a8;
}

body[data-theme="light"] .card-icon.orange {
  background: #fed7aa;
  color: #9a3412;
}

body[data-theme="light"] .why-inner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  border: 2px solid #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15), 0 6px 12px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.08);
  border-top: 4px solid #059669;
}

body[data-theme="light"] .stakeholders-tabs {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  border: 2px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .tab-btn.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3), 0 2px 6px rgba(5, 150, 105, 0.2);
}

/* CTA Section Enhancement */
body[data-theme="light"] .cta-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 50%, #e8f5f1 100%);
}

body[data-theme="light"] .cta-section::before {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12), transparent 70%);
}

/* Section Headers Enhancement */
body[data-theme="light"] .section-eyebrow {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
  border: 1px solid #10b981;
}

body[data-theme="light"] .section-title {
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

/* AI Future Banner Enhancement */
body[data-theme="light"] .ai-future-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
  border: 3px solid #10b981;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.18), 0 4px 8px rgba(5, 150, 105, 0.12);
}

body[data-theme="light"] .ai-future-banner h3 {
  color: #065f46;
  text-shadow: 0 1px 2px rgba(6, 95, 70, 0.1);
}

body[data-theme="light"] .future-banner-icon {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

/* Mesh Gradient Background */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(43, 27, 77, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(43, 27, 77, 0.04) 0px, transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: meshRotate 40s ease-in-out infinite;
}

@keyframes meshRotate {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(2deg) scale(1.02);
  }
  50% {
    transform: rotate(0deg) scale(1.05);
  }
  75% {
    transform: rotate(-2deg) scale(1.02);
  }
}

body[data-theme="light"] .hero-bg-mesh {
  background:
    radial-gradient(at 0% 0%, rgba(5, 150, 105, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 242, 254, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(209, 250, 229, 0.4) 0px, transparent 50%);
  opacity: 0.8;
}

/* Floating Particles */
.hero-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.1) 50%, transparent 100%);
  opacity: 0;
  animation: particleFloat 20s ease-in-out infinite;
}

body[data-theme="light"] .particle {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, rgba(5, 150, 105, 0.08) 50%, transparent 100%);
}

.particle-1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.particle-2 {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 25%;
  animation-delay: 3s;
  animation-duration: 30s;
}

.particle-3 {
  width: 6px;
  height: 6px;
  top: 40%;
  right: 20%;
  animation-delay: 5s;
  animation-duration: 22s;
}

.particle-4 {
  width: 10px;
  height: 10px;
  top: 70%;
  right: 30%;
  animation-delay: 8s;
  animation-duration: 28s;
}

.particle-5 {
  width: 7px;
  height: 7px;
  top: 15%;
  left: 60%;
  animation-delay: 2s;
  animation-duration: 26s;
}

.particle-6 {
  width: 9px;
  height: 9px;
  top: 80%;
  left: 40%;
  animation-delay: 6s;
  animation-duration: 24s;
}

.particle-7 {
  width: 11px;
  height: 11px;
  top: 50%;
  right: 15%;
  animation-delay: 4s;
  animation-duration: 27s;
}

.particle-8 {
  width: 8px;
  height: 8px;
  top: 30%;
  left: 80%;
  animation-delay: 7s;
  animation-duration: 23s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-80px) translateX(40px) scale(1.2);
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-160px) translateX(-20px) scale(0.8);
    opacity: 0;
  }
}

/* Light Rays Effect */
.hero-section .hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(16, 185, 129, 0.03) 45deg,
      transparent 90deg,
      rgba(16, 185, 129, 0.02) 135deg,
      transparent 180deg,
      rgba(16, 185, 129, 0.03) 225deg,
      transparent 270deg,
      rgba(16, 185, 129, 0.02) 315deg,
      transparent 360deg
    );
  pointer-events: none;
  z-index: 0;
  animation: rotate 60s linear infinite;
  opacity: 0.4;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

body[data-theme="light"] .hero-section .hero-visual::before {
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(5, 150, 105, 0.06) 45deg,
      transparent 90deg,
      rgba(5, 150, 105, 0.04) 135deg,
      transparent 180deg,
      rgba(5, 150, 105, 0.06) 225deg,
      transparent 270deg,
      rgba(5, 150, 105, 0.04) 315deg,
      transparent 360deg
    );
  opacity: 0.5;
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-gradient,
  .hero-section::before,
  .hero-section::after,
  .hero-bg-mesh,
  .particle,
  .hero-section .hero-visual::before {
    animation: none !important;
  }
  
  .hero-bg-grid::before,
  .hero-bg-grid::after {
    animation: none !important;
  }
}

/* Mobile Performance Optimization */
@media (max-width: 768px) {
  /* Simplify background on mobile for better performance */
  .hero-bg-gradient {
    filter: blur(40px);
  }
  
  .hero-section::after {
    filter: blur(30px);
  }
  
  .hero-bg-mesh {
    opacity: 0.5;
  }
  
  .particle {
    display: none;
  }
  
  .hero-section .hero-visual::before {
    opacity: 0.2;
  }
}

/* Subtle shimmer effect on hero title */
.hero-title .gradient-text {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--cpass-navy) 0%,
    var(--cpass-teal) 40%,
    var(--cpass-navy) 60%,
    var(--cpass-teal) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

body[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(
    135deg,
    var(--cpass-navy) 0%,
    var(--cpass-teal) 40%,
    #047857 60%,
    var(--cpass-teal) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark Mode Enhancements */
body[data-theme="dark"] .hero-section::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43, 27, 77, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

body[data-theme="dark"] .hero-bg-gradient {
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.1) 30%, transparent 70%);
  filter: blur(80px);
}

body[data-theme="dark"] .hero-section::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(43, 27, 77, 0.2) 0%, rgba(43, 27, 77, 0.1) 40%, transparent 70%);
  filter: blur(60px);
}

body[data-theme="dark"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.06) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  opacity: 0.4;
}

body[data-theme="dark"] .hero-bg-grid::before {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

body[data-theme="dark"] .hero-bg-grid::after {
  background:
    linear-gradient(225deg, rgba(43, 27, 77, 0.1) 0%, transparent 70%);
}

body[data-theme="dark"] .hero-bg-mesh {
  background:
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(43, 27, 77, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.14) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(43, 27, 77, 0.08) 0px, transparent 50%);
  opacity: 0.6;
}

body[data-theme="dark"] .particle {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, rgba(16, 185, 129, 0.15) 50%, transparent 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

body[data-theme="dark"] .hero-section .hero-visual::before {
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(16, 185, 129, 0.08) 45deg,
      transparent 90deg,
      rgba(43, 27, 77, 0.06) 135deg,
      transparent 180deg,
      rgba(16, 185, 129, 0.08) 225deg,
      transparent 270deg,
      rgba(43, 27, 77, 0.06) 315deg,
      transparent 360deg
    );
  opacity: 0.3;
}

body[data-theme="dark"] .hero-title .gradient-text {
  background: linear-gradient(
    135deg,
    #B794F4 0%,
    var(--cpass-teal) 40%,
    #B794F4 60%,
    var(--cpass-teal) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

/* Additional glow effect for dark mode */
body[data-theme="dark"] .hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

body[data-theme="light"] .hero-visual-glow {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, transparent 60%);
  filter: blur(50px);
  opacity: 0.5;
}

/* Enhanced button glow in dark mode */
body[data-theme="dark"] .btn-primary {
  box-shadow: 
    0 0 30px rgba(16, 185, 129, 0.4),
    0 4px 20px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .btn-primary:hover {
  box-shadow: 
    0 0 40px rgba(16, 185, 129, 0.6),
    0 8px 30px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Subtle border glow on hero content in dark mode */
body[data-theme="dark"] .hero-content::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    transparent 50%,
    rgba(43, 27, 77, 0.1) 100%
  );
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Accent lines in dark mode */
body[data-theme="dark"] .hero-section {
  position: relative;
}

body[data-theme="dark"] .hero-section .hero-content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--cpass-teal) 0%, transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

body[data-theme="light"] .hero-section .hero-content::after {
  display: none;
}

/* Scrollbar styling for dark mode sophistication */
body[data-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body[data-theme="dark"] ::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
}

body[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.6), rgba(43, 27, 77, 0.6));
  border-radius: 5px;
}

body[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.8), rgba(43, 27, 77, 0.8));
}
