﻿/* Ensure Google Fonts use font-display: swap for better LCP */
@font-face { font-family: 'DM Sans'; font-display: swap; }
@font-face { font-family: 'Playfair Display'; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; font-display: swap; }

html {
  scroll-behavior: smooth;
}

body.public-page {
  --brand-bg: #f5f9ff;
  --brand-bg-secondary: #eaf4ff;
  --brand-panel: #ffffff;
  --brand-accent: #2c90f0;
  --brand-accent-strong: #1a82e8;
  --brand-accent-soft: #93caff;
  --brand-accent-pale: #e0f0ff;
  --brand-text: #0f2040;
  --brand-text-secondary: #1a3a5c;
  --brand-text-muted: #4a6488;
  --brand-border: rgba(44, 144, 240, 0.15);
  --brand-blue-soft: #e8f3ff;
  --brand-blue: #72aefe;
  margin: 0;
  color: var(--brand-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(44, 144, 240, 0.11), transparent 21%),
    radial-gradient(circle at 88% 8%, rgba(114, 174, 254, 0.12), transparent 16%),
    radial-gradient(circle at 28% 70%, rgba(147, 202, 255, 0.11), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, var(--brand-bg) 46%, var(--brand-bg-secondary) 100%);
}

body.public-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(44, 144, 240, 0.07) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 82% 28%, rgba(110, 169, 255, 0.08) 0 1.6px, transparent 1.6px 100%),
    radial-gradient(circle at 28% 74%, rgba(44, 144, 240, 0.07) 0 1.8px, transparent 1.8px 100%);
  background-size: 220px 220px, 240px 240px, 260px 260px;
  opacity: 0.55;
}

body.public-page,
body.public-page button,
body.public-page input,
body.public-page textarea,
body.public-page select {
  font-family: "DM Sans", sans-serif;
}

body.public-page h1,
body.public-page h2,
body.public-page h3,
body.public-page h4,
body.public-page .brand-wordmark,
body.public-page .section-kicker,
body.public-page .auth-heading {
  font-family: "Playfair Display", serif;
}

body.public-page .metric-value,
body.public-page .mock-number,
body.public-page .ticker-price {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: normal;
  font-feature-settings: "zero" 0;
}

body.public-page .stat-number {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.public-page .site-shell {
  width: min(1280px, calc(100% - 32px));
  max-width: 100%;
  overflow-x: hidden;
  padding: 0 0 48px;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-soft));
  box-shadow: 0 0 24px rgba(44, 144, 240, 0.35);
}

.floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, #1a75d4, #2c90f0);
  box-shadow: 0 18px 45px rgba(44, 144, 240, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1565c0, #2c90f0);
  box-shadow: 0 22px 54px rgba(44, 144, 240, 0.42);
}

.floating-whatsapp-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(11, 139, 74, 0.12);
}

.floating-whatsapp-icon svg {
  width: 22px;
  height: 22px;
  fill: #1a75d4;
}

.floating-whatsapp-copy {
  display: grid;
  line-height: 1.1;
}

.floating-whatsapp-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.floating-whatsapp-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.site-header.public-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 52px;
  margin-top: 0;
  padding: 14px 24px;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px rgba(49, 96, 73, 0.07);
}

.public-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.brand.public-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark.brand-logo.brand-logo-lg {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
}
.brand-mark.brand-logo.brand-logo-lg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.public-brand-copy {
  display: grid;
  gap: 3px;
}

.brand-wordmark {
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  color: var(--brand-text-secondary);
  font-size: 0.82rem;
}

.site-nav.public-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav.public-nav a,
.nav-login-btn,
.nav-dropdown-link,
.hero-btn,
.pill-link,
.submit-btn,
.info-chip,
.role-toggle {
  border-radius: 999px;
}

.site-nav.public-nav a {
  padding: 10px 14px;
  color: var(--brand-text-secondary);
  font-size: 0.96rem;
  font-weight: 600;
  transition: 180ms ease;
}

.site-nav.public-nav a:hover,
.site-nav.public-nav a.active {
  color: var(--brand-text);
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.11), rgba(114, 174, 254, 0.12));
}

.header-actions.public-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav-cta,
.nav-login-btn,
.hero-btn.primary,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-accent), #93caff 72%, #a9d5ff 100%);
  color: #0d2850;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(44, 144, 240, 0.16);
}

.nav-cta:hover,
.nav-login-btn:hover,
.hero-btn.primary:hover,
.submit-btn:hover {
  background: linear-gradient(135deg, var(--brand-accent-strong), var(--brand-accent-soft));
  box-shadow: 0 14px 28px rgba(32, 219, 128, 0.2);
}

.hero-btn.secondary,
.pill-link,
.secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.05), rgba(114, 174, 254, 0.06));
  color: var(--brand-text);
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 10px;
  display: none;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 40px rgba(49, 96, 73, 0.14);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
  gap: 8px;
}

.nav-dropdown-link {
  padding: 10px 12px;
  color: var(--brand-text-secondary);
  font-weight: 600;
  background: rgba(44, 144, 240, 0.04);
  border: 1px solid rgba(44, 144, 240, 0.08);
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
  color: var(--brand-text);
  border-color: rgba(0, 200, 83, 0.35);
  background: rgba(0, 200, 83, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 14px;
  background: rgba(44, 144, 240, 0.04);
  color: var(--brand-text);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  pointer-events: none;
}

.public-navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.public-navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.public-navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.public-main {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.section-card,
.hero-shell,
.stats-shell,
.footer-shell,
.auth-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 252, 248, 0.97));
  box-shadow: 0 22px 52px rgba(49, 96, 73, 0.06);
}

.section-card::before,
.hero-shell::before,
.stats-shell::before,
.footer-shell::before,
.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(114, 174, 254, 0.12), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(44, 144, 240, 0.09), transparent 22%);
}

.section-card,
.stats-shell,
.footer-shell,
.auth-shell {
  padding: 34px;
}

.hero-shell {
  display: grid;
  gap: 28px;
  padding: 26px 34px 34px;
}

.home-hero-carousel {
  position: relative;
  z-index: 1;
  min-height: 440px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 13%, rgba(255, 196, 36, 0.16) 0 2px, transparent 2px 100%),
    repeating-radial-gradient(ellipse at 100% 50%, rgba(114, 174, 254, 0.09) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, #ffffff 0%, #ffffff 44%, #eef7ff 100%);
  background-size: 220px 220px, 100% 100%, 100% 100%;
  box-shadow: 0 24px 58px rgba(49, 96, 73, 0.08);
}

.hero-carousel-stage {
  position: relative;
  min-height: 440px;
}

.home-hero-static {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 46px;
  min-height: 440px;
  padding: 48px 82px 58px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 13%, rgba(255, 196, 36, 0.16) 0 2px, transparent 2px 100%),
    repeating-radial-gradient(ellipse at 100% 50%, rgba(114, 174, 254, 0.09) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, #ffffff 0%, #ffffff 44%, #eef7ff 100%);
  background-size: 220px 220px, 100% 100%, 100% 100%;
  box-shadow: 0 24px 58px rgba(49, 96, 73, 0.08);
}

.home-hero-static .hero-carousel-image {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
}

.home-hero-static .hero-carousel-image img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

@media (max-width: 860px) {
  .home-hero-static {
    grid-template-columns: 1fr;
    padding: 36px 28px 40px;
    text-align: center;
    min-height: unset;
  }
  .home-hero-static .hero-carousel-image {
    display: grid;
    min-height: 220px;
    margin-top: 12px;
  }
  .home-hero-static .hero-carousel-image img {
    max-height: 220px;
    width: min(100%, 380px);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .home-hero-static .hero-carousel-image { display: none; }
}

.hero-carousel-slide {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 46px;
  min-height: 440px;
  padding: 42px 82px 58px;
}

.hero-carousel-slide.is-active {
  display: grid;
}

.hero-carousel-image {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1;
  min-height: 320px;
  width: 100%;
}

.hero-carousel-image img {
  display: block;
  width: min(500px, 100%);
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(44, 100, 200, 0.14);
}

.hero-carousel-copy {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 620px;
  align-self: center;
  justify-self: start;
}

.hero-carousel-copy h1 {
  margin: 0 0 18px;
  color: var(--brand-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-carousel-copy p {
  max-width: 570px;
  margin: 0;
  color: #1f2840;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.62;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #72aefe, #0877d9);
  box-shadow: 0 14px 30px rgba(8, 119, 217, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 18px 36px rgba(8, 119, 217, 0.28);
}

.hero-carousel-prev {
  left: 22px;
}

.hero-carousel-next {
  right: 22px;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 119, 217, 0.23);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-carousel-dots button.is-active {
  width: 28px;
  background: var(--brand-accent);
}

.hero-ticker-wrap {
  position: relative;
  z-index: 1;
}

#homeLiveTicker {
  min-height: 82px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #eef7ff 72%, #eef7ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.home-ticker-track {
  display: flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  overflow: visible;
  padding: 14px 18px;
  scrollbar-width: none;
  animation: tickerRollLeftToRight 52s linear infinite;
  will-change: transform;
}

.home-ticker-track::-webkit-scrollbar {
  display: none;
}

#homeLiveTicker:hover .home-ticker-track {
  animation-play-state: paused;
}

.home-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 12px 16px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 253, 249, 0.95));
  color: var(--brand-text);
  box-shadow: 0 8px 18px rgba(49, 96, 73, 0.05);
}

.home-ticker-item strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
}

.home-ticker-item em {
  font-style: normal;
  color: var(--brand-accent-soft);
}

.home-ticker-item small {
  color: var(--brand-text-secondary);
}

.home-ticker-item.is-down em,
.ticker-down {
  color: var(--brand-error);
}

.ticker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 16px rgba(0, 200, 83, 0.45);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 44px;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  padding: 22px;
}

.hero-card-main {
  position: absolute;
  inset: 34px 44px 70px 80px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 245, 0.98) 72%, rgba(238, 246, 255, 0.96));
  box-shadow: 0 22px 40px rgba(49, 96, 73, 0.07);
}

.hero-card-main::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  right: 20px;
  height: 46%;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(140, 231, 184, 0.12), rgba(140, 231, 184, 0.02)),
    repeating-linear-gradient(90deg, rgba(110, 169, 255, 0.08) 0 2px, transparent 2px 60px);
}

.hero-card-main::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 40px;
  top: 70px;
  height: 150px;
  background:
    linear-gradient(180deg, transparent 0 66%, rgba(110, 169, 255, 0.08) 66% 67%, transparent 67%),
    linear-gradient(140deg, transparent 0 18%, rgba(0, 200, 83, 0.7) 18% 19%, transparent 19%),
    linear-gradient(135deg, transparent 0 24%, rgba(105, 240, 174, 0.86) 24% 25%, transparent 25%);
  clip-path: polygon(0 78%, 16% 62%, 33% 68%, 47% 36%, 62% 50%, 79% 18%, 100% 0, 100% 100%, 0 100%);
}

.hero-growth-bars {
  position: absolute;
  left: 114px;
  bottom: 94px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.hero-growth-bars span {
  width: 52px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, var(--brand-accent-soft), var(--brand-accent));
  box-shadow: 0 0 22px rgba(0, 200, 83, 0.2);
}

.hero-growth-bars span:nth-child(1) { height: 92px; }
.hero-growth-bars span:nth-child(2) { height: 138px; }
.hero-growth-bars span:nth-child(3) { height: 182px; }

.hero-person {
  position: absolute;
  left: 26px;
  bottom: 18px;
  width: 180px;
  height: 180px;
  border-radius: 50% 45% 42% 58%;
  background:
    radial-gradient(circle at 48% 30%, #f6c890 0 20px, transparent 20px),
    radial-gradient(circle at 48% 30%, #090f1a 0 2px, transparent 2px),
    linear-gradient(180deg, #0c1530 0 28%, transparent 28%),
    linear-gradient(180deg, #f7b733 0 48%, transparent 48%),
    linear-gradient(90deg, transparent 0 20%, #f0504f 20% 46%, #1b3b8d 46% 100%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.3));
}

.hero-ai-cube {
  position: absolute;
  right: 26px;
  bottom: 42px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(223, 247, 234, 0.98) 58%, rgba(223, 240, 255, 0.98));
  color: #1565c0;
  font-size: 2.8rem;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(44, 144, 240, 0.12);
}

.hero-chip-stack {
  position: absolute;
  left: 10px;
  top: 110px;
  display: grid;
  gap: 12px;
}

.hero-chip-stack span {
  width: 164px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d6ff64, #f4c843);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.section-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-text-secondary);
}

.gradient-heading {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #0d3060 0%, var(--brand-accent) 55%, #4d9aff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.section-intro,
.footer-note,
.panel-copy,
.contact-copy,
.auth-subtitle,
.form-note {
  margin: 0;
  color: var(--brand-text-secondary);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.hero-particles span,
.leaf-particle,
.spark-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.14;
  animation: floatDrift 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) {
  top: 22px;
  right: 18%;
  width: 16px;
  height: 16px;
  background: var(--brand-accent);
}

.hero-particles span:nth-child(2) {
  top: 58%;
  right: 4%;
  width: 24px;
  height: 24px;
  background: var(--brand-accent-soft);
}

.hero-particles span:nth-child(3) {
  bottom: 16px;
  left: 46%;
  width: 44px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.2), rgba(105, 240, 174, 0.1));
}

.fundcellence-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 34px;
}

.expected-returns-section {
  display: grid;
  gap: 28px;
  background:
    radial-gradient(circle at top center, rgba(196, 154, 67, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 249, 242, 0.98));
}

.expected-returns-head {
  max-width: 820px;
  margin: 0 auto;
}

.expected-returns-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #10131e;
}

.expected-returns-head p {
  color: #555e78;
}

.returns-tier-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.returns-tier-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(44, 144, 240, 0.2);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, rgba(240, 248, 255, 0.98));
  box-shadow: 0 18px 44px rgba(44, 100, 200, 0.08);
}

.returns-tier-top,
.returns-tier-body {
  padding: 24px 24px 22px;
}

.returns-tier-top {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 188px;
  text-align: center;
  border-bottom: 1px solid rgba(44, 144, 240, 0.14);
}

.returns-tier-label {
  margin: 0;
  color: #1a5cb8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.returns-tier-capital {
  color: #0a1f44;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.returns-tier-top span:last-child {
  color: #6a7898;
  font-size: 0.92rem;
}

.returns-tier-body {
  display: grid;
  gap: 20px;
}

.returns-tier-highlight {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(44, 144, 240, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(224, 240, 255, 0.98), rgba(255, 255, 255, 0.98));
  text-align: center;
}

.returns-tier-highlight strong {
  color: #0a1f44;
  font-family: "DM Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.returns-tier-highlight span {
  color: #4a6488;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.premium-highlight {
  border-color: rgba(44, 144, 240, 0.22);
  background: linear-gradient(135deg, rgba(224, 240, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.premium-highlight strong {
  color: #1565c0;
}

.returns-tier-metrics {
  display: grid;
  gap: 14px;
  margin: 0;
}

.returns-tier-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(44, 144, 240, 0.1);
}

.returns-tier-metrics dt,
.returns-tier-metrics dd {
  margin: 0;
}

.returns-tier-metrics dt {
  color: #6a7898;
  font-size: 0.92rem;
}

.returns-tier-metrics dd {
  color: #0f1525;
  font-weight: 800;
  text-align: right;
}

.returns-tier-metrics dd.profit {
  color: #1565c0;
}

.returns-tier-total dt,
.returns-tier-total dd {
  color: #0a1020;
  font-weight: 900;
}

.returns-tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(44, 144, 240, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, #1a75d4 0%, #2c90f0 100%);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.featured-tier {
  transform: translateY(-6px);
  border-color: rgba(44, 144, 240, 0.4);
  background: linear-gradient(180deg, #0f2040, #0a1830);
  box-shadow: 0 26px 56px rgba(15, 32, 64, 0.28);
}

.featured-tier .returns-tier-top {
  border-bottom-color: rgba(44, 144, 240, 0.2);
}

.featured-tier .returns-tier-label,
.featured-tier .returns-tier-top span:last-child,
.featured-tier .returns-tier-metrics dt {
  color: rgba(147, 202, 255, 0.8);
}

.featured-tier .returns-tier-capital,
.featured-tier .returns-tier-metrics dd,
.featured-tier .returns-tier-total dt,
.featured-tier .returns-tier-total dd {
  color: #ffffff;
}

.featured-tier .returns-tier-highlight {
  border-color: rgba(44, 144, 240, 0.28);
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.9), rgba(15, 40, 80, 0.96));
}

.featured-tier .returns-tier-highlight strong {
  color: #93caff;
}

.featured-tier .returns-tier-cta {
  background: linear-gradient(135deg, #2c90f0 0%, #1a75d4 100%);
  color: #ffffff;
}

.starter-tier .returns-tier-top {
  background: linear-gradient(180deg, rgba(224, 240, 255, 0.98), rgba(236, 247, 255, 0.9));
}

.premium-tier .returns-tier-top {
  background: linear-gradient(180deg, rgba(232, 243, 255, 0.98), rgba(240, 248, 255, 0.92));
}

.returns-tier-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c90f0, #1a75d4);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.returns-tier-note {
  margin: 0;
  color: #607090;
  text-align: center;
  font-size: 0.88rem;
}

.fundcellence-visual,
.usp-visual,
.safety-visual,
.contact-visual {
  min-height: 260px;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 26%, rgba(147, 202, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(114, 174, 254, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 246, 0.98));
}

.fundcellence-visual.has-image {
  display: grid;
  place-items: center;
  padding: 18px;
}

.fundcellence-visual.has-image img,
.usp-visual.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 22px;
  object-fit: cover;
}

.fundcellence-visual.has-image::before,
.fundcellence-visual.has-image::after,
.usp-visual.has-image::before,
.usp-visual.has-image::after {
  display: none;
}

.usp-visual.has-image {
  display: grid;
  place-items: center;
  padding: 18px;
}

.fundcellence-visual,
.usp-visual,
.safety-visual,
.contact-visual,
.city-illustration {
  position: relative;
}

.fundcellence-visual::before,
.fundcellence-visual::after,
.usp-visual::before,
.usp-visual::after,
.safety-visual::before,
.safety-visual::after,
.contact-visual::before,
.contact-visual::after,
.city-illustration::before,
.city-illustration::after {
  content: "";
  position: absolute;
}

.fundcellence-visual::before {
  left: 42px;
  bottom: 42px;
  width: 170px;
  height: 120px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 12%, rgba(44, 144, 240, 0.78) 0 12px, transparent 13px),
    linear-gradient(90deg, transparent 0 44%, rgba(44, 144, 240, 0.85) 44% 56%, transparent 56%),
    linear-gradient(180deg, #ffffff, #e4f2ff);
  box-shadow: 0 16px 28px rgba(49, 96, 73, 0.09), 0 0 0 20px rgba(44, 144, 240, 0.06);
}

.fundcellence-visual::after {
  right: 38px;
  top: 34px;
  width: 210px;
  height: 170px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(44, 144, 240, 0.9) 36% 38%, transparent 38%),
    linear-gradient(155deg, transparent 0 50%, rgba(114, 174, 254, 0.62) 50% 52%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(22, 53, 41, 0.06) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(22, 53, 41, 0.06) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 246, 255, 0.88));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.usp-visual::before {
  left: 42px;
  top: 44px;
  width: 230px;
  height: 170px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, transparent 0 30%, rgba(44, 144, 240, 0.88) 30% 32%, transparent 32%),
    linear-gradient(150deg, transparent 0 48%, rgba(114, 174, 254, 0.78) 48% 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 249, 243, 0.94));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.usp-visual::after {
  right: 44px;
  bottom: 44px;
  width: 160px;
  height: 160px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 44%, rgba(44, 144, 240, 0.9) 0 20px, transparent 21px),
    radial-gradient(circle at 50% 44%, rgba(114, 174, 254, 0.2) 0 56px, transparent 57px),
    conic-gradient(from 210deg, rgba(44, 144, 240, 0.78), rgba(114, 174, 254, 0.58), rgba(147, 202, 255, 0.72), rgba(44, 144, 240, 0.78));
  box-shadow: 0 18px 32px rgba(44, 144, 240, 0.12);
}

.safety-visual::before {
  left: 52px;
  top: 38px;
  width: 180px;
  height: 220px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(44, 144, 240, 0.16), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(44, 144, 240, 0.32) 28px 34px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 243, 0.96));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.safety-visual::after {
  right: 54px;
  top: 66px;
  width: 150px;
  height: 150px;
  border-radius: 46% 54% 52% 48%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 32px, transparent 33px),
    radial-gradient(circle at 50% 50%, rgba(44, 144, 240, 0.16) 0 70px, transparent 71px),
    conic-gradient(rgba(44, 144, 240, 0.9), rgba(114, 174, 254, 0.62), rgba(147, 202, 255, 0.85), rgba(44, 144, 240, 0.9));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.09);
}

.contact-visual::before {
  left: 44px;
  bottom: 42px;
  width: 260px;
  height: 128px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(114, 174, 254, 0.12), transparent 40%),
    repeating-linear-gradient(90deg, rgba(44, 144, 240, 0.75) 0 30px, transparent 30px 42px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 249, 241, 0.94));
  box-shadow: 0 18px 32px rgba(49, 96, 73, 0.08);
}

.contact-visual::after {
  right: 54px;
  top: 42px;
  width: 190px;
  height: 150px;
  border-radius: 30px 30px 30px 6px;
  background:
    radial-gradient(circle at 28% 42%, rgba(44, 144, 240, 0.9) 0 8px, transparent 9px),
    radial-gradient(circle at 50% 42%, rgba(114, 174, 254, 0.78) 0 8px, transparent 9px),
    radial-gradient(circle at 72% 42%, rgba(44, 144, 240, 0.9) 0 8px, transparent 9px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.94));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.stats-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 28px 20px 24px;
  border-right: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 0;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.stat-card:first-child { border-radius: 22px 0 0 22px; }
.stat-card:last-child  { border-right: 0; border-radius: 0 22px 22px 0; }

.stat-number {
  color: var(--brand-accent);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  color: var(--brand-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}

.stats-shell {
  padding: 0;
  overflow: hidden;
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.06), rgba(114, 174, 254, 0.07));
}

.products-grid,
.team-grid,
.services-grid,
.badge-grid,
.testimonials-grid,
.legal-grid,
.support-grid {
  display: grid;
  gap: 20px;
}

.products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid,
.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card,
.team-card,
.service-card,
.safety-card,
.testimonial-card,
.legal-card,
.contact-card,
.mock-phone,
.auth-panel,
.auth-form-card,
.form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 250, 246, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 28px rgba(49, 96, 73, 0.05);
}

.product-card,
.team-card,
.service-card,
.safety-card,
.testimonial-card,
.legal-card,
.contact-card,
.form-card,
.mock-phone {
  padding: 24px;
}

.product-card {
  border-left: 4px solid var(--brand-accent);
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(10, 31, 68, 0.18), 0 4px 16px rgba(10, 31, 68, 0.10);
}
.product-card-forex { border-left-color: #2c90f0; }
.product-card-pms { border-left-color: #0f2040; }
.product-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(44,144,240,0.1); color: var(--brand-accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.product-tagline { margin: 0; font-size: 0.86rem; font-weight: 700; color: var(--brand-accent); }
.product-icon-fx { background: linear-gradient(135deg, rgba(44,144,240,0.18), rgba(114,174,254,0.22)); font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 1rem; color: #1a5cb8; }
.product-icon-pms { background: linear-gradient(135deg, rgba(15,32,64,0.1), rgba(26,58,107,0.14)); font-family: "IBM Plex Mono", monospace; font-weight: 700; font-size: 1rem; color: #0f2040; }
.home-product-cta { display: flex; justify-content: center; align-items: center; width: 100%; margin-top: auto; font-size: 0.88rem; text-align: center; transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, border-color 240ms ease, transform 200ms ease; }
.home-product-cta:hover { transform: translateY(-2px); }
.home-product-cta-outline { background: transparent; border: 2px solid #0f2040; color: #0f2040; transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, border-color 240ms ease, transform 200ms ease; }
.home-product-cta-outline:hover { background: #0a1f44; border-color: #0a1f44; color: #ffffff; box-shadow: 0 8px 24px rgba(10,31,68,0.28); transform: translateY(-2px); }
/* FX card CTA — filled blue, deep navy on hover with blue glow */
.product-card-forex .home-product-cta:hover { background: linear-gradient(135deg, #0a1f44, #132f66) !important; color: #93caff !important; box-shadow: 0 10px 28px rgba(10,31,68,0.36), 0 0 0 1px rgba(44,144,240,0.3) !important; }
/* PMS card CTA — outline navy, deep navy with cyan accent on hover */
.product-card-pms .home-product-cta-outline:hover { background: #0a1f44; border-color: #2c90f0; color: #93caff; box-shadow: 0 10px 28px rgba(10,31,68,0.36); }

.product-card h3,
.team-card h3,
.service-card h3,
.safety-card h3,
.legal-card h3,
.contact-card h3,
.form-card h3 {
  margin: 14px 0 10px;
  color: var(--brand-text);
}

.product-card p,
.team-card p,
.service-card p,
.safety-card p,
.legal-card p,
.contact-card p,
.form-card p {
  margin: 0;
  color: var(--brand-text-secondary);
  line-height: 1.7;
}

.team-card:hover,
.service-card:hover,
.testimonial-card:hover,
.contact-card:hover,
.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 31, 68, 0.13);
}

.product-card::before,
.service-card::before,
.legal-card::before,
.team-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 30%, rgba(44, 144, 240, 0.16), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(114, 174, 254, 0.14), transparent 20%),
    linear-gradient(90deg, rgba(44, 144, 240, 0.06), rgba(114, 174, 254, 0.04));
}

.product-icon,
.service-icon,
.safety-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.12), rgba(114, 174, 254, 0.14));
  font-size: 1.5rem;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.centered-head {
  justify-items: center;
  text-align: center;
  margin-bottom: 54px;
}

.centered-head p {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.split-section h2,
.auth-panel h1,
.footer-brand h3 {
  margin: 0;
  color: var(--brand-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-hero-copy h1 {
  margin: 0;
  color: var(--brand-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--brand-text-secondary);
  max-width: 820px;
}

.usp-grid,
.about-story,
.values-grid,
.contact-grid,
.trust-grid,
.page-hero,
.products-showcase,
.legal-grid {
  display: grid;
  gap: 28px;
}

.policy-hero {
  grid-template-columns: minmax(150px, 220px) minmax(360px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
}

.usp-grid,
.about-story,
.contact-grid,
.trust-grid,
.page-hero,
.products-showcase {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
}

.policy-hero-art {
  min-height: 150px;
  display: grid;
  place-items: center;
}

.policy-doc-card {
  position: relative;
  width: min(160px, 100%);
  aspect-ratio: 0.78;
  border-radius: 22px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(114, 174, 254, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 248, 239, 0.96));
  box-shadow: 0 22px 40px rgba(49, 96, 73, 0.08);
}

.policy-doc-card::before {
  content: "";
  position: absolute;
  inset: 14px 16px auto;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.14), rgba(114, 174, 254, 0.12));
}

.policy-doc-card span {
  display: block;
  height: 6px;
  margin: 0 16px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(44, 144, 240, 0.7), rgba(114, 174, 254, 0.45));
}

.policy-doc-card span:nth-child(1) {
  margin-top: 74px;
  width: calc(100% - 32px);
}

.policy-doc-card span:nth-child(2) {
  width: calc(100% - 48px);
}

.policy-doc-card span:nth-child(3) {
  width: calc(100% - 42px);
}

.policy-doc-card span:nth-child(4) {
  width: calc(100% - 62px);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.policy-sidebar-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(114, 174, 254, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 243, 0.96));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.06);
}

.policy-nav {
  display: grid;
  gap: 10px;
}

.policy-nav a {
  display: block;
  padding: 11px 14px;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--brand-text);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.policy-nav a:hover {
  transform: translateX(4px);
  border-color: rgba(44, 144, 240, 0.18);
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.08), rgba(114, 174, 254, 0.08));
  box-shadow: 0 12px 24px rgba(49, 96, 73, 0.06);
}

.policy-content {
  display: grid;
  gap: 22px;
}

.policy-section {
  scroll-margin-top: 100px;
  display: grid;
  gap: 16px;
  padding: 26px 28px;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 246, 0.96));
  box-shadow: 0 16px 32px rgba(49, 96, 73, 0.05);
}

.policy-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.policy-section h2,
.policy-subsection h3 {
  margin: 0;
  color: var(--brand-text);
}

.policy-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.policy-subsection {
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.policy-subsection + .policy-subsection {
  border-top: 1px solid rgba(44, 144, 240, 0.08);
  padding-top: 18px;
}

.policy-section p,
.policy-subsection p,
.policy-list li {
  margin: 0;
  color: #222f4c;
  line-height: 1.82;
}

.policy-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.1), rgba(114, 174, 254, 0.1));
  color: var(--brand-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.policy-nav a {
  color: #172b48;
}

.section-intro,
.footer-note,
.panel-copy,
.contact-copy,
.auth-subtitle,
.form-note,
.section-head p,
.footer-legal p,
.helper-text,
.brand-tagline {
  color: #2d4e78;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.policy-list li::marker {
  color: var(--brand-accent);
}

.trust-safety-main {
  gap: 34px;
}

.safety-clean-hero,
.safety-clean-section {
  position: relative;
  padding: 34px 28px;
  text-align: center;
}

.safety-clean-hero {
  min-height: 540px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 252, 248, 0.56));
  border-radius: 30px;
}

.safety-clean-hero h1,
.safety-clean-section h2 {
  margin: 0;
  color: #1576d6;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.safety-clean-hero p {
  max-width: 860px;
  margin: 0;
  color: #22304a;
  font-size: 1.18rem;
  line-height: 1.7;
}

.safety-hero-illustration {
  position: relative;
  width: min(560px, 92vw);
  height: 340px;
  margin-bottom: 10px;
}

.safety-shield,
.safety-person,
.safety-coin,
.safety-lock,
.safety-badge,
.safety-clean-icon {
  position: absolute;
}

.safety-shield {
  left: 205px;
  top: 60px;
  width: 200px;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(44, 144, 240, 0.92) 0 50%, rgba(21, 118, 214, 0.9) 50%),
    linear-gradient(180deg, #2c90f0, #1576d6);
  clip-path: polygon(50% 0, 94% 16%, 86% 70%, 50% 100%, 14% 70%, 6% 16%);
  filter: drop-shadow(0 22px 26px rgba(21, 118, 214, 0.14));
}

.safety-shield::after {
  content: "";
  position: absolute;
  inset: 14px 22px 22px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  clip-path: polygon(50% 0, 94% 16%, 86% 70%, 50% 100%, 14% 70%, 6% 16%);
}

.safety-person {
  left: 150px;
  top: 126px;
  width: 74px;
  height: 182px;
  background:
    radial-gradient(circle at 50% 18%, #f7b58f 0 17px, transparent 18px),
    linear-gradient(90deg, transparent 0 34%, #0f4c85 34% 66%, transparent 66%),
    linear-gradient(180deg, transparent 0 34%, #1576d6 34% 66%, #102f49 66% 100%);
  border-radius: 40px 40px 10px 10px;
}

.safety-person::before,
.safety-person::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 14px;
  height: 78px;
  border-radius: 999px;
  background: #f7b58f;
}

.safety-person::before {
  left: -8px;
  transform: rotate(28deg);
}

.safety-person::after {
  right: -8px;
  transform: rotate(-28deg);
}

.safety-coin {
  left: 126px;
  top: 52px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe26a 0 46%, #f5c31f 47% 100%);
  box-shadow: 0 12px 26px rgba(245, 195, 31, 0.28);
}

.safety-coin::before {
  content: "$";
  color: #c28a00;
  font-size: 3rem;
  font-weight: 800;
}

.safety-lock {
  right: 112px;
  bottom: 32px;
  width: 120px;
  height: 90px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #ff9c74, #f07952);
  box-shadow: 0 14px 24px rgba(240, 121, 82, 0.18);
}

.safety-lock::before {
  content: "";
  position: absolute;
  left: 25px;
  top: -76px;
  width: 70px;
  height: 86px;
  border: 14px solid #1576d6;
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
}

.safety-lock::after {
  content: "";
  position: absolute;
  left: 54px;
  top: 30px;
  width: 18px;
  height: 32px;
  border-radius: 999px;
  background: #b85b3d;
}

.safety-badge.one {
  left: 238px;
  top: 10px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a82e8;
}

.safety-badge.one::before {
  content: "";
  position: absolute;
  inset: 16px 18px;
  background:
    repeating-linear-gradient(90deg, #ffffff 0 7px, transparent 7px 14px),
    repeating-linear-gradient(0deg, #ffffff 0 7px, transparent 7px 14px);
  opacity: 0.92;
}

.safety-badge.two {
  right: 138px;
  top: 30px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f73768;
}

.safety-badge.two::before {
  content: "";
  position: absolute;
  inset: 15px;
  background: #ffffff;
  clip-path: polygon(50% 0, 62% 34%, 100% 34%, 69% 56%, 80% 94%, 50% 72%, 20% 94%, 31% 56%, 0 34%, 38% 34%);
}

.safety-hero-illustration::before {
  content: "";
  position: absolute;
  left: 70px;
  bottom: 26px;
  right: 70px;
  height: 8px;
  border-radius: 999px;
  background: #183a80;
}

.safety-clean-section {
  display: grid;
  gap: 44px;
  padding: 50px 40px 48px;
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  border-radius: 28px;
  border: 1px solid rgba(44,144,240,0.1);
  box-shadow: 0 8px 32px rgba(44,144,240,0.07);
}

.safety-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
  perspective: 1200px;
}

.safety-clean-card {
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid rgba(44,144,240,0.1);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(44,144,240,0.06), 0 2px 0 0 rgba(255,255,255,0.9) inset;
  transition: transform 400ms cubic-bezier(0.23,1,0.32,1), box-shadow 400ms ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.safety-clean-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height 400ms ease, opacity 400ms ease;
}

.safety-clean-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 400ms ease;
}

.safety-clean-card:nth-child(1)::before { background: linear-gradient(90deg, #7c3aed, #2c90f0); }
.safety-clean-card:nth-child(2)::before { background: linear-gradient(90deg, #2c90f0, #06b6d4); }
.safety-clean-card:nth-child(3)::before { background: linear-gradient(90deg, #059669, #2c90f0); }

.safety-clean-card:hover {
  transform: perspective(800px) rotateX(-8deg) translateY(-16px) scale(1.03);
  box-shadow:
    0 30px 60px rgba(44,144,240,0.18),
    0 12px 24px rgba(44,144,240,0.10),
    0 0 0 1px rgba(44,144,240,0.16);
}
.safety-clean-card:hover::before { height: 6px; }
.safety-clean-card:hover::after { opacity: 1; }

@keyframes ts3DFloat {
  0%,100% { transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(0px); }
  25%     { transform: perspective(900px) rotateX(2deg) rotateY(-1deg) translateY(-5px); }
  50%     { transform: perspective(900px) rotateX(-1deg) rotateY(1.5deg) translateY(-8px); }
  75%     { transform: perspective(900px) rotateX(1.5deg) rotateY(0.5deg) translateY(-4px); }
}

.ts-card-anim:not(:hover) {
  animation: tsCardSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) var(--ts-delay, 0s) both, ts3DFloat 6s ease-in-out calc(var(--ts-delay, 0s) + 0.7s) infinite;
}

.safety-clean-card h3 {
  margin: 0;
  color: #1a75d4;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.safety-clean-card p {
  margin: 0;
  color: #1e2a40;
  font-size: 1.05rem;
  line-height: 1.78;
}

.safety-clean-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 4px;
}

.lock-icon {
  border-radius: 26px;
  background: linear-gradient(180deg, #8b5cf6, #7c3aed);
  box-shadow: 0 18px 32px rgba(124, 58, 237, 0.2);
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -40px;
  width: 48px;
  height: 58px;
  border: 10px solid #7c3aed;
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
}

.lock-icon::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 5px solid #ffffff;
  border-radius: 50%;
}

.risk-icon {
  border-radius: 22px;
  border: 7px solid #8b5cf6;
}

.risk-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 64px;
  height: 62px;
  background: #9ff1ec;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.risk-icon::after {
  content: "!";
  position: absolute;
  left: 42px;
  top: 26px;
  color: #ffffff;
  font-weight: 900;
  font-size: 2rem;
}

.partner-icon {
  width: 106px;
  height: 116px;
  background: #ff78a8;
  clip-path: polygon(50% 0, 96% 18%, 88% 74%, 50% 100%, 12% 74%, 4% 18%);
  filter: drop-shadow(0 18px 28px rgba(255, 120, 168, 0.24));
}

.partner-icon::before {
  content: "";
  position: absolute;
  inset: 31px 24px 38px;
  border: 5px solid #ffffff;
  border-radius: 999px;
  transform: rotate(-35deg);
}

.policy-intro-card {
  margin-top: 10px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--brand-text-secondary);
}

.check-list li::before {
  content: "✓";
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.12);
  color: var(--brand-accent);
  font-weight: 700;
}

.competitive-edge-section,
.testimonials-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 250, 0.94));
}

.competitive-edge-section .section-kicker,
.testimonials-section .section-kicker {
  color: #003d8f;
}

.competitive-edge-section .section-head h2,
.testimonials-section .section-head h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  color: #063c70;
  letter-spacing: -0.02em;
}

.competitive-edge-section .section-head p,
.testimonials-section .section-head p {
  max-width: 780px;
  font-size: 1.12rem;
  color: #1d2840;
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(44, 144, 240, 0.08);
}

.comparison-table tr:nth-child(even) td {
  background: rgba(44, 144, 240, 0.018);
}

.comparison-table th {
  background: transparent;
  color: #3f5278;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.comparison-table th.brand-head {
  background: rgba(44, 144, 240, 0.08);
  border-radius: 12px 12px 0 0;
  color: #063c70;
  text-align: center;
  font-weight: 800;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
  text-align: center;
}

.comparison-table td:first-child {
  color: #081525;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
}

.mark-no {
  color: var(--brand-error);
  font-weight: 800;
  font-size: 1.15rem;
}

.mark-yes {
  color: #0052b3;
  font-weight: 800;
  font-size: 1.18rem;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card .stars {
  color: #f3b51d;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  margin: 0;
  color: #1c2838;
  line-height: 1.8;
  font-size: 1.02rem;
}

.testimonial-author {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.testimonial-author strong {
  color: #040f20;
}

.testimonial-author span {
  color: #3f5878;
  font-size: 0.92rem;
}

.testimonial-card {
  min-height: 250px;
  padding: 30px;
  border-color: rgba(44, 144, 240, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 38px;
}

.footer-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 74px;
  background:
    radial-gradient(circle at 10% 100%, rgba(0, 200, 83, 0.24), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(105, 240, 174, 0.2), transparent 30%);
  opacity: 0.55;
}

.footer-brand,
.footer-links,
.footer-legal {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand h3 {
  font-size: 1.6rem;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: var(--brand-text-secondary);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand-text);
}

.footer-legal p {
  margin: 0;
  color: var(--brand-text-secondary);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social-link,
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,250,245,0.98));
  box-shadow: 0 10px 22px rgba(49, 96, 73, 0.06);
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(49, 96, 73, 0.1);
}

.footer-social-link svg,
.footer-social-icon svg {
  width: 20px;
  height: 20px;
  fill: #1a75d4;
}

.footer-social-icon svg {
  fill: #4a6488;
}

.footer-copy {
  margin-top: 18px;
  color: var(--brand-text-muted);
  font-size: 0.92rem;
}

.page-hero-copy,
.page-hero-panel {
  position: relative;
  z-index: 1;
}

.page-hero-panel {
  min-height: 320px;
}

.story-timeline {
  display: grid;
  gap: 14px;
}

.story-step {
  padding: 16px 18px;
  border: 1px solid rgba(44, 144, 240, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(44, 144, 240, 0.04), rgba(114, 174, 254, 0.05));
}

.story-step time {
  color: var(--brand-accent-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-avatar {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #f6c89b 0 15px, transparent 16px),
    linear-gradient(180deg, rgba(44, 144, 240, 0.22), rgba(114, 174, 254, 0.16));
  color: var(--brand-text);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 14px 24px rgba(49, 96, 73, 0.08);
}

.auth-panel #authAsideMetrics {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-panel #authAsideMetrics div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(105, 240, 174, 0.12);
  border-radius: 16px;
  background: rgba(0, 200, 83, 0.04);
}

.auth-panel #authAsideMetrics strong {
  color: var(--brand-text);
}

.auth-panel #authAsideMetrics span {
  color: var(--brand-text-secondary);
  font-size: 0.92rem;
}

.mini-bio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(105, 240, 174, 0.18);
  border-radius: 999px;
  color: var(--brand-accent-soft);
  font-weight: 700;
}

.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Leader card */
.leader-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(44,144,240,0.14);
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 60%);
  box-shadow: 0 20px 60px rgba(44,144,240,0.1);
}
.leader-photo-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #cce0f5, #e8f4ff);
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-avatar-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 800;
  color: #2c90f0;
  background: linear-gradient(135deg, #dceeff, #c5e0ff);
}
.leader-name {
  margin: 6px 0 4px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0f2040;
  letter-spacing: -0.02em;
}
.leader-tagline {
  margin: 0 0 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-accent);
  font-style: italic;
}
.leader-bio {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--brand-text-secondary);
  line-height: 1.7;
}
.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.leader-tags span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(44,144,240,0.08);
  border: 1px solid rgba(44,144,240,0.15);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a5cb8;
}
.leader-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 820px) {
  .leader-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .leader-photo-wrap {
    aspect-ratio: 4/3;
    max-height: 280px;
  }
}

.about-showcase-section { padding: 0; }
.about-showcase-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
}
.about-showcase-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 24px;
}

.service-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--brand-text-secondary);
  line-height: 1.7;
}

.mockups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mock-phone {
  min-height: 320px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 16%, rgba(114, 174, 254, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 249, 242, 0.96));
}

.mock-phone::before {
  content: "";
  display: block;
  width: 90px;
  height: 8px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(44, 144, 240, 0.18);
}

.mock-chart,
.mock-list,
.mock-ring {
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mock-chart {
  height: 120px;
  margin-bottom: 16px;
  background:
    linear-gradient(180deg, transparent 0 74%, rgba(105, 240, 174, 0.08) 74% 75%, transparent 75%),
    linear-gradient(120deg, transparent 0 12%, rgba(0, 200, 83, 0.78) 12% 13%, transparent 13%),
    linear-gradient(135deg, transparent 0 32%, rgba(105, 240, 174, 0.72) 32% 33%, transparent 33%);
}

.mock-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.mock-list span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(44, 144, 240, 0.2), rgba(114, 174, 254, 0.16));
}

.mock-ring {
  width: 140px;
  height: 140px;
  margin: 10px auto 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 52%, transparent 52% 100%),
    conic-gradient(var(--brand-accent) 0 42%, rgba(114, 174, 254, 0.32) 42% 78%, rgba(44, 144, 240, 0.1) 78% 100%);
}

.contact-grid {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.auth-form-card label {
  display: grid;
  gap: 8px;
  color: var(--brand-text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.auth-form-card input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.contact-copy a,
.footer-legal a,
.footer-links a {
  color: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.map-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 10%, rgba(114, 174, 254, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 243, 0.96));
  box-shadow: 0 16px 32px rgba(49, 96, 73, 0.06);
}

.map-card h3 {
  margin: 0;
  color: var(--brand-text);
}

.map-frame {
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 22px;
  background: #e8f4ff;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.city-illustration {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 20%, rgba(114, 174, 254, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 243, 0.96));
}

.city-illustration::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  height: 150px;
  border-radius: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(44, 144, 240, 0.72) 0 34px, transparent 34px 48px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(232, 246, 255, 0.82));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.city-illustration::after {
  content: "";
  position: absolute;
  right: 48px;
  top: 44px;
  width: 170px;
  height: 108px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 28% 50%, rgba(44, 144, 240, 0.88) 0 8px, transparent 9px),
    radial-gradient(circle at 50% 50%, rgba(114, 174, 254, 0.8) 0 8px, transparent 9px),
    radial-gradient(circle at 72% 50%, rgba(44, 144, 240, 0.88) 0 8px, transparent 9px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.95));
  box-shadow: 0 18px 34px rgba(49, 96, 73, 0.08);
}

.trust-pillars {
  display: grid;
  gap: 18px;
}

.badge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sebi-note {
  padding: 18px 20px;
  border: 1px solid rgba(255, 110, 64, 0.28);
  border-radius: 18px;
  background: rgba(255, 110, 64, 0.07);
  color: #ffd8cf;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 0;
  padding: 0;
  min-height: 780px;
}

.auth-panel {
  padding: 40px 34px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(44, 144, 240, 0.1);
  background:
    radial-gradient(circle at 24% 10%, rgba(44, 144, 240, 0.13), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(114, 174, 254, 0.1), transparent 20%),
    linear-gradient(180deg, #e8f4ff 0%, #e0f0ff 100%);
}

.auth-panel-visual {
  display: grid;
  gap: 22px;
  align-content: start;
  height: 100%;
}

.auth-float-grid {
  position: relative;
  min-height: 355px;
  isolation: isolate;
}

.auth-float-card {
  position: absolute;
  border: 1px solid rgba(44, 144, 240, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 249, 242, 0.94));
  box-shadow: 0 14px 28px rgba(49, 96, 73, 0.08);
}

.auth-float-card.balance {
  left: 0;
  top: 0;
  z-index: 1;
  width: min(210px, 52%);
  padding: 18px;
}

.auth-float-card.balance strong {
  display: block;
  margin-top: 10px;
  color: var(--brand-text);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.auth-float-card.balance small,
.auth-float-card.deal h3,
.auth-float-card.deal .form-note {
  color: var(--brand-text-secondary);
}

.auth-float-card.ring {
  right: 0;
  top: 64px;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
}

.auth-float-card.ring::before {
  content: "34%";
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-text);
  font-weight: 800;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 56%, transparent 56% 100%),
    conic-gradient(var(--brand-accent) 0 34%, rgba(255, 202, 40, 0.92) 34% 58%, rgba(114, 174, 254, 0.82) 58% 100%);
}

.auth-float-card.deal {
  left: 28px;
  right: 22px;
  top: 205px;
  z-index: 3;
  width: auto;
  min-height: 118px;
  padding: 18px 20px;
}

.auth-float-card.deal button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft));
  color: #040c1a;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(44, 144, 240, 0.18);
}

.auth-form-zone {
  display: grid;
  gap: 20px;
  padding: 38px 34px;
  align-content: start;
}

.auth-switcher-bar {
  display: inline-flex;
  gap: 6px;
  align-self: start;
  padding: 6px;
  border: 1px solid rgba(44, 144, 240, 0.14);
  border-radius: 999px;
  background: rgba(240, 246, 255, 0.9);
  box-shadow: 0 4px 14px rgba(44, 144, 240, 0.08);
}

.role-toggle {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.role-toggle.active {
  background: #fff;
  color: #0a1f44;
  font-weight: 700;
  border: 1px solid rgba(44, 144, 240, 0.22);
  box-shadow: 0 2px 12px rgba(44, 144, 240, 0.18);
}

.auth-form-card {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 247, 0.98));
  box-shadow: 0 18px 36px rgba(49, 96, 73, 0.06);
}

.auth-heading {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-text);
}

.auth-subtitle {
  margin-top: -6px;
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.split-row .secondary-outline {
  min-width: 118px;
}

.helper-text {
  color: var(--brand-text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.error-text {
  min-height: 20px;
  color: var(--brand-error);
  margin: 0;
}

.auth-loading-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 14, 36, 0.96);
  backdrop-filter: blur(20px);
  z-index: 180;
}

.auth-loading-card {
  width: min(560px, calc(100% - 48px));
  padding: 52px 48px 44px;
  border: 1px solid rgba(44, 144, 240, 0.16);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 22, 56, 0.98) 0%, rgba(6, 14, 36, 0.98) 100%);
  color: #e8f0ff;
  text-align: center;
}

.auth-loading-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44, 144, 240, 0.7);
  margin-bottom: 28px;
}

.auth-orbit-loader {
  position: relative;
  width: 200px;
  height: 90px;
  margin: 0 auto 28px;
}

.auth-orbit-loader img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px 16px;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-orbit-loader span {
  display: none;
}

.auth-loading-card .section-kicker {
  color: rgba(44, 144, 240, 0.85);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.auth-loading-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #e8f0ff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.auth-loading-card p {
  color: rgba(180, 200, 240, 0.7);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.auth-loading-progress {
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(44, 144, 240, 0.12);
  overflow: hidden;
}

.auth-loading-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-accent), #93caff);
  animation: loadingSlide 1.7s ease-in-out infinite;
}

.auth-loading-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.auth-loading-steps span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(44, 144, 240, 0.5);
}

/* .fade-up base styles defined in SCROLL ANIMATIONS section below */
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

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

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

@keyframes loadingSlide {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(70%); }
  100% { transform: translateX(220%); }
}

@keyframes tickerRollLeftToRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .fundcellence-strip,
  .usp-grid,
  .about-story,
  .contact-grid,
  .trust-grid,
  .page-hero,
  .policy-hero,
  .policy-layout,
  .products-showcase,
  .auth-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .policy-sidebar-card {
    position: static;
  }

  .safety-clean-grid {
    gap: 54px;
  }

  .products-grid,
  .team-grid,
  .testimonials-grid,
  .badge-grid,
  .legal-grid,
  .mockups-grid,
  .values-grid,
  .services-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card:first-child  { border-radius: 22px 0 0 0; }
  .stat-card:last-child   { border-radius: 0 0 22px 0; border-right: 0; }
  .stat-card:nth-child(2) { border-radius: 0 22px 0 0; border-right: 0; }
  .stat-card:nth-child(3) { border-right: 1px solid rgba(44,144,240,0.12); border-radius: 0 0 0 22px; border-top: 1px solid rgba(44,144,240,0.12); }
  .stat-card:nth-child(4) { border-top: 1px solid rgba(44,144,240,0.12); }

  .returns-tier-grid {
    grid-template-columns: 1fr;
  }

  .featured-tier {
    transform: none;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(105, 240, 174, 0.16);
  }
}

@media (max-width: 860px) {
  body.public-page .site-shell {
    width: min(100%, calc(100% - 20px));
  }

  .site-header.public-navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav.public-nav,
  .header-actions.public-actions {
    display: none;
  }

  .public-navbar.nav-open .site-nav.public-nav,
  .public-navbar.nav-open .header-actions.public-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .public-navbar.nav-open .site-nav.public-nav {
    display: grid;
    gap: 10px;
    padding-top: 8px;
  }

  .public-navbar.nav-open .header-actions.public-actions {
    padding-bottom: 4px;
  }

  .public-navbar.nav-open .site-nav.public-nav a,
  .public-navbar.nav-open .header-actions.public-actions .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .products-grid,
  .team-grid,
  .testimonials-grid,
  .badge-grid,
  .legal-grid,
  .mockups-grid,
  .values-grid,
  .stats-shell,
  .returns-tier-grid,
  .support-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-card,
  .stats-shell,
  .footer-shell,
  .hero-shell,
  .auth-panel,
  .auth-form-zone {
    padding: 22px;
  }

  .policy-section {
    padding: 22px 20px;
  }

  .policy-sidebar-card {
    padding: 18px;
  }

  .safety-clean-hero {
    min-height: auto;
    padding: 28px 18px;
  }

  .safety-hero-illustration {
    height: 260px;
    transform: scale(0.78);
    transform-origin: center;
    margin: -20px 0;
  }

  .safety-clean-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .safety-clean-card:nth-child(3) {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .home-hero-carousel,
  .hero-carousel-stage {
    min-height: 570px;
  }

  .hero-carousel-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 26px 66px;
    text-align: center;
    min-height: 570px;
  }

  .hero-carousel-image {
    min-height: 250px;
  }

  .hero-carousel-image img {
    max-height: 250px;
  }

  .hero-carousel-copy {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  }

  .hero-carousel-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-carousel-prev {
    left: 12px;
  }

  .hero-carousel-next {
    right: 12px;
  }

  .hero-card-main {
    inset: 28px 20px 62px 48px;
  }

  .hero-chip-stack {
    left: 0;
  }

  .brand-wordmark {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    padding: 10px;
  }

  .floating-whatsapp-copy {
    display: none;
  }

  .floating-whatsapp-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  body.public-page .site-shell {
    width: calc(100% - 14px);
    padding-bottom: 28px;
  }

  .site-header.public-navbar {
    gap: 10px;
    padding: 12px 14px;
    border-radius: 0 0 18px 18px;
  }

  .brand.public-brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark.brand-logo.brand-logo-lg {
    width: 48px;
    height: 48px;
    padding: 6px;
    border-radius: 14px;
  }

  .public-brand-copy {
    min-width: 0;
  }

  .brand-wordmark {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .public-main {
    gap: 18px;
    margin-top: 18px;
  }

  .section-card,
  .stats-shell,
  .footer-shell,
  .hero-shell,
  .auth-panel,
  .auth-form-zone,
  .auth-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .home-hero-carousel,
  .hero-carousel-stage {
    min-height: 500px;
    border-radius: 22px;
  }

  .hero-carousel-slide {
    min-height: 500px;
    padding: 28px 18px 64px;
    gap: 18px;
  }

  .hero-carousel-image {
    min-height: 180px;
  }

  .hero-carousel-image img {
    width: min(100%, 280px);
    max-height: 180px;
    object-fit: contain;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .hero-carousel-copy p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .hero-carousel-prev {
    left: 8px;
  }

  .hero-carousel-next {
    right: 8px;
  }

  .hero-carousel-dots {
    bottom: 18px;
  }

  .hero-ticker-wrap {
    overflow: hidden;
  }

  .section-head h2,
  .expected-returns-head h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.12;
  }

  .section-head p,
  .expected-returns-head p,
  .hero-copy p,
  .product-card p,
  .fundcellence-strip p,
  .usp-grid p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .returns-tier-card {
    border-radius: 22px;
  }

  .returns-tier-top,
  .returns-tier-body {
    padding: 18px;
  }

  .returns-tier-highlight {
    padding: 14px;
  }

  .returns-tier-capital {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .returns-tier-cta {
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .stats-shell {
    gap: 0;
  }

  .stat-card {
    padding: 18px 14px;
  }

  .stat-number {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 620px;
  }

  .footer-shell {
    gap: 16px;
  }

  .footer-socials {
    flex-wrap: wrap;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 8px;
    box-shadow: 0 14px 32px rgba(44, 144, 240, 0.24);
  }

  .floating-whatsapp-icon {
    width: 38px;
    height: 38px;
  }

  .floating-whatsapp-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* CTA row & band */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.cta-band {
  text-align: center;
}
.nav-cta, .pill-link {
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 144, 240, 0.3);
}
.pill-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 144, 240, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   PROFESSIONAL FOOTER
═══════════════════════════════════════════════════════════════ */
.footer-shell.footer-pro {
  display: block;
  padding: 44px 40px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(44, 144, 240, 0.1);
}

.footer-col-head {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.footer-brand-col .brand.public-brand { margin-bottom: 12px; }

.footer-tagline {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--brand-text-muted);
  line-height: 1.5;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-contact-item:hover { color: var(--brand-accent); }

.footer-contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-text-secondary);
  text-decoration: none;
  transition: color 150ms ease, padding-left 150ms ease;
}

.footer-nav-col a:hover {
  color: var(--brand-accent);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  display: grid;
  gap: 16px;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.79rem;
  color: var(--brand-text-muted);
  line-height: 1.55;
}

[data-page="trust-safety"] .footer-disclaimer {
  color: #991b1b;
  background: rgba(185,28,28,0.07);
  border: 1px solid rgba(185,28,28,0.28);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 500;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-text-secondary);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-legal-links a:hover { color: var(--brand-accent); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE CAROUSEL FIX
═══════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  .hero-carousel-slide {
    grid-template-columns: 1fr !important;
    padding: 28px 24px 48px;
    gap: 20px;
    min-height: auto;
  }

  .hero-carousel-image {
    order: -1;
    min-height: 180px;
    overflow: hidden;
    border-radius: 16px;
  }

  .hero-carousel-image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  660ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 660ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--anim-delay, 0ms);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Staggered child cards ── */
@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.stagger-child {
  animation: staggerFadeUp 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--child-delay, 0ms);
}

/* ── Skeleton shimmer overlay ── */
@keyframes cardShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #f5f9ff 0%,
    #e8f3ff 35%,
    #d4eaff 50%,
    #e8f3ff 65%,
    #f5f9ff 100%
  );
  background-size: 300% 100%;
  animation: cardShimmer 1.5s ease-in-out infinite;
  transition: opacity 380ms ease;
}

.card-skeleton.is-fading {
  opacity: 0;
}

/* ── Split-text word reveal ── */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.word-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.feature-card,
.product-card,
.service-card,
.team-card,
.testimonial-card,
.algo-edge-card,
.product-showcase-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover,
.product-card:hover,
.service-card:hover,
.team-card:hover,
.testimonial-card:hover,
.algo-edge-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px rgba(44,144,240,0.14); }

/* ═══════════════════════════════════════════════════════════════
   FOREX / ALGO PAGE
═══════════════════════════════════════════════════════════════ */
.algo-hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: center;
  gap: 40px;
  padding: 60px 40px 52px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  text-align: left;
}

.algo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(44,144,240,0.08);
  border: 1px solid rgba(44,144,240,0.2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 20px;
}

.algo-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f8a55;
  box-shadow: 0 0 10px rgba(15,138,85,0.6);
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(15,138,85,0.5); }
  50% { box-shadow: 0 0 16px rgba(15,138,85,0.9); }
}

.algo-kicker { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--brand-text-muted); }
.algo-introducing { margin: 0 0 6px; font-size: 0.9rem; font-weight: 600; color: var(--brand-text-muted); font-style: italic; }

.algo-hero-title {
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}

.algo-hero-sub { margin: 0 0 12px; font-size: clamp(1.1rem,1.8vw,1.35rem); font-weight: 700; color: var(--brand-text); }
.algo-hero-desc { max-width: 560px; margin: 0 0 28px; font-size: 1rem; color: var(--brand-text-muted); line-height: 1.6; }

.algo-hero-stats { display: flex; justify-content: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.algo-hero-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.algo-stat-num { font-family: "IBM Plex Mono", monospace; font-size: 1.5rem; font-weight: 700; color: var(--brand-accent); }
.algo-hero-stat span:last-child { font-size: 0.8rem; font-weight: 700; color: var(--brand-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.algo-hero-cta { display: flex; justify-content: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }

.algo-hero-image { max-width: 380px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 56px rgba(44,144,240,0.16); }
.algo-hero-image img { width: 100%; height: auto; display: block; }

.algo-hero-text-col { display: flex; flex-direction: column; }

/* ── Performance Accounts Grid ───────────────────────────────────────────── */
.algo-accounts-grid { display: grid; gap: 40px; }
.algo-loading { text-align: center; padding: 60px 40px; color: var(--brand-text-muted); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }

.algo-account-card {
  border: 1px solid rgba(44,144,240,0.13);
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(15,32,64,0.04), 0 20px 48px rgba(44,144,240,0.09);
}

/* Card top banner */
.algo-account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 32px;
  background: linear-gradient(135deg, #0f2040 0%, #1a3a6c 100%);
  border-bottom: 1px solid rgba(44,144,240,0.2);
}
.algo-account-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.algo-account-period {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Card body */
.algo-card-body { padding: 28px 32px 32px; }

/* Journey row */
.algo-journey { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.algo-journey-item { display: flex; flex-direction: column; gap: 2px; }
.algo-journey-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-text-muted);
}
.algo-journey-val {
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.1;
}
.algo-journey-now { color: #0a7a4a; }
.algo-journey-arrow {
  font-size: 1.2rem;
  color: var(--brand-accent);
  margin-top: 16px;
}

.algo-profit-headline {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  font-weight: 500;
}
.algo-profit-headline strong.profit { color: #0a7a4a; font-weight: 700; }

/* Stat strip */
.algo-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.algo-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(44,144,240,0.1);
  background: var(--brand-bg);
  text-align: center;
}
.algo-stat-item strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.2;
}
.algo-stat-item span {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text-muted);
}
.algo-stat-item.profit { background: #f0faf5; border-color: rgba(10,122,74,0.18); }
.algo-stat-item.profit strong { color: #0a7a4a; }

/* Chart section label */
.algo-chart-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-text-muted);
  margin-bottom: 10px;
}

/* Bar chart */
.algo-chart-wrap {
  display: flex;
  gap: 0;
  height: 210px;
  margin-bottom: 28px;
  border-left: 1.5px solid rgba(44,144,240,0.12);
  border-bottom: 1.5px solid rgba(44,144,240,0.12);
  overflow-x: auto;
  background: repeating-linear-gradient(
    to bottom,
    rgba(44,144,240,0.03) 0px,
    rgba(44,144,240,0.03) 1px,
    transparent 1px,
    transparent 25%
  );
}
.algo-chart-ticks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 10px 4px 0;
  min-width: 54px;
  align-self: stretch;
}
.algo-tick-line { display: flex; align-items: center; }
.algo-tick-val {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brand-text-muted);
  font-family: "IBM Plex Mono", monospace;
  white-space: nowrap;
}
.algo-chart-bars { display: flex; align-items: flex-end; gap: 5px; flex: 1; height: 100%; padding: 8px 8px 0; }
.algo-bar-group { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; flex: 1; min-width: 34px; height: 100%; }
.algo-bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; flex: 1; width: 100%; }
.algo-bar {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #60b4ff 0%, #2c90f0 100%);
  min-height: 3px;
  transition: opacity 0.15s;
}
.algo-bar:hover { opacity: 0.82; }
.algo-bar.algo-bar-neg {
  background: linear-gradient(180deg, #ff8888 0%, #c62828 100%);
  border-radius: 2px 2px 6px 6px;
}
.algo-bar-label {
  font-size: 0.56rem;
  font-weight: 800;
  color: var(--brand-text-secondary);
  white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
}
.algo-bar-label-neg { color: #c62828; }
.algo-bar-week {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--brand-text-muted);
  text-align: center;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  max-height: 56px;
  letter-spacing: 0.02em;
}

/* Performance table */
.algo-table-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-text-muted);
  margin-bottom: 10px;
}
.algo-table-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(44,144,240,0.12);
  box-shadow: 0 2px 12px rgba(44,144,240,0.05);
}
.algo-perf-table { width: 100%; border-collapse: collapse; }
.algo-perf-table thead { background: linear-gradient(135deg, #0f2040, #1a3a6c); }
.algo-perf-table th {
  padding: 13px 16px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  border: none;
  font-family: "DM Sans", sans-serif;
}
.algo-perf-table th:not(:first-child) { text-align: right; }
.algo-perf-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(44,144,240,0.06);
  color: var(--brand-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}
.algo-perf-table td:first-child {
  font-family: "DM Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-text-secondary);
}
.algo-perf-table td:not(:first-child) { text-align: right; }
.algo-perf-table tbody tr:nth-child(even) td { background: rgba(44,144,240,0.025); }
.algo-perf-table tbody tr:hover td { background: rgba(44,144,240,0.06); transition: background 0.15s; }
.algo-perf-table tr:last-child td { border-bottom: none; }
.algo-table-total td {
  font-weight: 800;
  background: linear-gradient(135deg, #0f2040, #1a3a6c) !important;
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.84rem;
  border: none;
}
.algo-table-total td.profit { color: #5ddb9e !important; }
.algo-table-total td.loss { color: #ff8888 !important; }
.algo-perf-table .profit, .algo-perf-table td.profit { color: #0a7a4a; font-weight: 700; }
.algo-perf-table .loss, .algo-perf-table td.loss { color: #c2413a; font-weight: 700; }
.profit { color: #0f8a55; }
.loss { color: #c2413a; }

.algo-edge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.algo-edge-card { padding: 28px 24px; border-radius: 22px; border: 1px solid rgba(44,144,240,0.1); background: linear-gradient(180deg, #ffffff, #f5f9ff); box-shadow: 0 12px 28px rgba(44,144,240,0.07); }
.algo-edge-num { display: inline-block; margin-bottom: 12px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; color: var(--brand-accent); font-family: "IBM Plex Mono", monospace; }
.algo-edge-card h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--brand-text); }
.algo-edge-card p { margin: 0; font-size: 0.92rem; color: var(--brand-text-muted); line-height: 1.6; }

.algo-pricing-section { background: linear-gradient(135deg, #f0f7ff, #e8f4ff); }
.algo-pricing-card { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; align-items: stretch; border-radius: 24px; border: 1px solid rgba(44,144,240,0.18); background: #ffffff; box-shadow: 0 20px 52px rgba(44,144,240,0.12); margin-top: 8px; overflow: hidden; }
.algo-pricing-left { padding: 36px 32px; background: linear-gradient(135deg, #0f2040 0%, #1a3a6b 100%); color: #ffffff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.algo-pricing-right { padding: 36px 32px; background: #ffffff; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.algo-plan-name { margin: 0 0 2px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.algo-plan-type { margin: 0 0 16px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.algo-price-display { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.algo-price-currency { font-size: 1.6rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.algo-price-amount { font-family: "IBM Plex Mono", monospace; font-size: 3.2rem; font-weight: 700; color: #ffffff; letter-spacing: -0.04em; line-height: 1; }
.algo-price-period { font-size: 0.9rem; color: rgba(255,255,255,0.6); align-self: flex-end; margin-bottom: 6px; }
.algo-plus-sign { font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.5); margin: 8px 0; }
.algo-profit-share { display: flex; align-items: baseline; gap: 8px; }
.algo-share-pct { font-family: "IBM Plex Mono", monospace; font-size: 2.4rem; font-weight: 700; color: #4ade80; }
.algo-share-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

.algo-feature-list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.algo-feature-list li { font-size: 0.92rem; font-weight: 600; color: var(--brand-text-secondary); }
.algo-plan-label { margin: 0 0 10px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-text-muted); }
.algo-payment-modes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.algo-pay-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 14px; border: 1px solid rgba(44,144,240,0.2); font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: 150ms ease; }
.algo-pay-btn small { font-size: 0.7rem; font-weight: 600; opacity: 0.8; }
.algo-pay-primary { background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft)); color: #0d2850; }
.algo-pay-secondary { background: #ffffff; color: var(--brand-text); }
.algo-pay-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(44,144,240,0.2); }
.algo-eligibility-btn { width: 100%; justify-content: center; }

.algo-faq-list { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.algo-faq-item { border: 1px solid rgba(44,144,240,0.12); border-radius: 16px; background: #ffffff; overflow: hidden; transition: box-shadow 200ms ease; }
.algo-faq-item[open] { box-shadow: 0 12px 28px rgba(44,144,240,0.1); }
.algo-faq-item summary { padding: 16px 20px; font-weight: 700; font-size: 0.96rem; color: var(--brand-text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.algo-faq-item summary::-webkit-details-marker { display: none; }
.algo-faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; color: var(--brand-accent); flex-shrink: 0; transition: transform 250ms ease; }
.algo-faq-item[open] summary::after { transform: rotate(45deg); }
.algo-faq-item p { margin: 0; padding: 0 20px 18px; font-size: 0.92rem; color: var(--brand-text-muted); line-height: 1.65; }

.algo-support-cta { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.algo-support-cta p { margin: 0; font-weight: 600; color: var(--brand-text-secondary); }

.algo-policy-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; font-size: 0.84rem; }
.algo-policy-bar a { font-weight: 600; color: var(--brand-text-muted); text-decoration: none; transition: color 150ms ease; }
.algo-policy-bar a:hover { color: var(--brand-accent); }
.algo-policy-bar span { color: rgba(44,144,240,0.3); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS SHOWCASE
═══════════════════════════════════════════════════════════════ */
.products-showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 8px; }

.product-showcase-card { position: relative; padding: 36px 32px; border-radius: 26px; border: 1px solid rgba(44,144,240,0.12); background: linear-gradient(180deg, #ffffff, #f5f9ff); box-shadow: 0 16px 40px rgba(44,144,240,0.09); display: flex; flex-direction: column; gap: 14px; transition: transform 220ms ease, box-shadow 220ms ease; }
.product-showcase-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(44,144,240,0.15); }
.product-showcase-primary { border-color: rgba(44,144,240,0.28); background: linear-gradient(160deg, #f0f7ff, #e8f4ff); }

.product-showcase-badge { display: inline-flex; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft)); color: #0d2850; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

.product-showcase-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-soft)); box-shadow: 0 12px 28px rgba(44,144,240,0.25); }
.product-showcase-icon span { font-family: "IBM Plex Mono", monospace; font-size: 1.1rem; font-weight: 700; color: #ffffff; }
.product-showcase-icon-pms { background: linear-gradient(135deg, #1a3a5c, #2c74a8); }
.product-showcase-card h3 { margin: 0; font-size: 1.3rem; color: var(--brand-text); }
.product-showcase-tagline { margin: -8px 0 0; font-size: 0.88rem; font-weight: 700; color: var(--brand-accent); }
.product-showcase-card > p { margin: 0; font-size: 0.93rem; color: var(--brand-text-muted); line-height: 1.65; flex: 1; }
.product-showcase-features { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.product-showcase-features li { font-size: 0.88rem; font-weight: 600; color: var(--brand-text-secondary); }
.product-showcase-cta { margin-top: 4px; }

@media (max-width: 860px) {
  .algo-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 20px 32px;
  }
  .algo-hero-stats { justify-content: center; }
  .algo-hero-stat { align-items: center; }
  .algo-hero-cta { justify-content: center; }
  .algo-hero-desc { margin: 0 auto 28px; }
  .algo-anim-visual { margin: 28px auto 0; height: 280px; }
}
@media (max-width: 720px) {
  .algo-pricing-card { grid-template-columns: 1fr; }
  .algo-pricing-left, .algo-pricing-right { padding: 28px 20px; }
  .algo-hero-stats { gap: 20px; }
  .algo-account-header { padding: 18px 20px; }
  .algo-card-body { padding: 20px 20px 24px; }
  .algo-journey-val { font-size: 1.5rem; }
  .algo-stat-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .algo-stat-item { padding: 10px 8px; }
  .algo-stat-item strong { font-size: 0.88rem; }
  .algo-chart-wrap { height: 160px; }
  .algo-bar-week { font-size: 0.44rem; }
  .algo-perf-table th, .algo-perf-table td { padding: 10px 10px; font-size: 0.76rem; }
  .products-showcase-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   AI TRADING ANIMATION — Forex Hero
═══════════════════════════════════════════════════════════════ */
.algo-anim-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 340px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Orbital rings */
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.anim-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(44, 144, 240, 0.18);
  pointer-events: none;
}
.anim-ring-1 { inset: 0;    animation: orbitSpin 20s linear infinite; }
.anim-ring-2 { inset: 24px; border-color: rgba(114, 174, 254, 0.14); animation: orbitSpin 14s linear infinite reverse; }
.anim-ring-3 { inset: 48px; border-color: rgba(44, 144, 240, 0.10); animation: orbitSpin  9s linear infinite; }

/* Central glow */
.anim-glow {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,144,240,0.12) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.12); }
}

/* Chart card */
@keyframes floatChart {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}
.anim-chart-card {
  position: absolute;
  inset: 55px 55px 45px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(44,144,240,0.22), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(44,144,240,0.14);
  overflow: hidden;
  animation: floatChart 4s ease-in-out infinite;
  display: flex;
  flex-direction: column;
}
.anim-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px 6px;
  background: #f5f9ff;
  border-bottom: 1px solid rgba(44,144,240,0.1);
}
.anim-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #93caff;
}
.anim-dot:nth-child(1) { background: #f87171; }
.anim-dot:nth-child(2) { background: #fbbf24; }
.anim-dot:nth-child(3) { background: #34d399; }
.anim-topbar-label {
  margin-left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #4a6488;
  letter-spacing: 0.06em;
}
.anim-chart-body { flex: 1; display: flex; flex-direction: column; padding: 8px 10px 6px; gap: 6px; }
.anim-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.anim-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #2c90f0, #93caff);
  animation: barGrow 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.anim-bar-loss { background: linear-gradient(180deg, #f87171, #fca5a5); }
@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
.anim-bar:nth-child(1) { animation-delay: 0.1s; }
.anim-bar:nth-child(2) { animation-delay: 0.18s; }
.anim-bar:nth-child(3) { animation-delay: 0.26s; }
.anim-bar:nth-child(4) { animation-delay: 0.34s; }
.anim-bar:nth-child(5) { animation-delay: 0.42s; }
.anim-bar:nth-child(6) { animation-delay: 0.50s; }
.anim-bar:nth-child(7) { animation-delay: 0.58s; }
.anim-bar:nth-child(8) { animation-delay: 0.66s; }
.anim-bar:nth-child(9) { animation-delay: 0.74s; }

.anim-signals { display: flex; gap: 6px; }
.anim-signal-buy, .anim-signal-sell {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.anim-signal-buy  { background: #22c55e; color: #fff; }
.anim-signal-sell { background: #ef4444; color: #fff; }

/* Floating coins */
@keyframes floatCoin {
  0%, 100% { transform: translateY(0px)  rotate(0deg);  }
  50%       { transform: translateY(-13px) rotate(10deg); }
}
.anim-coin {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4cf61, #d4a01a);
  box-shadow: 0 8px 20px rgba(212,160,26,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #7a4e00;
}
.anim-coin-a { top: 14%; right: 4%;  animation: floatCoin 3.2s ease-in-out infinite; }
.anim-coin-b { bottom: 20%; left: 5%; width: 32px; height: 32px; font-size: 0.8rem; animation: floatCoin 2.8s ease-in-out infinite; animation-delay: -1.4s; }

/* AI badge */
.anim-badge-ai {
  position: absolute;
  top: 10%; left: 10%;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c90f0, #1a75d4);
  color: #fff;
  font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(44,144,240,0.45);
  animation: floatCoin 2.5s ease-in-out infinite;
  animation-delay: -0.6s;
}

/* Bot icon */
.anim-bot-icon {
  position: absolute;
  bottom: 8%; right: 10%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #e8f3ff;
  border: 2px solid rgba(44,144,240,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(44,144,240,0.2);
  animation: floatCoin 3.6s ease-in-out infinite;
  animation-delay: -1s;
}

/* Small floating ticker dots */
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.6); }
}
.anim-ticker-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2c90f0;
  animation: dotPulse 2s ease-in-out infinite;
}
.anim-dot-a { top: 42%; left: 2%;   animation-delay: 0s;    }
.anim-dot-b { top: 20%; right: 18%; animation-delay: -0.7s; background: #34d399; }
.anim-dot-c { bottom: 35%; left: 22%; animation-delay: -1.3s; background: #f4cf61; }

/* ═══════════════════════════════════════════════════════════════
   PHONE MOCKUP SHOWCASE — Home page
═══════════════════════════════════════════════════════════════ */
.phone-showcase-section { overflow: hidden; }

.phone-showcase-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  height: 380px;
  margin: 40px 0 36px;
  perspective: 1200px;
}

/* Base phone frame */
.phone-mockup {
  position: relative;
  width: 170px;
  height: 320px;
  border-radius: 28px;
  background: #0a1020;
  border: 3px solid rgba(255,255,255,0.12);
  box-shadow:
    0 32px 72px rgba(10,16,40,0.45),
    0 0 0 1px rgba(255,255,255,0.06);
  flex-shrink: 0;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 10px;
  border-radius: 999px;
  background: #0a1020;
  border: 2px solid rgba(255,255,255,0.1);
  z-index: 10;
}
.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0d1b3e, #091428);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 10px 10px;
  gap: 8px;
}

/* Left & right phones: tilted and behind center */
@keyframes phoneFloatLeft  { 0%,100%{transform:rotate(-14deg) translateY(0px);} 50%{transform:rotate(-14deg) translateY(-10px);} }
@keyframes phoneFloatCenter{ 0%,100%{transform:rotate(0deg)   translateY(0px);} 50%{transform:rotate(0deg)   translateY(-14px);} }
@keyframes phoneFloatRight { 0%,100%{transform:rotate(14deg)  translateY(0px);} 50%{transform:rotate(14deg)  translateY(-10px);} }

.phone-left {
  transform: rotate(-14deg);
  height: 280px;
  margin-right: -28px;
  z-index: 1;
  animation: phoneFloatLeft 4s ease-in-out infinite;
  animation-delay: -0.5s;
}
.phone-center {
  z-index: 3;
  box-shadow:
    0 40px 90px rgba(44,144,240,0.35),
    0 0 0 1px rgba(44,144,240,0.2);
  border-color: rgba(44,144,240,0.3);
  animation: phoneFloatCenter 3.6s ease-in-out infinite;
}
.phone-right {
  transform: rotate(14deg);
  height: 280px;
  margin-left: -28px;
  z-index: 1;
  animation: phoneFloatRight 4.2s ease-in-out infinite;
  animation-delay: -1s;
}

/* Background glow behind phones */
.phone-showcase-stage::before {
  content: "";
  position: absolute;
  inset: 20% 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44,144,240,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Phone screen content ── */
.ps-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}
.ps-dot { width: 6px; height: 6px; border-radius: 50%; }
.ps-dot.green  { background: #34d399; box-shadow: 0 0 6px #34d399; }
.ps-dot.blue   { background: #2c90f0; box-shadow: 0 0 6px #2c90f0; }
.ps-dot.purple { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }

/* Left phone: donut + rows */
.ps-donut {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 10px solid transparent;
  background:
    conic-gradient(#2c90f0 0% 42%, #34d399 42% 68%, #a78bfa 68% 84%, #f4cf61 84% 100%)
    border-box;
  border-color: rgba(255,255,255,0.06);
  align-self: center;
  box-shadow: 0 4px 16px rgba(44,144,240,0.25);
}
.ps-rows { display: flex; flex-direction: column; gap: 5px; }
.ps-row {
  display: flex; justify-content: space-between;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  font-size: 0.55rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.ps-val { font-weight: 900; }
.ps-val.green { color: #34d399; }
.ps-val.red   { color: #f87171; }

/* Center phone: line chart + stats */
.ps-chart {
  position: relative;
  height: 60px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.ps-chart-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(44,144,240,0.25), transparent);
  clip-path: polygon(0% 80%, 12% 60%, 24% 65%, 36% 40%, 48% 50%, 60% 25%, 72% 30%, 84% 10%, 100% 18%, 100% 100%, 0% 100%);
}
.ps-chart-line {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      transparent 0%, #2c90f0 12%, transparent 12%,
      transparent 24%, #2c90f0 36%, transparent 36%,
      transparent 60%, #2c90f0 84%, transparent 100%
    );
  clip-path: polygon(0% 80%, 12% 60%, 24% 65%, 36% 40%, 48% 50%, 60% 25%, 72% 30%, 84% 10%, 100% 18%, 100% 20%, 84% 12%, 72% 32%, 60% 27%, 48% 52%, 36% 42%, 24% 67%, 12% 62%, 0% 82%);
  background: #2c90f0;
  opacity: 0.9;
}
.ps-stats-row {
  display: flex; justify-content: space-around;
  padding: 6px 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
}
.ps-stat { text-align: center; }
.ps-stat-val { font-size: 0.72rem; font-weight: 900; color: #93caff; }
.ps-stat-lbl { font-size: 0.48rem; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.06em; margin-top: 2px; }
.ps-buy-btn {
  padding: 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.58rem; font-weight: 900; letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
}

/* Right phone: alerts */
.ps-alerts { display: flex; flex-direction: column; gap: 5px; }
.ps-alert {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  font-size: 0.54rem; color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.ps-alert-icon { font-size: 0.75rem; }

/* Mobile: stack phones vertically */
@media (max-width: 600px) {
  .phone-showcase-stage {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    perspective: none;
  }
  .phone-left, .phone-right {
    height: 260px;
    transform: none;
    margin: 0;
    animation: phoneFloatCenter 4s ease-in-out infinite;
  }
  .phone-center { height: 290px; }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
═══════════════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 112px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #1565c0 0%, #2c90f0 100%);
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 160;
  opacity: 0;
  transform: translateY(20px) scale(0.88);
  transition: opacity 280ms cubic-bezier(0.34,1.56,0.64,1), transform 280ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 180ms ease;
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.45), 0 2px 8px rgba(0,0,0,0.12);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  box-shadow: 0 10px 32px rgba(21, 101, 192, 0.55), 0 4px 12px rgba(0,0,0,0.14);
  transform: translateY(-3px) scale(1.05);
}
.scroll-top-btn:active {
  transform: translateY(0) scale(0.97);
}
@media (max-width: 600px) {
  .scroll-top-btn { right: 16px; bottom: 96px; width: 48px; height: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   PMS STRIP (Money Magnet)
═══════════════════════════════════════════════════════════════ */
.pms-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 40px;
}
.pms-strip .hero-copy { max-width: 580px; }
.pms-strip .hero-copy h2 { margin-bottom: 14px; }
.pms-strip .hero-copy p { color: var(--brand-text-muted); margin-bottom: 8px; line-height: 1.65; }
.pms-tagline {
  display: inline-block;
  margin: 8px 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-accent);
  background: rgba(44,144,240,0.07);
  border: 1px solid rgba(44,144,240,0.18);
  border-radius: 999px;
  padding: 5px 14px;
  letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .pms-strip { grid-template-columns: 1fr; }
  .pms-strip .fundcellence-visual { order: -1; }
}

/* ═══════════════════════════════════════════════════════════════
   DATA SECURITY SECTION (Login page)
═══════════════════════════════════════════════════════════════ */
.data-security-section {
  background: linear-gradient(180deg, #eaf4ff 0%, #f8fcff 60%, #ffffff 100%);
  padding: 56px 48px;
}
.data-security-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 56px;
}
.data-security-text h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.data-security-text .section-intro { color: var(--brand-text-muted); line-height: 1.7; margin-bottom: 20px; }
.data-security-video {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(21, 101, 192, 0.22), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid rgba(44,144,240,0.18);
  background: #0a1628;
  aspect-ratio: 9 / 7;
  min-height: 280px;
  position: relative;
}
.security-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}
@media (max-width: 860px) {
  .data-security-section { padding: 36px 24px; }
  .data-security-wrap { grid-template-columns: 1fr; gap: 28px; }
  .data-security-video { aspect-ratio: 16 / 9; min-height: unset; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT HERO VIDEO PANEL
═══════════════════════════════════════════════════════════════ */
.contact-video-panel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(21, 101, 192, 0.22), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid rgba(44,144,240,0.16);
  background: #0a1628;
  min-height: 300px;
  align-self: stretch;
}
.contact-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 300px;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOBILE FOUNDATIONS
   Applied at all widths — prevents overflow, makes media fluid
═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.public-page {
  overflow-x: hidden;
}

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

/* All touch targets minimum 44×44 */
.nav-cta,
.pill-link,
.role-toggle,
.submit-btn,
.secondary-outline,
.returns-tier-cta,
.hero-carousel-btn,
.nav-toggle,
.scroll-top-btn,
.floating-whatsapp,
button[type="button"],
button[type="submit"],
a.nav-cta,
a.pill-link {
  min-height: 44px;
}

/* ═══════════════════════════════════════════════════════════════
   ≤ 1024px  (tablet landscape)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    display: none;
  }

  .footer-shell.footer-pro {
    padding: 36px 28px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .algo-hero {
    grid-template-columns: 1fr minmax(0, 340px);
    gap: 28px;
  }

  .pms-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pms-strip .fundcellence-visual { order: -1; }

  .phone-showcase-stage {
    height: 340px;
  }

  .phone-mockup {
    width: 145px;
    height: 272px;
  }

  .phone-left,
  .phone-right {
    height: 240px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ≤ 768px  (tablet portrait / large phone)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* --- Nav --- */
  .site-header.public-navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav.public-nav,
  .header-actions.public-actions {
    display: none;
  }

  .public-navbar.nav-open .site-nav.public-nav,
  .public-navbar.nav-open .header-actions.public-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0 4px;
  }

  .public-navbar.nav-open .site-nav.public-nav a,
  .public-navbar.nav-open .header-actions.public-actions .nav-cta,
  .public-navbar.nav-open .header-actions.public-actions .nav-login-btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
  }

  /* Login dropdown: full-width on mobile */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    border-radius: 12px;
    box-shadow: none;
    border-color: rgba(44,144,240,0.1);
    margin-top: 6px;
  }

  .nav-login-btn {
    width: 100%;
    min-height: 44px;
  }

  /* --- Hero carousel --- */
  .home-hero-carousel,
  .hero-carousel-stage {
    min-height: 480px;
  }

  .hero-carousel-slide {
    grid-template-columns: 1fr !important;
    min-height: 480px;
    padding: 28px 20px 60px;
    gap: 16px;
    text-align: center;
  }

  .hero-carousel-image {
    order: -1;
    min-height: 180px;
  }

  .hero-carousel-image img {
    width: min(260px, 90%);
    max-height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto;
  }

  .hero-carousel-copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.5rem, 6vw, 2.4rem);
    line-height: 1.12;
  }

  /* --- Phone showcase: only show center phone --- */
  .phone-showcase-stage {
    height: auto;
    padding: 0 0 24px;
    gap: 0;
    perspective: none;
  }

  .phone-left,
  .phone-right {
    display: none;
  }

  .phone-center {
    width: 180px;
    height: 320px;
    margin: 0 auto;
    animation: phoneFloatCenter 3.6s ease-in-out infinite;
  }

  /* --- Algo hero (Forex) --- */
  .algo-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 20px 32px;
    gap: 28px;
  }

  .algo-hero-stats { justify-content: center; }
  .algo-hero-stat  { align-items: center; }
  .algo-hero-cta   { justify-content: center; }
  .algo-hero-desc  { margin: 0 auto 24px; }
  .algo-anim-visual { margin: 0 auto; height: 280px; max-width: 320px; }

  /* --- Auth / Login --- */
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-panel { display: none; }

  .auth-form-zone {
    border-radius: 22px;
  }

  .auth-switcher-bar {
    gap: 6px;
  }

  .role-toggle {
    font-size: 0.84rem;
    padding: 9px 12px;
    min-height: 44px;
  }

  .auth-form-card label {
    font-size: 0.9rem;
  }

  .auth-form-card input {
    min-height: 48px;
    font-size: 1rem;
  }

  .split-row {
    flex-direction: column;
    gap: 10px;
  }

  .split-row .secondary-outline {
    width: 100%;
    min-height: 48px;
  }

  .submit-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  /* --- Contact hero video --- */
  .page-hero.contact-hero-wrap,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .contact-video-panel {
    min-height: 220px;
    aspect-ratio: 16 / 9;
    align-self: auto;
  }

  .contact-hero-video {
    min-height: unset;
  }

  /* --- Footer --- */
  .footer-shell.footer-pro {
    padding: 28px 18px 20px;
  }

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

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* --- General section padding --- */
  .section-card,
  .hero-shell,
  .stats-shell {
    padding: 20px 18px;
  }

  /* --- Data security --- */
  .data-security-section { padding: 28px 18px; }
  .data-security-wrap    { grid-template-columns: 1fr; gap: 20px; }
  .data-security-video   { aspect-ratio: 16 / 9; min-height: unset; }

  /* --- Tables scroll horizontally --- */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .comparison-table {
    min-width: 560px;
  }

  /* --- Fixed floating buttons: stack clear of each other --- */
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .scroll-top-btn {
    right: 14px;
    bottom: 80px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ≤ 425px  (large phone)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 425px) {
  body.public-page .site-shell {
    width: calc(100% - 12px);
  }

  .site-header.public-navbar {
    padding: 10px 12px;
  }

  .brand-wordmark  { font-size: 0.95rem; }
  .brand-tagline   { font-size: 0.66rem; }

  .home-hero-carousel,
  .hero-carousel-stage {
    min-height: 430px;
    border-radius: 20px;
  }

  .hero-carousel-slide {
    min-height: 430px;
    padding: 20px 14px 56px;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.3rem, 7.5vw, 1.9rem);
    line-height: 1.1;
  }

  .hero-carousel-copy p {
    font-size: 0.9rem;
  }

  .hero-carousel-image img {
    width: min(220px, 88%);
    max-height: 160px;
  }

  .phone-center {
    width: 160px;
    height: 290px;
  }

  .section-card,
  .hero-shell,
  .stats-shell {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .section-head h2 {
    font-size: clamp(1.35rem, 7.5vw, 1.9rem);
  }

  .nav-cta,
  .pill-link {
    font-size: 0.88rem;
    padding: 10px 18px;
  }

  .auth-form-zone { padding: 16px; border-radius: 20px; }
  .submit-btn     { min-height: 50px; }

  .pms-tagline {
    font-size: 0.76rem;
    padding: 4px 12px;
  }

  .data-security-section { padding: 22px 14px; }

  .floating-whatsapp {
    right: 10px;
    bottom: 10px;
    padding: 8px;
  }

  .floating-whatsapp-copy { display: none; }
  .floating-whatsapp-icon { width: 38px; height: 38px; }

  .scroll-top-btn {
    right: 10px;
    bottom: 72px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ≤ 375px  (standard phone)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .home-hero-carousel,
  .hero-carousel-stage {
    min-height: 400px;
  }

  .hero-carousel-slide {
    min-height: 400px;
    padding: 18px 12px 52px;
  }

  .hero-carousel-copy h1 {
    font-size: clamp(1.2rem, 7vw, 1.7rem);
  }

  .hero-carousel-image img {
    width: min(190px, 85%);
    max-height: 140px;
  }

  .hero-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero-carousel-prev { left: 6px; }
  .hero-carousel-next { right: 6px; }

  .phone-center {
    width: 148px;
    height: 270px;
  }

  .algo-anim-visual { height: 240px; }

  .section-card,
  .hero-shell,
  .stats-shell {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .returns-tier-top,
  .returns-tier-body {
    padding: 14px;
  }

  .auth-form-card input {
    padding: 11px 14px;
  }

  .submit-btn {
    min-height: 48px;
    font-size: 0.95rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ≤ 320px  (smallest phones)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 320px) {
  body.public-page .site-shell {
    width: calc(100% - 8px);
  }

  .brand-mark.brand-logo.brand-logo-lg {
    width: 40px;
    height: 40px;
    padding: 5px;
  }

  .brand-wordmark { font-size: 0.88rem; }
  .brand-tagline  { display: none; }

  .hero-carousel-copy h1 {
    font-size: clamp(1.1rem, 8vw, 1.55rem);
  }

  .hero-carousel-image img {
    width: min(160px, 82%);
    max-height: 120px;
  }

  .phone-center {
    width: 136px;
    height: 248px;
  }

  .section-card {
    padding: 12px 10px;
  }

  .role-toggle {
    font-size: 0.78rem;
    padding: 8px 8px;
  }

  .auth-switcher-bar {
    gap: 4px;
  }

  .nav-cta {
    font-size: 0.82rem;
    padding: 9px 14px;
  }

  .scroll-top-btn {
    width: 42px;
    height: 42px;
    right: 8px;
    bottom: 68px;
  }

  .floating-whatsapp {
    right: 8px;
    bottom: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TRUST & SAFETY — ILLUSTRATION ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes shieldFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}
@keyframes coinBounce {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  40%      { transform: rotate(-15deg) translateY(-22px); }
  60%      { transform: rotate(-15deg) translateY(-18px); }
}
@keyframes lockSway {
  0%, 100% { transform: rotate(0deg); }
  30%      { transform: rotate(-7deg); }
  70%      { transform: rotate(5deg); }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44,144,240,0); }
  50%      { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(44,144,240,0.15); }
}
@keyframes personSway {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(2.5deg); }
  75%      { transform: rotate(-2.5deg); }
}
@keyframes illustGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%,-50%) scale(1.15); }
}

.safety-shield { animation: shieldFloat 4.2s ease-in-out infinite; }
.safety-coin   { animation: coinBounce 2.8s ease-in-out infinite; }
.safety-lock   { animation: lockSway 3.6s ease-in-out infinite; }
.safety-badge.one { animation: badgePulse 2.5s ease-in-out infinite; }
.safety-badge.two { animation: badgePulse 3.2s ease-in-out infinite; animation-delay: -1.4s; }
.safety-person { animation: personSway 4s ease-in-out infinite; transform-origin: center bottom; }

.safety-hero-illustration::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,118,214,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: illustGlow 4s ease-in-out infinite;
}

.safety-clean-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(44,144,240,0.09), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(124,58,237,0.07), transparent 30%),
    linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
  border: 1px solid rgba(44,144,240,0.1);
  box-shadow: 0 8px 40px rgba(44,144,240,0.07);
}

/* Lock icon glow animation on hover */
.safety-clean-card:hover .lock-icon {
  box-shadow: 0 0 0 8px rgba(124,58,237,0.12), 0 18px 32px rgba(124,58,237,0.25);
  animation: lockIconPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes lockIconPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1) rotate(-4deg); }
  100% { transform: scale(1.05) rotate(0deg); }
}
.safety-clean-card:hover .risk-icon  { border-color: #2c90f0; }
.safety-clean-card:hover .partner-icon { filter: drop-shadow(0 18px 28px rgba(255,120,168,0.42)); }

/* Mobile: stack safety cards */
@media (max-width: 860px) {
  .safety-clean-grid { grid-template-columns: 1fr; gap: 20px; }
  .safety-clean-section { padding: 32px 20px 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   SECURITY ANIMATION — Login page (inside form zone)
═══════════════════════════════════════════════════════════════ */
.sec-mini-anim {
  position: relative;
  width: 100%;
  height: 172px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a1225 0%, #0d1f4a 50%, #0a1832 100%);
  border: 1px solid rgba(44,144,240,0.2);
  overflow: hidden;
  margin: 12px 0 22px;
  flex-shrink: 0;
}

/* Purple cloud glow */
.sma-bg {
  position: absolute;
  left: 38%; top: 50%;
  transform: translate(-50%, -55%);
  width: 220px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.38) 0%, rgba(44,144,240,0.18) 45%, transparent 70%);
  animation: smaBgPulse 4s ease-in-out infinite;
}
@keyframes smaBgPulse {
  0%,100% { transform: translate(-50%,-55%) scale(1); opacity: 0.8; }
  50%     { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}

/* Person head */
.sma-person {
  position: absolute;
  left: 22%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: smaPersonFloat 4s ease-in-out infinite;
}
@keyframes smaPersonFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.sma-head {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fdd9b5, #f7a97a);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-bottom: 3px;
}
.sma-body {
  width: 40px; height: 46px;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(180deg, #2c90f0, #1565c0);
  position: relative;
}
.sma-body::before, .sma-body::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 11px; height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 38%, #fdd9b5, #f7a97a);
}
.sma-body::before { left: -8px; transform: rotate(20deg); }
.sma-body::after  { right: -8px; transform: rotate(-20deg); }

/* Laptop */
.sma-laptop {
  position: absolute;
  left: calc(22% + 18px);
  bottom: 24px;
  animation: smaLaptopFloat 4s ease-in-out infinite;
}
@keyframes smaLaptopFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}
.sma-screen {
  width: 82px; height: 58px;
  border-radius: 7px 7px 0 0;
  background: #080e20;
  border: 2px solid rgba(44,144,240,0.5);
  overflow: hidden;
  padding: 5px 5px 3px;
  position: relative;
}
.sma-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2c90f0, #7c3aed, transparent);
  animation: smaScan 2.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(44,144,240,0.6);
}
@keyframes smaScan {
  0%   { top: 0; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.sma-dot-row { display: flex; gap: 3px; }
.sma-dot-row span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(44,144,240,0.7);
  animation: smaDotPulse 1.8s ease-in-out infinite;
}
.sma-dot-row span:nth-child(2) { animation-delay: 0.3s; background: rgba(124,58,237,0.7); }
.sma-dot-row span:nth-child(3) { animation-delay: 0.6s; background: rgba(52,211,153,0.7); }
@keyframes smaDotPulse {
  0%,100% { opacity: 0.5; }
  50%     { opacity: 1; }
}
.sma-screen-bar {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(44,144,240,0.6), rgba(124,58,237,0.4));
  margin: 4px 0 3px;
}
.sma-screen-bar.b2 { width: 70%; opacity: 0.6; }
.sma-base {
  width: 92px; height: 5px;
  background: #0d1832;
  border: 1px solid rgba(44,144,240,0.2);
  margin-left: -5px;
}
.sma-stand { width: 32px; height: 4px; border-radius: 999px; background: #0d1832; margin: 1px auto 0; }

/* Shield */
.sma-shield {
  position: absolute;
  right: 18%;
  bottom: 26px;
  width: 76px; height: 86px;
  background: linear-gradient(160deg, #2c90f0, #1565c0);
  clip-path: polygon(50% 0, 94% 16%, 86% 70%, 50% 100%, 14% 70%, 6% 16%);
  animation: smaShieldGlow 3s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
}
@keyframes smaShieldGlow {
  0%,100% { filter: drop-shadow(0 0 8px rgba(44,144,240,0.3)); }
  50%     { filter: drop-shadow(0 0 22px rgba(44,144,240,0.7)); }
}
.sma-lock {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: 22px; height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.95);
}
.sma-lock::before {
  content: "";
  position: absolute;
  left: 5px; top: -11px;
  width: 12px; height: 13px;
  border: 3px solid rgba(255,255,255,0.95);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.sma-lock::after {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: 5px; height: 8px;
  border-radius: 999px;
  background: #1565c0;
}

/* Gears */
.sma-gear {
  position: absolute;
  border-radius: 50%;
  animation: smaGearSpin 7s linear infinite;
}
@keyframes smaGearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.sma-gear-1 {
  right: calc(18% - 14px); top: 16px;
  width: 40px; height: 40px;
  border: 5px dashed rgba(44,144,240,0.5);
  background: transparent;
}
.sma-gear-2 {
  right: calc(18% + 30px); top: 8px;
  width: 26px; height: 26px;
  border: 4px dashed rgba(124,58,237,0.55);
  background: transparent;
  animation-direction: reverse;
  animation-duration: 4.5s;
}

/* Floating orbs */
.sma-orb {
  position: absolute;
  border-radius: 50%;
}
.sma-orb-1 { width: 8px; height: 8px; top: 14px; left: 14%; background: #2c90f0; opacity: 0.8; animation: smaOrbFloat 3s ease-in-out infinite; }
.sma-orb-2 { width: 6px; height: 6px; top: 35%; right: 12%; background: #a78bfa; animation: smaOrbFloat 4.2s ease-in-out infinite; animation-delay: -1.2s; }
.sma-orb-3 { width: 10px; height: 10px; bottom: 18%; left: 52%; background: #34d399; opacity: 0.7; animation: smaOrbFloat 3.5s ease-in-out infinite; animation-delay: -2.2s; }
@keyframes smaOrbFloat {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50%     { transform: translateY(-12px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   BUSINESS ANIMATION — Contact page hero panel
═══════════════════════════════════════════════════════════════ */
.biz-anim-panel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, #dbeeff 0%, #e8f4ff 40%, #eef4ff 100%);
  border: 1px solid rgba(44,144,240,0.15);
  box-shadow: 0 20px 56px rgba(44,144,240,0.13);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.biz-scene {
  position: relative;
  width: 380px;
  height: 280px;
  flex-shrink: 0;
}

/* Background glow */
.biz-bg-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -55%);
  width: 260px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44,144,240,0.2) 0%, rgba(114,174,254,0.1) 50%, transparent 70%);
  animation: bizGlow 4s ease-in-out infinite;
}
@keyframes bizGlow {
  0%,100% { transform: translate(-50%,-55%) scale(1); opacity: 0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}

/* Person figure */
.biz-figure {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.biz-figure-l { left: 14%; animation: bizWalkL 1s ease-out 0.3s both; }
.biz-figure-r { right: 14%; animation: bizWalkR 1s ease-out 0.3s both; }
@keyframes bizWalkL {
  from { transform: translateX(-30px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes bizWalkR {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.biz-head {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fdd9b5, #f7a97a);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  margin-bottom: 3px;
  position: relative;
}

/* Left person (dark suit) */
.biz-figure-l .biz-body {
  width: 42px; height: 56px;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  position: relative;
}
.biz-figure-l .biz-body::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 14px; height: 40px;
  background: linear-gradient(180deg, #3b82f6, #1565c0);
  border-radius: 2px;
}
.biz-figure-l .biz-body::after {
  content: "";
  position: absolute;
  right: -10px; top: 8px;
  width: 12px; height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 38%, #fdd9b5, #f7a97a);
  transform: rotate(-18deg);
  animation: bizHandshakeL 2s ease-in-out 1.2s both;
}
@keyframes bizHandshakeL {
  0%   { transform: rotate(-18deg); }
  50%  { transform: rotate(-30deg) translateX(4px); }
  100% { transform: rotate(-22deg) translateX(2px); }
}

/* Right person (blue suit) */
.biz-figure-r .biz-body {
  width: 42px; height: 56px;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  position: relative;
}
.biz-figure-r .biz-body::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 14px; height: 40px;
  background: linear-gradient(180deg, #93c5fd, #3b82f6);
  border-radius: 2px;
}
.biz-figure-r .biz-body::after {
  content: "";
  position: absolute;
  left: -10px; top: 8px;
  width: 12px; height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 38%, #fdd9b5, #f7a97a);
  transform: rotate(18deg);
  animation: bizHandshakeR 2s ease-in-out 1.2s both;
}
@keyframes bizHandshakeR {
  0%   { transform: rotate(18deg); }
  50%  { transform: rotate(30deg) translateX(-4px); }
  100% { transform: rotate(22deg) translateX(-2px); }
}

/* Handshake center glow */
.biz-handshake {
  position: absolute;
  left: 50%; bottom: 50px;
  transform: translateX(-50%);
  width: 28px; height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fdd9b5, #f7a97a);
  box-shadow: 0 0 20px rgba(247,169,122,0.5);
  animation: bizShakePulse 2s ease-in-out 1.5s infinite;
}
@keyframes bizShakePulse {
  0%,100% { box-shadow: 0 0 12px rgba(247,169,122,0.4); transform: translateX(-50%) scale(1); }
  50%     { box-shadow: 0 0 28px rgba(247,169,122,0.7); transform: translateX(-50%) scale(1.08); }
}

/* Coin stacks */
.biz-coins {
  position: absolute;
  bottom: 28px;
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  animation: bizCoinsRise 1.4s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}
.biz-coins-l { left: 6%; }
.biz-coins-r { right: 6%; }
@keyframes bizCoinsRise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.biz-coin {
  width: 32px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, #ffe680, #f5c31f 60%, #d4a017);
  box-shadow: 0 3px 8px rgba(213,160,23,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
.biz-coin:nth-child(2) { width: 30px; transform: translateX(1px); }
.biz-coin:nth-child(3) { width: 28px; transform: translateX(2px); }

/* Growth arrow */
.biz-arrow-group {
  position: absolute;
  right: 18%;
  top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: bizArrowUp 1s cubic-bezier(0.16,1,0.3,1) 0.8s both;
}
@keyframes bizArrowUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.biz-arrow-head {
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #2c90f0;
}
.biz-arrow-line {
  width: 4px; height: 60px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2c90f0, rgba(44,144,240,0.3));
}

/* Network nodes */
.biz-node {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2c90f0;
  box-shadow: 0 0 10px rgba(44,144,240,0.5);
  animation: bizNodePulse 2s ease-in-out infinite;
}
.biz-node:nth-child(2) { animation-delay: 0.5s; background: #7c3aed; box-shadow: 0 0 10px rgba(124,58,237,0.5); }
.biz-node:nth-child(3) { animation-delay: 1s; background: #059669; box-shadow: 0 0 10px rgba(5,150,105,0.5); }
@keyframes bizNodePulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%     { transform: scale(1.3); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE LAYOUT — Professional redesign
═══════════════════════════════════════════════════════════════ */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(44,144,240,0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(44,144,240,0.07);
}

.contact-info-header {
  padding: 22px 24px 18px;
  background: linear-gradient(135deg, #0f2040, #1565c0);
  color: #ffffff;
}
.contact-info-header h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.contact-info-header p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(44,144,240,0.07);
  text-decoration: none;
  color: inherit;
  transition: background 180ms ease;
}
.contact-info-row:last-child { border-bottom: 0; }
.contact-info-row:hover { background: rgba(44,144,240,0.04); }

.contact-info-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-info-icon.ic-phone  { background: rgba(44,144,240,0.1); }
.contact-info-icon.ic-email  { background: rgba(124,58,237,0.1); }
.contact-info-icon.ic-wa     { background: rgba(5,150,105,0.1); }
.contact-info-icon.ic-addr   { background: rgba(245,158,11,0.1); }

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text-muted);
  margin-bottom: 3px;
}
.contact-info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-text);
  line-height: 1.45;
}
.contact-info-value a {
  color: var(--brand-accent);
  text-decoration: none;
}

.contact-map-card {
  border: 1px solid rgba(44,144,240,0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(44,144,240,0.07);
}
.contact-map-head {
  padding: 16px 22px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(44,144,240,0.08);
}
.contact-map-head h3 { margin: 0; font-size: 1rem; color: var(--brand-text); }

/* Revised contact grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 860px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .biz-anim-panel { min-height: 220px; }
  .biz-scene { width: 300px; height: 220px; }
  .safety-clean-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .biz-scene { width: 260px; height: 200px; }
  .biz-anim-panel { min-height: 190px; }
  .sec-mini-anim { height: 148px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS HERO ANIMATION — Forex Algo + PMS premium scene
═══════════════════════════════════════════════════════════════ */
.prod-anim-panel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, #060e22 0%, #0b1a3e 50%, #081428 100%);
  border: 1px solid rgba(44,144,240,0.18);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    0 0 0 1px rgba(44,144,240,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.prod-scene {
  position: relative;
  width: 420px;
  height: 300px;
  flex-shrink: 0;
}

/* Background radial glow */
.prod-bg-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(44,144,240,0.16) 0%,
    rgba(124,58,237,0.10) 40%,
    transparent 70%);
  animation: prodGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes prodGlowPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.14); opacity: 1; }
}

/* Floating ambient orbs */
.prod-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.prod-orb-1 {
  width: 10px; height: 10px;
  top: 18px; left: 18%;
  background: #2c90f0;
  box-shadow: 0 0 14px rgba(44,144,240,0.8);
  animation: prodOrbFloat 3.8s ease-in-out infinite;
}
.prod-orb-2 {
  width: 7px; height: 7px;
  top: 40%; right: 10%;
  background: #a78bfa;
  box-shadow: 0 0 10px rgba(167,139,250,0.8);
  animation: prodOrbFloat 4.6s ease-in-out infinite;
  animation-delay: -1.5s;
}
.prod-orb-3 {
  width: 9px; height: 9px;
  bottom: 22%; left: 48%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52,211,153,0.7);
  animation: prodOrbFloat 3.2s ease-in-out infinite;
  animation-delay: -2.8s;
}
@keyframes prodOrbFloat {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50%     { transform: translateY(-14px) scale(1.2); opacity: 1; }
}

/* ── Candlestick chart ─────────────────────────────────────── */
.prod-chart {
  position: absolute;
  left: 14px;
  bottom: 28px;
  width: 190px;
  height: 160px;
  border-left: 1px solid rgba(44,144,240,0.2);
  border-bottom: 1px solid rgba(44,144,240,0.2);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 8px 0 10px;
  animation: prodChartSlideIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
@keyframes prodChartSlideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* Trend line overlay */
.prod-trend-line {
  position: absolute;
  left: 14px; bottom: 28px;
  width: 170px; height: 2px;
  background: linear-gradient(90deg, rgba(52,211,153,0), #34d399 60%, rgba(52,211,153,0.3));
  transform-origin: left center;
  transform: rotate(-18deg) translateY(-38px);
  filter: blur(0.5px);
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
  animation: prodTrendGlow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes prodTrendGlow {
  0%,100% { opacity: 0.7; }
  50%     { opacity: 1; filter: blur(0px); }
}

/* Individual candles */
.prod-candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: prodCandleGrow 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
.prod-candle-1 { animation-delay: 0.35s; }
.prod-candle-2 { animation-delay: 0.50s; }
.prod-candle-3 { animation-delay: 0.65s; }
.prod-candle-4 { animation-delay: 0.80s; }
.prod-candle-5 { animation-delay: 0.95s; }
.prod-candle-6 { animation-delay: 1.10s; }
@keyframes prodCandleGrow {
  from { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
  to   { transform: scaleY(1); opacity: 1; }
}

.prod-wick {
  width: 2px;
  border-radius: 1px;
}
.prod-body {
  width: 14px;
  border-radius: 3px;
}

/* Green candles */
.prod-candle.green .prod-wick { background: #34d399; height: 12px; }
.prod-candle.green .prod-body { background: linear-gradient(180deg, #34d399, #059669); box-shadow: 0 0 6px rgba(52,211,153,0.4); }

/* Red candles */
.prod-candle.red .prod-wick { background: #f87171; height: 10px; }
.prod-candle.red .prod-body { background: linear-gradient(180deg, #ef4444, #b91c1c); box-shadow: 0 0 6px rgba(248,113,113,0.4); }

/* Candle body heights */
.prod-candle-1.green .prod-body { height: 44px; }
.prod-candle-2.red   .prod-body { height: 28px; }
.prod-candle-3.green .prod-body { height: 56px; }
.prod-candle-4.green .prod-body { height: 72px; }
.prod-candle-5.red   .prod-body { height: 24px; }
.prod-candle-6.green .prod-body { height: 92px; }

/* Candle body pulse to simulate live market */
.prod-candle-6.green .prod-body {
  animation: prodLiveCandle 1.8s ease-in-out 1.5s infinite;
}
@keyframes prodLiveCandle {
  0%,100% { height: 92px; box-shadow: 0 0 6px rgba(52,211,153,0.4); }
  50%     { height: 100px; box-shadow: 0 0 16px rgba(52,211,153,0.7); }
}

/* ── Ticker card — XAU/USD ──────────────────────────────────── */
.prod-ticker {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 10px 12px;
  border-radius: 14px;
  background: rgba(10,18,38,0.85);
  border: 1px solid rgba(44,144,240,0.25);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 1px rgba(44,144,240,0.08);
  animation: prodCardFloat 4.2s ease-in-out infinite;
  z-index: 4;
}
.prod-ticker-xau {
  top: 14px;
  left: 14px;
  animation-delay: -1s;
  animation-name: prodCardFloat, prodTickerSlideIn;
  animation-duration: 4.2s, 0.7s;
  animation-timing-function: ease-in-out, cubic-bezier(0.16,1,0.3,1);
  animation-delay: -1s, 0.4s;
  animation-fill-mode: none, both;
  animation-iteration-count: infinite, 1;
}
@keyframes prodTickerSlideIn {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes prodCardFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}

.prod-ticker-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44,144,240,0.9);
}
.prod-ticker-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
  animation: prodTickerNum 4s steps(1) 1.8s infinite;
}
@keyframes prodTickerNum {
  0%    { content: "2,341.50"; }
  25%   { opacity: 0.7; }
  50%   { opacity: 1; }
}
.prod-ticker-change {
  font-size: 0.7rem;
  font-weight: 700;
}
.prod-ticker-change.up { color: #34d399; }
.prod-ticker-change.down { color: #f87171; }

/* ── Buy signal badge ──────────────────────────────────────── */
.prod-signal {
  position: absolute;
  top: 56px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 4;
  animation: prodSignalPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.6s both;
}
.prod-signal-buy {
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.4);
  color: #34d399;
  box-shadow: 0 0 12px rgba(52,211,153,0.2);
  animation: prodSignalPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.6s both,
             prodSignalGlow 2.5s ease-in-out 2.2s infinite;
}
@keyframes prodSignalPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes prodSignalGlow {
  0%,100% { box-shadow: 0 0 8px rgba(52,211,153,0.2); }
  50%     { box-shadow: 0 0 20px rgba(52,211,153,0.5); }
}

/* ── Portfolio donut — PMS ─────────────────────────────────── */
.prod-donut-wrap {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: prodDonutIn 1s cubic-bezier(0.16,1,0.3,1) 0.5s both,
             prodDonutFloat 4.8s ease-in-out 1.6s infinite;
}
@keyframes prodDonutIn {
  from { transform: scale(0.6) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes prodDonutFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-8px) rotate(1deg); }
}

.prod-donut-svg {
  width: 118px; height: 118px;
  transform: rotate(-90deg);
  position: absolute;
}

.prod-donut-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 12;
}

/* strokeDasharray = 2πr ≈ 226.2 for r=36 */
.prod-donut-seg {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 226.2;
  stroke-dashoffset: 226.2;
  animation: prodSegDraw 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
.prod-seg-1 {
  stroke: #2c90f0;
  animation-delay: 0.7s;
  animation-name: prodSegDraw1;
}
.prod-seg-2 {
  stroke: #7c3aed;
  stroke-dasharray: 226.2;
  transform-origin: 50px 50px;
  transform: rotate(151.2deg);
  animation-delay: 1.0s;
  animation-name: prodSegDraw2;
}
.prod-seg-3 {
  stroke: #34d399;
  stroke-dasharray: 226.2;
  transform-origin: 50px 50px;
  transform: rotate(252deg);
  animation-delay: 1.25s;
  animation-name: prodSegDraw3;
}
@keyframes prodSegDraw1 {
  from { stroke-dashoffset: 226.2; }
  to   { stroke-dashoffset: 131.2; }
}
@keyframes prodSegDraw2 {
  from { stroke-dashoffset: 226.2; }
  to   { stroke-dashoffset: 163.3; }
}
@keyframes prodSegDraw3 {
  from { stroke-dashoffset: 226.2; }
  to   { stroke-dashoffset: 185.5; }
}

.prod-donut-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.prod-donut-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.prod-donut-pct {
  font-size: 1.05rem;
  font-weight: 800;
  color: #34d399;
  font-family: 'IBM Plex Mono', monospace;
  text-shadow: 0 0 12px rgba(52,211,153,0.5);
}

/* ── Stat cards ─────────────────────────────────────────────── */
.prod-stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 13px;
  border-radius: 13px;
  background: rgba(10,18,38,0.82);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 4;
}
.prod-stat-1 {
  top: 16px;
  right: 20px;
  animation: prodStatIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both,
             prodCardFloat 5s ease-in-out 1.7s infinite;
}
.prod-stat-2 {
  right: 148px;
  bottom: 32px;
  animation: prodStatIn 0.7s cubic-bezier(0.16,1,0.3,1) 1.1s both,
             prodCardFloat 4.4s ease-in-out 2.2s infinite;
}
@keyframes prodStatIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.prod-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'IBM Plex Mono', monospace;
}
.prod-stat-desc {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Glowing orbital rings ──────────────────────────────────── */
.prod-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.prod-ring-1 {
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(44,144,240,0.12);
  animation: prodRingSpin 18s linear infinite;
}
.prod-ring-2 {
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(124,58,237,0.08);
  animation: prodRingSpin 28s linear infinite reverse;
}
@keyframes prodRingSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .prod-anim-panel { min-height: 260px; }
  .prod-scene { width: 340px; height: 240px; }
  .prod-chart { width: 150px; height: 130px; }
  .prod-donut-wrap { width: 96px; height: 96px; }
  .prod-donut-svg { width: 96px; height: 96px; }
}
@media (max-width: 560px) {
  .prod-anim-panel { min-height: 220px; }
  .prod-scene { width: 290px; height: 210px; }
  .prod-chart { width: 128px; height: 110px; gap: 8px; }
  .prod-candle-6.green .prod-body { height: 70px; }
  .prod-donut-wrap { width: 80px; height: 80px; right: 12px; bottom: 12px; }
  .prod-donut-svg { width: 80px; height: 80px; }
  .prod-stat-1 { top: 10px; right: 12px; }
  .prod-stat-2 { right: 108px; bottom: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT SHOWCASE ICON ANIMATIONS — Mini candlestick (FX) + donut (PMS)
═══════════════════════════════════════════════════════════════ */
.product-showcase-icon.psi-fx {
  background: linear-gradient(135deg, #060e22 0%, #0b1a3e 100%);
  border: 1px solid rgba(44,144,240,0.2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px 5px;
  overflow: hidden;
  position: relative;
}
.product-showcase-icon.psi-fx::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(44,144,240,0.3);
}
.psi-candle { display: flex; flex-direction: column; align-items: center; gap: 0; }
.psi-wick { width: 1.5px; height: 6px; border-radius: 1px; }
.psi-body { width: 7px; border-radius: 2px; }
.psi-candle.green .psi-wick { background: #34d399; }
.psi-candle.green .psi-body { background: linear-gradient(180deg, #34d399, #059669); box-shadow: 0 0 4px rgba(52,211,153,0.5); }
.psi-candle.red   .psi-wick { background: #f87171; }
.psi-candle.red   .psi-body { background: linear-gradient(180deg, #ef4444, #b91c1c); box-shadow: 0 0 4px rgba(248,113,113,0.4); }
.psi-c1.green .psi-body { height: 14px; }
.psi-c2.red   .psi-body { height: 8px; }
.psi-c3.green .psi-body { height: 20px; }
.psi-c4.green .psi-body { height: 28px; animation: psiLiveCandle 1.8s ease-in-out 1s infinite; }
@keyframes psiLiveCandle {
  0%,100% { height: 28px; box-shadow: 0 0 4px rgba(52,211,153,0.4); }
  50%     { height: 32px; box-shadow: 0 0 10px rgba(52,211,153,0.7); }
}
.psi-trend {
  position: absolute;
  left: 8px; right: 8px; bottom: 14px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #34d399 50%, rgba(52,211,153,0.3));
  transform: rotate(-22deg);
  transform-origin: left center;
  border-radius: 1px;
  animation: psiTrendGlow 2.4s ease-in-out infinite;
}
@keyframes psiTrendGlow {
  0%,100% { opacity: 0.6; }
  50%     { opacity: 1; filter: blur(0.3px); }
}

/* PMS donut */
.product-showcase-icon.psi-pms {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f3ff 100%);
  border: 1px solid rgba(44,144,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.psi-ring-svg {
  width: 42px; height: 42px;
  transform: rotate(-90deg);
  position: absolute;
}
/* strokeDasharray = 2πr ≈ 125.7 for r=20 */
.psi-ring-track { fill: none; stroke: rgba(44,144,240,0.12); stroke-width: 7; }
.psi-ring-s1 { fill: none; stroke: #2c90f0; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 125.7; animation: psiRingDraw1 1.2s cubic-bezier(0.16,1,0.3,1) 0.4s both; }
.psi-ring-s2 { fill: none; stroke: #7c3aed; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 125.7; transform-origin: 28px 28px; transform: rotate(163.8deg);
  animation: psiRingDraw2 1.2s cubic-bezier(0.16,1,0.3,1) 0.7s both; }
.psi-ring-s3 { fill: none; stroke: #34d399; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 125.7; transform-origin: 28px 28px; transform: rotate(261deg);
  animation: psiRingDraw3 1.2s cubic-bezier(0.16,1,0.3,1) 0.9s both; }
@keyframes psiRingDraw1 { from { stroke-dashoffset: 125.7; } to { stroke-dashoffset: 72.9; } }
@keyframes psiRingDraw2 { from { stroke-dashoffset: 125.7; } to { stroke-dashoffset: 90.5; } }
@keyframes psiRingDraw3 { from { stroke-dashoffset: 125.7; } to { stroke-dashoffset: 100.6; } }
.psi-pms-label {
  position: relative;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0f2040;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SVG ICONS
═══════════════════════════════════════════════════════════════ */
.contact-info-icon svg {
  width: 18px; height: 18px;
  display: block;
}
.contact-info-icon.ic-phone  svg { stroke: #2c90f0; }
.contact-info-icon.ic-email  svg { stroke: #7c3aed; }
.contact-info-icon.ic-wa     svg { fill: #059669; }
.contact-info-icon.ic-addr   svg { stroke: #f59e0b; }

/* ═══════════════════════════════════════════════════════════════
   WEALTH GROWTH ANIMATION — Contact page hero (premium redesign)
═══════════════════════════════════════════════════════════════ */
.wealth-anim-panel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, #060d22 0%, #0a1838 55%, #071020 100%);
  border: 1px solid rgba(44,144,240,0.16);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.wealth-scene {
  position: relative;
  width: 380px; height: 280px;
  flex-shrink: 0;
}
.wealth-bg-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44,144,240,0.14) 0%, rgba(52,211,153,0.07) 45%, transparent 70%);
  animation: wealthGlow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wealthGlow {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%     { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}
.wealth-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.wealth-ring-1 {
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  border: 1px solid rgba(44,144,240,0.1);
  animation: wealthRingSpin 22s linear infinite;
}
.wealth-ring-2 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  border: 1px dashed rgba(52,211,153,0.06);
  animation: wealthRingSpin 35s linear infinite reverse;
}
@keyframes wealthRingSpin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* SVG chart */
.wealth-chart-svg {
  position: absolute;
  left: 0; bottom: 20px;
  width: 100%; height: 145px;
}
.wealth-chart-fill {
  fill: url(#wChartGrad);
  animation: wealthChartReveal 1.4s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
.wealth-chart-line {
  fill: none;
  stroke: url(#wLineGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  animation: wealthLineDrawAnim 1.8s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
@keyframes wealthLineDrawAnim {
  from { stroke-dashoffset: 600; }
  to   { stroke-dashoffset: 0; }
}
@keyframes wealthChartReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.wealth-chart-dot {
  fill: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,0.8);
  animation: wealthDotPulse 2s ease-in-out 2s infinite;
}
@keyframes wealthDotPulse {
  0%,100% { r: 5; opacity: 1; }
  50%     { r: 7; opacity: 0.7; }
}

/* Floating cards */
.wealth-card {
  position: absolute;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(10,20,44,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  z-index: 4;
}
.wealth-card-1 {
  top: 14px; left: 14px;
  animation: wealthCardIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.6s both, wealthCardFloat 4.5s ease-in-out 1.4s infinite;
}
.wealth-card-2 {
  top: 14px; right: 14px;
  animation: wealthCardIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.9s both, wealthCardFloat 5s ease-in-out 1.7s infinite;
}
.wealth-card-3 {
  bottom: 30px; right: 14px;
  animation: wealthCardIn 0.7s cubic-bezier(0.16,1,0.3,1) 1.1s both, wealthCardFloat 4s ease-in-out 2s infinite;
}
@keyframes wealthCardIn {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes wealthCardFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
.wealth-card-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.wealth-card-value {
  font-size: 1.05rem; font-weight: 800;
  color: #ffffff; font-family: 'IBM Plex Mono', monospace;
}
.wealth-card-up {
  font-size: 0.7rem; font-weight: 700; color: #34d399;
}
.wealth-card-sub {
  font-size: 0.62rem; font-weight: 600; color: rgba(44,144,240,0.9);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Orbs */
.wealth-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.wealth-orb-1 { width: 8px; height: 8px; top: 20px; left: 40%; background: #2c90f0; box-shadow: 0 0 12px rgba(44,144,240,0.8); animation: wOrbFloat 3.6s ease-in-out infinite; }
.wealth-orb-2 { width: 6px; height: 6px; bottom: 40%; left: 12%; background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,0.8); animation: wOrbFloat 4.8s ease-in-out infinite; animation-delay: -2s; }
.wealth-orb-3 { width: 9px; height: 9px; bottom: 26%; left: 30%; background: #34d399; box-shadow: 0 0 12px rgba(52,211,153,0.7); animation: wOrbFloat 3.2s ease-in-out infinite; animation-delay: -1.3s; }
@keyframes wOrbFloat {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50%     { transform: translateY(-14px) scale(1.2); opacity: 1; }
}

@media (max-width: 860px) {
  .wealth-anim-panel { min-height: 240px; }
  .wealth-scene { width: 320px; height: 230px; }
}
@media (max-width: 560px) {
  .wealth-anim-panel { min-height: 200px; }
  .wealth-scene { width: 270px; height: 200px; }
  .wealth-card-2 { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   TRUST & SAFETY — Card entrance animations
═══════════════════════════════════════════════════════════════ */
@keyframes tsCardSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.ts-card-anim .lock-icon {
  animation: tsLockBounce 2.8s ease-in-out 1s infinite;
}
@keyframes tsLockBounce {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-5px); }
  60%     { transform: translateY(-4px); }
}
.ts-card-anim .risk-icon {
  animation: tsRiskPulse 3.2s ease-in-out 1.2s infinite;
}
@keyframes tsRiskPulse {
  0%,100% { transform: scale(1); box-shadow: none; }
  50%     { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(139,92,246,0.1); }
}
.ts-card-anim .partner-icon {
  animation: tsPartnerFloat 3.6s ease-in-out 1.4s infinite;
}
@keyframes tsPartnerFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-6px) rotate(2deg); }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGE — Hero animation
═══════════════════════════════════════════════════════════════ */
/* ── Legal hero animation ── */
.legal-anim-panel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, #f0f4ff 0%, #e8f0ff 45%, #f0eaff 100%);
  border: 1px solid rgba(44,144,240,0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.lg-scene {
  position: relative;
  width: 380px; height: 280px;
  flex-shrink: 0;
}
.lg-ambient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(44,144,240,0.14) 0%, rgba(124,58,237,0.08) 55%, transparent 75%);
  animation: lgAmbient 6s ease-in-out infinite;
}
@keyframes lgAmbient { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* Document card */
.lg-doc {
  position: absolute;
  left: 22px; top: 24px;
  width: 158px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 52px rgba(44,144,240,0.18), 0 2px 8px rgba(0,0,0,0.06);
  padding: 18px 14px 20px;
  overflow: hidden;
  animation: lgDocIn 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
@keyframes lgDocIn {
  from { transform: translateY(18px) rotate(-1.5deg); opacity: 0; }
  to   { transform: translateY(0) rotate(-1.5deg); opacity: 1; }
}
.lg-doc-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2c90f0, #7c3aed);
  border-radius: 12px 12px 0 0;
}
.lg-doc-heading {
  height: 8px; width: 72%; border-radius: 4px;
  background: linear-gradient(90deg, #0a1f44 85%, transparent);
  margin-bottom: 6px;
  animation: lgFadeSlide 0.4s ease 0.5s both;
}
.lg-doc-subhead {
  height: 5px; width: 48%; border-radius: 3px;
  background: rgba(44,144,240,0.22);
  margin-bottom: 12px;
  animation: lgFadeSlide 0.4s ease 0.65s both;
}
.lg-doc-divider {
  height: 1px; background: rgba(44,144,240,0.12);
  margin-bottom: 10px;
  animation: lgFadeSlide 0.3s ease 0.78s both;
}
@keyframes lgFadeSlide { from { opacity: 0; transform: translateX(-6px); } }

.lg-row {
  display: flex; align-items: flex-start; gap: 7px;
  margin-bottom: 9px;
}
.lg-tick {
  width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%; border: 1.5px solid rgba(44,144,240,0.4);
  position: relative;
}
.lg-tick::after {
  content: ''; position: absolute; inset: 2px;
  border-radius: 50%; background: #2c90f0;
  transform: scale(0);
  animation: lgTickPop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.lg-tick-1::after { animation-delay: 1.0s; }
.lg-tick-2::after { animation-delay: 1.6s; }
.lg-tick-3::after { animation-delay: 2.2s; }
@keyframes lgTickPop { to { transform: scale(1); } }

.lg-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.lg-line {
  height: 4px; border-radius: 3px;
  background: rgba(44,144,240,0.16);
  animation: lgLineGrow 0.5s cubic-bezier(0.16,1,0.3,1) both;
  transform-origin: left;
}
.lg-line-full { width: 100%; }
.lg-line-75  { width: 75%; }
.lg-line-85  { width: 85%; }
.lg-line-65  { width: 65%; }
.lg-l1 { animation-delay: 0.9s; }
.lg-l2 { animation-delay: 1.05s; }
.lg-l3 { animation-delay: 1.5s; }
.lg-l4 { animation-delay: 1.65s; }
.lg-l5 { animation-delay: 2.1s; }
.lg-l6 { animation-delay: 2.25s; }
@keyframes lgLineGrow { from { transform: scaleX(0); opacity: 0; } }

/* Scan beam sweeping down the document */
.lg-scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(44,144,240,0.55) 40%, rgba(124,58,237,0.4) 60%, transparent 100%);
  animation: lgSweep 3.2s ease-in-out 3s infinite;
}
@keyframes lgSweep {
  0%   { top: 0; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Security shield */
.lg-shield {
  position: absolute; right: 26px; top: 28px;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  animation: lgShieldIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.3s both, lgShieldFloat 4s ease-in-out 2.2s infinite;
}
@keyframes lgShieldIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lgShieldFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.lg-shield-pulse {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px solid rgba(44,144,240,0.35);
  animation: lgPulse 2.6s ease-out 2.2s infinite;
}
.lg-shield-pulse::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(44,144,240,0.18);
  animation: lgPulse 2.6s ease-out 2.8s infinite;
}
@keyframes lgPulse { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.4); opacity: 0; } }
.lg-shield-body {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(44,144,240,0.07);
  border: 1px solid rgba(44,144,240,0.22);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(44,144,240,0.15);
}
.lg-shield-body svg { width: 30px; height: 30px; }

/* SEBI badge */
.lg-sebi-badge {
  position: absolute; right: 16px; bottom: 52px;
  background: #fff;
  border: 1px solid rgba(44,144,240,0.22);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  color: #0a1f44;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 6px 20px rgba(44,144,240,0.13);
  animation: lgBadgeIn 0.6s cubic-bezier(0.34,1.56,0.64,1) 2.2s both, lgBadgeFloat 5s ease-in-out 3s infinite;
}
.lg-sebi-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 7px rgba(34,197,94,0.65);
  animation: lgDotBlink 2s ease-in-out infinite;
}
@keyframes lgDotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes lgBadgeIn { from { transform: translateY(10px) scale(0.88); opacity: 0; } }
@keyframes lgBadgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* § decorative symbol */
.lg-section-sym {
  position: absolute; right: 108px; bottom: 28px;
  font-size: 2.4rem; font-weight: 700;
  font-family: "Playfair Display", serif;
  color: rgba(124,58,237,0.18);
  animation: lgSymFloat 7s ease-in-out infinite;
}
@keyframes lgSymFloat {
  0%,100% { transform: translateY(0) rotate(-4deg); opacity: 0.18; }
  50%     { transform: translateY(-10px) rotate(4deg); opacity: 0.28; }
}

/* Floating dots */
.lg-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.lg-d1 { width: 8px; height: 8px; top: 22px; right: 114px; background: #2c90f0; box-shadow: 0 0 10px rgba(44,144,240,0.7); animation: lgDotFloat 3.5s ease-in-out infinite; }
.lg-d2 { width: 5px; height: 5px; bottom: 42px; left: 195px; background: #7c3aed; box-shadow: 0 0 8px rgba(124,58,237,0.65); animation: lgDotFloat 4.3s ease-in-out -2s infinite; }
.lg-d3 { width: 6px; height: 6px; top: 48%; left: 188px; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.6); animation: lgDotFloat 3.9s ease-in-out -1s infinite; }
@keyframes lgDotFloat { 0%,100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(-13px); opacity: 1; } }

@media (max-width: 860px) {
  .legal-anim-panel { min-height: 240px; }
  .lg-scene { width: 300px; height: 240px; }
  .lg-doc { width: 130px; left: 14px; }
  .lg-shield { right: 14px; }
  .lg-sebi-badge { right: 8px; font-size: 0.62rem; }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGE — Content styling
═══════════════════════════════════════════════════════════════ */
.legal-nav-bar {
  padding: 16px 28px !important;
}
.legal-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.legal-jump-nav a {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(44,144,240,0.07);
  border: 1px solid rgba(44,144,240,0.15);
  color: var(--brand-text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.legal-jump-nav a:hover {
  background: rgba(44,144,240,0.14);
  color: var(--brand-accent);
}

.legal-section {
  scroll-margin-top: 80px;
}
.legal-section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(44,144,240,0.1);
}
.legal-section-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(44,144,240,0.1), rgba(124,58,237,0.08));
  border: 1px solid rgba(44,144,240,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: #2c90f0;
  font-weight: 900;
}
.legal-icon-warn {
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(239,68,68,0.08));
  border-color: rgba(245,158,11,0.2);
  color: #d97706;
}
.legal-icon-risk {
  background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(245,158,11,0.08));
  border-color: rgba(239,68,68,0.15);
  color: #ef4444;
}
.legal-section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
}
.legal-body {
  max-width: 780px;
  line-height: 1.82;
  color: #1a2a40;
}
.legal-body p,
.legal-list li {
  color: #1a2a40;
  font-size: 0.97rem;
}
.legal-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f2040;
  margin: 24px 0 8px;
  font-family: "DM Sans", sans-serif;
}
.legal-body p {
  margin: 0 0 14px;
  font-size: 0.95rem;
}
.legal-body a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-body a:hover { text-decoration: underline; }

.legal-list {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 18px;
}
.legal-list li {
  font-size: 0.95rem;
  color: #2a3a50;
  line-height: 1.7;
}

.legal-date {
  margin-top: 24px !important;
  font-size: 0.78rem !important;
  color: var(--brand-text-muted) !important;
  font-style: italic;
}

.sebi-highlight {
  background: linear-gradient(135deg, rgba(245,158,11,0.04) 0%, rgba(239,68,68,0.03) 100%) !important;
  border-left: 4px solid #f59e0b !important;
}

.sebi-note-premium {
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  color: #92400e;
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 18px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGE — Section animations
═══════════════════════════════════════════════════════════════ */
.legal-section {
  position: relative;
  transition: box-shadow 350ms ease, transform 350ms cubic-bezier(0.23,1,0.32,1);
}
.legal-section:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 36px rgba(44,144,240,0.1), inset 4px 0 0 0 #2c90f0;
}

.legal-section-icon {
  animation: legalIconPulse 4s ease-in-out infinite;
}
@keyframes legalIconPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(44,144,240,0); transform: scale(1); }
  50%     { box-shadow: 0 0 0 6px rgba(44,144,240,0.1); transform: scale(1.06); }
}

.legal-section-head {
  position: relative;
  overflow: hidden;
}
.legal-section-head::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44,144,240,0.06), transparent);
  animation: legalShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes legalShimmer {
  0%   { left: -100%; }
  40%,100% { left: 140%; }
}

.legal-nav-bar {
  position: relative;
}
.legal-jump-nav a {
  position: relative;
  overflow: hidden;
}
.legal-jump-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,144,240,0.12), rgba(124,58,237,0.08));
  opacity: 0;
  transition: opacity 200ms ease;
  border-radius: 999px;
}
.legal-jump-nav a:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   CAPITAL SAFETY — Premium Fintech Section
═══════════════════════════════════════════════════════════════ */

/* Section shell */
.cs-section {
  position: relative;
  padding: 80px 0 88px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 38%, #f5f9ff 72%, #eef4ff 100%);
  border: 1px solid rgba(44,144,240,0.12);
  box-shadow: 0 24px 64px rgba(14,30,80,0.07);
  margin-top: 20px;
}

/* Ambient background mesh orbs */
.cs-bg-mesh { position: absolute; inset: 0; pointer-events: none; }
.cs-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.38;
  animation: csOrbDrift 12s ease-in-out infinite alternate;
}
.cs-orb-a {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(99,179,255,0.5) 0%, transparent 70%);
  animation-duration: 14s;
}
.cs-orb-b {
  width: 340px; height: 340px;
  bottom: -80px; right: -60px;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}
.cs-orb-c {
  width: 260px; height: 260px;
  top: 40%; left: 42%;
  background: radial-gradient(circle, rgba(44,144,240,0.2) 0%, transparent 70%);
  animation-duration: 11s;
}
@keyframes csOrbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Mouse-follow glow */
.cs-mouse-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,179,255,0.18) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Section header */
.cs-header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px 52px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.cs-header.cs-header-visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-kicker {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2c90f0;
  margin-bottom: 14px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(44,144,240,0.08);
  border: 1px solid rgba(44,144,240,0.18);
}
.cs-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #06122b;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.cs-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 1.06rem;
  color: #4a6488;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.cs-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  padding: 0 36px;
}

/* Card base */
.cs-card {
  position: relative;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200,220,255,0.55);
  box-shadow:
    0 4px 24px rgba(14,30,80,0.07),
    0 1px 4px rgba(14,30,80,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(32px);
  will-change: transform;
  overflow: hidden;
}
.cs-card.cs-card-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1), box-shadow 0.45s ease;
}

.cs-card-glow-border { display: none; }

.cs-card:hover {
  transform: scale(1.03);
  box-shadow:
    0 8px 32px rgba(14,30,80,0.1),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.cs-card-inner {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

/* ── Visual areas ── */
.cs-visual {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
}
.cs-visual-lock  { background: linear-gradient(135deg, #f3efff 0%, #ebe4ff 100%); }
.cs-visual-risk  { background: linear-gradient(135deg, #e8f4ff 0%, #daeeff 100%); }
.cs-visual-network { background: linear-gradient(135deg, #e8fff5 0%, #d4f5e8 100%); }

/* ── Card 1: Shield & Lock ── */
.csv-shield {
  position: relative;
  width: 70px; height: 78px;
}
.csv-shield-body {
  width: 70px; height: 78px;
  background: linear-gradient(160deg, #7c3aed 0%, #5b21b6 100%);
  clip-path: polygon(50% 0%, 100% 18%, 100% 65%, 50% 100%, 0% 65%, 0% 18%);
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(124,58,237,0.35);
  animation: csShieldFloat 4s ease-in-out infinite;
}
@keyframes csShieldFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.csv-lock-shackle {
  width: 20px; height: 12px;
  border: 3.5px solid rgba(255,255,255,0.9);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  margin-bottom: -2px;
}
.csv-lock-body {
  width: 26px; height: 20px;
  background: rgba(255,255,255,0.92);
  border-radius: 5px;
}
.csv-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.4);
  animation: csPulseRing 3s ease-out infinite;
}
.csv-ring-1 { width: 90px;  height: 90px;  animation-delay: 0s;    }
.csv-ring-2 { width: 115px; height: 115px; animation-delay: 0.8s;  }
.csv-ring-3 { width: 140px; height: 140px; animation-delay: 1.6s;  }
@keyframes csPulseRing {
  0%   { opacity: 0.7; transform: translate(-50%,-50%) scale(0.8); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.4); }
}
.csv-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.csv-p {
  position: absolute;
  font-family: "DM Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #5b21b6;
  box-shadow: 0 2px 8px rgba(124,58,237,0.15);
}
.csv-p1 { top: 10px;  left: 8px;  animation: csvFloat1 5s ease-in-out 0s   infinite; }
.csv-p2 { top: 8px;   right: 10px; animation: csvFloat1 5s ease-in-out 1.2s infinite; }
.csv-p3 { bottom: 12px; left: 10px; animation: csvFloat1 5s ease-in-out 2.1s infinite; }
.csv-p4 { bottom: 10px; right: 8px; animation: csvFloat1 5s ease-in-out 0.7s infinite; }
@keyframes csvFloat1 {
  0%,100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(-5px); opacity: 1; }
}

/* ── Card 2: Chart ── */
.csv-chart {
  position: relative;
  width: 130px;
}
.csv-chart-svg { width: 100%; overflow: visible; }
.csv-chart-line {
  stroke: #2c90f0;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: csvDrawLine 2.2s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
@keyframes csvDrawLine {
  to { stroke-dashoffset: 0; }
}
.csv-dot {
  fill: #2c90f0;
  animation: csvDotPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
.csv-d1 { animation-delay: 0.7s; }
.csv-d2 { animation-delay: 1.0s; }
.csv-d3 { animation-delay: 1.3s; }
.csv-d4 { animation-delay: 1.6s; }
@keyframes csvDotPop {
  0%   { r: 0; opacity: 0; }
  100% { r: 3; opacity: 1; }
}
.csv-scan-beam {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(44,144,240,0.6), transparent);
  animation: csvScan 3s ease-in-out 2s infinite;
  opacity: 0;
}
@keyframes csvScan {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.csv-data-pills {
  position: absolute;
  top: 8px; right: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.csv-pill {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.csv-pill-up  { background: rgba(5,150,105,0.1); color: #059669; border: 1px solid rgba(5,150,105,0.2); }
.csv-pill-ai  {
  background: rgba(44,144,240,0.1); color: #1a5cb8; border: 1px solid rgba(44,144,240,0.2);
  animation: csvPillBlink 2.4s ease-in-out infinite;
}
@keyframes csvPillBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* ── Card 3: Network ── */
.csv-network {
  position: relative;
  width: 120px; height: 120px;
}
.csv-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #2c90f0);
  box-shadow: 0 0 0 6px rgba(5,150,105,0.15), 0 6px 20px rgba(5,150,105,0.3);
  animation: csvHubPulse 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes csvHubPulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(5,150,105,0.15), 0 6px 20px rgba(5,150,105,0.3); }
  50%      { box-shadow: 0 0 0 12px rgba(5,150,105,0.08), 0 6px 24px rgba(5,150,105,0.45); }
}
.csv-node {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 2;
}
.csv-node span {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c90f0, #7c3aed);
  box-shadow: 0 4px 12px rgba(44,144,240,0.35);
  animation: csvNodeFloat 4s ease-in-out infinite;
}
.csv-node-1 { top:  5px;  left:  5px;  } .csv-node-1 span { animation-delay: 0s;   }
.csv-node-2 { top:  5px;  right: 5px;  } .csv-node-2 span { animation-delay: 0.9s; }
.csv-node-3 { bottom: 5px; left: 5px;  } .csv-node-3 span { animation-delay: 1.8s; }
.csv-node-4 { bottom: 5px; right: 5px; } .csv-node-4 span { animation-delay: 2.7s; }
@keyframes csvNodeFloat {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}
.csv-lines-svg {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: 1;
}
.csv-line {
  stroke: rgba(44,144,240,0.35);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: csvLineDash 3s linear infinite;
}
@keyframes csvLineDash {
  to { stroke-dashoffset: -40; }
}
.csv-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid rgba(5,150,105,0.22);
  animation: csvOrbit 6s linear infinite;
}
.csv-or-1 { width: 80px;  height: 80px;  animation-duration: 7s; }
.csv-or-2 { width: 114px; height: 114px; animation-duration: 11s; animation-direction: reverse; }
@keyframes csvOrbit {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── Card body ── */
.cs-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cs-card-tag {
  font-family: "DM Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2c90f0;
  opacity: 0.85;
}
.cs-card-body h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 800;
  color: #06122b;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cs-card-body p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #3a4f6a;
  line-height: 1.72;
  margin: 0;
}
.cs-card-metrics {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(44,144,240,0.1);
}
.cs-metric { display: flex; flex-direction: column; gap: 2px; }
.cs-metric-val {
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0a1f44;
  letter-spacing: -0.01em;
}
.cs-metric-lbl {
  font-family: "DM Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a90b0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 22px; }
  .cs-section { padding: 56px 0 64px; }
  .cs-header { padding: 0 22px 38px; }
}
@media (max-width: 560px) {
  .cs-title { font-size: 1.7rem; }
  .cs-grid { padding: 0 14px; }
  .cs-section { padding: 42px 0 50px; border-radius: 18px; }
}
