/* ============================================================
   APEX AI TECHNOLOGY LTD — Design System
   Dark HPC aesthetic · deep-space navy · signal cyan + brand blue
   (body type scale: +2px on all non-heading text)
   ============================================================ */

:root {
  /* surfaces */
  --bg: #0B0F19;
  --bg-2: #141B2B;
  --line: #1E293B;
  --line-soft: rgba(30, 41, 59, 0.6);
  --glass: rgba(20, 27, 43, 0.55);

  /* brand */
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --amber: #F59E0B;
  --red: #EF4444;

  /* text */
  --text: #F8FAFC;
  --text-2: #94A3B8;
  --text-3: #64748B;

  /* gradients */
  --grad-brand: linear-gradient(135deg, #3B82F6, #06B6D4);

  /* type */
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  /* layout */
  --maxw: 1180px;
  --radius: 14px;
  --nav-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--cyan); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

/* thin scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #24304a; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33415e; }

/* ---------- shared layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.h2 .accent { color: var(--cyan); }
.sub { color: var(--text-2); font-size: 19px; margin-top: 16px; }

.center { text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--blue);
  color: #fff !important;
}
.btn--primary:hover { filter: brightness(1.1); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: rgba(248, 250, 252, 0.28);
}
.btn--ghost:hover { background: rgba(248, 250, 252, 0.08); border-color: rgba(248, 250, 252, 0.5); }

.btn--red { background: var(--red); color: #fff !important; }
.btn--red:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgba(239, 68, 68, 0.35); transform: translateY(-1px); }

.btn--lg { padding: 16px 34px; font-size: 19px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan) !important;
}
.arrow-link .arr { transition: transform 0.2s ease; }
.arrow-link:hover .arr { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled { background: rgba(9, 12, 21, 0.92); border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.02em;
  flex: none;
}
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--cyan); font-weight: 700; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 8px 13px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-2) !important;
  border-radius: 7px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: var(--text) !important; background: rgba(148, 163, 184, 0.08); }
.nav__links a[aria-current="page"] {
  color: var(--text) !important;
}
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav__cta { flex: none; }
.nav__cta .btn { padding: 9px 20px; font-size: 16px; }

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 8px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav__burger:hover { background: rgba(148, 163, 184, 0.1); }
.nav__burger svg { width: 24px; height: 24px; }
.nav__burger .icon-close { display: none; }
.nav.open .nav__burger .icon-close { display: block; }
.nav.open .nav__burger .icon-menu { display: none; }

@media (max-width: 1023px) {
  .nav__burger { display: flex; margin-left: auto; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(9, 12, 21, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
  }
  .nav.open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 18px; }
  .nav__links a[aria-current="page"]::after { left: 14px; right: auto; width: 26px; bottom: 7px; }
  .nav__cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(700px 420px at 85% 30%, rgba(6, 182, 212, 0.09), transparent 60%),
    radial-gradient(600px 400px at 12% 80%, rgba(37, 99, 235, 0.07), transparent 60%);
}

.hero__gridlines {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 62% at 50% 38%, black 32%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 38%, black 32%, transparent 78%);
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(38px, 6.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #F8FAFC 55%, #93b0d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 700px;
  margin: 24px auto 0;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-2);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* hero telemetry strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 860px;
  margin: 74px auto 0;
}
.hero__stat {
  background: rgba(15, 20, 33, 0.85);
  backdrop-filter: blur(6px);
  padding: 20px 12px 18px;
}
.hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.01em;
}
.hero__stat span {
  display: block;
  font-size: 14.5px;
  color: var(--text-3);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GENERIC CARDS & GRIDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: linear-gradient(165deg, rgba(20, 27, 43, 0.75), rgba(17, 23, 38, 0.6));
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 14px 44px rgba(2, 6, 18, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.12), 0 12px 40px rgba(59, 130, 246, 0.10);
}

.card__icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.16), rgba(6, 182, 212, 0.10));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--cyan);
}
.card__icon svg { width: 23px; height: 23px; }

.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 11px; }
.card p { color: var(--text-2); font-size: 17px; }
.card .arrow-link { margin-top: 18px; }

/* problem cards (glass) */
.pain-card { backdrop-filter: blur(14px); }
.pain-card .card__icon { color: var(--amber); background: rgba(245, 158, 11, 0.09); border-color: rgba(245, 158, 11, 0.28); }
.pain-card h3 { font-size: 19px; }

/* mobile grid collapse */
@media (max-width: 1023px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 84px) 0 66px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(59, 130, 246, 0.13), transparent 65%),
    radial-gradient(520px 300px at 80% 60%, rgba(6, 182, 212, 0.06), transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, black 25%, transparent 75%);
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.page-hero .sub { max-width: 700px; margin-left: auto; margin-right: auto; font-size: 19.5px; }

/* breadcrumb-ish page tag above title */
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.crumbs b { color: var(--cyan); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(59, 130, 246, 0.05), transparent 65%),
    #090D16;
  padding: 58px 0 34px;
  margin-top: 0;
}
.footer a:hover { color: var(--cyan); }

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand p { color: var(--text-3); font-size: 16px; max-width: 340px; margin-top: 14px; }

.footer__cols { display: flex; gap: clamp(36px, 6vw, 88px); flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 15px;
}
.footer__col ul { list-style: none; display: grid; gap: 9px; }
.footer__col a { color: var(--text-2) !important; font-size: 16.5px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a, .footer__contact span { color: var(--text-2) !important; font-size: 16.5px; display: flex; align-items: center; gap: 9px; }
.footer__contact svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 15px;
  color: var(--text-3);
}
.footer__bottom .mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* page fade-in */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in 0.3s ease; }

/* ============================================================
   HOME — industry tags row
   ============================================================ */
.industry-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-tag {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(30, 41, 59, 0.35), rgba(17, 23, 38, 0.5));
  color: var(--text) !important;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.industry-tag svg { width: 22px; height: 22px; color: var(--cyan); }
.industry-tag b { font-size: 17px; font-weight: 600; }
.industry-tag span { font-size: 14.5px; color: var(--text-3); line-height: 1.5; }
.industry-tag:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(6, 182, 212, 0.05);
  transform: translateY(-3px);
  color: var(--text) !important;
}
@media (max-width: 1023px) { .industry-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .industry-row { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — bottom CTA band
   ============================================================ */
.cta-band {
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 50% -40%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, #1d4ed8, #2563eb 45%, #0891b2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 30px 80px rgba(29, 78, 216, 0.25);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, black, transparent 75%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; position: relative; }
.cta-band p { color: rgba(248, 250, 252, 0.82); margin-top: 14px; font-size: 19px; position: relative; }
.cta-band .btn { position: relative; margin-top: 30px; background: #fff; color: #1d4ed8 !important; border: none; }
.cta-band .btn:hover { filter: brightness(0.94); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); transform: translateY(-1px); }

/* ============================================================
   PLATFORM — instance spec cards
   ============================================================ */
.spec-card { display: flex; flex-direction: column; }
.spec-card--soon { opacity: 0.92; }

.spec-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.spec-card__name { font-family: var(--font-mono); font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.spec-card__bestfor {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 18px;
}
.spec-card__bestfor b { color: var(--amber); font-weight: 500; }

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  flex-grow: 1;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 10px 2px;
  border-bottom: 1px dashed rgba(30, 41, 59, 0.9);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .k {
  color: var(--text-3);
  flex: none;
  min-width: 92px;
  letter-spacing: 0.02em;
}
.spec-list .v {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: right;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--blue { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.35); }
.tag--cyan { color: #67e8f9; background: rgba(6, 182, 212, 0.10); border: 1px solid rgba(6, 182, 212, 0.32); }
.tag--amber { color: #fcd34d; background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.35); }

.price-tag {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding: 18px;
  border-radius: 10px;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--line);
}
.price-tag__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.price-tag__num small { font-size: 14.5px; color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.price-tag .btn { width: 100%; padding: 11px 18px; font-size: 15.5px; }

.spec-list .k, .spec-card__bestfor { font-size: 14px; }
.price-tag .price-tag__text { font-size: 15.5px; color: var(--text-2); line-height: 1.5; }

/* platform section rhythm */
.plat-section { padding: 74px 0; border-top: 1px solid var(--line-soft); }
.plat-section:first-of-type { border-top: none; }

/* config builder steps */
.steps-flow { counter-reset: step; }
.step-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.12);
}
.step-row h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; padding-top: 8px; }
.step-row p { color: var(--text-2); font-size: 17px; max-width: 640px; }

/* ============================================================
   SOLUTIONS — industry blocks
   ============================================================ */
.sol-block { padding: 84px 0; border-top: 1px solid var(--line-soft); position: relative; }
.sol-block:first-of-type { border-top: none; }

.sol-head { display: block; margin-bottom: 30px; }
.sol-head__title { display: flex; align-items: flex-start; gap: 18px; }
.sol-head__title .card__icon { width: 52px; height: 52px; flex: none; margin-bottom: 0; }
.sol-head__title h2 { font-size: clamp(24px, 3vw, 34px); padding-top: 4px; }
.sol-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}

/* full-width challenge strip under the section title */
.challenge-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.09), rgba(245, 158, 11, 0.015) 55%, transparent);
  padding: 24px 32px;
  margin-bottom: 46px;
}
.challenge-strip__label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  flex: none;
  padding-right: 24px;
  border-right: 1px solid rgba(245, 158, 11, 0.28);
}
.challenge-strip p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
@media (max-width: 640px) {
  .challenge-strip { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; }
  .challenge-strip__label { padding-right: 0; border-right: none; }
}

.sol-value {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 22px 26px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0.02));
}
.sol-value svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 3px; }
.sol-value p { color: var(--text-2); font-size: 17px; }
.sol-value p b { color: var(--text); }

/* solution mini-cards inside a block */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.sol-mini {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(20, 27, 43, 0.6), rgba(15, 21, 35, 0.4));
  padding: 24px 22px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sol-mini:hover { border-color: rgba(59, 130, 246, 0.45); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(2, 6, 18, 0.5); }
.sol-mini h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 9px; display: flex; gap: 10px; align-items: center; }
.sol-mini h3 svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }
.sol-mini p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   PRICING — tables
   ============================================================ */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
  background: var(--bg-2);
}
.pricing-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.pricing-table th, .pricing-table td { padding: 17px 22px; text-align: left; font-size: 16.5px; }
.pricing-table thead th {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dbeafe;
  background: linear-gradient(90deg, #1d4ed8, #2563eb 55%, #0e7490);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.pricing-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:nth-child(even) { background: rgba(11, 15, 25, 0.45); }
.pricing-table tbody td { color: var(--text-2); vertical-align: middle; }
.pricing-table .name { font-weight: 600; color: var(--text); font-family: var(--font-mono); font-size: 17px; white-space: nowrap; }
.pricing-table .val { font-family: var(--font-mono); font-size: 15.5px; color: var(--text); white-space: nowrap; }
.pricing-table .price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 21px;
  color: var(--cyan);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.pricing-table small { display: block; color: var(--text-3); font-size: 14px; margin-top: 8px; }

/* included checklist */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 17px; }
.check-item svg {
  width: 19px; height: 19px;
  flex: none;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50%;
  padding: 3px;
  margin-top: 4px;
}
@media (max-width: 1023px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .check-grid { grid-template-columns: 1fr; } }

/* included panel */
.included-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(620px 220px at 12% 0%, rgba(6, 182, 212, 0.07), transparent 60%),
    linear-gradient(170deg, rgba(20, 27, 43, 0.65), rgba(15, 21, 35, 0.45));
  padding: 38px 36px;
}
.included-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px dashed var(--line-soft);
}
.included-panel__note { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; color: var(--text-3); white-space: nowrap; }
@media (max-width: 767px) {
  .included-panel { padding: 28px 22px; }
}

/* pricing note strip */
.note-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-3);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  background: rgba(20, 27, 43, 0.35);
}
.note-strip svg { width: 16px; height: 16px; flex: none; color: var(--text-3); margin-top: 3px; }

/* ============================================================
   INSIGHTS — article grid
   ============================================================ */
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text) !important;
  padding: 0;
}
.article-card:hover { color: var(--text) !important; }
.article-card__thumb {
  aspect-ratio: 16 / 8.6;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 30% 0%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(380px 240px at 90% 100%, rgba(6, 182, 212, 0.14), transparent 65%),
    #0d1322;
}
.article-card__thumb svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card__thumb svg { transform: scale(1.045); }
.article-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 13px;
}
.article-card__meta .cat { color: var(--cyan); }
.article-card h3 { font-size: 19px; font-weight: 600; line-height: 1.35; transition: color 0.2s ease; }
.article-card:hover h3 { color: var(--cyan); }
.article-card p { color: var(--text-2); font-size: 16px; margin-top: 11px; flex-grow: 1; }

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 74px) 28px 90px;
}
.article__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.article__meta .cat { color: var(--cyan); }
.article h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 20px 0 18px;
}
.article__lede { color: var(--text-2); font-size: 20.5px; line-height: 1.65; margin-bottom: 14px; }
.article hr.sep { border: none; border-top: 1px solid var(--line); margin: 34px 0 40px; }

.article h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 46px 0 16px;
  letter-spacing: -0.015em;
}
.article h3 { font-size: 19px; font-weight: 600; margin: 32px 0 12px; }
.article p { color: var(--text-2); font-size: 18.5px; margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 24px; color: var(--text-2); font-size: 18px; display: grid; gap: 9px; }
.article li strong, .article p strong, .article li b { color: var(--text); font-weight: 600; }
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.article th {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 27, 43, 0.7);
}
.article td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); }
.article tr:last-child td { border-bottom: none; }
.article td:first-child { color: var(--text); font-weight: 500; }

.article code {
  font-family: var(--font-mono);
  font-size: 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
  padding: 1.5px 7px;
  border-radius: 6px;
}

.callout {
  border: 1px solid rgba(6, 182, 212, 0.3);
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.07), rgba(6, 182, 212, 0.02));
  border-radius: 12px;
  padding: 22px 24px;
  margin: 28px 0;
}
.callout p { margin-bottom: 0; color: var(--text-2); font-size: 17.5px; }
.callout p + p { margin-top: 10px; }

/* article footer nav */
.article-foot {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-lead {
  columns: 1;
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 19px;
}
.about-lead p + p { margin-top: 18px; }
.about-lead strong { color: var(--text); }

.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vision-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 36px 34px;
  background: linear-gradient(165deg, rgba(20, 27, 43, 0.6), rgba(15, 21, 35, 0.4));
}
.vision-card.v--v { border-color: rgba(59, 130, 246, 0.35); background: linear-gradient(165deg, rgba(59, 130, 246, 0.09), rgba(17, 23, 38, 0.5)); }
.vision-card.v--m { border-color: rgba(6, 182, 212, 0.35); background: linear-gradient(165deg, rgba(6, 182, 212, 0.07), rgba(17, 23, 38, 0.5)); }
.vision-card h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 14px; }
.vision-card h3 svg { width: 21px; height: 21px; color: var(--cyan); }
.vision-card p { color: var(--text-2); font-size: 17.5px; }
@media (max-width: 800px) { .vision-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 44px; } }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(168deg, rgba(20, 27, 43, 0.55), rgba(15, 21, 35, 0.35));
  padding: 38px 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--red); margin-left: 3px; }
.form-field label .opt { color: var(--text-3); font-weight: 400; font-size: 14px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 12.5px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-field select option { background: #141B2B; color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-field select:invalid { color: var(--text-3); }

.form-status { display: none; margin-top: 18px; padding: 13px 16px; border-radius: 9px; font-size: 16px; }
.form-status.ok { display: block; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.form-status.err { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }

/* timeline steps */
.next-steps h3 {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 26px;
}
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 14px; bottom: 34px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), transparent);
}
.tl-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 30px; position: relative; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  color: var(--cyan);
  background: var(--bg);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.12);
  position: relative;
  z-index: 1;
}
.tl-step h4 { font-size: 16.5px; font-weight: 600; padding-top: 9px; }
.tl-step p { color: var(--text-2); font-size: 16.5px; margin-top: 6px; }

/* alternate contact methods */
.alt-contact { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.alt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 12px;
  padding: 16px 22px;
  color: var(--text) !important;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.alt-card:hover { border-color: rgba(6, 182, 212, 0.45); transform: translateY(-2px); color: var(--text) !important; }
.alt-card svg { width: 20px; height: 20px; color: var(--cyan); }
.alt-card b { display: block; font-size: 16.5px; }
.alt-card span { display: block; font-size: 14.5px; color: var(--text-3); font-family: var(--font-mono); }

/* form success modal backdrop */
dialog.modal {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #121928;
  color: var(--text);
  padding: 40px 42px;
  max-width: 430px;
  width: calc(100% - 40px);
  margin: auto;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
dialog.modal::backdrop { background: rgba(5, 8, 14, 0.7); backdrop-filter: blur(4px); }
dialog.modal .ok-ring {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}
dialog.modal .ok-ring svg { width: 30px; height: 30px; }
dialog.modal h3 { font-size: 22px; margin-bottom: 10px; }
dialog.modal p { color: var(--text-2); font-size: 17px; margin-bottom: 26px; }

/* ============================================================
   Small screens global type scale
   ============================================================ */
@media (max-width: 767px) {
  body { font-size: 17px; }
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .container { padding: 0 20px; }
  .hero { min-height: auto; padding-bottom: 64px; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list li:nth-last-child(2) { border-bottom: 1px dashed rgba(30, 41, 59, 0.9); }
  .cta-band { padding: 48px 24px; }
  .form-card { padding: 28px 22px; }
}
