:root {
  --blue-1: #1f4fd1;
  --blue-2: #0b1b4f;
  --blue-3: #5bb2ff;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  /* Reduced from default 16px (one size smaller) to scale down all rem-based font sizes */
}

body {
  background: #0b0f1f;
  font-family: 'Readex Pro', sans-serif;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, #5bb2ff, #1f4fd1);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(31, 79, 209, 0.5);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(91, 178, 255, 0.3), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(31, 79, 209, 0.4), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(11, 27, 79, 0.8), transparent 50%);
}

.scroll-indicator {
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {

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

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

.floating-shape {
  animation: floatSoft 6s ease-in-out infinite;
}

@keyframes floatSoft {

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

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.slide-left {
  transform: translateX(-30px);
}

.reveal.slide-right {
  transform: translateX(30px);
}

.reveal.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stagger span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger span.in {
  opacity: 1;
  transform: translateY(0);
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(91, 178, 255, 0.6), rgba(31, 79, 209, 0.6), rgba(11, 27, 79, 0.6));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.glow-border:hover::before {
  opacity: 1;
}

.product-icon {
  height: 9rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.product-icon i {
  font-size: 1.75rem;
}

.tilt-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

.modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 600ms linear;
  background: rgba(255, 255, 255, 0.4);
}

/* Alternate hero design */
.hero-alt {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(91, 178, 255, 0.12), transparent 45%),
    linear-gradient(135deg, #f7f9ff 0%, #eef3ff 45%, #f7f9ff 100%);
}

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-alt-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(31, 79, 209, 0.12), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(91, 178, 255, 0.14), transparent 45%);
  opacity: 0.7;
  z-index: 2;
}

.hero-alt-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.5rem;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-alt-visual {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.hero-alt-image {
  width: 100%;
  height: 360px;
  border-radius: 26px;
  background: url('/images/hero.jpg') center/cover no-repeat;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-alt-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.15), rgba(255, 255, 255, 0.15), transparent 50%);
}

.hero-alt-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.25), transparent 45%);
  mix-blend-mode: screen;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(10px);
}

.hero-float-card.card-1 {
  top: 18px;
  left: 18px;
}

.hero-float-card.card-2 {
  bottom: 18px;
  right: 18px;
}

.hero-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e6eeff;
  color: #1f4fd1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-float-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-float-copy {
  font-size: 0.8rem;
  color: #64748b;
}

.feature-thumb {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.feature-card.has-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card.has-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.feature-card.has-image .feature-thumb::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 20%, rgba(91, 178, 255, 0.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(31, 79, 209, 0.25), transparent 45%);
  opacity: 0.5;
}

.feature-card.has-image .feature-icon {
  position: absolute;
  top: 118px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.feature-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.12));
}

.feature-card:hover .feature-thumb {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.contact-map-card {
  background: url('/images/contact.jpg') center/cover no-repeat;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.contact-map-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0));
}

.hero-alt-stats {
  display: grid;
  gap: 0.75rem;
}

.hero-stat-card {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.hero-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e6eeff;
  color: #1f4fd1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-stat-title {
  font-weight: 700;
  color: #0f172a;
}

.hero-stat-copy {
  font-size: 0.9rem;
  color: #64748b;
}

.hero-alt-chip {
  position: absolute;
  top: -16px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

/* About section layout (alternate split) */
.about-split {
  background: #ffffff;
}

.about-split-media {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.about-media-card {
  width: 320px;
  height: 240px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 6px solid #ffffff;
}

.about-media-card.secondary {
  position: absolute;
  width: 240px;
  height: 180px;
  right: 10%;
  bottom: -10px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.about-badge {
  position: absolute;
  top: -10px;
  left: 10%;
  background: #1f4fd1;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 30px rgba(31, 79, 209, 0.3);
}

.about-badge span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.about-badge strong {
  font-size: 1.25rem;
}

.about-pill-grid {
  display: grid;
  gap: 1rem;
}

.about-pill {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
  background: #f8fafc;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.about-pill i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e6eeff;
  color: #1f4fd1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-pill h3 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.about-pill p {
  font-size: 0.95rem;
  color: #475569;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.form-field input:focus+label,
.form-field textarea:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:not(:placeholder-shown)+label {
  transform: translateY(-20px) scale(0.85);
  color: #5bb2ff;
}

.form-field label {
  transition: transform 0.2s ease, color 0.2s ease;
}

.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  right: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.social-icon {
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) rotate(6deg);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .container-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .finance-title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.2;
  }

  .finance-heading {
    font-size: clamp(24px, 6vw, 32px);
  }

  .hero-chip {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .btn-primary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-soft {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .platform-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat-value {
    font-size: 16px;
  }

  .stat-label-small {
    font-size: 10px;
  }

  .cluster-item,
  .activity-item {
    padding: 8px;
  }

  .cluster-icon,
  .activity-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .avatar-stack {
    flex-shrink: 0;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .logo-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .logo-pill {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .cta-band {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .testimonial-card {
    padding: 16px;
  }

  .mockup-card {
    padding: 18px;
    max-width: 100%;
  }

  .step-list {
    padding-left: 12px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .finance-title {
    font-size: 28px;
  }

  .finance-heading {
    font-size: 24px;
  }

  .platform-illustration {
    padding: 16px;
  }

  .platform-stats {
    gap: 6px;
  }

  .stat-value {
    font-size: 14px;
  }

  .stat-label-small {
    font-size: 9px;
  }

  .cluster-list,
  .activity-list {
    gap: 8px;
  }

  .grid {
    gap: 1rem;
  }

  .flex.flex-wrap {
    gap: 0.75rem;
  }

  .hero-spotlight {
    inset: -20px;
  }

  /* Header mobile fixes */
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .text-muted {
    font-size: 0.7rem;
  }

  /* Hero section mobile */
  .finance-hero {
    padding-top: 6rem;
  }

  .container-main.pt-28 {
    padding-top: 6rem;
  }

  /* Button spacing */
  .btn-primary,
  .btn-outline,
  .btn-soft {
    width: 100%;
    justify-content: center;
  }

  .flex.flex-wrap.gap-4 {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Stats mobile */
  .avatar-stack+div {
    margin-top: 0.5rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .platform-illustration {
    width: 100%;
    max-width: 420px;
  }

  .floating-note {
    position: static;
    margin-top: 24px;
    max-width: 100%;
  }
}

/* Finance landing theme */
body.finance-theme {
  color: #0f172a;
  background: #f6f8ff;
}

.text-muted {
  color: rgba(255, 255, 255, 0.7);
}

.finance-theme .text-muted {
  color: #5a6683;
}

.brand-text {
  color: #ffffff;
}

.finance-theme .brand-text {
  color: #0f172a;
}

/* Header container: transparent on desktop (3 separate parts only) */
.header-transparent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Keep header transparent even after scrolling (no background bar) */
#navbar.is-sticky {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile: keep header transparent; background should appear only on the mobile menu overlay */
@media (max-width: 1024px) {
  #navbar {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
}

.finance-theme .nav-link {
  color: #1d2b4f;
  font-weight: 600;
}

.finance-theme .nav-link::after {
  background: linear-gradient(90deg, #0a4fd1, #5bb2ff);
}

.finance-theme .nav-link.active,
.finance-theme .nav-link:hover {
  color: #0a4fd1;
}

.finance-theme .btn-outline {
  color: #0f172a;
  border-color: #d7dce8;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.finance-theme .btn-outline:hover {
  border-color: #0a4fd1;
  color: #0a4fd1;
  transform: translateY(-2px);
}

.finance-theme #mobileMenu {
  background: #f6f8ff !important;
  color: #0f172a;
  z-index: 9999;
}

/* Ensure mobile menu has COMPLETELY SOLID background */
#mobileMenu {
  background-color: #f6f8ff !important;
  background: #f6f8ff !important;
  z-index: 99999 !important;
  display: none;
  /* Default hidden */
}

#mobileMenu.opacity-100 {
  display: block;
  opacity: 1 !important;
}

@media (max-width: 1024px) {
  #mobileMenu {
    display: block;
    /* Show on mobile so JS can animate it */
  }
  /* When closed, don't block clicks so the hamburger button remains clickable */
  #mobileMenu:not(.opacity-100) {
    pointer-events: none;
  }
}

.finance-theme #mobileMenu .nav-link {
  color: #0f172a;
}

/* Header pill nav (match screenshot) */
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Full-width bar behind logo + nav + CTA; bg #c0d7fa. Expands on scroll up, collapses on scroll down */
.header-bar-bg {
  position: absolute;
  left: -4%;
  top: 0;
  bottom: 0;
  width: 108%;
  border-radius: 999px;
  background: #c0d7fa;
  border: 1px solid rgba(13, 24, 64, 0.08);
  box-shadow: 0 12px 40px rgba(16, 38, 94, 0.08);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

#navbar.header-bar-expanded .header-bar-bg {
  transform: scaleX(1);
}

/* When bar expanded, nav pill transparent so one continuous #c0d7fa bar */
#navbar.header-bar-expanded .nav-pill {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* At start: nav pill white (like 2nd image). When scrolled down only: nav pill #c0d7fa */
.nav-pill {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(13, 24, 64, 0.08);
  box-shadow: 0 12px 40px rgba(16, 38, 94, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  gap: 10px;
}

#navbar.header-nav-only .nav-pill {
  background: white;
}

/* Logo section and nav/CTA above the bar */
.header-logo-section,
.nav-pill,
#headerCTA {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.nav-pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #0f172a;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.nav-pill-link:hover {
  background: rgba(10, 79, 209, 0.08);
  color: #0a4fd1;
}

.nav-pill-link.active {
  background: rgba(10, 79, 209, 0.10);
  color: #0a4fd1;
}

.nav-pill-link.active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a4fd1;
  display: inline-block;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: #0a4fd1;
  box-shadow: 0 14px 35px rgba(10, 79, 209, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(10, 79, 209, 0.32);
}

.header-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid #d7dce8;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.mobile-nav-link {
  color: #0f172a;
  text-decoration: none;
}

.mobile-nav-link.active {
  color: #0a4fd1;
}

/* Header visibility guards (avoid desktop showing mobile controls) */
@media (min-width: 1024px) {
  .nav-pill,
  #headerCTA {
    display: flex !important;
  }

  #mobileToggle,
  #mobileMenu {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .nav-pill,
  #headerCTA {
    display: none !important;
  }

  #mobileToggle {
    display: inline-flex !important;
  }
}

/* Mobile Header Fixes */
@media (max-width: 1024px) {

  /* Increase header bar height on mobile so bg covers logo and menu button fully */
  #navbar .container-main {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .header-bar-bg {
    top: -0.25rem;
    bottom: -0.25rem;
  }

  /* Force mobile menu to be completely solid */
  #mobileMenu {
    z-index: 99999 !important;
    background-color: #f6f8ff !important;
  }

  #mobileToggle {
    z-index: 50;
    position: relative;
  }

  #navbar {
    z-index: 50;
  }

  /* Ensure mobile menu buttons are visible */
  #mobileToggle i,
  #mobileClose i {
    color: #0f172a;
    font-size: 1.1rem;
  }

  .finance-theme #mobileToggle {
    border-color: #d7dce8;
    background: #ffffff;
  }

  .finance-theme #mobileClose {
    border-color: #d7dce8;
    background: #ffffff;
  }

  /* Mobile menu navigation links */
  #mobileMenu .nav-link,
  #mobileMenu .mobile-nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  #mobileMenu .nav-link:last-child,
  #mobileMenu .mobile-nav-link:last-child {
    border-bottom: none;
  }

  /* Mobile menu buttons */
  #mobileMenu .btn-outline,
  #mobileMenu .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f4fd1, #5bb2ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(31, 79, 209, 0.35);
}

.finance-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #eef2ff 100%);
}

.pattern-grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  opacity: 0.7;
  pointer-events: none;
}

.pattern-grid.faint {
  opacity: 0.4;
}

.floating-bubble {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.5;
  animation: floatSoft 12s ease-in-out infinite;
}

.bubble-1 {
  background: #93c5fd;
  top: 12%;
  right: 10%;
}

.bubble-2 {
  background: #c4b5fd;
  bottom: 8%;
  left: 20%;
  animation-duration: 14s;
}

.bubble-3 {
  background: #f9a8d4;
  bottom: 20%;
  right: 22%;
  animation-duration: 16s;
}

.finance-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  color: #0f172a;
}

.finance-heading {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: #0f172a;
}

.finance-subtitle {
  color: #3b4458;
  font-size: 1.05rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e7ecfb;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a4fd1;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #d7dce8;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.btn-soft .play-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f4fd1, #5bb2ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(31, 79, 209, 0.4);
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-stack .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4fd1, #5bb2ff);
  border: 3px solid #f6f8ff;
  box-shadow: 0 8px 20px rgba(31, 79, 209, 0.3);
  margin-left: -10px;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a4fd1;
}

.stat-label {
  color: #5a6683;
  font-size: 0.9rem;
}

.hero-spotlight {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 30%, rgba(90, 140, 255, 0.35), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(22, 55, 140, 0.25), transparent 55%);
  filter: blur(6px);
  z-index: 0;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  aspect-ratio: 3 / 5.8;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(10, 25, 75, 0.25);
  margin-left: auto;
}

/* Platform Illustration Component */
.platform-illustration {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #e4e8f4;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(10, 25, 75, 0.25);
  margin-left: auto;
}

@media (max-width: 768px) {
  .platform-illustration {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
  }

  .platform-header {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .platform-stats {
    gap: 12px;
    margin-top: 12px;
  }

  .stat-value {
    font-size: 18px;
  }

  .platform-content {
    gap: 12px;
  }

  .platform-card {
    padding: 14px;
  }
}

.platform-header {
  border-bottom: 1px solid #e4e8f4;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.platform-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f4fd1, #5bb2ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.platform-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
}

.platform-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

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

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #0a4fd1;
  line-height: 1.2;
}

.stat-label-small {
  font-size: 11px;
  color: #5a6683;
  margin-top: 4px;
}

.platform-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-card {
  background: #f8fafc;
  border: 1px solid #e4e8f4;
  border-radius: 16px;
  padding: 16px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.platform-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f4fd1, #5bb2ff);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.platform-btn:hover {
  transform: scale(1.1);
}

.cluster-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.cluster-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e4e8f4;
}

.cluster-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.cluster-icon.k8s {
  background: linear-gradient(135deg, #326ce5, #1f4fd1);
}

.cluster-icon.edge {
  background: linear-gradient(135deg, #10b981, #059669);
}

.cluster-icon.cloud {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.cluster-info {
  flex: 1;
}

.cluster-name {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.cluster-status {
  font-size: 11px;
  color: #5a6683;
}

.cluster-status.healthy {
  color: #10b981;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e4e8f4;
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.activity-icon.deploy {
  background: linear-gradient(135deg, #10b981, #059669);
}

.activity-icon.alert {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.activity-icon.sync {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.activity-details {
  flex: 1;
}

.activity-name {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.activity-time {
  font-size: 10px;
  color: #94a3b8;
}

.activity-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.activity-badge.success {
  background: #d1fae5;
  color: #059669;
}

.activity-badge.improvement {
  background: #fee2e2;
  color: #dc2626;
}

.floating-note {
  position: absolute;
  right: 10%;
  top: 8%;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
  max-width: 260px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
  z-index: 2;
}

@media (max-width: 1024px) {
  .floating-note {
    position: static;
    margin-top: 20px;
    max-width: 100%;
    right: auto;
    top: auto;
  }
}

.floating-card {
  position: absolute;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 14px;
}

.card-primary {
  background: linear-gradient(145deg, #1f4fd1, #0b1f4f);
  color: #fff;
  width: 270px;
  bottom: -10%;
  left: 2%;
}

.card-secondary {
  background: #ffffff;
  border: 1px solid #e4e8f4;
  width: 240px;
  top: 44%;
  right: -6%;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: #edf1ff;
  color: #1f2a44;
  font-weight: 600;
}

.partner-strip {
  background: linear-gradient(135deg, #0a3fb7, #0b1f4f);
  color: #f5f7ff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(42px, 8vw, 90px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 6px;
  pointer-events: none;
}

.banner-eyebrow {
  font-size: 1.1rem;
  color: #d8e2ff;
  font-weight: 600;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  align-items: center;
  justify-items: center;
}

.logo-pill {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.soft-section {
  background: #ffffff;
  border-top: 1px solid #e4e8f4;
  border-bottom: 1px solid #e4e8f4;
  position: relative;
}

.soft-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #e8edff;
  display: grid;
  place-items: center;
  color: #0a4fd1;
  box-shadow: inset 0 0 0 1px rgba(10, 79, 209, 0.08);
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e4e8f4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.feature-card h3 {
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 8px;
  color: #0f172a;
}

.feature-card p {
  color: #4b5567;
  line-height: 1.6;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7ecfb, #ffffff);
  color: #0a4fd1;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px #d7dce8;
}

.feature-icon i,
.pill-feature i,
.badge-btn i,
.btn-soft i {
  color: #0a4fd1;
}

/* Ensure Font Awesome icons are visible */
.fas,
.far,
.fab,
.fal,
.fad {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro" !important;
  font-weight: 900;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}

.far {
  font-weight: 400;
}

/* Ensure icons in finance theme are visible */
.finance-theme .fas,
.finance-theme .far,
.finance-theme .fab {
  color: inherit;
}

.finance-theme .feature-icon i {
  color: #0a4fd1 !important;
}

.finance-theme .text-blue-600 {
  color: #2563eb !important;
}

.additional-features {
  background: #f1f4ff;
}

.pill-feature {
  background: #ffffff;
  border: 1px solid #d7dce8;
  border-radius: 14px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.mockup-card {
  background: #ffffff;
  border: 1px solid #e4e8f4;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  max-width: 360px;
  margin: 0 auto;
}

.input-field {
  display: grid;
  gap: 6px;
  text-align: left;
  color: #4b5567;
  font-weight: 600;
}

.input-field input {
  width: 100%;
  border: 1px solid #d7dce8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8f9ff;
  color: #0f172a;
  outline: none;
}

.input-field .link {
  color: #0a4fd1;
  font-weight: 600;
  cursor: pointer;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #94a3b8;
  font-weight: 600;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e4e8f4;
}

.phone-shadow {
  position: absolute;
  inset: 10% -4% -6% 4%;
  background: radial-gradient(circle at 50% 30%, rgba(10, 79, 209, 0.15), transparent 60%);
  filter: blur(30px);
  z-index: -1;
}

.step-list {
  display: grid;
  gap: 16px;
  border-left: 2px solid #d7dce8;
  padding-left: 16px;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #0a4fd1;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(10, 79, 209, 0.3);
}

.step-title {
  font-weight: 700;
  color: #0f172a;
}

.step-copy {
  color: #4b5567;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e4e8f4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.stars {
  color: #f7b500;
}

.cta-band {
  background: linear-gradient(135deg, #0a4fd1, #0b1f4f);
  color: #f6f8ff;
  border-radius: 22px;
  margin: 0 16px;
  box-shadow: 0 18px 50px rgba(10, 31, 79, 0.3);
}

@media (max-width: 1024px) {

  .card-primary,
  .card-secondary,
  .floating-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-phone {
    margin: 0 auto;
  }
}