/*
==================================================================
  TraderMetric / TraderMetric — Landing Page Styles
  Scope: landing page sections only (safe with Bootstrap + base.css)
  Author: you + ChatGPT
==================================================================
*/

/* ------------------------------ */
/* Root tokens for landing page   */
/* ------------------------------ */
:root {
  --brand-indigo: #3736af;
  --brand-blue:   #3693ff;
  --brand-blue-600: #2e6bff;
  --brand-blue-700: #2452d8;
  --brand-gold:   #f5b546;

  --surface-0: #0b1220;     /* page bg (very dark navy) */
  --surface-1: #111a2e;     /* cards / panels */
  --surface-2: #172340;     /* hover panels */
  --surface-border: rgba(255,255,255,.12);

  --text-high:  #ffffff;
  --text-med:   rgba(255,255,255,.78);
  --text-dim:   rgba(255,255,255,.60);

  --glow-1: rgba(54,147,255,.35);
  --glow-2: rgba(55,54,175,.45);

  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --shadow-soft: 0 10px 30px rgba(0,0,0,.25);
  --shadow-raise: 0 18px 40px rgba(0,0,0,.35);

  --ring: 0 0 0 3px rgba(54,147,255,.15), 0 0 0 6px rgba(54,147,255,.08);
}

/* Typography tweaks for landing sections only */
.hero-title, .pricing-title, .final-cta h2 { color: var(--text-high); }
.hero-subtitle, .feature-description, .testimonial-text { color: var(--text-med); }
.text-primary-accent { color: var(--brand-blue); }

/* Override body padding for landing page */
body:has(.hero-section) {
  padding-top: 0 !important;
}

/* Section spacing (works on top of Bootstrap containers) */
.hero-section { position: relative; padding: 80px 0 40px; } /* 80px accounts for fixed navbar */
.features-section,
.how-it-works,
.benefits-section,
.problem-section,
.proof-section,
.audience-section,
.security-section,
.pricing-section,
.testimonials,
.final-cta { position: relative; padding: 72px 0; }

@media (min-width: 992px) {
  .hero-section { padding: 100px 0 88px; }
  .features-section,
  .how-it-works,
  .benefits-section,
  .problem-section,
  .proof-section,
  .audience-section,
  .security-section,
  .pricing-section,
  .testimonials { padding: 96px 0; }
  .final-cta { padding: 110px 0; }
}

/* ---------------------------------------------------------- */
/* HERO — gradient bedrock + subtle aurora + micro-animations */
/* ---------------------------------------------------------- */

.hero-section {
  background:
    /* Subtle grid pattern */
    linear-gradient(rgba(54,147,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,147,255,0.03) 1px, transparent 1px),
    /* Radial glows */
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(54,147,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(55,54,175,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 70% 30%, rgba(54,147,255,0.08) 0%, transparent 40%),
    /* Base gradient */
    linear-gradient(180deg, #0a0f1a 0%, #0d1525 50%, #0b1220 100%);
  background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  color: var(--text-high);
  isolation: isolate;
  overflow: visible;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Landing page body background to match hero */
body:has(.hero-section) {
  background: linear-gradient(180deg, #0c1323 0%, #0b1220 100%);
}

/* Keep content above decoration */
.hero-section .container { position: relative; z-index: 10; width: 100%; }

/* Secondary aurora beam - purple/magenta tint */
.hero-section .container::after {
  content: "";
  position: absolute;
  top: -30%;
  right: 5%;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(
      140deg,
      transparent 0%,
      transparent 30%,
      rgba(120,80,220,0.15) 40%,
      rgba(150,100,255,0.3) 48%,
      rgba(180,120,255,0.4) 50%,
      rgba(150,100,255,0.3) 52%,
      rgba(120,80,220,0.15) 60%,
      transparent 70%,
      transparent 100%
    );
  filter: blur(45px);
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 1;
  animation: auroraShimmer2 10s ease-in-out infinite alternate;
}

@keyframes auroraShimmer2 {
  0% {
    opacity: 0.7;
    transform: rotate(-20deg) translateX(0);
  }
  100% {
    opacity: 1;
    transform: rotate(-20deg) translateX(-30px);
  }
}

/* Aurora light beam effect */
.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background:
    /* Main bright beam */
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 25%,
      rgba(54,200,255,0.15) 35%,
      rgba(54,180,255,0.3) 42%,
      rgba(100,220,255,0.5) 47%,
      rgba(180,240,255,0.7) 50%,
      rgba(100,220,255,0.5) 53%,
      rgba(54,180,255,0.3) 58%,
      rgba(54,200,255,0.15) 65%,
      transparent 75%,
      transparent 100%
    );
  filter: blur(35px);
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 1;
  animation: auroraShimmer 8s ease-in-out infinite alternate;
}

@keyframes auroraShimmer {
  0% {
    opacity: 0.8;
    transform: rotate(-15deg) translateY(0);
  }
  100% {
    opacity: 1;
    transform: rotate(-15deg) translateY(-20px);
  }
}

/* Animated glow orbs */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    /* Floating orb 1 - top left */
    radial-gradient(circle 300px at 15% 25%, rgba(54,147,255,0.12) 0%, transparent 60%),
    /* Floating orb 2 - right side */
    radial-gradient(circle 250px at 85% 60%, rgba(55,54,175,0.1) 0%, transparent 60%),
    /* Floating orb 3 - bottom center */
    radial-gradient(circle 350px at 50% 90%, rgba(54,147,255,0.08) 0%, transparent 50%);
  animation: orbFloat 15s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(20px, -15px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-10px, 10px) scale(0.98);
    opacity: 0.85;
  }
}

@keyframes heroDrift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(1.5%) scale(1.02); }
  100% { transform: translateY(3%) scale(1); }
}

/* Animated gradient text effect */
.gradient-text {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* Shimmer effect for headings */
.shimmer-text {
  position: relative;
  display: inline-block;
}
.shimmer-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.15) 50%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ----------------------------- */
/* Floating Particles            */
/* ----------------------------- */

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  background: rgba(54,147,255,.3);
  animation: particleFloat 20s ease-in-out infinite;
}

/* Mix of shapes - circles, squares, lines */
.particle:nth-child(1) {
  left: 10%; top: 20%;
  width: 4px; height: 4px;
  border-radius: 50%;
  animation-delay: 0s;
  animation-duration: 18s;
}
.particle:nth-child(2) {
  left: 20%; top: 65%;
  width: 40px; height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(54,147,255,.4), transparent);
  animation-delay: 2s;
  animation-duration: 14s;
}
.particle:nth-child(3) {
  left: 75%; top: 15%;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: rgba(55,54,175,.25);
  transform: rotate(45deg);
  animation-delay: 4s;
  animation-duration: 22s;
}
.particle:nth-child(4) {
  left: 88%; top: 45%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(54,147,255,.5);
  animation-delay: 1s;
  animation-duration: 16s;
}
.particle:nth-child(5) {
  left: 55%; top: 75%;
  width: 30px; height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(55,54,175,.35), transparent);
  animation-delay: 3s;
  animation-duration: 20s;
}
.particle:nth-child(6) {
  left: 35%; top: 30%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(54,147,255,.2);
  box-shadow: 0 0 10px rgba(54,147,255,.3);
  animation-delay: 5s;
  animation-duration: 17s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  25% {
    transform: translate(15px, -20px);
    opacity: 0.7;
  }
  50% {
    transform: translate(-8px, -35px);
    opacity: 0.5;
  }
  75% {
    transform: translate(10px, -15px);
    opacity: 0.6;
  }
}

/* ----------------------------- */
/* Typing Effect                 */
/* ----------------------------- */

.typing-text {
  display: inline;
}

.typing-cursor {
  display: inline-block;
  color: var(--brand-blue);
  font-weight: 300;
  animation: cursorBlink 0.8s ease-in-out infinite;
  margin-left: 2px;
}

.typing-cursor.done {
  opacity: 0;
  animation: none;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ----------------------------- */
/* Hero Carousel                 */
/* ----------------------------- */

.hero-carousel {
  position: relative;
}

.hero-carousel-inner {
  position: relative;
  width: 100%;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
  transform: scale(0.98);
}

.hero-carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Carousel Navigation Dots */
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot span {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(54,147,255,.15);
  border-color: rgba(54,147,255,.4);
}

.carousel-dot:hover span {
  color: var(--text-med);
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(54,147,255,.35);
}

.carousel-dot.active span {
  color: #fff;
}

/* Progress bar on active dot */
.carousel-dot.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255,255,255,.5);
  animation: carouselProgress 5s linear;
  border-radius: 0 0 20px 20px;
}

@keyframes carouselProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ----------------------------- */
/* Hero Product Showcase         */
/* ----------------------------- */

.hero-showcase-wrapper {
  margin-top: 3.5rem;
  padding: 0 1rem;
}

/* Side-by-side variant */
.hero-showcase-wrapper--side {
  margin-top: 0;
  padding: 0;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 60px; /* Space for glow */
}

/* Side layout - extend beyond container */
.hero-showcase--side {
  max-width: none;
  margin-left: -20px;
  margin-right: -80px; /* Extend to the right edge */
  padding-bottom: 80px;
}

/* Base card styles */
.showcase-card {
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease;
  will-change: transform;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.showcase-frame {
  position: relative;
  background: var(--surface-1);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.showcase-frame-header {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}

.frame-dot:nth-child(1) { background: #ff5f57; }
.frame-dot:nth-child(2) { background: #ffbd2e; }
.frame-dot:nth-child(3) { background: #28ca41; }

.showcase-frame img,
.showcase-frame video {
  width: 100%;
  height: auto;
  display: block;
}

/* Main Dashboard - Center, largest, back layer */
.showcase-card--main {
  position: relative;
  width: 100%;
  z-index: 5;
}

.showcase-card--main .showcase-frame {
  box-shadow:
    0 30px 60px rgba(0,0,0,.4),
    0 15px 30px rgba(0,0,0,.25);
}

.showcase-card--main:hover {
  transform: translateY(-8px) translate(var(--parallax-x), var(--parallax-y));
}

.showcase-card--main:hover .showcase-frame {
  box-shadow:
    0 40px 80px rgba(0,0,0,.45),
    0 20px 40px rgba(0,0,0,.3),
    0 0 0 1px rgba(54,147,255,.2);
}

/* Left Analytics Card - Overlapping from bottom-left */
.showcase-card--left {
  width: 55%;
  left: -5%;
  bottom: -5%;
  z-index: 10;
}

.showcase-card--left .showcase-frame {
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    0 15px 30px rgba(0,0,0,.35),
    -5px 0 30px rgba(0,0,0,.15);
}

.showcase-card--left:hover {
  transform: translateY(-10px) translateX(5px) translate(var(--parallax-x), var(--parallax-y));
  z-index: 15;
}

.showcase-card--left:hover .showcase-frame {
  box-shadow:
    0 40px 80px rgba(0,0,0,.55),
    0 20px 40px rgba(0,0,0,.4),
    0 0 0 1px rgba(54,147,255,.25);
}

/* Right Chat Panel - Prominent on right side */
.showcase-card--right {
  width: 32%;
  right: -2%;
  top: -5%;
  z-index: 12;
}

.showcase-frame--chat {
  border-radius: 16px;
  box-shadow:
    0 25px 55px rgba(0,0,0,.5),
    0 12px 25px rgba(0,0,0,.35),
    0 0 50px rgba(54,147,255,.12);
}

.showcase-frame--chat img {
  border-radius: 16px;
}

.showcase-card--right:hover {
  transform: translateY(-12px) translate(var(--parallax-x), var(--parallax-y));
  z-index: 20;
}

.showcase-card--right:hover .showcase-frame--chat {
  box-shadow:
    0 35px 70px rgba(0,0,0,.55),
    0 18px 35px rgba(0,0,0,.4),
    0 0 60px rgba(54,147,255,.18);
}

/* Ambient glow underneath */
.showcase-glow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 150px;
  background:
    radial-gradient(ellipse 60% 100% at 30% 100%, rgba(54,147,255,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 100% at 70% 100%, rgba(55,54,175,.15) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-showcase-wrapper {
    margin-top: 2.5rem;
  }

  .showcase-card--left {
    width: 55%;
    left: -8%;
    bottom: -3%;
  }

  .showcase-card--right {
    width: 35%;
    right: -3%;
    top: -3%;
  }
}


/* Small screens in portrait - simplified layout */
@media (orientation: portrait) and (max-width: 767.98px) {
  .showcase-card--left {
    display: none;
  }

  .showcase-card--right {
    width: 45% !important;
    right: 10% !important;
    top: auto !important;
    bottom: -15% !important;
  }
}

/* Small screen adjustments (both orientations) */
@media (max-width: 767.98px) {
  .hero-showcase-wrapper {
    margin-top: 2rem;
    padding: 0;
  }

  .hero-showcase {
    padding-bottom: 40px;
  }

  .showcase-card--main .showcase-frame {
    border-radius: 8px;
  }

  .showcase-frame--chat {
    border-radius: 10px !important;
  }

  .showcase-frame-header {
    padding: 8px 12px;
  }

  .frame-dot {
    width: 8px;
    height: 8px;
  }
}

/* Small landscape screens - keep side by side but adjust sizes */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-row {
    min-height: auto;
    padding: 1rem 0;
  }

  .showcase-card--left {
    width: 45% !important;
    left: -5% !important;
  }

  .showcase-card--right {
    width: 28% !important;
    right: 0 !important;
    top: -3% !important;
  }
}

@media (min-width: 1200px) {
  .hero-showcase {
    max-width: 1100px;
  }

  .showcase-card--left {
    width: 52%;
    left: -4%;
  }

  .showcase-card--right {
    width: 30%;
    right: -1%;
  }

  /* Side layout adjustments for large screens */
  .hero-showcase--side .showcase-card--left {
    width: 58%;
    left: -10%;
    bottom: -8%;
  }

  .hero-showcase--side .showcase-card--right {
    width: 35%;
    right: 5%;
    top: -8%;
  }
}

/* Legacy hero-content (kept for proof sections reuse) */
.hero-content {
  position: relative;
  z-index: 5;
  isolation: isolate;
}

.hero-title {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
  min-height: 5em; /* Reserve space for full text to prevent layout shift */
}

/* Accent sweep under the colored span */
.hero-title .text-primary-accent { 
  position: relative; 
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dramatic underline effect */
.hero-title .text-primary-accent::before {
  content: "";
  position: absolute;
  left: -8px; 
  right: -8px; 
  bottom: -12px;
  height: 6px; 
  border-radius: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--brand-blue) 20%, 
    var(--brand-indigo) 50%, 
    var(--brand-blue) 80%, 
    transparent 100%
  );
  box-shadow: 
    0 0 16px rgba(54,147,255,.8),
    0 0 32px rgba(54,147,255,.4),
    0 4px 12px rgba(55,54,175,.6);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: sweepOnce 2.5s ease-out 1s forwards;
}

/* Additional glow effect */
.hero-title .text-primary-accent::after {
  content: "";
  position: absolute;
  left: -8px; 
  right: -8px; 
  bottom: -10px;
  height: 2px; 
  border-radius: 1px;
  background: var(--brand-blue);
  box-shadow: 
    0 0 8px var(--brand-blue),
    0 0 16px var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: sweepOnce 2.5s ease-out 1.2s forwards;
}

@keyframes sweepOnce { 
  0% { 
    transform: scaleX(0); 
    opacity: 0; 
  }
  30% {
    opacity: 1;
  }
  100% { 
    transform: scaleX(1); 
    opacity: 1; 
  } 
}

/* Hero CTAs */
.btn-cta-primary,
.btn-cta-secondary,
.btn-pricing,
.btn-final-cta {
  --hpad: 1.25rem;
  --vpad: .78rem;
  padding: var(--vpad) var(--hpad);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn-cta-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-blue));
  border: none;
  box-shadow: 0 10px 24px rgba(54,147,255,.28);
}
.btn-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(54,147,255,.36); }
.btn-cta-primary:active { transform: translateY(0); }
.btn-cta-primary:focus-visible { box-shadow: var(--ring); outline: none; }

.btn-cta-secondary {
  color: var(--text-high);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn-cta-secondary:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.btn-cta-secondary:active { transform: translateY(0); }
.btn-cta-secondary:focus-visible { box-shadow: var(--ring); outline: none; }

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Hero note text */
.hero-note {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* Product Mockup */
.hero-mockup-wrapper {
  margin-top: 3.5rem;
  padding: 0 1rem;
  perspective: 1000px;
}

.hero-mockup {
  position: relative;
  will-change: transform;
  transition: transform .4s ease-out;
  transform: rotateX(2deg);
}

.hero-mockup:hover {
  transform: rotateX(0deg) scale(1.01);
}

/* Glow effect beneath mockup */
.hero-mockup::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 80%;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(54, 147, 255, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(55, 54, 175, 0.4) 0%, transparent 50%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-mockup:hover::before {
  opacity: 1.2;
}

/* Top edge highlight */
.hero-mockup::after {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.5) 80%,
    transparent 100%
  );
  z-index: 2;
  border-radius: 1rem 1rem 0 0;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.6),
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(54, 147, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.4s ease;
}

.hero-mockup:hover .hero-mockup-img {
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.6),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 100px rgba(54, 147, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Fallback/placeholder if no image */
.hero-mockup-img[src=""],
.hero-mockup-img:not([src]) {
  background: var(--surface-1);
  min-height: 400px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}

.scroll-indicator i {
  font-size: 1.8rem;
}

.scroll-indicator:hover {
  color: rgba(255,255,255,0.9);
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-indigo));
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(54,147,255,0.3);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  box-shadow: 0 6px 25px rgba(54,147,255,0.5);
  transform: translateY(-3px);
}

.scroll-to-top:active {
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* ----------------------------- */
/* FEATURES (cards with icons)   */
/* ----------------------------- */

.features-section { background: linear-gradient(180deg, #0b1220 0%, #0b1220 55%, #0c1527 100%); }

.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow .3s ease,
              background .3s ease,
              border-color .3s ease;
}

/* Subtle gradient overlay on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(54,147,255,.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  box-shadow: 0 15px 35px rgba(0,0,0,.25), 0 0 20px rgba(54,147,255,.1);
  border-color: rgba(54,147,255,.3);
}

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

.feature-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(55,54,175,.4), rgba(54,147,255,.3));
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 1rem;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative;
  z-index: 1;
}

.feature-icon i {
  font-size: 1.4rem;
  transition: transform .3s ease;
}

/* Icon animations on card hover */
.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(54,147,255,.25);
  background: linear-gradient(135deg, rgba(55,54,175,.5), rgba(54,147,255,.4));
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
}

/* Specific icon animations */
.feature-card:hover .bi-brain {
  animation: iconPulse 1s ease-in-out infinite;
}

.feature-card:hover .bi-graph-up {
  animation: iconBounce 0.6s ease;
}

.feature-card:hover .bi-shield-check {
  animation: iconPop 0.4s ease;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.2); }
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1.1); }
  50% { transform: translateY(-4px) scale(1.15); }
}

@keyframes iconPop {
  0% { transform: scale(1.1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1.1); }
}

.feature-title {
  color: var(--text-high);
  font-weight: 700;
  margin-bottom: .5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.feature-description {
  color: var(--text-med);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.feature-note {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* --------------------------------- */
/* HOW IT WORKS (numbered steps)     */
/* --------------------------------- */

.how-it-works { background: linear-gradient(180deg, #0c1527 0%, #0b1220 100%); }

.step-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow .3s ease,
              background .3s ease,
              border-color .3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  border-color: rgba(54,147,255,.25);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(54,147,255,.35);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-indigo), var(--brand-blue));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: .75rem;
  box-shadow: 0 6px 16px rgba(54,147,255,.28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-title { color: var(--text-high); font-weight: 700; margin-bottom: .25rem; }
.step-description { color: var(--text-med); }

/* ----------------------------- */
/* BENEFITS (media list cards)   */
/* ----------------------------- */

.benefits-section { background: linear-gradient(180deg, #0b1220 0%, #0c172e 100%); }

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: transform .3s ease, background .25s ease, border-color .25s ease, box-shadow .3s ease;
}

.benefit-item:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
  border-color: rgba(54,147,255,.25);
  box-shadow: 0 8px 25px rgba(54,147,255,.1);
}

.benefit-icon {
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(55,54,175,.4), rgba(54,147,255,.3));
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(54,147,255,.25);
}

.benefit-content h5 { color: var(--text-high); margin: 0 0 .35rem; font-size: 1rem; }
.benefit-content p { color: var(--text-med); margin: 0; line-height: 1.5; }

.benefits-image-wrapper {
  position: relative;
  transition: transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating effect for benefits image */
.benefits-image-wrapper.visible {
  animation: benefitsFloat 6s ease-in-out infinite;
}

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

.benefits-image-wrapper::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 5%;
  right: 5%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(54, 147, 255, 0.25) 0%, transparent 70%);
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
  transition: opacity .6s ease;
}

.benefits-image {
  border: 1px solid var(--surface-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform .4s ease, box-shadow .4s ease;
}

.benefits-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

/* ----------------------------- */
/* PRICING                       */
/* ----------------------------- */

.pricing-section { background: linear-gradient(180deg, #0c172e 0%, #0b1220 100%); }
.pricing-title { text-align: center; margin-bottom: 1.25rem; }

.pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  height: 100%;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow .3s ease,
              background .3s ease,
              border-color .3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pricing-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(0,0,0,.35);
  background: var(--surface-2);
}

/* Featured card - floating animation */
.pricing-card.featured {
  border-color: rgba(245,181,70,.55);
  box-shadow: 0 15px 40px rgba(245,181,70,.15);
  animation: featuredFloat 4s ease-in-out infinite;
}

.pricing-card.featured:hover {
  animation: none;
  transform: translateY(-10px) rotateX(2deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(245,181,70,.2);
}

@keyframes featuredFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.popular-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #1a1200;
  background: linear-gradient(90deg, #ffd87a, #f5b546);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 20px rgba(245,181,70,.3);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(245,181,70,.3); }
  50% { box-shadow: 0 8px 25px rgba(245,181,70,.45); }
}

.team-badge,
.personal-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(90deg, #3693ff, #5b4adb);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 6px 20px rgba(54,147,255,.25);
}

.pricing-annual {
  font-size: .9rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.pricing-price {
  color: var(--text-high);
  font-weight: 800;
  font-size: 2.25rem;
}

.pricing-period {
  color: var(--text-dim);
  font-weight: 600;
  margin-left: .15rem;
}

.pricing-features { margin: 1rem 0 .9rem; padding: 0; list-style: none; }
.pricing-features li {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-med);
  padding: .35rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.pricing-features li:last-child { border-bottom: 0; }

.btn-pricing {
  width: 100%;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-blue));
  border: none;
  box-shadow: 0 8px 22px rgba(54,147,255,.25);
}
.btn-pricing:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(54,147,255,.33); }

/* ----------------------------- */
/* TESTIMONIALS                  */
/* ----------------------------- */

.testimonials { background: linear-gradient(180deg, #0b1220 0%, #0b1220 100%); }

.testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border-color: rgba(54,147,255,.25);
}

/* Decorative quote mark */
.testimonial-quote-mark {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(54,147,255,.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Gradient avatar with initials */
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar--gradient {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-indigo) 50%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 12px rgba(54,147,255,.25);
}

/* Second card gets different gradient */
.testimonial-card:nth-child(2) .testimonial-avatar--gradient {
  background: linear-gradient(135deg, #f5b546 0%, #f97316 50%, #ef4444 100%);
  box-shadow: 0 4px 12px rgba(245,181,70,.25);
}

/* Third card gets different gradient */
.col-lg-4:nth-child(3) .testimonial-avatar--gradient {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
  box-shadow: 0 4px 12px rgba(16,185,129,.25);
}

.testimonial-author {
  color: var(--text-high);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-role {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Star rating */
.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-top: auto;
}

.testimonial-rating i {
  color: #f5b546;
  font-size: 0.9rem;
}

/* ----------------------------- */
/* TRUST INDICATOR               */
/* ----------------------------- */

.trust-indicator {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ----------------------------- */
/* FINAL CTA                     */
/* ----------------------------- */

.final-cta {
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(54,147,255,.15), transparent 60%),
    radial-gradient(700px 400px at 85% 100%, rgba(55,54,175,.12), transparent 60%),
    linear-gradient(180deg, #0c172e 0%, #0b1220 100%);
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Animated background gradient */
.final-cta::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(54,147,255,.08) 90deg, transparent 180deg);
  animation: ctaRotate 20s linear infinite;
  pointer-events: none;
}

@keyframes ctaRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.btn-final-cta {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-blue));
  border: none;
  box-shadow: 0 10px 30px rgba(54,147,255,.3);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Pulsing glow effect */
.btn-final-cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-indigo), var(--brand-blue));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  animation: ctaGlow 2s ease-in-out infinite;
  filter: blur(12px);
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* Shine effect on hover */
.btn-final-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}

.btn-final-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(54,147,255,.4);
}

.btn-final-cta:hover::after {
  left: 150%;
}

/* ----------------------------- */
/* Reveal / Fade-in utilities    */
/* ----------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s cubic-bezier(0.4, 0, 0.2, 1),
              transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: inherit; /* Allow JS to set stagger delay */
}

/* Ensure Bootstrap collapse open/close feel smooth */
.collapse { transition: height .25s ease; }
.collapse.show { display: block; }

/* -------------------------------- */
/* Accessibility & motion controls  */
/* -------------------------------- */

@media (prefers-reduced-motion: reduce) {
  /* Disable all animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Specific resets for animated elements */
  .hero-section::before,
  .hero-section::after,
  .scroll-cue,
  .hero-mockup,
  .particle,
  .typing-cursor,
  .gradient-text,
  .shimmer-text::after,
  .hero-carousel-slide,
  .carousel-dot::after,
  .pricing-card.featured,
  .popular-badge,
  .team-badge,
  .personal-badge,
  .benefits-image-wrapper,
  .final-cta::before,
  .btn-final-cta::before,
  .showcase-card {
    animation: none !important;
  }

  /* Disable hover transforms for showcase */
  .showcase-card:hover {
    transform: none !important;
  }

  /* Show content immediately instead of fading */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Disable hover transforms */
  .feature-card:hover,
  .step-card:hover,
  .benefit-item:hover,
  .pricing-card:hover,
  .testimonial-card:hover {
    transform: none !important;
  }

  /* Typing text shows immediately */
  .typing-text {
    opacity: 1 !important;
  }

  .typing-cursor {
    display: none !important;
  }
}

/* ----------------------------- */
/* Responsive polish             */
/* ----------------------------- */

@media (max-width: 991.98px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .feature-card, .step-card, .benefit-item, .pricing-card, .testimonial-card { padding: 1rem; }
}

@media (min-width: 992px) {
  .hero-title { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.1rem; }
}

@media (min-width: 1400px) {
  .hero-title { font-size: 3rem; }
}

/* ------------------------------------------------------ */
/* OPTIONAL: fine-tune Bootstrap defaults for landing     */
/* (kept minimal; remove if you prefer pure Bootstrap)    */
/* ------------------------------------------------------ */

.btn { border-radius: 999px; }

/* FAQ Section improvements */
.faq-section { 
  background: linear-gradient(180deg, #0b1220 0%, #0c172e 100%); 
  padding: 5rem 0;
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(54,147,255,.3);
}

.faq-item.open {
  border-color: rgba(54,147,255,.4);
  box-shadow: 0 4px 20px rgba(54,147,255,.1);
}

.faq-question {
  background: transparent;
  border: none;
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-high);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--surface-2);
}

.faq-question.active {
  background: var(--brand-indigo);
  color: white;
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  color: var(--text-med);
  line-height: 1.6;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  padding-bottom: 1.5rem;
}

/* Rotate chevron when open */
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.3s ease;
}

/* Trust indicator improvements */
.trust-indicator {
  display: inline-flex; 
  align-items: center; 
  gap: .5rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ----------------------------- */
/* HERO BACKGROUND VIDEO         */
/* ----------------------------- */

.hero-bg-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Dark overlay + gradient fade so text is readable and video blends into page bg */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Strong darken for text readability */
    linear-gradient(
      180deg,
      rgba(10,15,26,.82) 0%,
      rgba(10,15,26,.65) 40%,
      rgba(10,15,26,.70) 60%,
      rgba(11,18,32,.95) 90%,
      #0b1220 100%
    ),
    /* Side vignette */
    radial-gradient(ellipse at center, transparent 40%, rgba(10,15,26,.6) 100%);
  z-index: 1;
}

/* Centered hero content over video */
.hero-centered {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
}

.hero-centered .hero-subtitle-static {
  margin: 0 auto;
  max-width: 56ch;
}

.hero-centered .hero-cta {
  justify-content: center;
}

.hero-centered .hero-note {
  text-align: center;
}

/* ----------------------------- */
/* HERO MOBILE RESPONSIVE        */
/* ----------------------------- */

@media (max-width: 767.98px) {
  .hero-centered {
    padding: 1rem 0;
  }

  .hero-centered .hero-title {
    font-size: 1.75rem;
  }

  .hero-centered .hero-subtitle-static {
    font-size: 0.95rem;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(10,15,26,.88) 0%,
        rgba(10,15,26,.75) 40%,
        rgba(10,15,26,.80) 60%,
        rgba(11,18,32,.95) 90%,
        #0b1220 100%
      ),
      radial-gradient(ellipse at center, transparent 30%, rgba(10,15,26,.7) 100%);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* ----------------------------- */
/* SHARED SECTION TYPOGRAPHY     */
/* ----------------------------- */

.section-heading {
  color: var(--text-high);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-subheading {
  color: var(--text-med);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .section-heading { font-size: 2.25rem; }
}

/* ----------------------------- */
/* HERO EYEBROW + STATIC SUB    */
/* ----------------------------- */

.hero-eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-static {
  color: var(--text-med);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ----------------------------- */
/* TRUST STRIP                   */
/* ----------------------------- */

.trust-strip {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-item i {
  color: var(--brand-blue);
  font-size: 1rem;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: var(--surface-border);
}

@media (max-width: 767.98px) {
  .trust-strip-inner { gap: 0.75rem 1.25rem; }
  .trust-divider { display: none; }
  .trust-item { font-size: 0.8rem; }
}

/* ----------------------------- */
/* PROBLEM / ALTERNATIVES        */
/* ----------------------------- */

.problem-section {
  background: linear-gradient(180deg, #0b1220 0%, #0c1527 100%);
}

.problem-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border-color: rgba(239,68,68,.3);
}

.problem-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239,68,68,.25), rgba(239,68,68,.15));
  border: 1px solid rgba(239,68,68,.2);
  margin-bottom: 0.75rem;
}

.problem-icon i { font-size: 1.2rem; }

.problem-title {
  color: var(--text-high);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.problem-description {
  color: var(--text-med);
  line-height: 1.6;
  margin-bottom: 0;
}

.problem-bridge {
  color: var(--text-high);
  font-weight: 600;
  font-size: 1.05rem;
  max-width: 65ch;
  margin: 0 auto;
}

/* ----------------------------- */
/* PROOF SECTIONS                */
/* ----------------------------- */

.proof-section {
  background: linear-gradient(180deg, #0c1527 0%, #0b1220 100%);
}

.proof-section--alt {
  background: linear-gradient(180deg, #0b1220 0%, #0c1527 100%);
}

/* ---  Proof pair: text + image as a coupled unit  --- */
.proof-pair {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  align-items: center;
}

/* Reversed layout: image on left, text on right */
.proof-pair--reversed {
  grid-template-columns: 7fr 5fr;
}

.proof-pair--reversed .proof-text  { order: 2; }
.proof-pair--reversed .proof-image { order: 1; }

/* Let the image bleed out of its column slightly for dynamism */
.proof-image {
  position: relative;
}

.proof-pair:not(.proof-pair--reversed) .proof-image {
  margin-right: -3rem;
}

.proof-pair--reversed .proof-image {
  margin-left: -3rem;
}

/* Accent line connecting text to image */
.proof-text {
  position: relative;
}

.proof-pair:not(.proof-pair--reversed) .proof-text::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(54,147,255,.25) 30%,
    rgba(54,147,255,.25) 70%,
    transparent
  );
  border-radius: 2px;
}

.proof-pair--reversed .proof-text::after {
  content: '';
  position: absolute;
  left: -1rem;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(54,147,255,.25) 30%,
    rgba(54,147,255,.25) 70%,
    transparent
  );
  border-radius: 2px;
}

/* Mobile: stack vertically */
@media (max-width: 991.98px) {
  .proof-pair,
  .proof-pair--reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .proof-pair--reversed .proof-text  { order: 1; }
  .proof-pair--reversed .proof-image { order: 2; }

  .proof-pair:not(.proof-pair--reversed) .proof-image,
  .proof-pair--reversed .proof-image {
    margin-left: 0;
    margin-right: 0;
  }

  .proof-text::after {
    display: none !important;
  }
}

.proof-eyebrow {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.proof-heading {
  color: var(--text-high);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .proof-heading { font-size: 2.1rem; }
}

.proof-description {
  color: var(--text-med);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

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

.proof-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.proof-list li:last-child { border-bottom: none; }

.proof-list li strong {
  color: var(--text-high);
  font-weight: 700;
  font-size: 0.95rem;
}

.proof-list li span {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Proof visual container — frameless fade style */
.proof-visual {
  position: relative;
}

.proof-visual img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  /* Fade edges into the background */
  -webkit-mask-image:
    linear-gradient(to bottom, black 60%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, black 60%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-composite: intersect;
}

.proof-visual:hover img {
  transform: translateY(-6px);
}

/* Soft glow underneath */
.proof-visual-glow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 100px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%,
      rgba(54,147,255,.15) 0%,
      rgba(55,54,175,.08) 40%,
      transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* ----------------------------- */
/* AUDIENCE SEGMENTATION         */
/* ----------------------------- */

.audience-section {
  background: linear-gradient(180deg, #0b1220 0%, #0c1527 100%);
}

.audience-card {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  border-color: rgba(54,147,255,.3);
}

.audience-card--featured {
  border-color: rgba(54,147,255,.35);
  box-shadow: 0 8px 25px rgba(54,147,255,.1);
}

.audience-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(55,54,175,.4), rgba(54,147,255,.3));
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 0.75rem;
}

.audience-icon i { font-size: 1.3rem; }

.audience-title {
  color: var(--text-high);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.audience-description {
  color: var(--text-med);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.audience-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  line-height: 1.4;
}

.audience-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

/* ----------------------------- */
/* SECURITY SECTION              */
/* ----------------------------- */

.security-section {
  background: linear-gradient(180deg, #0c1527 0%, #0b1220 100%);
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.security-item:hover {
  border-color: rgba(54,147,255,.3);
  box-shadow: 0 4px 15px rgba(54,147,255,.08);
}

.security-item > i {
  font-size: 1.3rem;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.security-item strong {
  display: block;
  color: var(--text-high);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.security-item span {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ----------------------------- */
/* FOOTER (dark on landing page) */
/* ----------------------------- */

body:has(.hero-section) .site-footer {
  background: #090e1a !important;
  border-color: var(--surface-border) !important;
}

body:has(.hero-section) .site-footer .footer-brand {
  color: var(--brand-blue) !important;
}

body:has(.hero-section) .site-footer h5,
body:has(.hero-section) .site-footer h6 {
  color: var(--text-high) !important;
}

body:has(.hero-section) .site-footer p,
body:has(.hero-section) .site-footer .small,
body:has(.hero-section) .site-footer .text-muted {
  color: var(--text-dim) !important;
}

body:has(.hero-section) .site-footer .link-secondary {
  color: var(--text-dim) !important;
  transition: color .2s ease;
}

body:has(.hero-section) .site-footer .link-secondary:hover {
  color: var(--text-high) !important;
}

body:has(.hero-section) .site-footer a.text-muted {
  color: var(--text-dim) !important;
}

body:has(.hero-section) .site-footer a.text-muted:hover {
  color: var(--brand-blue) !important;
}

/* ----------------------------- */
/* COMPETITIVE STRIP             */
/* ----------------------------- */

.competitive-strip {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  text-align: left;
}

.competitive-heading {
  color: var(--text-high);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.competitive-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.competitive-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-med);
  font-size: 0.9rem;
  line-height: 1.45;
}

.competitive-item i {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* End of landing-page.css */
