@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #02070b;
  --bg-soft: #061019;
  --panel: rgba(7, 18, 27, 0.72);
  --panel-strong: rgba(7, 20, 30, 0.92);
  --line: rgba(98, 219, 255, 0.15);
  --line-strong: rgba(69, 225, 255, 0.38);
  --cyan: #20e8ff;
  --cyan-soft: #58dfff;
  --blue: #367bff;
  --text: #f2fbff;
  --muted: #8ea5b2;
  --muted-strong: #b5c9d3;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(26, 134, 181, 0.19), transparent 42%),
    linear-gradient(180deg, #02070b 0%, #030b11 52%, #02070b 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.market-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.26;
  z-index: -5;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 185, 223, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 185, 223, 0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.ambient {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.12;
  z-index: -3;
}
.ambient-one { background: var(--cyan); top: 15%; left: -250px; }
.ambient-two { background: var(--blue); right: -260px; top: 42%; }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--shell);
  z-index: 20;
  min-height: 68px;
  padding: 10px 14px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(83, 206, 243, 0.16);
  border-radius: 20px;
  background: rgba(2, 9, 14, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand img {
  width: 47px;
  height: 43px;
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(32, 232, 255, 0.13);
}
.brand span { display: grid; gap: 2px; }
.brand strong {
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.brand small { color: var(--muted); font-size: 9px; letter-spacing: 0.22em; }

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 180ms ease;
}
.header-link:hover { border-color: var(--line-strong); color: white; background: rgba(32, 232, 255, 0.06); }
.header-link span { color: var(--cyan); }

.hero {
  min-height: 900px;
  padding: 150px 0 92px;
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: center;
}

.hero-logo {
  position: relative;
  width: 176px;
  margin-bottom: 34px;
}
.hero-logo img {
  position: relative;
  width: 176px;
  border-radius: 35px;
  border: 1px solid rgba(91, 222, 255, 0.17);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(32, 232, 255, 0.11);
}
.logo-glow {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(52px);
  opacity: 0.26;
}

.eyebrow {
  margin: 0 0 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #76dff4;
  font-family: "Exo 2", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.eyebrow span { width: 25px; height: 1px; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 em {
  display: block;
  margin-top: 6px;
  color: transparent;
  background: linear-gradient(90deg, #31e4ff, #7bcfff 48%, #5d8fff);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.hero-lead {
  max-width: 750px;
  margin: 27px auto 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.primary-scroll {
  margin-top: 32px;
  min-width: 216px;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22dff4, #2578ff);
  color: #001019;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 15px 40px rgba(35, 184, 239, 0.22);
  transition: 180ms ease;
}
.primary-scroll:hover { transform: translateY(-2px); box-shadow: 0 20px 55px rgba(35, 184, 239, 0.3); }
.primary-scroll span { font-size: 16px; }

.hero-stats {
  width: min(880px, 100%);
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(5, 16, 24, 0.47);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stats article { padding: 20px 24px; display: grid; gap: 6px; }
.hero-stats article + article { border-left: 1px solid var(--line); }
.hero-stats b { color: #dffbff; font-family: "Exo 2", sans-serif; font-size: 13px; letter-spacing: 0.11em; }
.hero-stats span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.products { padding: 110px 0 80px; }
.section-heading { max-width: 750px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  position: relative;
  min-height: 610px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(12, 31, 44, 0.82), rgba(4, 12, 19, 0.88)),
    radial-gradient(circle at 80% 10%, rgba(38, 204, 255, 0.12), transparent 35%);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.product-card::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  right: -130px;
  top: -130px;
  background: var(--cyan);
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.04), transparent 65%);
  transform: translateX(-120%);
  transition: transform 650ms ease;
  pointer-events: none;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(56, 223, 255, 0.42); box-shadow: 0 38px 90px rgba(0, 0, 0, 0.55), 0 0 55px rgba(31, 187, 246, 0.08); }
.product-card:hover::after { transform: translateX(120%); }
.tradebridge-card::before { background: #4c70ff; opacity: 0.12; }

.card-topline { display: flex; align-items: center; justify-content: space-between; }
.product-number { color: #68818f; font-family: "Exo 2", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.15em; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: #9eb7c3; font-family: "Exo 2", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.13em; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.tradebridge-card .status-dot i { background: #7b8cff; box-shadow: 0 0 13px #6377ff; }

.product-symbol {
  width: 124px;
  height: 124px;
  margin: 61px 0 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(63, 222, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 56, 71, 0.68), rgba(3, 12, 19, 0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 45px rgba(0,0,0,0.25);
}
.product-symbol span {
  color: transparent;
  background: linear-gradient(145deg, #75f1ff, #19b8dc 52%, #397dff);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Exo 2", sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.tradebridge-card .product-symbol { border-color: rgba(113, 132, 255, 0.22); }
.tradebridge-card .product-symbol span { background-image: linear-gradient(145deg, #75ebff, #438ee9 48%, #7180ff); }

.product-copy { flex: 1; }
.product-kicker { margin: 0 0 8px; color: #74dff3; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; }
.product-copy h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1;
}
.product-copy h3 span { color: var(--cyan-soft); }
.tradebridge-card .product-copy h3 span { color: #7fa2ff; }
.product-copy > p:last-child { margin: 19px 0 0; color: var(--muted-strong); line-height: 1.75; font-size: 15px; }

.feature-row { margin: 34px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-row span {
  padding: 8px 10px;
  border: 1px solid rgba(103, 206, 236, 0.12);
  border-radius: 9px;
  background: rgba(10, 26, 36, 0.55);
  color: #94aeba;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card-button {
  min-height: 57px;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(61, 219, 255, 0.22);
  border-radius: 15px;
  background: rgba(17, 54, 68, 0.38);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}
.card-button b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #3ce7f4, #2a82ff);
  color: #001018;
  font-size: 19px;
}
.product-card:hover .card-button { background: rgba(29, 83, 99, 0.48); border-color: rgba(67, 226, 255, 0.42); }
.tradebridge-card .card-button b { background: linear-gradient(135deg, #42dced, #6676ff); }

.flow-section { padding: 28px 0 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.flow-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(5, 16, 24, 0.54);
  backdrop-filter: blur(12px);
}
.flow-label { margin-bottom: 14px; color: #6cdff5; font-family: "Exo 2", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }
.flow-path { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-path span { color: #b5c9d2; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.flow-path i { color: var(--cyan); font-style: normal; }

.site-footer {
  min-height: 110px;
  padding: 22px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; border-radius: 11px; }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand b { font-family: "Exo 2", sans-serif; font-size: 12px; letter-spacing: 0.12em; }
.footer-brand span { color: var(--muted); font-size: 9px; letter-spacing: 0.08em; }
.site-footer > p { color: #6f8793; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 750ms ease, transform 750ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 180ms; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 760px); }
  .hero { min-height: auto; padding-top: 150px; }
  .product-grid, .flow-section { grid-template-columns: 1fr; }
  .product-card { min-height: 570px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats article + article { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 22px); }
  .site-header { top: 10px; min-height: 60px; border-radius: 16px; }
  .brand img { width: 40px; height: 37px; border-radius: 10px; }
  .brand strong { font-size: 11px; }
  .header-link { padding: 10px 11px; font-size: 0; }
  .header-link span { font-size: 16px; }
  .hero { padding: 130px 0 72px; }
  .hero-logo, .hero-logo img { width: 130px; }
  .hero-logo img { border-radius: 27px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-lead { font-size: 15px; line-height: 1.7; }
  .hero-stats { margin-top: 44px; }
  .products { padding-top: 75px; }
  .product-card { min-height: 545px; padding: 20px; border-radius: 22px; }
  .product-symbol { width: 104px; height: 104px; margin: 47px 0 35px; border-radius: 23px; }
  .product-symbol span { font-size: 38px; }
  .product-copy h3 { font-size: 42px; }
  .feature-row { margin-top: 27px; }
  .flow-path { flex-wrap: wrap; justify-content: flex-start; }
  .site-footer { align-items: flex-start; gap: 25px; flex-direction: column; }
}

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


/* TradeSync homepage video preview */
.product-video{position:relative;margin:22px 0 4px;border:1px solid rgba(76,220,255,.2);border-radius:20px;overflow:hidden;background:#02080d;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.product-video video{display:block;width:100%;height:178px;object-fit:cover;opacity:.78;filter:saturate(.9) contrast(1.06)}
.product-video:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(2,8,13,.9));pointer-events:none}
.product-video span{position:absolute;left:14px;bottom:12px;z-index:1;color:#dffbff;font:700 10px "Exo 2",sans-serif;letter-spacing:.16em}
@media(max-width:720px){.product-video video{height:150px}}


/* ===== Media, logo and heading repair ===== */
.product-symbol {
  margin: 58px 0 48px;
  overflow: hidden;
}
.product-symbol img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 21px;
  filter: drop-shadow(0 0 18px rgba(36, 218, 255, 0.2));
}
.product-copy h3 {
  display: block;
  max-width: 100%;
  padding: .08em 0 .14em;
  overflow: visible;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-size: clamp(36px, 4.5vw, 55px);
}
.product-copy h3 span {
  display: inline;
}
/* The TradeSync video belongs on the TradeSync product website only. */
.product-video { display: none !important; }
@media (max-width: 600px) {
  .product-copy h3 { font-size: clamp(34px, 12vw, 45px); letter-spacing: -0.02em; }
  .product-symbol { margin: 46px 0 38px; }
  .product-symbol img { width: 80px; height: 80px; border-radius: 18px; }
}
