/* ========================================
       DESIGN SYSTEM — CUSTOM PROPERTIES
    ======================================== */
:root {
  --bg-primary: #0f172b;
  --bg-secondary: #0f172b;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --surface-glass: rgba(255, 255, 255, 0.06);
  --surface-glass-solid: rgba(255, 255, 255, 0.95);
  --brand-50: #f0ebff;
  --brand-100: #d9d0ff;
  --brand-200: #b8a4ff;
  --brand-300: #9775ff;
  --brand-400: #7c5cfc;
  --brand-500: #6d3ff5;
  --brand-600: #5b2de0;
  --brand-700: #4a21c7;
  --brand-800: #3a19a0;
  --brand-900: #2a1278;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --red-400: #f87171;
  --red-500: #ef4444;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --font-heading: 'Work Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Work Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 60px rgba(173, 30, 36, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 24px 64px rgba(0, 0, 0, 0.4);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ========================================
       TYPOGRAPHY
    ======================================== */
.heading-xl {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.heading-lg {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
}

.heading-md {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  color: #fff;
}

.text-lg {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--slate-300);
}

.text-brand {
  color: var(--brand-300);
}

.text-teal {
  color: var(--teal-400);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ad1e24;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: #ad1e24;
  border-radius: 2px;
}

/* ========================================
       BUTTONS
    ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #e30813, #ad1e24);
  color: #fff;
  box-shadow: 0 4px 20px rgba(173, 30, 36, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ad1e24, #e30813);
  box-shadow: 0 8px 32px rgba(173, 30, 36, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--brand-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ========================================
       HEADER
    ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding-top: 16px;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding-top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--slate-200);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: all 0.3s ease;
  transform-origin: top center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
}

@media (min-width: 640px) {
  .site-header .header-bar {
    padding: 0 16px;
  }
}

@media (min-width: 1024px) {
  .site-header .header-bar {
    padding: 0 24px;
  }
}

.site-header.scrolled .header-bar {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  height: 80px;
}

.site-header.compact .header-bar {
  height: 64px;
  transform: scale(0.95);
}

.header-logo img {
  height: 36px;
  width: auto;
  transition: all 0.3s ease;
}

.site-header.compact .header-logo img {
  height: 28px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  transition: color var(--transition-base);
}

.header-nav a:hover {
  color: #fff;
}

.site-header.scrolled .header-nav a {
  color: var(--slate-700);
}

.site-header.scrolled .header-nav a:hover {
  color: var(--brand-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-login {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  transition: color var(--transition-base);
  display: none;
}

.header-login:hover {
  color: #fff;
}

@media (min-width: 1024px) {
  .header-login {
    display: block;
  }
}

.site-header.scrolled .header-login {
  color: var(--slate-600);
}

.site-header.scrolled .header-login:hover {
  color: var(--brand-700);
}

.header-cta {
  background: #ad1e24 !important;
  color: #fff !important;
  box-shadow: 0 10px 15px -3px rgba(42, 18, 120, 0.4) !important;
  transition: all 0.3s ease !important;
}

.header-cta:hover {
  background: #e30813 !important;
}

.site-header.scrolled .header-cta {
  box-shadow: 0 4px 6px -1px rgba(109, 63, 245, 0.3) !important;
}

.site-header.compact .header-cta {
  padding: 8px 16px !important;
  font-size: 0.875rem !important;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .mobile-toggle {
  color: var(--slate-700);
}

.site-header.scrolled .mobile-toggle:hover {
  background: var(--slate-100);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 16px;
  right: 16px;
  background: rgba(12, 18, 32, 0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-200);
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: var(--brand-300);
}

/* ========================================
       HERO
    ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero>.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
}

/* Dashboard image — positioned right as a clear visual element */
.hero-bg-image {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%) perspective(1200px) rotateY(-8deg);
  width: 55%;
  height: 75%;
  z-index: 1;
  background-image: url('/assets/site/hero-dashboard.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.9;
  border-radius: 12px;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.5));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 8%, rgba(0, 0, 0, 1) 20%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 8%, rgba(0, 0, 0, 1) 20%);
  animation: hero-bg-breathe 15s ease-in-out infinite;
}

@keyframes hero-bg-breathe {

  0%,
  100% {
    transform: translateY(-50%) perspective(1200px) rotateY(-8deg) scale(1);
  }

  50% {
    transform: translateY(-50%) perspective(1200px) rotateY(-8deg) scale(1.02);
  }
}

@media (max-width: 1023px) {
  .hero-bg-image {
    position: relative;
    top: auto;
    right: auto;
    transform: perspective(800px) rotateY(-5deg);
    width: 100%;
    height: 300px;
    margin-top: 40px;
    opacity: 0.85;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(173, 30, 36, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 90% 50% at 50% 80%, rgba(173, 30, 36, 0.08) 0%, transparent 50%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(173, 30, 36, 0.03) 49%, rgba(173, 30, 36, 0.03) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(45, 212, 191, 0.02) 49%, rgba(45, 212, 191, 0.02) 51%, transparent 52%);
  background-size: 60px 60px;
  animation: mesh-drift 25s linear infinite;
}

@keyframes mesh-drift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(173, 30, 36, 0.2), transparent 70%);
  top: -10%;
  left: -5%;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 70%);
  bottom: -10%;
  right: -5%;
  animation-delay: 4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.1), transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: 2s;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 600px;
  text-align: left;
  margin-right: auto;
}

@media (max-width: 1023px) {
  .hero-content {
    max-width: 100%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(173, 30, 36, 0.15);
  border: 1px solid rgba(173, 30, 36, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-300);
  margin-bottom: 24px;
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(173, 30, 36, 0.2);
  }

  50% {
    box-shadow: 0 0 20px 4px rgba(173, 30, 36, 0.15);
  }
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--brand-300), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 16px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* hero-visual removed — image is now hero background */

/* ========================================
       SOCIAL PROOF MARQUEE
    ======================================== */
.marquee-section {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.marquee-track {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee-scroll 35s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  height: 60px;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  /* Larger font size to simulate a logo */
  font-weight: 800;
  /* Extra bold for wordmark effect */
  letter-spacing: -0.03em;
  /* Tight spacing for wordmarks */
  color: var(--slate-500);
  /* Monochrome muted logo color */
  white-space: nowrap;
  transition: color 0.3s ease;
  /* removed background and border to match Sankhya style */
}

.marquee-item:hover {
  color: var(--slate-300);
}

/* ========================================
       MODULES TABS
    ======================================== */
.modules-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.modules-header {
  max-width: 800px;
  margin-bottom: 48px;
}

.modules-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.modules-tabs::-webkit-scrollbar {
  display: none;
}

.module-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-base);
}

.module-tab:hover {
  color: var(--slate-200);
}

.module-tab.active {
  color: #ad1e24;
}

.module-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ad1e24;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.module-tab.active::after {
  transform: scaleX(1);
}

.module-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.module-panel {
  display: none;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  animation: panel-in 0.4s ease;
}

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

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .module-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.module-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-info h3 {
  margin-bottom: 16px;
}

.module-info p {
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 24px;
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.module-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9375rem;
  color: var(--slate-200);
}

.module-feature:last-child {
  border-bottom: none;
}

.module-feature svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
  flex-shrink: 0;
}

.module-image {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.module-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6, 10, 19, 0.7), transparent 40%);
}

@media (max-width: 767px) {
  .module-image::after {
    background: linear-gradient(to top, rgba(6, 10, 19, 0.7), transparent 40%);
  }
}

/* ========================================
       INTERACTIVE CARDS (NEW)
    ======================================== */
.cards-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1c2430 0%, var(--bg-primary) 100%);
}

.cards-header {
  max-width: 800px;
  margin-bottom: 56px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#cardsGrid {
  width: 100%;
}

.cards-wrapper {
  position: relative;
  perspective: 2000px;
  display: flex;
  justify-content: center;
  gap: 15px;
  min-height: 460px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Desktop version container */
.cards-desktop {
  display: none;
  width: 100%;
  position: relative;
}

/* Mobile version container */
.cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 1280px) {
  .cards-desktop {
    display: block;
  }

  .cards-wrapper {
    min-height: 500px;
  }

  .cards-mobile {
    display: none;
  }
}

/* Desktop Card */
.interactive-card-desktop {
  position: relative;
  width: 310px;
  height: 460px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111827;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  text-align: left;
  z-index: 10;
  transform-style: preserve-3d;
  border: 1px solid rgba(124, 92, 252, 0.25);
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .cards-desktop {
    display: block;
  }

  .interactive-card-desktop {
    height: 500px;
  }
}

.interactive-card-desktop.active {
  width: 435px;
  height: 560px;
  z-index: 50;
  border-color: transparent;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.8);
}

.card-front {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.interactive-card-desktop.active .card-front {
  opacity: 0;
}

.card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(6, 10, 19, 0.9) 100%);
}

.card-front-content {
  position: absolute;
  top: 40px;
  left: 32px;
  z-index: 4;
}

.card-accent {
  width: 28px;
  height: 3px;
  background: var(--brand-400);
  margin-bottom: 20px;
}

.card-front-content h3 {
  max-width: 220px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-heading);
  word-wrap: break-word;
  margin: 0;
}

.card-expanded {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 32px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .card-expanded {
    padding: 32px 40px;
  }
}

.interactive-card-desktop.active .card-expanded {
  opacity: 1;
  pointer-events: auto;
}

.card-expanded-content {
  width: 100%;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
  transform: translateX(-40px);
}

@media (min-width: 1024px) {
  .card-expanded-content {
    width: 355px;
  }
}

.interactive-card-desktop.active .card-expanded-content {
  opacity: 1;
  transform: translateX(0);
}

.card-expanded-content h3 {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  padding-top: 16px;
  padding-bottom: 8px;
  font-family: var(--font-heading);
  margin: 0;
}

@media (min-width: 1024px) {
  .card-expanded-content h3 {
    font-size: 1.5rem;
  }
}

.card-expanded-content p {
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

.card-expanded>img {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .card-expanded>img {
    bottom: 56px;
  }
}

.card-arrow-circle {
  position: absolute;
  top: 28px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--brand-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .card-arrow-circle {
    top: 36px;
    right: 28px;
    width: 48px;
    height: 48px;
  }
}

.card-arrow-circle svg {
  width: 18px;
  height: 18px;
  color: #0f172a;
}

/* Laser borders */
.card-laser-borders {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 30;
  transition: opacity 0.3s;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 50%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 50%);
}

.interactive-card-desktop.active .card-laser-borders {
  opacity: 0;
}

.card-laser-line {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 100%;
  border-radius: 12px 12px 0 0;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  background: linear-gradient(90deg, #e30813, var(--brand-400)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
}

/* Mobile styles */
.interactive-card-mobile {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(124, 92, 252, 0.25);
  text-align: left;
  min-height: 200px;
  background: #0f172a;
  cursor: pointer;
}

@media (min-width: 640px) {
  .interactive-card-mobile {
    min-height: 220px;
  }
}

.interactive-card-mobile>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interactive-card-mobile .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(6, 10, 19, 0.9) 100%);
}

.interactive-card-mobile .card-content {
  position: relative;
  padding: 16px;
  z-index: 2;
}

@media (min-width: 640px) {
  .interactive-card-mobile .card-content {
    padding: 20px;
  }
}

.interactive-card-mobile h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

@media (min-width: 640px) {
  .interactive-card-mobile h3 {
    font-size: 1.25rem;
  }
}

.interactive-card-mobile p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-200);
  transition: all 0.3s ease;
}

.interactive-card-mobile.active p {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
}

.interactive-card-mobile .card-action {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.interactive-card-mobile .card-action span {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.interactive-card-mobile .card-action svg {
  width: 16px;
  height: 16px;
}

/* ========================================
       ECOSYSTEM
    ======================================== */
.ecosystem-section {
  padding: 100px 0;
  overflow: hidden;
}

.ecosystem-wrapper {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124, 92, 252, 0.15);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(6, 10, 19, 0.9));
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ecosystem-wrapper {
    padding: 64px 48px;
  }
}

.ecosystem-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ecosystem-glow::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(173, 30, 36, 0.12), transparent 70%);
  filter: blur(60px);
}

.ecosystem-header {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .ecosystem-header {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.orbit-container {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 1023px) {
  .orbit-container {
    display: none;
  }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 252, 0.15);
}

.orbit-ring-1 {
  width: 340px;
  height: 340px;
  animation: orbit-spin 30s linear infinite;
}

.orbit-ring-2 {
  width: 280px;
  height: 280px;
  animation: orbit-spin 22s linear infinite reverse;
}

.orbit-glow-inner {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 30, 36, 0.15), transparent 70%);
  filter: blur(40px);
  animation: orbit-pulse 3s ease-in-out infinite;
}

@keyframes orbit-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbit-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.orbit-center {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 252, 0.25);
  background: rgba(6, 10, 19, 0.9);
  box-shadow: 0 0 50px rgba(173, 30, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: center-float 5s ease-in-out infinite;
}

@keyframes center-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.orbit-center img {
  width: 100px;
  opacity: 0.95;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
  }
}

.ecosystem-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eco-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 92, 252, 0.15);
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(8px);
  padding: 24px;
  transition: all var(--transition-base);
}

.eco-card:hover {
  border-color: rgba(124, 92, 252, 0.3);
  background: rgba(17, 24, 39, 0.8);
  transform: translateY(-4px);
}

.eco-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-300);
  margin-bottom: 8px;
}

.eco-card p {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* ========================================
       COMPARISON
    ======================================== */
.comparison-section {
  padding: 100px 0;
}

.comparison-header {
  max-width: 800px;
  margin-bottom: 56px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.comparison-card.negative {
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.05);
}

.comparison-card.positive {
  border: 1px solid rgba(124, 92, 252, 0.25);
  background: rgba(173, 30, 36, 0.05);
}

.comparison-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.comparison-card.negative h4 {
  color: var(--red-400);
}

.comparison-card.positive h4 {
  color: var(--brand-300);
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--slate-300);
  line-height: 1.6;
}

.comparison-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.comparison-card.negative .comparison-list li svg {
  color: var(--red-400);
}

.comparison-card.positive .comparison-list li svg {
  color: var(--teal-400);
}

/* ========================================
       METRICS
    ======================================== */
.metrics-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-header {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.metric-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-base);
}

.metric-card:hover {
  border-color: rgba(124, 92, 252, 0.2);
  background: rgba(124, 92, 252, 0.05);
  transform: translateY(-4px);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.metric-value .counter {
  display: inline;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 8px;
  line-height: 1.4;
}

/* ========================================
       ALL MODULES GRID
    ======================================== */
.allmodules-section {
  padding: 100px 0;
}

.allmodules-header {
  max-width: 800px;
  margin-bottom: 48px;
}

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

@media (min-width: 640px) {
  .allmodules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .allmodules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.allmod-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition-base);
}

.allmod-card:hover {
  border-color: rgba(124, 92, 252, 0.2);
  background: rgba(124, 92, 252, 0.04);
  transform: translateY(-2px);
}

.allmod-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(173, 30, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.allmod-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-300);
}

.allmod-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.allmod-card p {
  font-size: 0.8125rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ========================================
       CTA FINAL
    ======================================== */
.cta-section {
  padding: 100px 0;
}

.cta-wrapper {
  border-radius: var(--radius-xl);
  background: #0f172b;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .cta-wrapper {
    padding: 48px 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.15) 0%, rgba(227, 8, 19, 0.1) 40%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  text-align: left;
}

.cta-wrapper .heading-lg {
  color: #ffffff !important;
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.cta-wrapper .text-lg {
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0;
  font-size: 1rem;
}

.cta-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* ========================================
       FOOTER
    ======================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 40px;
  background: #0f172b;
  /* Very dark blue matching print 2 */
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 2.5fr;
    gap: 32px;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li svg {
  width: 16px;
  height: 16px;
  color: #ad1e24;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-400);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.social-links a {
  color: #ad1e24;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: #d4363d;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.partner-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.2s;
  min-width: 130px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.partner-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.partner-badge-logo {
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 46px;
  width: 100%;
}

.partner-badge-logo svg,
.partner-badge-logo img {
  width: 100%;
  max-width: 130px;
  height: 100%;
  object-fit: contain;
}

.partner-badge-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 2px;
  line-height: 1.2;
}

.partner-badge-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ========================================
       MODAL
    ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
  animation: modal-in 0.35s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.modal-body {
  padding: 24px 28px 28px;
}

.trial-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.trial-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-200);
}

.trial-benefit svg {
  width: 18px;
  height: 18px;
  color: var(--teal-400);
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 4px;
  font-size: 0.9375rem;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-base);
}

.form-group input::placeholder,
.form-group select {
  color: var(--slate-500);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brand-400);
}

.form-group select option {
  background: var(--bg-card);
  color: #fff;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--slate-300);
}

.form-check input {
  margin-top: 2px;
  accent-color: var(--brand-500);
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  box-shadow: 0 4px 20px rgba(173, 30, 36, 0.4);
}

/* ========================================
       SCROLL ANIMATIONS
    ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
       RESPONSIVE UTILITY
    ======================================== */
@media (max-width: 639px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

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

/* ========================================
       LIGHT SECTIONS STYLE SYSTEM
    ======================================== */
.light-section {
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
  color: var(--slate-700);
  position: relative;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.light-section .section-label {
  color: #ad1e24;
}

.light-section .section-label::before {
  background: #ad1e24;
}

.light-section .heading-lg,
.light-section .heading-md {
  color: var(--slate-900);
}

.light-section .text-lg {
  color: var(--slate-600);
}

/* Modules Tabs Light Style overrides */
.light-section.modules-section {
  background: linear-gradient(180deg, var(--slate-100) 0%, #ffffff 50%, var(--slate-100) 100%);
}

.light-section .modules-tabs {
  border-bottom: 1px solid var(--slate-200);
}

.light-section .module-tab {
  color: var(--slate-500);
}

.light-section .module-tab:hover {
  color: var(--slate-800);
}

.light-section .module-tab.active {
  color: #ad1e24;
}

.light-section .module-tab::after {
  background: #ad1e24;
}

.light-section .module-panel {
  border: 1px solid var(--slate-200);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.light-section .module-info h3 {
  color: var(--slate-900);
}

.light-section .module-info p {
  color: var(--slate-600);
}

.light-section .module-feature {
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

.light-section .module-feature svg {
  color: var(--teal-600);
}

.light-section .module-image::after {
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 50%);
}

@media (max-width: 767px) {
  .light-section .module-image::after {
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 50%);
  }
}

/* Comparison Cards Light Style overrides */
.light-section .comparison-card.negative {
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.02);
}

.light-section .comparison-card.positive {
  border: 1px solid rgba(109, 63, 245, 0.2);
  background: rgba(109, 63, 245, 0.02);
}

.light-section .comparison-card.negative h4 {
  color: var(--red-500);
}

.light-section .comparison-card.positive h4 {
  color: var(--brand-600);
}

.light-section .comparison-list li {
  color: var(--slate-700);
}

.light-section .comparison-card.negative .comparison-list li svg {
  color: var(--red-500);
}

.light-section .comparison-card.positive .comparison-list li svg {
  color: var(--teal-600);
}

/* All Modules Grid Light Style overrides */
.light-section.allmodules-section {
  background: linear-gradient(180deg, var(--slate-100) 0%, #ffffff 100%);
}

.light-section .allmod-card {
  border: 1px solid rgba(15, 23, 43, 0.08);
  background: rgba(15, 23, 43, 0.02);
  background-image: linear-gradient(135deg, rgba(15, 23, 43, 0.02) 0%, rgba(15, 23, 43, 0.02) 100%);
  box-shadow: none;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.light-section .allmod-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 43, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.light-section .allmod-card:hover {
  border-color: rgba(15, 23, 43, 0.15);
  background-image: linear-gradient(135deg, rgba(15, 23, 43, 0.01) 0%, rgba(42, 40, 109, 0.08) 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 43, 0.06);
}

.light-section .allmod-card:hover::before {
  opacity: 1;
}

.light-section .allmod-card h4 {
  color: #0f172b;
}

.light-section .allmod-card p {
  color: rgba(15, 23, 43, 0.7);
}

.light-section .allmod-icon {
  background: rgba(15, 23, 43, 0.06);
  border-radius: 12px;
}

.light-section .allmod-icon svg {
  color: #0f172b;
}

/* Explicit backgrounds for dark sections */
.marquee-section {
  background: var(--bg-primary);
}

.cards-section {
  background: var(--bg-primary);
}

.ecosystem-section {
  background: var(--bg-primary);
}

.metrics-section {
  background: var(--bg-secondary);
}