:root {
  --pink: #fd468e;
  --violet: #4a5df5;
  --black: #000000;
  --white: #ffffff;
  --gray50: #f8f9fc;
  --gray100: #f1f3f9;
  --gray200: #e4e8f2;
  --gray400: #9ba3be;
  --gray600: #5a6380;
  --gray800: #1e2235;
  --grad: linear-gradient(135deg, var(--pink) 0%, var(--violet) 100%);
  --grad-r: linear-gradient(90deg, #FF00A6 9.62%, #0565FF 96.15%);
  --grad3: linear-gradient(90deg, #FF00A6 9.62%, #0565FF 96.15%);
}

.trading-engine-page,
.trading-engine-page *,
.trading-engine-page *::before,
.trading-engine-page *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.trading-engine-body {
  background: #fff;
  color: var(--gray800);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.trading-engine-page h1,
.trading-engine-page h2,
.trading-engine-page h3,
.trading-engine-page h4 {
  line-height: 1.1;
}

.trading-engine-page a {
  text-decoration: none;
  color: inherit;
}

.trading-engine-page img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* .sec {
  padding: 100px 0;
} */

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.up {
  opacity: 1;
  transform: none;
}

section h2 {}

/* ── BUTTONS ── */
.trading-engine-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.trading-engine-page .btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(253, 70, 142, 0.35);
}

.trading-engine-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(253, 70, 142, 0.45);
}

.trading-engine-page .btn-outline-dark {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.trading-engine-page .btn-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.trading-engine-page .btn-outline-light {
  background: transparent;
  color: var(--gray800);
  border: 1.5px solid var(--gray200);
}

.trading-engine-page .btn-outline-light:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.trading-engine-page .btn-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 93, 245, 0.3);
}

.trading-engine-page .btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74, 93, 245, 0.45);
}

.trading-engine-page .btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: 12px;
}

.trading-engine-page .btn-full {
  width: 100%;
  justify-content: center;
}

.trading-engine-page .btn-no-shrink {
  flex-shrink: 0;
}

.trading-engine-page .btn-mt-sm {
  margin-top: 12px;
}

.trading-engine-page .btn-mt-md {
  margin-top: 16px;
}

.trading-engine-page .te-heading-block {
  margin-bottom: 64px;

}

.perf-sec.ar3 {
  background: #ffff;

}

.perf-grid.line-ver {
  position: relative;
}

.perf-grid.line-ver::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 70%;
  background: #00000059;
  /* line color */
}

.trading-engine-page .te-heading-xl {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--gray800);
}

.trading-engine-page .te-heading-narrow {
  max-width: 560px;
}

.trading-engine-page .te-gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trading-engine-page .te-violet-text {
  color: var(--violet);
}

.trading-engine-page .te-pink-text {
  color: var(--pink);
}

.trading-engine-page .te-green-text {
  color: #10b981;
}

/* ══════════ HERO (BLACK) ══════════ */
.hero {
  background: #000;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 10% 60%, rgba(253, 70, 142, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at 90% 30%, rgba(74, 93, 245, 0.10) 0%, transparent 60%);
  ;
}

.reveal.h1 {
  background: none !important;
  color: #fff !important;
  /* padding: 0px !important; */
  text-align: left;

}

.reveal.h1::before {
  background: transparent !important;

}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(36px, 6vw, 50px);
  width: min(100%, 1300px);
  margin: 0 auto;
  padding: clamp(112px, 12vh, 150px) clamp(20px, 4vw, 40px) clamp(64px, 8vh, 96px);
}

.hero-left {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 610px;
}

.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #FC468D;
  /* background: rgba(253, 70, 142, 0.08); */
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 600;
  color: #FC468D;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #FC468D;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8)
  }
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  max-width: 610px;
}

.grad-text {
  background: linear-gradient(90deg, #FF00A6 9.62%, #0565FF 96.15%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.75;
}

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

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  max-width: 460px;
  overflow: hidden;
}

.hstat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hstat:last-child {
  border-right: none;
}

.hstat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.hstat-val .hi {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hstat-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ── HERO PRODUCT MOCKUP ── */
.hero-mockup {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.mockup-bar {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mockup-dots span:nth-child(1) {
  background: rgba(255, 255, 255, 0.15);
}

.mockup-dots span:nth-child(2) {
  background: rgba(255, 255, 255, 0.1);
}

.mockup-dots span:nth-child(3) {
  background: rgba(255, 255, 255, 0.07);
}

.mockup-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  margin-left: auto;
}

.mockup-body {
  padding: 20px;
}

/* Order book mock inside mockup */
.ob-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.ob-head-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.ob-entry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  align-items: center;
  transition: opacity 0.2s;
}

.ob-entry .bg-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0.07;
  border-radius: 2px;
}

.ob-depth-18 {
  width: 18%;
}

.ob-depth-25 {
  width: 25%;
}

.ob-depth-28 {
  width: 28%;
}

.ob-depth-40 {
  width: 40%;
}

.ob-depth-44 {
  width: 44%;
}

.ob-depth-52 {
  width: 52%;
}

.ob-depth-60 {
  width: 60%;
}

.ob-depth-70 {
  width: 70%;
}

.ob-ask {
  color: #ff6b87;
}

.ob-ask .bg-bar {
  background: #ff6b87;
}

.ob-bid {
  color: #4ade80;
}

.ob-bid .bg-bar {
  background: #4ade80;
}

.ob-spread-row {
  text-align: center;
  padding: 7px 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 4px 0;
}

.ob-entry span {
  position: relative;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.mm-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
}

.mm-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.mm-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.mm-val.pink {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-val.green {
  color: #4ade80;
}

.mm-val.blue {
  color: #79a9ff;
}

/* ══════════ LOGOS BAR (WHITE BG) ══════════ */
.logos-sec {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray200);
}

.logos-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray400);
  text-align: center;
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-client {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray400);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.logo-client:hover {
  opacity: 0.95;
}

/* ══════════ LIVE PRODUCT + CAPABILITIES ══════════ */
.te-live-product-section {
  background: #f7f8fc;
  padding: 86px 0 78px;
  border-bottom: 1px solid #edf0f7;
}

.te-capabilities-section {
  background: #fff;
  padding: 86px 0 96px;
}

.te-section-head {
  /* max-width: 760px; */
  margin: 0 auto 48px;
  text-align: center;
}

.te-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1;
  text-transform: uppercase;
  color: #5367ff;
}

.te-mini-label::before {
  content: '';
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: var(--grad);
}

.te-section-head h2 {
  /* max-width: 820px; */
  margin: 0 auto 18px;
  color: #131522;
  font-size: clamp(30px, 3.3vw, 45px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.te-section-head h2 span {
  background: var(--grad-r);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.te-section-head p {
  /* max-width: 560px; */
  margin: 0 auto;
  color: #7d8499;
  font-size: 16px;
  line-height: 1.8;
}

.te-terminal-preview {
  width: min(100%, 640px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #07101d;
  box-shadow: 0 22px 40px rgba(12, 19, 36, 0.28), 0 4px 8px rgba(12, 19, 36, 0.18);
}

.te-terminal-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #090f1b;
}

.te-window-dots {
  display: flex;
  gap: 6px;
}

.te-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.te-window-dots span:nth-child(1) {
  background: #ff5e73;
}

.te-window-dots span:nth-child(2) {
  background: #ffca59;
}

.te-window-dots span:nth-child(3) {
  background: #35d98b;
}

.te-terminal-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.te-terminal-tabs span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.te-terminal-tabs .active {
  padding: 6px 11px;
  border-radius: 5px;
  color: #9b7cff;
  background: rgba(122, 92, 255, 0.18);
}

.te-terminal-status {
  color: #37d48d;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.te-terminal-status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.te-terminal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.9fr);
  gap: 18px;
  padding: 24px;
}

.te-pair {
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.te-price-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.te-price-row span {
  display: block;
  color: #f8fbff;
  font-size: 22px;
  font-weight: 800;
  text-align: right;
}

.te-price-row strong {
  display: block;
  color: #27d987;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.te-chart {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 47px, 64px 100%;
}

.te-chart svg {
  width: 100%;
  height: 100%;
  min-height: 188px;
}

.te-chart-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-weight: 700;
}

.te-chart-footer span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #40d991;
}

.te-book-panel {
  padding-top: 6px;
}

.te-book-head,
.te-book-row {
  display: grid;
  grid-template-columns: 1fr 0.75fr 0.9fr;
  gap: 8px;
  align-items: center;
}

.te-book-head {
  padding-bottom: 9px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.te-book-row {
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.te-book-row.ask span:first-child {
  color: #ff5f7f;
}

.te-book-row.bid span:first-child {
  color: #24d285;
}

.te-book-mid {
  margin: 8px 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f6b84b;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.te-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  /* max-width: 880px; */
  margin: 0 auto;
}

.te-capability-card {
  min-height: 198px;
  padding: 28px 24px 26px;
  border: 1px solid #e8ebf2;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.te-capability-card.active,
.te-capability-card:hover {
  border-color: rgba(253, 70, 142, 0.36);
  box-shadow: 0 18px 36px rgba(74, 93, 245, 0.08), 0 0 0 1px rgba(253, 70, 142, 0.08);
  transform: translateY(-2px);
}

.te-capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-bottom: 24px;
  border-radius: 6px;
  background: rgba(190, 103, 255, 0.16);
  color: #FABCFF80;
}

.te-capability-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.te-capability-card h3 {
  margin-bottom: 12px;
  color: #151726;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.te-capability-card p {
  color: #747d93;
  font-size: 14px;
  line-height: 1.8;
}

/* ══════════ SECTION LABELS ══════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: #0054FF;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #FF00A6 0%, #0565FF 100%);
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}

/* ══════════ FEATURES ══════════ */
.features-sec {
  background: #fff;
}

.features-intro {
  max-width: 640px;
  margin-bottom: 64px;
}

.features-intro h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--gray800);
}

.features-intro p {
  font-size: 17px;
  color: var(--gray600);
  line-height: 1.75;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray200);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray200);
}

.feat-cell {
  background: #fff;
  padding: 44px 40px;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.feat-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(253, 70, 142, 0.03) 0%, rgba(74, 93, 245, 0.03) 100%);
  transition: opacity 0.3s;
}

.feat-cell:hover {
  background: var(--gray50);
}

.feat-cell:hover::after {
  opacity: 1;
}

.feat-cell.wide {
  grid-column: span 2;
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  background: var(--gray100);
  border: 1px solid var(--gray200);
}

.feat-cell h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray800);
}

.feat-cell p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray600);
}

.feat-cell.feature-wide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-wide-cta .feat-icon {
  margin-bottom: 20px;
}

.feature-wide-copy {
  max-width: 420px;
}

.feat-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* ══════════ PERFORMANCE ══════════ */
.perf-sec {
  background: var(--gray50);
  border-top: 1px solid var(--gray200);
  border-bottom: 1px solid var(--gray200);
}

.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.perf-visual {
  background: #fff;
  border: 1px solid var(--gray200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.04);
}

.lat-display {
  text-align: center;
  padding: 10px 0 24px;
}

.lat-num {
  font-size: 80px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.lat-unit {
  font-size: 13px;
  color: var(--gray400);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.lat-bars {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lat-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lat-bar-lbl {
  font-size: 11px;
  color: var(--gray400);
  font-weight: 600;
  width: 90px;
  text-align: right;
}

.lat-bar-track {
  flex: 1;
  height: 6px;
  background: var(--gray100);
  border-radius: 100px;
  overflow: hidden;
}

.lat-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lat-bar-fill.pink-fill {
  background: var(--grad);
}

.lat-bar-fill.gray1 {
  background: var(--gray400);
}

.lat-bar-fill.gray2 {
  background: var(--gray200);
}

.lat-width-18 {
  width: 18%;
}

.lat-width-52 {
  width: 52%;
}

.lat-width-100 {
  width: 100%;
}

.lat-bar-val {
  font-size: 11px;
  color: var(--gray800);
  font-weight: 700;
  width: 50px;
}

.perf-content {}

.perf-content h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--gray800);
}

.perf-content p {
  font-size: 16px;
  color: var(--gray600);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ══════════ API LAYER ══════════ */
.api-layer-section {
  background: #fff;
  padding: 104px 0;
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid #eef1f6;
}

.api-layer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  /* gap: clamp(54px, 7vw, 92px); */
  /* gap: 20px; */
  align-items: center;
  position: relative;
}

.api-layer-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% - 10px);
  width: 1px;
  height: 72%;
  background: #00000059;
  transform: translateY(-50%);
}

.api-code-panel {
  max-width: 540px;
  color: #858b99;
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.api-code-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
}

.api-code-row span {
  color: #9aa0ac;
  text-align: right;
  user-select: none;
}

.api-code-row code {
  color: #858b99;
  font: inherit;
  white-space: pre-wrap;
}

.api-code-spacer {
  margin-top: 24px;
}

.api-keyword {
  color: #a160e6;
  font-weight: 800;
}

.api-var {
  color: #4aa96c;
  font-weight: 800;
}

.api-blue {
  color: #2788ff;
  font-weight: 800;
}

.api-green {
  color: #54a85b;
  font-weight: 800;
}

.api-orange {
  color: #f47732;
  font-weight: 800;
}

.api-layer-content {
  max-width: 560px;
  padding-left: 10px;
}

.api-layer-content h2 {
  margin: 20px 0 34px;
  font-size: clamp(36px, 4vw, 45px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;

  background: linear-gradient(90deg, #FF00A6 9.62%, #0565FF 96.15%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.api-layer-content h2 span {
  color: #ff079b;
}

.api-layer-content p {
  color: #757d93;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  margin-bottom: 28px;
}

.api-protocol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.api-protocol-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 22px;
  border: 1px solid #dfe3ee;
  border-radius: 999px;
  background: #f8f9fd;
  color: #697188;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.api-protocol-tags span::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: #e347d6;
  box-shadow: 0 0 0 3px rgba(227, 71, 214, 0.1);
}

/* Metrics grid */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray200);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid var(--gray200);
}

.metric-cell {
  background: #fff;
  padding: 36px 28px;
  transition: background 0.2s;
}

.metric-cell:hover {
  background: var(--gray50);
}

.mc-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  line-height: 1;
}

.mc-label {
  font-size: 13px;
  color: var(--gray600);
  font-weight: 400;
  line-height: 1.4;
}

.mc-note {
  font-size: 11px;
  color: var(--gray400);
  margin-top: 6px;
}

/* ══════════ PRODUCTION NUMBERS ══════════ */
.te-production-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0 74px;
  background: #07050b;
}

.te-production-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 520px 220px at 50% 44%, rgba(122, 92, 255, 0.16) 0%, rgba(122, 92, 255, 0.04) 42%, transparent 72%),
    radial-gradient(ellipse 560px 260px at 50% 64%, rgba(253, 70, 142, 0.08) 0%, transparent 72%);
  pointer-events: none;
}

.te-production-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 52%, black 0%, transparent 78%);
  pointer-events: none;
}

.te-production-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.te-production-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #1e72ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  line-height: 1;
  text-transform: uppercase;
}

.te-production-label::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--grad);
}

.te-production-inner h2 {
  margin: 0 0 42px;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.te-production-inner h2 span {
  background: linear-gradient(110deg, #ff2bbd 0%, #3d66ff 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.te-production-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 890px;
  margin: 0 auto 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.te-production-stat {
  min-height: 86px;
  padding: 20px 24px 18px;
  text-align: left;
}

.te-production-stat+.te-production-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.te-production-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.te-production-stat strong.blue {
  color: #5b8dff;
}

.te-production-stat strong.violet {
  color: #9d75ff;
}

.te-production-stat strong.cyan {
  color: #3ba1ff;
}

.te-production-stat strong.green {
  color: #1fe09b;
}

.te-production-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.te-production-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 8px;
  background: linear-gradient(100deg, #ff4d96 0%, #686dff 100%);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(253, 70, 142, 0.52);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.te-production-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(253, 70, 142, 0.68);
}

.right-p {
  max-width: 800px;
  /* margin: 0 auto; */
  text-align: left;
  margin-top: 10px;
}

.te-production-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 34px;
}

.te-production-trust span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 16px;
  font-weight: 700;
}

.te-production-trust span::before {
  content: '✓';
  margin-right: 8px;
  color: #12c879;
  font-weight: 800;
}

/* ══════════ TECHNOLOGY STACK ══════════ */
.te-stack-section {
  padding: 78px 0 82px;
  background: #f6f7fb;
  border-bottom: 1px solid #eceff7;
}

.te-stack-head {
  max-width: 620px;
  margin-bottom: 74px;
}

.te-stack-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #315cff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.te-stack-label::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: var(--grad);
}

.te-stack-head h2 {
  margin-bottom: 26px;
  color: #121522;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.te-stack-head h2 span {
  color: #f022bd;
}

.te-stack-head p {
  max-width: 560px;
  color: #788096;
  font-size: 14px;
  line-height: 1.9;
}

.te-stack-list {
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.te-stack-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.te-stack-category {
  color: #9398a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.2px;
  line-height: 1.35;
  text-transform: uppercase;
}

.te-stack-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.te-stack-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 18px;
  border: 1px solid #dfe3ee;
  border-radius: 999px;
  background: #f9faff;
  color: #626b83;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.te-stack-tags span::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: #e347d6;
  box-shadow: 0 0 0 3px rgba(227, 71, 214, 0.12);
}

/* ══════════ USE CASES ══════════ */
.cases-sec {
  background: #fff;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.case-card {
  background: #fff;
  border: 1.5px solid var(--gray200);
  border-radius: 18px;
  padding: 36px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(253, 70, 142, 0.03) 0%, rgba(74, 93, 245, 0.03) 100%);
  transition: opacity 0.3s;
}

.case-card:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(74, 93, 245, 0.1);
}

.case-card:hover::before {
  opacity: 1;
}


.case-num {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.case-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray800);
}

.case-card p {
  font-size: 14px;
  color: var(--gray600);
  line-height: 1.7;
}

/* ══════════ SAAS PRICING ══════════ */
.pricing-sec {
  background: #fff;
  border-top: 1px solid #f2f3f7;
  border-bottom: 1px solid #f2f3f7;
}

.pricing-intro {
  text-align: center;
  margin: 0 auto 72px;
}

.pricing-intro .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}

.pricing-intro h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin-bottom: 32px;
  color: #111421;
}

.pricing-intro h2 span {
  background: linear-gradient(105deg, #f227bd 0%, #315cff 92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-intro p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 13px;
  color: #727b91;
  font-weight: 600;
  line-height: 1.75;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 595px;
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 10px;
  padding: 28px 28px 24px;
  position: relative;
  /* overflow: hidden; */
  isolation: isolate;
  transition: min-height 0.38s ease, transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.54);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.34s ease;
}

.pricing-card.popular::after {
  background: rgba(12, 15, 24, 0.54);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(20, 24, 40, 0.08);
}

/* .pricing-card:hover,
.pricing-card:focus-within {
  min-height: 690px;
} */
.pricing-card:hover .pro-badges {
  top: 0px;
}

.pricing-card:hover::after,
.pricing-card:focus-within::after {
  opacity: 1;
}

.pricing-card.popular {
  background: #171b27;
  border-color: #9c4cff;
  color: #fff;
  box-shadow: 0 16px 34px rgba(11, 13, 23, 0.34), 0 0 0 2px rgba(156, 76, 255, 0.7);
  position: relative;
}

.pro-badges {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(105deg, #ff4db4, #6b67ff);
  color: #fff;
  font-size: 12px;
  font-weight: 800;

}

.popular-badge {
  position: absolute;
  top: 22px;
  right: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.pro-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(105deg, #ff4db4, #6b67ff);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.pro-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ffe85d;
}

.pricing-tier {
  display: inline-flex;
  align-self: flex-start;
  min-height: 20px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0f2f6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9ca3b2;
  margin-bottom: 16px;
}

.currency-form {
  font-size: 20px;
  margin-right: 5px;
}

.currency-month {
  font-size: 20px;
  margin-left: 5px;
}

.pricing-card.popular .pricing-tier {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.28);
}

.pricing-card h3 {
  font-size: 25px;
  font-weight: 800;
  color: #111421;
  margin-bottom: 14px;
  line-height: 1.1;
}

.pricing-card.popular h3 {
  color: #fff;
}

.pricing-card .tagline {
  min-height: 58px;
  font-size: 12px;
  color: #6f778c;
  /* margin-bottom: 24px; */
  line-height: 1.55;
  font-weight: 600;
}

.pricing-card.popular .tagline {
  color: rgba(255, 255, 255, 0.46);
}

.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8ebf1;
}

.pricing-card.popular .pricing-price {
  border-bottom-color: rgba(255, 255, 255, 0.11);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 10px;
}

.price-from {
  color: #111421;
  font-size: 13px;
  font-weight: 800;
}

.pricing-card.popular .price-from {
  color: #fff;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: #111421;
  letter-spacing: 0;
  line-height: 1;
}

.price-amount .currency {
  font-size: 22px;
  vertical-align: top;
  margin-top: 2px;
  display: inline-block;
}

.price-month {
  color: #111421;
  font-size: 12px;
  font-weight: 800;
}

.pricing-card.popular .price-month {
  color: #fff;
}

.price-amount.grad {
  color: #fff;
  background: none;
  -webkit-text-fill-color: initial;
}

.custom-price {
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.12;
}

.price-period {
  font-size: 10px;
  color: #8d94a5;
  margin-top: 0;
  line-height: 1.45;
  font-weight: 600;
}

.pricing-note {
  font-size: 10px;
  color: #8d94a5;
  margin-top: 4px;
  line-height: 1.45;
  font-weight: 600;
}

.pricing-card.popular .price-period,
.pricing-card.popular .pricing-note {
  color: rgba(255, 255, 255, 0.32);
}

.feat-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12px;
  color: #5f687d;
  line-height: 1.45;
  font-weight: 700;
}

.pricing-card.popular .feat-list li {
  color: rgba(255, 255, 255, 0.62);
}

.feat-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-top: 1px;
  font-weight: 800;
}

.check-pink {
  background: rgba(34, 201, 119, 0.14);
  color: #20ca77;
}

.check-violet {
  background: rgba(34, 201, 119, 0.14);
  color: #20ca77;
}

.check-gray {
  background: rgba(34, 201, 119, 0.14);
  color: #20ca77;
}

.pricing-insight {
  margin-top: auto;
  background: #fbfcff;
  border: 1px solid transparent;
  border-radius: 8px;
  max-height: 0;
  padding: 0 16px;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: max-height 0.38s ease, padding 0.38s ease, margin-bottom 0.38s ease, opacity 0.28s ease, transform 0.38s ease, border-color 0.38s ease;
  pointer-events: none;
}

.pricing-card:hover .pricing-insight,
.pricing-card:focus-within .pricing-insight {
  max-height: 150px;
  padding: 16px;
  margin-bottom: 10px;
  border-color: #dfe4ee;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.best-for {
  margin-top: auto;
  background: #fbfcff;
  border: 1px solid transparent;
  border-radius: 8px;
  max-height: 0;
  padding: 0 16px;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: top 0.44s ease, max-height 0.38s ease, padding 0.38s ease, margin-bottom 0.38s ease, opacity 0.28s ease, transform 0.44s ease, border-color 0.38s ease;
  pointer-events: none;
  z-index: 2;
}

.best-for.pro {
  background: transparent !important;
  border-color: #dfe4ee78;
}

.best-for {
  position: absolute;
  top: calc(100% - 90px);
  left: 50%;
  width: calc(100% - 56px);
  max-height: 150px;
  padding: 16px;
  margin-bottom: 0;
  border-color: #0b0c142e;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.pricing-card:hover .best-for,
.pricing-card:focus-within .best-for {
  top: 50%;
  max-height: 180px;
  margin: 0;
  padding: 18px;
  opacity: 1;
  transform: translate(-50%, -58%);
  pointer-events: auto;
}

.best-for p {
  font-size: 11px;
  color: #5f687d;
  line-height: 1.5;
  font-weight: 700;
}

.pricing-card.popular .best-for p,
.pricing-card.popular .best-for strong {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-card.popular .pricing-insight {
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card.popular:hover .pricing-insight,
.pricing-card.popular:focus-within .pricing-insight {
  border-color: rgba(255, 255, 255, 0.17);
}

.pricing-insight p {
  font-size: 11px;
  color: #5f687d;
  line-height: 1.5;
  font-weight: 700;
}

.pricing-insight strong {
  color: #111421;
}

.pricing-card.popular .pricing-insight p,
.pricing-card.popular .pricing-insight strong {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card .btn {
  position: absolute;
  top: calc(50% + 70px);
  left: 50%;
  z-index: 2;
  width: calc(100% - 56px);
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: max-height 0.38s ease, min-height 0.38s ease, padding 0.38s ease, opacity 0.28s ease, transform 0.38s ease, color 0.22s, background 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.pricing-card:hover .btn,
.pricing-card:focus-within .btn {
  max-height: 44px;
  min-height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.pricing-card .btn {
  border-radius: 7px;
  padding: 0 18px;
  font-size: 12px;
  box-shadow: none;
}

.pricing-card .btn-outline-light {
  color: #4f586d;
  background: #fff;
  border-color: #dfe4ee;
}

.pricing-card.popular .btn-primary {
  background: linear-gradient(100deg, #ff4d95 0%, #555dff 100%);
}

@media (prefers-reduced-motion: reduce) {

  .pricing-card,
  .pricing-insight,
  .pricing-card::after,
  .best-for,
  .pricing-card .btn {
    transition: none;
  }
}

/* ══════════ PRODUCT OFFERING ══════════ */
.product-sec {
  background: #fff;
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  color: var(--gray800);
}

.product-content p {
  font-size: 16px;
  color: var(--gray600);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.product-note {
  font-size: 15px;
}

.price-range {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border-radius: 14px;
  padding: 16px 28px;
  margin-bottom: 32px;
}

.price-range-text {
  font-size: 32px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.price-range-label {
  font-size: 14px;
  color: #FFFFFF80;
  font-weight: 500;
}

.product-card {
  background: var(--gray50);
  border: 1.5px solid var(--gray200);
  border-radius: 22px;
  padding: 40px;
}

.product-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.deliverable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deliverable-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--gray700);
  line-height: 1.5;
}

.deliv-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--gray200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.deliv-text strong {
  color: var(--gray800);
  font-weight: 600;
  display: block;
  font-size: 16px;
}

.deliv-text span {
  color: var(--gray400);
  font-size: 14px;
}

/* ── FAQ ── */
.faq-section {
  background: var(--gray50);
  padding: 100px 6%;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  justify-content: center;
  text-transform: uppercase;
}

.faq-header .section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.faq-header .section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--gray800);
  letter-spacing: -0.02em;
}

.faq-header .section-title em {
  font-style: normal;
  background: var(--grad-r);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray100);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.faq-item.open {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  border-color: rgba(61, 90, 241, 0.2);
}

.faq-q {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--gray800);
  user-select: none;
  transition: color 0.2s;
}

.faq-item.open .faq-q {
  color: var(--violet);
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--gray400);
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--violet);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  color: var(--gray600);
  line-height: 1.75;
  padding: 0 28px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 28px 22px;
}

/* ══════════ CTA SECTION ══════════ */
.cta-sec {
  background: #000;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 30% 50%, rgba(253, 70, 142, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 70% 50%, rgba(74, 93, 245, 0.10) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  /* max-width: 720px; */
  margin: 0 auto;
  background: #000;
}

.cta-card {
  /* border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 72px 60px; */

  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-card h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  color: #fff;
  text-align: center;
}

.cta-card p {
  font-size: 16px;
  /* color: rgba(255, 255, 255, 0.45); */
  color: #FFFFFF7A;
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.75;
  font-weight: 300;
  text-align: center;
}

.cta-card .eyebrow {
  justify-content: center;
  display: flex;
  margin-bottom: 24px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.cta-trust span::before {
  content: '✓ ';
  color: #4ade80;
}

/* ══════════ RESPONSIVE ══════════ */

@media (max-width: 1199px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 120px;
  }

  .media-img {
    display: none ! important;
  }

  .perf-grid {
    gap: 0px !important;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-left {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .reveal.h1,
  .hero-sub {
    max-width: 100%;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-mockup {
    max-width: 560px;
  }

  .te-terminal-body {
    grid-template-columns: 1fr;
  }

  .te-book-panel {
    padding-top: 0;
  }

  .te-capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feat-cell.wide {
    grid-column: span 2;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .product-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .perf-grid {
    grid-template-columns: 1fr;
  }

  .api-layer-grid {
    grid-template-columns: 1fr;
    /* gap: 48px; */
  }

  .api-layer-grid::before {
    display: none;
  }

  .api-code-panel,
  .api-layer-content {
    max-width: 100%;
  }

  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .te-production-stats {
    grid-template-columns: 1fr 1fr;
  }

  .te-production-stat:nth-child(3) {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .te-production-stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .te-stack-head {
    margin-bottom: 52px;
  }

  .te-stack-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .te-stack-list {
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 34px;
    padding: 104px 18px 58px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero-badge {
    max-width: 100%;
    margin-bottom: 22px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-sub {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-mockup {
    max-width: 100%;
    border-radius: 14px;
    animation: none;
  }

  .mockup-bar {
    padding: 10px 12px;
  }

  .mockup-title {
    max-width: 190px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mockup-body {
    padding: 14px;
  }

  .ob-head-row,
  .ob-entry {
    grid-template-columns: 1.1fr 0.7fr 0.8fr;
    font-size: 10px;
  }

  .ob-label {
    letter-spacing: 1.2px;
  }

  .mockup-metrics {
    grid-template-columns: 1fr;
  }

  .mm-cell {
    padding: 10px;
  }

  .api-layer-section {
    padding: 64px 0;
  }

  .api-code-panel {
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 12px;
    line-height: 1.7;
  }

  .api-code-row {
    grid-template-columns: 22px minmax(360px, 1fr);
    gap: 14px;
  }

  .api-code-spacer {
    margin-top: 16px;
  }

  .api-layer-content {
    padding-left: 0;
  }

  .api-layer-content h2 {
    margin: 16px 0 22px;
    font-size: 32px;
  }

  .api-layer-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .api-protocol-tags {
    gap: 10px;
    margin-top: 26px;
  }

  .api-protocol-tags span {
    min-height: 34px;
    padding: 0 14px;
    font-size: 11px;
  }

  .te-live-product-section,
  .te-capabilities-section {
    padding: 64px 0;
  }

  .te-section-head {
    margin-bottom: 34px;
  }

  .te-section-head h2 {
    font-size: 28px;
  }

  .te-terminal-preview {
    border-radius: 12px;
  }

  .te-terminal-topbar {
    grid-template-columns: auto 1fr;
    padding: 0 14px;
  }

  .te-terminal-tabs span:not(.active),
  .te-terminal-status {
    display: none;
  }

  .te-terminal-body {
    padding: 18px;
  }

  .te-price-row {
    justify-content: flex-start;
  }

  .te-price-row span,
  .te-price-row strong {
    text-align: left;
  }

  .te-chart {
    min-height: 150px;
  }

  .te-chart svg {
    min-height: 150px;
  }

  .te-capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .te-capability-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hstat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feat-cell.wide {
    grid-column: span 1;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }

  .te-production-section {
    padding: 72px 0 58px;
  }

  .te-production-inner h2 {
    margin-bottom: 32px;
    font-size: 38px;
  }

  .te-production-stats {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .te-production-stat {
    min-height: 76px;
    padding: 20px 22px;
    text-align: center;
  }

  .te-production-stat+.te-production-stat,
  .te-production-stat:nth-child(3),
  .te-production-stat:nth-child(4) {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .te-production-trust {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .te-stack-section {
    padding: 62px 0 66px;
  }

  .te-stack-head {
    margin-bottom: 42px;
  }

  .te-stack-head h2 {
    font-size: 32px;
  }

  .te-stack-head p {
    font-size: 13px;
  }

  .te-stack-category {
    font-size: 11px;
  }

  .te-stack-tags {
    gap: 10px;
  }

  .te-stack-tags span {
    min-height: 30px;
    padding: 0 13px;
    font-size: 11px;
    white-space: normal;
  }

  .cta-card {
    padding: 48px 28px;
  }
}