*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --secondary: #7c3aed;
  --accent: #06ffa5;
  --bg: #080c14;
  --bg2: #0d1422;
  --bg3: #111827;
  --card: #0f1a2e;
  --card2: #1a2540;
  --border: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius: 16px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --reg-ribbon-h: 0px;
  --nav-offset: calc(var(--nav-h) + var(--reg-ribbon-h, 0px) + env(safe-area-inset-top, 0px));
  --nav-bg: rgba(8,12,20,0.85);
  --nav-bg-scrolled: rgba(8,12,20,0.97);
  --mobile-menu-bg: rgba(8,12,20,0.98);
  --footer-bg: #060a10;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.gradient-text {
  background: linear-gradient(135deg, #00d4ff, #7c3aed, #06ffa5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: #fff; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.w-full { width: 100%; }
section { padding: clamp(56px, 10vw, 90px) 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: linear-gradient(135deg, #00d4ff, #0099cc); color: #080c14; box-shadow: 0 0 20px rgba(0,212,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(0,212,255,0.45); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid rgba(0,212,255,0.4); }
.btn-outline:hover { background: rgba(0,212,255,0.08); border-color: var(--primary); }
.btn-glass { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
a.signup-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.signup-link:hover { color: #9ee9ff; }

.btn-sm { padding: 7px 16px; font-size: 0.78rem; }

.btn-nav-login {
  min-width: 4.75rem;
  padding: 10px 16px !important;
  font-size: 0.8125rem !important;
  font-weight: 600;
  white-space: nowrap;
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary);
}
.nav-signup-cta {
  padding: 10px 16px !important;
  font-size: 0.8125rem !important;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  white-space: normal !important;
  max-width: none;
  word-break: break-word;
  hyphens: manual;
  color: #080c14 !important;
  -webkit-text-fill-color: #080c14;
}
.navbar {
  position: fixed; top: var(--reg-ribbon-h, 0px); left: 0; right: 0; z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: var(--nav-bg-scrolled); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--nav-h);
  gap: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; text-decoration: none; }
.logo-img {
  height: 38px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}
.logo--footer .logo-img {
  height: 34px;
  max-width: 180px;
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; justify-content: flex-end; }
.nav-links > a {
  display: flex; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: all 0.2s; white-space: nowrap;
}
@media (max-width: 1240px) {
  .nav-links > a { padding: 8px 8px; font-size: 0.8125rem; }
}
.nav-links > a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-links > a.active { color: var(--primary); }
.nav-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 10px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-cta .btn {
  flex-shrink: 0;
  min-height: 42px;
  box-sizing: border-box;
  width: auto;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.hamburger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-offset);
  bottom: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.mobile-menu-backdrop:not([hidden]) { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-offset);
  z-index: 999;
  max-height: min(100dvh - var(--nav-offset), 100vh - var(--nav-offset));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-bottom: 1px solid var(--border);
  background: var(--mobile-menu-bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.mobile-menu.open { display: flex; }
.mobile-menu[hidden]:not(.open) { display: none !important; }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__actions .btn-nav-login {
  order: 1;
}
.mobile-menu__actions .btn-primary {
  order: 2;
}
.mobile-menu__actions .btn {
  width: 100%;
  white-space: normal !important;
  line-height: 1.3;
  text-align: center;
  min-height: 48px;
  padding: 12px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 600;
}
.mobile-menu__actions .btn.btn-primary {
  color: #080c14 !important;
  -webkit-text-fill-color: #080c14;
}
.mobile-menu__actions .btn.btn-outline {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.06);
}
.mobile-menu a {
  padding: 12px 0;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.mobile-menu a.btn {
  border-bottom: none;
  padding: 12px 16px;
  margin: 0;
  justify-content: center;
}
.mobile-menu .btn-primary { margin-top: 0; }

body.nav-menu-open {
  overflow: hidden;
  overscroll-behavior: contain;
}
body.nav-menu-open .navbar {
  z-index: 10050;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.product-feature-grid > * {
  min-width: 0;
}
@media (max-width: 960px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
  }
}

.products-modules .card {
  overflow: hidden;
  max-width: 100%;
  padding: clamp(18px, 4vw, 32px);
}
.products-modules .card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.products-modules .img-carousel {
  max-width: 100%;
  min-height: 0;
}
.products-modules .img-carousel img {
  max-width: 100%;
  height: auto;
}

.product-faq-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}
.product-faq-pair-grid > .card {
  min-width: 0;
}
@media (max-width: 640px) {
  .product-faq-pair-grid {
    grid-template-columns: 1fr;
  }
}

.product-mc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.market-connect-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .market-connect-stats {
    grid-template-columns: 1fr;
  }
}

.pix-api-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: clamp(28px, 5vw, 44px);
}
.pix-api-ctas .btn-lg {
  width: 100%;
  max-width: 320px;
}
@media (min-width: 520px) {
  .pix-api-ctas .btn-lg {
    width: auto;
    max-width: none;
  }
}

.page-hero .hero-ctas .btn-lg {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 520px) {
  .page-hero .hero-ctas .btn-lg {
    width: auto;
    max-width: none;
  }
}

.home-security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.home-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) {
  .home-security-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .home-capabilities-grid { grid-template-columns: 1fr; }
}
.cert-label { white-space: nowrap; }
@media (max-width: 420px) {
  .cert-label { white-space: normal; }
}

.services-mini-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 400px) {
  .services-mini-metrics { grid-template-columns: 1fr; }
}

.page-hero {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  padding: calc(var(--nav-offset) + 60px) 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.05) 0%, transparent 50%);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-dim); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; line-height: 1.7; }
.page-hero .hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero--pricing-split .page-hero-split,
.pricing-preview-section .page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.pricing-preview-section {
  background: var(--bg);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
}
.pricing-preview-section .page-hero-split__copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.pricing-preview-section .page-hero-split__copy .section-tag { margin-bottom: 12px; }
.pricing-preview-section .page-hero-split__copy > p {
  margin: 0;
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.pricing-preview-section .hero-ctas { margin-top: 26px; }
.page-hero-split__copy { position: relative; z-index: 1; min-width: 0; }
.page-hero-split__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pricing-plans-hero-img {
  width: 100%;
  max-width: min(100%, 560px);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
  background: var(--card);
}
@media (max-width: 900px) {
  .page-hero--pricing-split .page-hero-split,
  .pricing-preview-section .page-hero-split {
    grid-template-columns: 1fr;
  }
  .page-hero-split__visual {
    justify-content: center;
    margin-top: 8px;
  }
  .pricing-plans-hero-img {
    max-width: min(100%, 440px);
  }
}

.hero {
  min-height: 0;
  display: block;
  padding-top: var(--nav-offset);
  padding-bottom: 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(124,58,237,0.06) 0%, transparent 50%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 48px 24px 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  background: rgba(6,255,165,0.08); border: 1px solid rgba(6,255,165,0.2);
  padding: 6px 16px; border-radius: 99px; margin-bottom: 22px;
}
.badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.15; color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-dim); }
.trust-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-badge { padding: 4px 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 99px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); background: rgba(255,255,255,0.03); }
.trading-partner-box { margin-top: 18px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; max-width: 560px; }
.trading-partner-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.trading-partner-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}
.trading-partner-logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #131722;
}
.trading-partner-wordmark {
  font-size: 1.02rem;
  font-weight: 700;
  color: #131722;
  letter-spacing: -0.03em;
  line-height: 1;
}
.trading-partner-box p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 10px; }
.trading-partner-links { display: flex; gap: 10px; flex-wrap: wrap; }
.trading-partner-links a { font-size: 0.78rem; color: var(--primary); border: 1px solid rgba(0,212,255,0.2); border-radius: 999px; padding: 5px 10px; background: rgba(0,212,255,0.06); }
.trading-partner-links a:hover { color: #fff; border-color: rgba(0,212,255,0.45); }
.cta-stack { display: flex; flex-direction: column; gap: 28px; }
.partner-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 24px;
  padding: 36px 48px;
  margin: 0 24px;
  text-align: left;
}
.trading-partner-box--in-banner {
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 380px; margin-top: 0; }
.chart-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.05);
  animation: float 4s ease-in-out infinite;
}
.chart-card-visual { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; min-height: 160px; }
.chart-card-img { width: 100%; height: auto; max-height: 260px; object-fit: contain; object-position: center; border-radius: 12px; }
.chart-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: var(--text-muted); }
.pulse-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse-dot 1.5s infinite; }
.stat-pill {
  position: absolute; z-index: 3; background: var(--card2); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 16px; font-size: 0.78rem; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: float 4s ease-in-out infinite;
}
.pill-2 { top: 42%; left: -12px; animation-delay: 0.6s; }
.pill-3 { top: 42%; right: -12px; animation-delay: 0.9s; }
.pill-4 { top: 58%; left: -12px; animation-delay: 1.2s; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 16px rgba(0,212,255,0.04); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.card-link { display: inline-block; margin-top: 16px; font-size: 0.84rem; font-weight: 600; color: var(--primary); }
.card-link:hover { text-decoration: underline; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.platform-video-wrap { margin: 0 auto 56px; max-width: 860px; }
.platform-video-frame { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,212,255,0.18); box-shadow: 0 8px 48px rgba(0,0,0,0.5); }
.platform-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .platform-video-wrap { max-width: 100%; } }
@media (max-width: 600px) { .platform-video-wrap { margin-bottom: 36px; } .platform-video-frame { border-radius: 12px; } }

.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 60px 0; border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-visual { order: -1; }
.service-icon-big { font-size: 4rem; margin-bottom: 20px; }
.service-block h2 { font-size: 1.9rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.service-block p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-item .fi-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.feature-item div strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.feature-item div span { font-size: 0.83rem; color: var(--text-muted); }
.service-visual-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center;
}
.service-visual-card .big-icon { font-size: 5rem; margin-bottom: 16px; }
.service-visual-card h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.service-visual-card p { font-size: 0.85rem; color: var(--text-muted); }

.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 18px; display: flex; align-items: center; gap: 14px;
  transition: all 0.25s;
}
.tool-item:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-2px); }
.tool-emoji { font-size: 1.6rem; flex-shrink: 0; }
.tool-text strong { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 2px; }
.tool-text span { font-size: 0.78rem; color: var(--text-dim); }

.product-hero-card {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,212,255,0.2); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  margin-bottom: clamp(28px, 5vw, 48px);
}
.product-hero-card h2 { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.product-hero-card p { font-size: 1rem; color: var(--text-muted); max-width: 700px; margin-bottom: 24px; line-height: 1.7; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform-badge {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; text-align: center; transition: all 0.25s;
}
.platform-badge:hover { border-color: var(--primary); transform: translateY(-2px); }
.platform-badge .p-icon { font-size: 1.6rem; margin-bottom: 6px; }
.platform-badge span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; display: block; }
.api-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.api-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all 0.3s;
}
.api-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); }
.api-card .api-icon { font-size: 2rem; margin-bottom: 14px; }
.api-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.api-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.api-card .api-tag { display: inline-block; margin-top: 12px; font-size: 0.72rem; font-weight: 700; color: var(--primary); background: rgba(0,212,255,0.1); border-radius: 4px; padding: 2px 8px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px; position: relative; transition: all 0.3s;
}
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(0,212,255,0.1); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #00d4ff, #7c3aed); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 4px 16px; border-radius: 99px; white-space: nowrap;
}
.price-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.price-amount { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.price-amount span { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.price-desc { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 26px; line-height: 1.55; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { font-size: 0.86rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  margin-top: clamp(20px, 4vw, 32px);
  padding-bottom: 6px;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}
.table-scroll--pricing {
  touch-action: pan-x pan-y;
  margin-inline: 0;
  padding-inline: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.45) rgba(255, 255, 255, 0.06);
}
.table-scroll--pricing::-webkit-scrollbar {
  height: 10px;
}
.table-scroll--pricing::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}
.table-scroll--pricing::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.4);
  border-radius: 6px;
}
.table-scroll--pricing::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.55);
}
.table-scroll:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.45);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Avoid extra horizontal clip on this page — nested .table-scroll + sticky column need a sane scroll chain. */
.page-pricing {
  overflow-x: unset;
}
body.page-pricing {
  overflow-x: visible;
}
.page-pricing .page-hero.page-hero--pricing-split {
  padding-top: calc(var(--nav-offset) + clamp(28px, 5vw, 52px));
  padding-bottom: clamp(28px, 7vw, 56px);
}
.page-pricing .page-hero--pricing-split .page-hero-split__copy > p {
  max-width: none;
}
@media (max-width: 640px) {
  .page-pricing .page-hero--pricing-split .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .page-pricing .page-hero--pricing-split .hero-ctas .btn-lg {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}
.page-pricing .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(22px, 5vw, 44px);
  max-width: 720px;
  padding-inline: 0;
}
.page-pricing .pricing-tax-note {
  margin-top: clamp(14px, 4vw, 24px);
  padding: clamp(16px, 4vw, 22px) clamp(14px, 4vw, 20px);
}

.table-scroll--pricing::after {
  content: '← Scroll or swipe sideways to see all plan columns →';
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 12px;
  padding: 0 10px;
  line-height: 1.45;
}
@media (min-width: 900px) {
  .table-scroll--pricing::after {
    display: none;
  }
}

.compare-table--plans th:not(:first-child),
.compare-table--plans td:not(:first-child) {
  text-align: center;
}
.compare-table--plans th:not(:first-child) {
  min-width: 92px;
}
@media (max-width: 480px) {
  .compare-table.compare-table--plans {
    min-width: 460px;
  }
  .compare-table--plans th:first-child,
  .compare-table--plans td:first-child {
    min-width: 100px;
    max-width: 160px;
  }
}

.pricing-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
@media (max-width: 768px) {
  .pricing-promo-grid {
    grid-template-columns: 1fr;
  }
}
.pricing-promo-card {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px);
}
.pricing-promo-card--accent {
  background: linear-gradient(135deg, rgba(6, 255, 165, 0.06), rgba(0, 212, 255, 0.06));
  border: 1px solid rgba(6, 255, 165, 0.22);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}
/* separate borders: sticky + horizontal scroll (collapse + sticky is buggy in WebKit/Safari). */
.compare-table.compare-table--plans {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 520px;
  max-width: none;
}
@media (min-width: 768px) {
  .compare-table.compare-table--plans {
    min-width: 640px;
  }
}

.compare-table th {
  background: var(--card2);
  color: #fff;
  padding: clamp(12px, 2.2vw, 18px) clamp(10px, 2.2vw, 20px);
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 700;
  text-align: left;
  border: 1px solid var(--border);
}
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td {
  padding: clamp(11px, 2vw, 15px) clamp(10px, 2vw, 20px);
  font-size: clamp(0.82rem, 2.1vw, 0.9rem);
  color: var(--text-muted);
  border: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Plan name + price in header */
.plan-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.plan-price {
  display: block;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Quarterly (Most Popular) column highlight */
.col-quarterly {
  background: rgba(0, 212, 255, 0.1) !important;
  border-top: 2px solid var(--primary) !important;
  position: relative;
}
.compare-table--plans tbody .col-quarterly {
  background: rgba(0, 212, 255, 0.06) !important;
}
.compare-table--plans tr:nth-child(even) td.col-quarterly {
  background: rgba(0, 212, 255, 0.09) !important;
}

/* Most Popular badge */
.plan-popular-badge {
  display: block;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 0 auto 8px;
  width: fit-content;
}

.compare-table--plans th:first-child,
.compare-table--plans td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 112px;
  max-width: 200px;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.2);
}
.compare-table--plans thead th:first-child {
  z-index: 2;
  background: var(--card2);
}
.compare-table--plans tbody td:first-child {
  background: var(--card);
}
.compare-table--plans tbody tr:nth-child(even) td:first-child {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table.compare-table--plans th,
.compare-table.compare-table--plans td {
  border: none;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compare-table.compare-table--plans th:first-child,
.compare-table.compare-table--plans td:first-child {
  border-left: 1px solid var(--border);
}
.compare-table.compare-table--plans thead tr:first-child th {
  border-top: 1px solid var(--border);
}
.compare-table.compare-table--plans thead tr:first-child th:first-child {
  border-radius: 10px 0 0 0;
}
.compare-table.compare-table--plans thead tr:first-child th:last-child {
  border-radius: 0 10px 0 0;
}

.check { color: var(--accent); font-size: 1.15rem; font-weight: 700; }
.cross { color: var(--text-dim); font-size: 1.1rem; opacity: 0.55; }

.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integration-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 18px; text-align: center; transition: all 0.25s;
}
.integration-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-3px); }
.int-icon { font-size: 2rem; margin-bottom: 10px; }
.integration-card h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.integration-card p { font-size: 0.77rem; color: var(--text-dim); }
.code-window {
  background: #0d1117; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  overflow: hidden; margin-bottom: 32px;
}
.code-window-header {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #161b22; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-file { margin-left: 8px; font-size: 0.75rem; color: #8b949e; font-family: 'Inter', sans-serif; }
.code-window pre {
  padding: 20px; color: #e6edf3; line-height: 1.75; overflow-x: auto;
  font-family: 'Fira Code', 'Cascadia Code', 'Courier New', monospace; font-size: 0.82rem; white-space: pre;
}
.c-keyword { color: #ff7b72; }
.c-class { color: #f0883e; }
.c-func { color: #d2a8ff; }
.c-str { color: #a5d6ff; }
.c-num { color: #79c0ff; }
.c-comment { color: #8b949e; }
.c-import { color: #ff7b72; }

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.25; }
.about-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.about-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.about-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.about-stat .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.process-steps { display: flex; align-items: flex-start; gap: 0; }
.process-step { flex: 1; text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 28px; left: calc(50% + 28px);
  width: calc(100% - 56px); height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.step-circle {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
  border: 2px solid rgba(0,212,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--primary);
}
.process-step h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.process-step p { font-size: 0.75rem; color: var(--text-dim); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; transition: all 0.3s; }
.value-card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-4px); }
.value-icon { font-size: 2.4rem; margin-bottom: 14px; }
.value-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-sidebar { min-width: 0; }
.contact-detail-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(18px, 4vw, 36px); margin-bottom: clamp(14px, 3vw, 20px); }
.contact-detail-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.ci-info { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.ci-info strong { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 2px; }
.ci-info span, .ci-info a { font-size: 0.84rem; color: var(--text-muted); }
.ci-info a:hover { color: var(--primary); }
.office-more { margin-top: 8px; }
.office-more__toggle { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--primary); }
.office-more__toggle::-webkit-details-marker { display: none; }
.office-more__toggle::after { content: "▾"; font-size: 0.7rem; transition: transform 0.2s ease; }
.office-more[open] .office-more__toggle::after { transform: rotate(180deg); }
.office-more__toggle:hover .office-more__label { text-decoration: underline; }
.office-more[open] .office-more__label::before { content: "Read less"; }
.office-more[open] .office-more__label { font-size: 0; }
.office-more[open] .office-more__label::before { font-size: 0.8rem; }
.office-more__body { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.office-more__body strong { display: block; color: #fff; font-size: 0.84rem; margin-bottom: 2px; }
.office-more__body span { font-size: 0.84rem; color: var(--text-muted); }
.contact-wa-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  line-height: 1.4;
}
.contact-wa-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.contact-wa-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.contact-wa-link:hover { color: var(--primary); }
.support-hours { background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.15); border-radius: 10px; padding: clamp(12px, 3vw, 16px) clamp(14px, 3vw, 20px); }
.support-hours h5 { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.support-hours p { font-size: 0.82rem; color: var(--text-muted); }
.support-hours__link { color: var(--primary); }
.support-hours__link:hover { text-decoration: underline; }
.contact-form {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 40px);
}
.contact-form h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 800; color: #fff; margin-bottom: 24px; }
.contact-section { padding-block: clamp(36px, 7vw, 60px); }
.contact-section--main,
.contact-section--bank { background: var(--bg); }
.contact-section--alt { background: var(--bg2); }
.contact-quick-card { text-align: center; min-width: 0; }
.contact-quick-card__btn {
  margin-top: 16px;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
  justify-content: center;
}
.contact-quick-card__btn.contact-quick-card__btn--secondary { margin-top: 10px; }
.contact-bank-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 40px);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-bank-box__title {
  color: #fff;
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.25;
}
.contact-bank-box__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.contact-bank-actions {
  display: flex;
  gap: 10px 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-bank-actions .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding: 10px 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; color: #fff; font-size: 0.88rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg3); }
.form-group select.interest-select { max-height: 180px; overflow-y: auto; padding: 4px 0; }
.form-group select.interest-select option { padding: 7px 16px; }
.form-group select.interest-select optgroup { color: var(--text-muted); font-size: 0.75rem; font-style: normal; padding: 6px 8px 2px; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success { text-align: center; padding: 14px; background: rgba(6,255,165,0.08); border: 1px solid rgba(6,255,165,0.2); border-radius: var(--radius-sm); color: var(--accent); font-size: 0.88rem; display: none; margin-top: 12px; }

.sebi-section { background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sebi-framework-bar { padding: 44px 0 28px; }
.sebi-framework-bar .section-tag { margin-bottom: 14px; }
.pricing-faq-hero .reg-insight-article__head--split.pricing-faq-hero__split {
  margin-bottom: 8px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.sebi-framework-heading {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.sebi-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; padding-bottom: 8px; }
.sebi-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.sebi-info p:first-child { margin-top: 0; }
.sebi-list { display: flex; flex-direction: column; gap: 10px; }
.sebi-item { display: flex; align-items: flex-start; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; font-size: 0.84rem; color: var(--text-muted); transition: all 0.2s; }
.sebi-item:hover { border-color: rgba(0,212,255,0.2); color: #fff; }
.sebi-num { color: var(--primary); font-weight: 700; flex-shrink: 0; }
.sebi-info p + p { margin-top: 12px; }
.sebi-info-note { font-size: 0.82rem; line-height: 1.65; }
.sebi-info-note a { color: var(--primary); font-weight: 600; }
.sebi-info-note a:hover { text-decoration: underline; }
.sebi-info .btn { margin-top: 20px; }
.sebi-list--framework { gap: 14px; }
.sebi-framework-item { align-items: flex-start; }
.sebi-acc-col { flex: 1; min-width: 0; }
.sebi-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.sebi-acc-head .sebi-framework-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  flex: 1 1 220px;
}
.sebi-acc-toggle {
  flex-shrink: 0;
  font-size: 0.78rem !important;
  font-weight: 600;
  padding: 8px 14px !important;
  white-space: nowrap;
}
.sebi-acc-panel { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(0, 212, 255, 0.1); }
.sebi-acc-panel[hidden] { display: none !important; }
.sebi-acc-panel p {
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.sebi-acc-panel p:last-of-type { margin-bottom: 12px; }
.sebi-circular-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
}
.sebi-circular-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.45;
}
.sebi-circular-links a:hover { text-decoration: underline; color: #9ee9ff; }
.sebi-compliance-foot {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.sebi-compliance-foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, min(42vw, 440px));
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
.sebi-compliance-foot-copy { min-width: 0; max-width: 720px; }
.sebi-compliance-foot-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.compliance-disclosure-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  background: var(--card);
}
.sebi-compliance-foot-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}
.sebi-compliance-foot-copy p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}
.sebi-compliance-foot-copy p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .sebi-compliance-foot-inner {
    grid-template-columns: 1fr;
  }
  .sebi-compliance-foot-visual {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .compliance-disclosure-img {
    max-width: min(100%, 380px);
  }
}

.pricing-tax-note {
  margin-top: 24px;
  max-width: 100%;
  padding: 24px 22px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.pricing-tax-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, min(38vw, 380px));
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
.pricing-tax-note__text {
  min-width: 0;
  max-width: 640px;
  overflow-wrap: anywhere;
}
.pricing-tax-note__aside {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: sticky;
  top: calc(var(--nav-offset) + 16px);
}
.pricing-per-user-example-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  background: var(--card);
}
@media (max-width: 900px) {
  .pricing-tax-note__grid {
    grid-template-columns: 1fr;
  }
  .pricing-tax-note__aside {
    position: static;
    order: -1;
    justify-content: center;
  }
  .pricing-per-user-example-img {
    max-width: min(100%, 340px);
  }
  .pricing-tax-note__text {
    max-width: none;
  }
}

.reg-insight-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 72px;
}
.reg-insight-article {
  max-width: 920px;
  margin: 0 auto;
}
.reg-insight-article__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, min(44vw, 400px));
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-bottom: 32px;
}
.reg-insight-article__head-copy {
  min-width: 0;
}
.reg-insight-article__head-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.reg-insight-hero-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  background: var(--card);
}
@media (max-width: 800px) {
  .reg-insight-article__head--split {
    grid-template-columns: 1fr;
  }
  .reg-insight-article__head-visual {
    order: -1;
    justify-content: center;
  }
  .reg-insight-hero-img {
    max-width: min(100%, 360px);
  }
}
.reg-insight-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 8px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.reg-insight-card__body {
  padding: 20px 22px 8px;
  max-height: clamp(220px, 32vh, 300px);
  overflow: hidden;
  transition: max-height 0.35s ease;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.reg-insight-card.is-expanded .reg-insight-card__body {
  max-height: min(72vh, 680px);
  overflow-y: auto;
  padding-bottom: 16px;
}
.reg-insight-card__body > h3:first-child {
  margin-top: 0;
}
.reg-insight-card__fade {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 58px;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--card));
  border-radius: 0 0 8px 8px;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.reg-insight-card.is-expanded .reg-insight-card__fade {
  opacity: 0;
}
.reg-insight-readmore {
  display: block;
  width: calc(100% - 16px);
  margin: 4px 8px 0;
  text-align: center;
}
.reg-insight-article__head .section-tag {
  margin-bottom: 12px;
}
.reg-insight-article__title {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}
.reg-insight-article h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 36px 0 14px;
  line-height: 1.35;
}
.reg-insight-article h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 28px 0 10px;
  line-height: 1.4;
}
.reg-insight-article h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin: 18px 0 8px;
}
.reg-insight-article p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}
.reg-insight-article p em {
  color: var(--text-dim);
  font-style: normal;
  font-size: 0.86rem;
}
.reg-insight-article ul {
  margin: 0 0 18px;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.reg-insight-article li {
  margin-bottom: 6px;
}
.reg-insight-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), transparent);
  margin: 36px 0;
}
.reg-insight-disclaimer {
  margin-top: 8px;
  padding: 22px 22px 24px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 14px;
}
.reg-insight-disclaimer h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #fff;
}
.reg-insight-disclaimer p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.reg-insight-disclaimer p:last-child {
  margin-bottom: 0;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,212,255,0.15); border-radius: 24px; padding: 60px;
  text-align: center; margin: 0 24px;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-banner p { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.whatsapp-float-wrap {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  z-index: 9998;
}
.whatsapp-float {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  font: inherit;
}
.whatsapp-float:hover {
  transform: scale(1.07);
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.whatsapp-float-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  min-width: 272px;
  max-width: min(92vw, 320px);
  padding: 8px;
  background: var(--card);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.whatsapp-float-menu[hidden] {
  display: none !important;
}
.whatsapp-float-option {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.15s ease;
  margin-bottom: 4px;
}
.whatsapp-float-option:last-child {
  margin-bottom: 0;
}
.whatsapp-float-option:hover {
  background: rgba(0, 212, 255, 0.08);
  color: #e2e8f0;
}
.whatsapp-float-option strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.35;
}
.whatsapp-float-option span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-dim);
}

body.cookie-banner-on {
  padding-bottom: clamp(140px, 28vh, 260px);
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  padding: clamp(14px, 3vw, 18px) clamp(12px, 3vw, 20px) calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.98) 40%, #080c14 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.cookie-consent__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-consent__title {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.cookie-consent__text {
  font-size: clamp(0.78rem, 1.9vw, 0.86rem);
  line-height: 1.65;
  color: var(--text-muted);
}
.cookie-consent__text p {
  margin: 0 0 10px;
}
.cookie-consent__text p:last-of-type {
  margin-bottom: 0;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-consent__actions .btn {
  flex: 1 1 auto;
  min-width: 0;
}
.cookie-consent__prefs {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}
.cookie-consent__prefs[hidden] {
  display: none !important;
}
.cookie-consent__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.cookie-consent__row input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.cookie-consent__row label {
  cursor: pointer;
}
.cookie-consent__row--disabled {
  opacity: 0.65;
}
.cookie-consent__prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 560px) {
  .cookie-consent__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.footer { background: var(--footer-bg); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2.4fr; gap: 80px; padding-bottom: 56px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); margin-top: 14px; margin-bottom: 8px; line-height: 1.65; max-width: 270px; }
.footer-tagline { max-width: 36rem; }
.footer-cert-badge {
  white-space: nowrap;
}
.footer-legal-info { font-size: 0.72rem; color: var(--text-dim); opacity: 0.6; line-height: 1.7; margin-bottom: 20px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.07em; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--text-dim); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-muted); }
.footer-regulatory { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-regulatory h5 { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 10px; letter-spacing: 0.3px; }
.footer-reg-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-reg-list li { font-size: 0.78rem; color: var(--text-dim); }
.footer-reg-list li strong { color: var(--text-muted); font-weight: 600; }
.footer-reg-list li span { opacity: 0.75; }
.footer-reg-note { font-size: 0.75rem; color: var(--text-dim); line-height: 1.7; margin: 4px 0 0; }
.footer-reg-note a { color: var(--primary); }
.footer-reg-note a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }
.footer-bottom-addr { min-width: 0; }
.office-more--footer .office-more__toggle { font-size: 0.76rem; margin-top: 4px; }
.office-more--footer .office-more__body { border-top: none; padding-top: 6px; margin-top: 4px; }
.office-more--footer .office-more__body strong { font-size: 0.78rem; }
.office-more--footer .office-more__body span { font-size: 0.76rem; color: var(--text-dim); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.footer-legal-links a { font-size: 0.76rem; color: var(--text-dim); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--text-muted); }

@media (max-width: 767px) {
  .footer {
    padding: clamp(28px, 8vw, 40px) 0 0;
  }
  .footer-inner {
    gap: 20px;
    padding-bottom: 24px;
  }
  .footer-brand .logo-img {
    height: 30px;
    max-width: 160px;
  }
  .footer-brand p,
  .footer-tagline {
    max-width: none;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  .footer-cert-badge {
    white-space: normal;
  }
  .footer-legal-info {
    font-size: 0.65rem;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.75;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }
  .footer-col h5 {
    font-size: 0.68rem;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
  }
  .footer-col a {
    font-size: 0.72rem;
    padding: 1px 0;
    line-height: 1.32;
  }
  .footer-bottom {
    padding: 12px 0 16px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-bottom p {
    font-size: 0.68rem;
    line-height: 1.4;
  }
  .footer-legal-links {
    gap: 6px 12px;
  }
  .footer-legal-links a {
    font-size: 0.66rem;
  }
}

.legal-wrap { display: grid; gap: 22px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.policy-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 0.82rem; }
.legal-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.legal-card h2 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.legal-card h3 { font-size: 0.95rem; margin: 18px 0 8px; color: var(--text-muted); }
.legal-card h4 { font-size: 0.88rem; margin: 14px 0 6px; color: var(--text-muted); }
.legal-company { color: var(--accent); font-weight: 700; margin-bottom: 14px; font-size: 0.82rem; letter-spacing: 0.04em; }
.legal-card p, .legal-card li { color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; }
.legal-card ul { margin: 8px 0 10px 18px; }
.legal-card hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
.legal-card code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 6px; font-size: 0.78rem; color: var(--text-muted); }
.legal-card .table-scroll { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--border); border-radius: 10px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 560px; }
.legal-table th { background: rgba(255,255,255,0.04); color: var(--text-muted); font-weight: 700; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.legal-table td { color: var(--text-dim); padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.legal-table tbody tr:last-child td { font-weight: 700; color: var(--text-muted); }
.legal-sync-status { color: var(--text-dim); font-size: 0.78rem; margin: 2px 0 6px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .api-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 40px 24px 28px; align-items: center; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-visual { min-height: 0 !important; margin-top: 0; width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; }
  .stat-pill { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-block, .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse .service-visual { order: 0; }
  .sebi-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 40px); }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 32px;
  }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .process-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-step { flex: unset; }
  .process-step::after { display: none; }
  .step-circle { width: 48px; height: 48px; font-size: 1rem; margin-bottom: 10px; }
}
@media (max-width: 1024px) {
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 700px) {
  .contact-bank-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-bank-actions .btn { width: 100%; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .api-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .cta-banner { padding: 36px 24px; margin: 0; }
  .partner-banner { padding: 28px 24px; margin: 0; }
}
@media (max-width: 480px) {
  .contact-quick-card__btn { max-width: 100%; }
  .tools-grid, .platform-grid, .integration-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

.img-carousel {
  display: grid;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0,212,255,0.18);
  box-shadow: 0 0 40px rgba(0,212,255,0.07);
}
.img-carousel img {
  grid-area: 1 / 1;
  width: 100%;
  display: block;
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.6s ease;
}
.img-carousel img:only-child { opacity: 1; }
.img-carousel img.c-active   { opacity: 1; transform: translate(0,0); }
.img-carousel img.c-in-r     { transform: translateX(105%); }
.img-carousel img.c-in-b     { transform: translateY(105%); }
.img-carousel img.c-out-l    { transform: translateX(-105%); opacity: 0; }
.img-carousel img.c-out-t    { transform: translateY(-105%); opacity: 0; }

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  padding: 0;
  font: inherit;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
@media (max-width: 1024px) {
  .theme-toggle { margin-left: auto; }
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg:             #f8fafc;
  --bg2:            #f1f5f9;
  --bg3:            #e9eef5;
  --card:           #ffffff;
  --card2:          #f1f5f9;
  --border:         rgba(0,0,0,0.1);
  --text:           #0f172a;
  --text-muted:     #475569;
  --text-dim:       #94a3b8;
  --primary:        #0099cc;
  --primary-dark:   #007aaa;
  --accent:         #00b870;
  --nav-bg:         rgba(248,250,252,0.92);
  --nav-bg-scrolled:rgba(248,250,252,0.98);
  --mobile-menu-bg: rgba(248,250,252,0.99);
  --footer-bg:      #e8edf3;
}

[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.13);
  color: var(--text-muted);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text);
  border-color: rgba(0,0,0,0.2);
}

/* Navbar */
[data-theme="light"] .navbar { border-bottom-color: rgba(0,0,0,0.1); }
[data-theme="light"] .navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
[data-theme="light"] .nav-links > a { color: var(--text-muted); }
[data-theme="light"] .nav-links > a:hover { color: var(--text); background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav-links > a.active { color: var(--primary); }
[data-theme="light"] .hamburger { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .hamburger span { background: #0f172a; }
[data-theme="light"] .mobile-menu { border-bottom-color: var(--border); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
[data-theme="light"] .mobile-menu a { color: var(--text-muted); border-bottom-color: var(--border); }
[data-theme="light"] .mobile-menu__actions .btn.btn-outline {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary);
  background: rgba(0,153,204,0.06);
  border-color: rgba(0,153,204,0.3);
}
[data-theme="light"] .mobile-menu-backdrop { background: rgba(0,0,0,0.25); }
[data-theme="light"] .btn-nav-login {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary);
}
[data-theme="light"] .btn-glass {
  background: rgba(0,0,0,0.04);
  color: #0f172a;
  border-color: rgba(0,0,0,0.13);
}
[data-theme="light"] .btn-glass:hover { background: rgba(0,0,0,0.09); }

/* Hero */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,153,204,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(124,58,237,0.1) 0%, transparent 50%);
}
[data-theme="light"] .hero-bg-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}
[data-theme="light"] .hero-title { color: #0f172a; }
[data-theme="light"] .hero-badge { background: rgba(0,184,112,0.1); border-color: rgba(0,184,112,0.25); }
[data-theme="light"] .trust-badge { border-color: rgba(0,0,0,0.12); color: var(--text-muted); background: rgba(0,0,0,0.03); }
[data-theme="light"] .stat-pill { background: var(--card2); color: #0f172a; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
[data-theme="light"] .trading-partner-box { background: var(--card2); }
[data-theme="light"] .chart-card { box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 40px rgba(0,153,204,0.05); }
[data-theme="light"] .chart-footer { color: var(--text-muted); }
[data-theme="light"] .page-hero { border-bottom-color: var(--border); }
[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,153,204,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.08) 0%, transparent 50%);
}
[data-theme="light"] .page-hero h1 { color: #0f172a; }

/* Cards & sections */
[data-theme="light"] .section-header h2 { color: #0f172a; }
[data-theme="light"] .card h3 { color: #0f172a; }
[data-theme="light"] .card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 16px rgba(0,153,204,0.04); }
[data-theme="light"] .service-block h2 { color: #0f172a; }
[data-theme="light"] .feature-item div strong { color: #0f172a; }
[data-theme="light"] .service-visual-card h4 { color: #0f172a; }
[data-theme="light"] .tool-text strong { color: #0f172a; }
[data-theme="light"] .product-hero-card h2 { color: #0f172a; }
[data-theme="light"] .product-hero-card { background: linear-gradient(135deg, rgba(0,153,204,0.05), rgba(124,58,237,0.05)); }
[data-theme="light"] .api-card h4 { color: #0f172a; }
[data-theme="light"] .integration-card h4 { color: #0f172a; }
[data-theme="light"] .price-amount { color: #0f172a; }
[data-theme="light"] .price-badge { color: #fff; }
[data-theme="light"] .process-step h4 { color: #0f172a; }
[data-theme="light"] .step-circle { background: linear-gradient(135deg, rgba(0,153,204,0.12), rgba(124,58,237,0.12)); }
[data-theme="light"] .value-card h4 { color: #0f172a; }
[data-theme="light"] .about-text h2 { color: #0f172a; }
[data-theme="light"] .about-stat { background: var(--card); }

/* Pricing */
[data-theme="light"] .pricing-preview-section .page-hero-split__copy h2 { color: #0f172a; }
[data-theme="light"] .pricing-promo-card { background: var(--card); }
[data-theme="light"] .pricing-promo-card--accent {
  background: linear-gradient(135deg, rgba(0,184,112,0.07), rgba(0,153,204,0.07));
  border-color: rgba(0,184,112,0.22);
}
[data-theme="light"] .pricing-tax-note { background: rgba(0,153,204,0.04); border-color: rgba(0,153,204,0.15); }
[data-theme="light"] .pricing-tax-note p,
[data-theme="light"] .pricing-tax-note li { color: var(--text-muted); }
[data-theme="light"] .pricing-tax-note ul { color: var(--text-muted); }
/* Quarterly column highlight in table */
[data-theme="light"] th[style*="background:rgba(0,212,255,0.08)"],
[data-theme="light"] th[style*="background: rgba(0,212,255,0.08)"] {
  background: rgba(0,153,204,0.1) !important;
}
[data-theme="light"] td[style*="background:rgba(0,212,255,0.03)"],
[data-theme="light"] td[style*="background: rgba(0,212,255,0.03)"] {
  background: rgba(0,153,204,0.04) !important;
}

/* Compare table */
[data-theme="light"] .compare-table th { background: var(--card2); color: #0f172a; }
[data-theme="light"] .compare-table td:first-child { color: #0f172a; }
[data-theme="light"] .compare-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
[data-theme="light"] .compare-table--plans tbody td:first-child { background: var(--card); }
[data-theme="light"] .compare-table--plans tbody tr:nth-child(even) td:first-child { background: rgba(0,0,0,0.02); }
[data-theme="light"] .compare-table--plans thead th:first-child { background: var(--card2); }
[data-theme="light"] .compare-table--plans th:first-child,
[data-theme="light"] .compare-table--plans td:first-child { box-shadow: 6px 0 14px rgba(0,0,0,0.06); }

/* SEBI */
[data-theme="light"] .sebi-section { background: var(--bg3); border-color: var(--border); }
[data-theme="light"] .sebi-framework-heading { color: #0f172a; }
[data-theme="light"] .sebi-acc-head .sebi-framework-title { color: #0f172a; }
[data-theme="light"] .sebi-compliance-foot-title { color: #0f172a; }
[data-theme="light"] .sebi-compliance-foot-copy p { color: var(--text-muted); }

/* Reg insight */
[data-theme="light"] .reg-insight-section { background: var(--bg3); border-color: var(--border); }
[data-theme="light"] .reg-insight-article__title { color: #0f172a; }
[data-theme="light"] .reg-insight-article h3 { color: #0f172a; }
[data-theme="light"] .reg-insight-article h4 { color: #0f172a; }
[data-theme="light"] .reg-insight-card { background: var(--card); border-color: var(--border); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
[data-theme="light"] .reg-insight-card__fade { background: linear-gradient(to bottom, transparent, var(--card)); }
[data-theme="light"] .reg-insight-disclaimer { background: rgba(0,0,0,0.03); border-color: rgba(0,153,204,0.12); }
[data-theme="light"] .reg-insight-disclaimer h3 { color: #0f172a; }

/* Contact & forms */
[data-theme="light"] .contact-detail-card h4 { color: #0f172a; }
[data-theme="light"] .contact-form h3 { color: #0f172a; }
[data-theme="light"] .contact-bank-box__title { color: #0f172a; }
[data-theme="light"] .support-hours { background: rgba(0,153,204,0.05); border-color: rgba(0,153,204,0.12); }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea { background: #fff; border-color: rgba(0,0,0,0.15); color: #0f172a; }
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: var(--text-dim); }
[data-theme="light"] .form-group select option { background: #fff; color: #0f172a; }

/* Legal */
[data-theme="light"] .legal-card h2 { color: #0f172a; }
[data-theme="light"] .legal-card h3 { color: #334155; }
[data-theme="light"] .legal-card h4 { color: #334155; }
[data-theme="light"] .legal-card p,
[data-theme="light"] .legal-card li { color: #475569; }
[data-theme="light"] .legal-card code { background: rgba(0,0,0,0.06); color: var(--text-muted); }
[data-theme="light"] .legal-company { color: var(--primary); }
[data-theme="light"] .policy-meta { color: var(--text-dim); }

/* Footer */
[data-theme="light"] .footer { border-top-color: var(--border); }
[data-theme="light"] .footer-brand p { color: #475569; }
[data-theme="light"] .footer-legal-info { color: #94a3b8; }
[data-theme="light"] .footer-col h5 { color: #0f172a; }
[data-theme="light"] .footer-col a { color: #64748b; }
[data-theme="light"] .footer-col a:hover { color: #0f172a; }
[data-theme="light"] .footer-regulatory { border-top-color: var(--border); }
[data-theme="light"] .footer-regulatory h5 { color: #0f172a; }
[data-theme="light"] .footer-reg-list li { color: #64748b; }
[data-theme="light"] .footer-reg-list li strong { color: #0f172a; }
[data-theme="light"] .footer-reg-note { color: #64748b; }
[data-theme="light"] .footer-bottom { border-top-color: var(--border); }
[data-theme="light"] .footer-bottom p { color: #64748b; }
[data-theme="light"] .footer-legal-links a { color: #64748b; }
[data-theme="light"] .footer-legal-links a:hover { color: #0f172a; }

/* CTA banners */
[data-theme="light"] .cta-banner { background: linear-gradient(135deg, rgba(0,153,204,0.06), rgba(124,58,237,0.06)); border-color: rgba(0,153,204,0.15); }
[data-theme="light"] .cta-banner h2 { color: #0f172a; }
[data-theme="light"] .cta-banner p { color: var(--text-muted); }
[data-theme="light"] .partner-banner { background: linear-gradient(135deg, rgba(0,153,204,0.05), rgba(124,58,237,0.05)); border-color: rgba(0,153,204,0.12); }
[data-theme="light"] .trading-partner-box p { color: var(--text-muted); }

/* Services mini metrics */
[data-theme="light"] [style*="background:rgba(0,212,255,0.08)"][style*="border:1px solid rgba(0,212,255,0.2)"],
[data-theme="light"] [style*="background:rgba(6,255,165,0.08)"][style*="border:1px solid rgba(6,255,165,0.2)"],
[data-theme="light"] [style*="background:rgba(124,58,237,0.08)"][style*="border:1px solid rgba(124,58,237,0.2)"] {
  background: rgba(0,0,0,0.03) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

/* About page */
[data-theme="light"] .about-text p { color: var(--text-muted); }
[data-theme="light"] .about-stat .lbl { color: var(--text-muted); }
[data-theme="light"] .sebi-compliance-foot-copy { color: var(--text-muted); }

/* Cookie consent */
[data-theme="light"] .cookie-consent {
  background: linear-gradient(180deg, rgba(248,250,252,0.95) 0%, rgba(248,250,252,0.99) 40%, #f8fafc 100%);
  border-top-color: rgba(0,153,204,0.25);
}
[data-theme="light"] .cookie-consent__title { color: #0f172a; }
[data-theme="light"] .cookie-consent__prefs { background: rgba(0,0,0,0.04); border-color: var(--border); }

/* WhatsApp float */
[data-theme="light"] .whatsapp-float-menu { background: var(--card); }
[data-theme="light"] .whatsapp-float-option { color: var(--text-muted); }
[data-theme="light"] .whatsapp-float-option strong { color: #0f172a; }
[data-theme="light"] .whatsapp-float-option span { color: var(--text-dim); }
[data-theme="light"] .whatsapp-float-option:hover { background: rgba(0,153,204,0.06); color: var(--text); }

/* Contact card labels */
[data-theme="light"] .ci-info strong { color: var(--text); }
[data-theme="light"] .office-more__body strong { color: var(--text); }

/* Hover link colors that were near-white */
[data-theme="light"] a.signup-link:hover { color: #005f8a; }
[data-theme="light"] .sebi-circular-links a:hover { color: #005f8a; }
[data-theme="light"] .trading-partner-links a:hover { color: #005f8a; border-color: rgba(0,153,204,0.45); }
[data-theme="light"] .card-link:hover { color: #007aaa; }
[data-theme="light"] .nav-links > a:hover { color: var(--text) !important; }

/* Links inside article/content areas */
[data-theme="light"] .sebi-acc-panel a { color: var(--primary); }
[data-theme="light"] .reg-insight-article a { color: var(--primary); }

/* General section/card text that uses inline var styles - already fine via CSS vars */
/* Extra readability passes */
[data-theme="light"] .sebi-item { background: var(--card); border-color: var(--border); }
[data-theme="light"] .sebi-item:hover { border-color: rgba(0,153,204,0.3); color: var(--text); }
[data-theme="light"] .sebi-info p { color: var(--text-muted); }
[data-theme="light"] .sebi-info-note { color: var(--text-dim); }
[data-theme="light"] .price-features li { color: var(--text-muted); }
[data-theme="light"] .price-desc { color: var(--text-muted); }
[data-theme="light"] .price-label { color: var(--text-muted); }
[data-theme="light"] .integration-card p { color: var(--text-dim); }
[data-theme="light"] .api-card p { color: var(--text-muted); }
[data-theme="light"] .value-card p { color: var(--text-muted); }
[data-theme="light"] .process-step p { color: var(--text-dim); }
[data-theme="light"] .hero-sub { color: var(--text-muted); }
[data-theme="light"] .page-hero p { color: var(--text-muted); }
[data-theme="light"] .section-header p { color: var(--text-muted); }
[data-theme="light"] .breadcrumb span { color: var(--text-dim); }
[data-theme="light"] .feature-item div span { color: var(--text-muted); }
[data-theme="light"] .tool-text span { color: var(--text-dim); }
[data-theme="light"] .contact-wa-hint { color: var(--text-dim); }
[data-theme="light"] .contact-wa-link { color: var(--text-muted); }
[data-theme="light"] .contact-wa-link:hover { color: var(--primary); }
[data-theme="light"] .ci-info span,
[data-theme="light"] .ci-info a { color: var(--text-muted); }
[data-theme="light"] .support-hours p { color: var(--text-muted); }
[data-theme="light"] .form-group label { color: var(--text-muted); }
[data-theme="light"] .reg-insight-article p { color: var(--text-muted); }
[data-theme="light"] .reg-insight-article li { color: var(--text-muted); }
[data-theme="light"] .reg-insight-article ul { color: var(--text-muted); }
[data-theme="light"] .reg-insight-disclaimer p { color: var(--text-muted); }
[data-theme="light"] .sebi-acc-panel p { color: var(--text-muted); }
[data-theme="light"] .table-scroll--pricing::after { color: var(--text-dim); }
[data-theme="light"] .code-file { color: #6e7681; }

/* Inline style overrides — color:#fff (no space) */
[data-theme="light"] h1[style*="color:#fff"],
[data-theme="light"] h2[style*="color:#fff"],
[data-theme="light"] h3[style*="color:#fff"],
[data-theme="light"] h4[style*="color:#fff"],
[data-theme="light"] h5[style*="color:#fff"],
[data-theme="light"] p[style*="color:#fff"],
[data-theme="light"] strong[style*="color:#fff"],
[data-theme="light"] div[style*="color:#fff"],
[data-theme="light"] span[style*="color:#fff"] {
  color: #0f172a !important;
}

/* Inline style overrides — color: #fff (with space) */
[data-theme="light"] h1[style*="color: #fff"],
[data-theme="light"] h2[style*="color: #fff"],
[data-theme="light"] h3[style*="color: #fff"],
[data-theme="light"] h4[style*="color: #fff"],
[data-theme="light"] h5[style*="color: #fff"],
[data-theme="light"] p[style*="color: #fff"],
[data-theme="light"] strong[style*="color: #fff"],
[data-theme="light"] div[style*="color: #fff"],
[data-theme="light"] span[style*="color: #fff"] {
  color: #0f172a !important;
}

/* color:#e2e8f0 — near-white, invisible on light background */
[data-theme="light"] *[style*="color:#e2e8f0"],
[data-theme="light"] *[style*="color: #e2e8f0"] { color: #1e293b !important; }

/* Dark semi-transparent boxes — turn them light */
[data-theme="light"] [style*="background:rgba(0,0,0,0.25)"],
[data-theme="light"] [style*="background: rgba(0,0,0,0.25)"],
[data-theme="light"] [style*="background:rgba(0,0,0,0.28)"],
[data-theme="light"] [style*="background: rgba(0,0,0,0.28)"],
[data-theme="light"] [style*="background:rgba(0,0,0,0.35)"],
[data-theme="light"] [style*="background: rgba(0,0,0,0.35)"] {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

/* ── Currency Switcher ─────────────────────────────────────────────── */
.currency-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 5px;
  width: fit-content;
}
.currency-switcher > span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0 14px 0 12px;
  white-space: nowrap;
}
.currency-btn {
  padding: 10px 32px;
  border-radius: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.currency-btn--active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,212,255,0.3);
}
.currency-btn:hover:not(.currency-btn--active) {
  color: var(--primary);
}
.currency-rate-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -16px 0 22px;
  font-style: italic;
  min-height: 1.4em;
}
[data-theme="light"] .currency-switcher {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
[data-theme="light"] .currency-btn--active {
  box-shadow: 0 2px 10px rgba(0,153,204,0.25);
}

/* ── Light mode: compare table ─────────────────────────────────────── */
[data-theme="light"] .compare-table th {
  background: #0077aa;
  color: #fff;
  border-color: #0077aa;
}
[data-theme="light"] .compare-table td {
  border-color: #e2e8f0;
  color: #475569;
}
[data-theme="light"] .compare-table td:first-child {
  color: #0f172a;
  font-weight: 600;
}
[data-theme="light"] .compare-table tr:nth-child(even) td {
  background: rgba(0,0,0,0.025);
}
[data-theme="light"] .compare-table--plans tbody td:first-child {
  background: #f8fafc;
}
[data-theme="light"] .compare-table--plans tbody tr:nth-child(even) td:first-child {
  background: #f1f5f9;
}
[data-theme="light"] .compare-table--plans thead th:first-child {
  background: #005f8a;
}
[data-theme="light"] .col-quarterly {
  background: #009fd4 !important;
  border-top-color: #fff !important;
}
[data-theme="light"] .compare-table--plans tbody .col-quarterly {
  background: rgba(0,153,204,0.06) !important;
}
[data-theme="light"] .compare-table--plans tr:nth-child(even) td.col-quarterly {
  background: rgba(0,153,204,0.09) !important;
}
[data-theme="light"] .compare-table--plans th:first-child,
[data-theme="light"] .compare-table--plans td:first-child {
  box-shadow: 6px 0 14px rgba(0,0,0,0.08);
}
[data-theme="light"] .compare-table th .plan-price {
  color: #fff;
}
[data-theme="light"] .compare-table th .plan-name {
  color: #fff;
  opacity: 0.9;
}
[data-theme="light"] .table-scroll--pricing::-webkit-scrollbar-track {
  background: #e2e8f0;
}
[data-theme="light"] .table-scroll--pricing::-webkit-scrollbar-thumb {
  background: rgba(0,153,204,0.4);
}

/* ── WhatsApp Confirm Modal ─────────────────────────────────────────── */
.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: waFadeIn 0.2s ease;
}
@keyframes waFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.wa-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: waSlideUp 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes waSlideUp {
  from { transform: translateY(28px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.wa-modal__icon { margin-bottom: 14px; line-height: 1; }
.wa-modal__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.wa-modal__text {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}
.wa-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.wa-modal__cancel {
  padding: 10px 22px;
  font-size: 0.88rem;
}
.wa-modal__confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.wa-modal__confirm:hover {
  background: #1db954;
  transform: translateY(-1px);
}
[data-theme="light"] .wa-modal {
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.lead-popup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: waSlideUp 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.lead-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.lead-popup__close:hover { color: var(--text); background: var(--bg3); }
.lead-popup__head { margin-bottom: 20px; }
.lead-popup__head h3 { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.lead-popup__head p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
[data-theme="light"] .lead-popup { background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }

/* ============================================================
   Regulatory disclosure ribbon (top of every page)
   ============================================================ */
.reg-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--card);
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.reg-ribbon__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.reg-ribbon__label {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.reg-ribbon__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  flex: 1 1 auto;
}
.reg-ribbon__links a {
  position: relative;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.reg-ribbon__links a:hover { text-decoration: underline; }
.reg-ribbon__links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.9em;
  background: var(--border);
}
.reg-ribbon__close {
  flex: 0 0 auto;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.15s;
}
.reg-ribbon__close:hover { color: var(--text); }
@media (max-width: 640px) {
  .reg-ribbon { font-size: 0.78rem; }
  .reg-ribbon__links { gap: 0.35rem 1rem; }
  .reg-ribbon__links a:not(:last-child)::after { display: none; }
}

/* ============================================================
   In-site PDF viewer modal
   ============================================================ */
body.qa-modal-open { overflow: hidden; }
.qa-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5vh 2.5vw;
}
.qa-pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}
.qa-pdf-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  height: 95vh;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.qa-pdf-modal__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.qa-pdf-modal__title {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qa-pdf-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.qa-pdf-modal__ext {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.qa-pdf-modal__ext:hover { text-decoration: underline; }
.qa-pdf-modal__close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.15s;
}
.qa-pdf-modal__close:hover { color: var(--text); }
.qa-pdf-modal__frame {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #fff;
}
@media (max-width: 640px) {
  .qa-pdf-modal { padding: 0; }
  .qa-pdf-modal__dialog { height: 100vh; max-width: none; border-radius: 0; }
}
