:root {
  --bg: #f7fbff;
  --bg-soft: #edf4fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(16, 38, 72, 0.12);
  --text: #061426;
  --muted: #5f6f84;
  --faint: #8493a8;
  --blue: #123f48;
  --cyan: #ba52df;
  --purple: #8d5cf4;
  --green: #13b981;
  --red: #ff5a7a;
  --shadow: 0 24px 70px rgba(18, 43, 74, 0.12);
  --radius: 8px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(186, 82, 223, 0.015), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(141, 92, 244, 0.01), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #fafcff 46%, #ffffff 100%);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.52;
}

img,
svg {
  max-width: 100%;
}

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

.container {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row > * {
  padding-inline: 12px;
}

.align-items-center {
  align-items: center;
}

.position-relative {
  position: relative;
}

.gy-5 {
  row-gap: 3rem;
}

@media (min-width: 992px) {
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 63, 72, 0.1);
  box-shadow: 0 1px 3px rgba(18, 43, 74, 0.08);
}

.header-bar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(186, 82, 223, 0.15);
  box-shadow: 0 2px 8px rgba(18, 43, 74, 0.1);
}

.site-header.scrolled .header-bar {
  background: transparent;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  width: 130px;
  flex: 0 0 auto;
}

.banner-img{width: 850px;
    position: absolute;
    top: 40px;
    box-shadow: 0px 0px 16px 6px #aa58e478;
    border-radius: 10px;}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header-actions {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header,
.btn-primary-glow,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.btn-header {
  min-height: 42px;
  padding: 0 20px;
}

.btn-login {
  color: var(--text);
  background: rgba(18, 63, 72, 0.07);
}

.btn-register,
.btn-primary-glow {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #a05ce8 54%, var(--purple));
  box-shadow: 0 16px 40px rgba(141, 92, 244, 0.24);
}

.btn-soft {
  min-height: 48px;
  padding: 0 20px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.btn-primary-glow {
  min-height: 48px;
  padding: 0 20px;
}

.btn-header:hover,
.btn-primary-glow:hover,
.btn-soft:hover,
.solution-card:hover,
.price-card:hover,
.feature-card:hover,
.event-card:hover,
.bento-card:hover {
  transform: translateY(-6px);
}

.section-shell {
  position: relative;
  padding: 76px 0;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
}

.hero-bg,
.grid-overlay,
.hero-lines,
.particles,
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  overflow: hidden;
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(18, 63, 72, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 72, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 86%);
}

.glow {
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.05;
}

.glow-blue {
  top: 6%;
  right: 7%;
  background: var(--blue);
}

.glow-purple {
  left: -10rem;
  bottom: 4rem;
  background: var(--purple);
}

.hero-lines path {
  fill: none;
  stroke: rgba(18, 63, 72, 0.2);
  stroke-width: 2;
  stroke-dasharray: 9 14;
  animation: dashMove 16s linear infinite;
}

.hero-lines path:nth-child(2) {
  stroke: rgba(54, 245, 199, 0.18);
  animation-duration: 20s;
}

@keyframes dashMove {
  to { stroke-dashoffset: -260; }
}

.particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(186, 82, 223, 0.5);
  box-shadow: 0 0 16px rgba(141, 92, 244, 0.34);
  animation: floatParticle 12s linear infinite;
}

.particles span:nth-child(1) { left: 12%; top: 72%; animation-delay: -2s; }
.particles span:nth-child(2) { left: 28%; top: 28%; animation-delay: -8s; }
.particles span:nth-child(3) { left: 46%; top: 62%; animation-delay: -4s; }
.particles span:nth-child(4) { left: 68%; top: 24%; animation-delay: -9s; }
.particles span:nth-child(5) { left: 82%; top: 64%; animation-delay: -5s; }
.particles span:nth-child(6) { left: 92%; top: 38%; animation-delay: -11s; }

@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.25; }
  45% { transform: translate3d(28px, -54px, 0); opacity: 0.9; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #8d5cf4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(186, 82, 223, 0.18), rgba(141, 92, 244, 0.15));
  border: 1.5px solid rgba(186, 82, 223, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(186, 82, 223, 0.2);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ba52df, #8d5cf4);
  box-shadow: 0 0 12px rgba(186, 82, 223, 0.7), 0 0 4px rgba(141, 92, 244, 0.9);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.hero-copy h1,
.section-heading h2,
.suite-section h2,
.platform-proof-section h2,
.integrations-section h2,
.cta-banner h2 {
  margin: 18px 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(2.85rem, 5.8vw, 4.8rem);
  color: #000000;
  line-height: 1.08;
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.suite-section p,
.platform-proof-section p,
.integrations-section p,
.cta-banner p {
  color: #4a5568;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 36px;
  color: #000000;
  font-weight: 450;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.hero-buttons .btn-primary-glow {
  min-height: 54px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(141, 92, 244, 0.35), 0 4px 12px rgba(186, 82, 223, 0.2);
}

.hero-buttons .btn-primary-glow:hover {
  box-shadow: 0 12px 32px rgba(141, 92, 244, 0.45), 0 6px 16px rgba(186, 82, 223, 0.3);
  transform: translateY(-3px);
}

.hero-buttons .btn-soft {
  min-height: 54px;
  padding: 0 32px;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
}

.hero-buttons .btn-soft i {
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  perspective: 1400px;
}

.dashboard-mockup {
  position: relative;
  margin: 0 auto;
  max-width: 640px;
  padding: 15px;
  border: 1px solid rgba(16, 38, 72, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 254, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(186, 82, 223, 0.08), transparent 18rem);
  box-shadow: 0 12px 30px rgba(18, 43, 74, 0.04), 0 0 20px rgba(141, 92, 244, 0.02);
  transform: perspective(1200px) rotateY(-8deg) rotateX(6deg);
  transform-style: preserve-3d;
}

.mockup-topbar,
.chart-head,
.large-dashboard-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mockup-topbar {
  padding: 6px 2px 16px;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 38, 72, 0.2);
}

.mockup-topbar p {
  margin: 0 auto 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.positive,
.mockup-topbar strong {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 14px;
}

.chart-panel {
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(16, 38, 72, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.main-chart {
  grid-row: span 2;
}

.chart-head {
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.candles {
  width: 100%;
  overflow: visible;
}

.chart-grid-svg path {
  stroke: rgba(16, 38, 72, 0.08);
}

.trend-line {
  fill: none;
  stroke: url(#lineGlow);
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(54, 245, 199, 0.55));
  stroke-dasharray: 680;
  animation: drawLine 4s ease-in-out infinite alternate;
}

@keyframes drawLine {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}

.candle-group line {
  stroke: rgba(16, 38, 72, 0.38);
  stroke-width: 3;
}

.candle-group .green { fill: var(--green); }
.candle-group .red { fill: var(--red); }

.order-card span,
.asset-card span {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
}

.order-card strong,
.asset-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 1.32rem;
}

.depth-bars {
  display: grid;
  gap: 10px;
}

.depth-bars i {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.ring-chart {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 66%, rgba(255, 155, 47, 0.12) 66% 100%);
  position: relative;
}

.ring-chart::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: inherit;
  background: #f7fbff;
}

.float-widget,
.solution-card,
.price-card,
.feature-card,
.integration-panel,
.large-dashboard,
.bento-card,
.event-card,
.cta-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.78));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.float-widget {
  position: absolute;
  z-index: 2;
  min-width: 154px;
  padding: 12px 14px;
  animation: floatCard 5s ease-in-out infinite;
}

.float-widget span,
.float-widget em {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
  font-style: normal;
}

.float-widget strong {
  display: block;
  font-size: 1.12rem;
}

.widget-one { top: 62px; left: -10px; }
.widget-two { right: -6px; bottom: 132px; animation-delay: -1.8s; }

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

.solution-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.solution-tabs button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms ease;
}

.solution-tabs button.active,
.solution-tabs button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 4px 12px rgba(141, 92, 244, 0.3);
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.suite-section h2,
.platform-proof-section h2,
.integrations-section h2,
.cta-banner h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.05rem);
}

.solution-grid,
.pricing-grid,
.power-grid,
.event-grid,
.mini-feature-grid,
.stats-grid-ref {
  display: grid;
  gap: 14px;
}

.solution-grid {
  grid-template-columns: repeat(4, 1fr);
}

.solution-card {
  min-height: 240px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.solution-card i,
.feature-card i,
.bento-card i {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(186, 82, 223, 0.11);
  font-size: 1.45rem;
}

.solution-card h3,
.price-card h3,
.feature-card h3,
.bento-card h3,
.event-card h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 600;
}

.solution-card p,
.price-card p,
.feature-card p,
.bento-card p,
.event-card p,
.site-footer p {
  color: var(--muted);
}

.solution-card a,
.event-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgba(186, 82, 223, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--cyan);
  font-weight: 500;
  transition: all 0.3s ease;
}

.solution-card a:hover,
.event-card a:hover {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(186, 82, 223, 0.3);
}

.btn-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 0 24px;
  border: 2px solid rgba(16, 38, 72, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-price:hover {
  border-color: rgba(141, 92, 244, 0.4);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 43, 74, 0.1);
}

.btn-price-featured {
  border: 0;
  background: linear-gradient(135deg, #ba52df 0%, #a05ce8 50%, #8d5cf4 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(141, 92, 244, 0.35);
}

.btn-price-featured:hover {
  background: linear-gradient(135deg, #ba52df 0%, #a05ce8 40%, #8d5cf4 100%);
  box-shadow: 0 8px 24px rgba(141, 92, 244, 0.45);
  transform: translateY(-3px);
}

.stats-section {
  padding: 28px 0;
}

.stats-grid-ref {
  grid-template-columns: repeat(4, 1fr);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.stats-grid-ref div {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(186, 82, 223, 0.08);
}

.stats-grid-ref span,
.price-card small,
.event-date span {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-grid-ref strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1;
}

.billing-toggle {
  width: fit-content;
  margin: -14px auto 24px;
  padding: 6px;
  display: flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.billing-toggle span {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
}

.billing-toggle .active {
  color: #fff;
  background: var(--blue);
}

.billing-toggle b {
  color: var(--green);
}

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

.price-card {
  position: relative;
  min-height: 470px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(54, 245, 199, 0.42);
  box-shadow: 0 24px 90px rgba(54, 245, 199, 0.11);
}

.price-card strong {
  display: block;
  margin: 14px 0;
  font-size: 2rem;
  line-height: 1;
}

.price-card strong span {
  color: var(--faint);
  font-size: 0.95rem;
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 8px 0 22px;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  display: flex;
  gap: 10px;
}

.price-card li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  color: var(--green);
}

.suite-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(186, 82, 223, 0.14), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.82));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.suite-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(186, 82, 223, 0.28);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.hub-node {
  position: absolute;
  min-width: 88px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 38, 72, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.hub-node.center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1c6570);
}

.n1 { left: 12%; top: 18%; }
.n2 { right: 16%; top: 16%; }
.n3 { left: 15%; bottom: 20%; }
.n4 { right: 14%; bottom: 18%; }
.n5 { left: 42%; top: 8%; }
.n6 { left: 42%; bottom: 8%; }

.suite-heading {
  margin-top: 62px;
}

.power-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 195px;
  padding: 21px;
}

.integration-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  overflow: hidden;
}

.integration-cloud {
  min-height: 260px;
  position: relative;
}

.integration-cloud span {
  position: absolute;
  min-width: 82px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
  font-weight: 900;
  color: var(--muted);
  animation: floatCard 5.5s ease-in-out infinite;
}

.integration-cloud span:nth-child(1) { left: 4%; top: 8%; }
.integration-cloud span:nth-child(2) { left: 36%; top: 0; animation-delay: -1s; }
.integration-cloud span:nth-child(3) { right: 8%; top: 18%; animation-delay: -2s; }
.integration-cloud span:nth-child(4) { left: 16%; top: 42%; animation-delay: -3s; }
.integration-cloud span:nth-child(5) { right: 22%; top: 48%; animation-delay: -1.4s; }
.integration-cloud span:nth-child(6) { left: 0; bottom: 10%; animation-delay: -2.4s; }
.integration-cloud span:nth-child(7) { left: 44%; bottom: 0; animation-delay: -3.6s; }
.integration-cloud span:nth-child(8) { right: 2%; bottom: 18%; animation-delay: -0.5s; }

.large-dashboard {
  padding: 20px;
}

.large-dashboard-head {
  justify-content: space-between;
  margin-bottom: 22px;
}

.market-heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.market-heatmap span {
  min-height: 68px;
  border-radius: var(--radius);
  background: rgba(19, 185, 129, 0.14);
}

.market-heatmap span:nth-child(2n) { background: rgba(255, 90, 122, 0.12); }
.market-heatmap span:nth-child(3n) { grid-row: span 2; }
.market-heatmap span:nth-child(5n) { grid-column: span 2; }

.wave-chart {
  height: 130px;
  margin-top: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 45%, rgba(54, 245, 199, 0.8) 46%, rgba(54, 245, 199, 0.8) 50%, transparent 51%),
    linear-gradient(25deg, transparent 38%, rgba(70, 166, 255, 0.7) 39%, rgba(70, 166, 255, 0.7) 43%, transparent 44%),
    rgba(255, 155, 47, 0.06);
  background-size: 120px 80px, 170px 120px, auto;
  animation: chartPan 7s linear infinite;
}

@keyframes chartPan {
  to { background-position: 120px 0, -170px 0, 0 0; }
}

.mini-feature-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.mini-feature-grid div {
  min-height: 76px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(155px, auto);
  gap: 14px;
}

.bento-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.bento-card.large,
.bento-card.wide {
  grid-column: span 2;
}

.bento-card.tall {
  grid-row: span 2;
}

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

.event-card {
  min-height: 245px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 63, 72, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 72, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.22;
}

.event-card > * {
  position: relative;
  z-index: 2;
}

.event-date {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
}

.event-date b {
  font-size: 1.12rem;
  line-height: 1;
}

.event-date span {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 54px 24px;
  text-align: center;
}

.cta-banner > *:not(.cta-orbit) {
  position: relative;
  z-index: 2;
}

.cta-banner h2,
.cta-banner p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary-glow {
  margin-top: 18px;
}

.cta-orbit {
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 90deg, 
    transparent 0deg, 
    rgba(186, 82, 223, 0.12) 60deg,
    rgba(141, 92, 244, 0.18) 120deg,
    transparent 180deg,
    rgba(18, 63, 72, 0.08) 240deg,
    transparent 300deg
  );
  animation: spin 20s linear infinite;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
}

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

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
}

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

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(186, 82, 223, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Smooth Scroll Reveal Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(141, 92, 244, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(141, 92, 244, 0.6);
  }
}

/* Apply animations to cards */
.solution-card,
.price-card,
.feature-card,
.bento-card,
.event-card {
  animation: fadeInUp 0.6s ease-out backwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }
.solution-card:nth-child(4) { animation-delay: 0.4s; }

.price-card:nth-child(1) { animation-delay: 0.1s; }
.price-card:nth-child(2) { animation-delay: 0.2s; }
.price-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:nth-child(odd) { animation: fadeInLeft 0.6s ease-out backwards; }
.feature-card:nth-child(even) { animation: fadeInRight 0.6s ease-out backwards; }

/* Hover effects with smooth transitions */
.solution-card:hover,
.price-card:hover,
.feature-card:hover,
.bento-card:hover,
.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(18, 43, 74, 0.15);
}

/* Button shimmer effect */
.btn-primary-glow {
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary-glow:hover::before {
  left: 100%;
}

/* Dashboard mockup floating animation */
.dashboard-mockup {
  animation: float 6s ease-in-out infinite;
}

/* Float widgets with different timing */
.float-widget:nth-child(1) {
  animation: float 4s ease-in-out infinite;
}

.float-widget:nth-child(2) {
  animation: float 5s ease-in-out infinite 1s;
}

/* Stats counter animation */
.stats-grid-ref div {
  animation: scaleIn 0.5s ease-out backwards;
}

.stats-grid-ref div:nth-child(1) { animation-delay: 0.1s; }
.stats-grid-ref div:nth-child(2) { animation-delay: 0.2s; }
.stats-grid-ref div:nth-child(3) { animation-delay: 0.3s; }
.stats-grid-ref div:nth-child(4) { animation-delay: 0.4s; }

/* Eyebrow badge entrance */
.eyebrow {
  animation: fadeInUp 0.6s ease-out backwards;
}

/* Hero buttons stagger animation */
.hero-buttons .btn-primary-glow {
  animation: fadeInUp 0.6s ease-out backwards 0.3s;
}

.hero-buttons .btn-soft {
  animation: fadeInUp 0.6s ease-out backwards 0.4s;
}

/* Section headings */
.section-heading {
  animation: fadeInUp 0.6s ease-out backwards;
}

/* Smooth page transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon pulse on hover */
.solution-card i,
.feature-card i,
.bento-card i {
  transition: transform 0.3s ease;
}

.solution-card:hover i,
.feature-card:hover i,
.bento-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Pricing card featured glow */
.price-card.featured {
  animation: glow 3s ease-in-out infinite;
}

/* Tab smooth transition */
.solution-tabs button {
  position: relative;
  overflow: hidden;
}

.solution-tabs button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ba52df, #8d5cf4);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.solution-tabs button:hover::after {
  width: 80%;
}

.solution-tabs button.active::after {
  width: 100%;
}

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

/* Link hover effects */
a {
  transition: all 0.3s ease;
}

/* Image lazy load fade in */
img {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Enhanced Trading Platform Visual */
.trading-interface {
  margin: 20px 0;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 254, 0.9));
  border: 1px solid rgba(16, 38, 72, 0.08);
  box-shadow: 0 8px 24px rgba(18, 43, 74, 0.06);
}

.trading-chart {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(248, 250, 254, 0.5), rgba(255, 255, 255, 0.8));
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.chart-visual {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChart 2s ease-out forwards;
}

@keyframes drawChart {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-area {
  opacity: 0;
  animation: fadeInChart 1.5s ease-out 0.5s forwards;
}

@keyframes fadeInChart {
  to {
    opacity: 1;
  }
}

.trading-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 38, 72, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 43, 74, 0.08);
  border-color: rgba(255, 111, 36, 0.2);
}

.stat-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.stat-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-item strong small {
  font-size: 0.75rem;
  font-weight: 600;
}

.large-dashboard-head strong::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

/* Market heatmap enhancement */
.market-heatmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.market-heatmap span {
  min-height: 68px;
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.market-heatmap span:nth-child(1) { animation-delay: 0.1s; }
.market-heatmap span:nth-child(2) { animation-delay: 0.2s; }
.market-heatmap span:nth-child(3) { animation-delay: 0.3s; }
.market-heatmap span:nth-child(4) { animation-delay: 0.4s; }
.market-heatmap span:nth-child(5) { animation-delay: 0.5s; }
.market-heatmap span:nth-child(6) { animation-delay: 0.6s; }
.market-heatmap span:nth-child(7) { animation-delay: 0.7s; }
.market-heatmap span:nth-child(8) { animation-delay: 0.8s; }

.market-heatmap span:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(18, 43, 74, 0.1);
}

.market-heatmap span:nth-child(3n) { grid-row: span 2; }
.market-heatmap span:nth-child(5n) { grid-column: span 2; }

/* Large dashboard improvements */
.large-dashboard {
  padding: 24px;
  border: 1px solid rgba(16, 38, 72, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.95));
  box-shadow: 0 12px 32px rgba(18, 43, 74, 0.08);
  transition: all 0.4s ease;
}

.large-dashboard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(18, 43, 74, 0.12);
}

.large-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(16, 38, 72, 0.08);
}

.large-dashboard-head span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.large-dashboard-head strong {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

/* Save badge styling */
.save-badge {
  display: block;
  margin-top: 12px;
  margin-left: 0;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
}

/* Billing toggle cursor */
.billing-toggle span {
  cursor: pointer;
  user-select: none;
}


/* Legal Content Pages */
.legal-content {
  padding: 10px 0 60px;
  min-height: 100vh;
}

.legal-content .container {
  max-width: 900px;
}

.legal-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.legal-content .last-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  display: block;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.legal-content p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}

.legal-content li {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.legal-content strong {
  font-weight: 600;
  color: var(--text);
}

.legal-content a {
  color: var(--cyan);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: var(--purple);
}

.legal-content .section {
  margin-bottom: 2.5rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.legal-back-link:hover {
  color: var(--cyan);
}

.legal-back-link i {
  font-size: 1.1rem;
}
