/* =========================================================
   BiaoJu — single-page static site
   Palette (from design concept): deep navy #050d20,
   electric cyan #36e5f3, neon purple #b392ff, neon pink #ff85d3
   Type: DejaVu Sans / DejaVu Sans Mono (bundled)
   ========================================================= */

@font-face {
  font-family: "DejaVu Sans";
  src: url("../assets/fonts/DejaVuSans.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans";
  src: url("../assets/fonts/DejaVuSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("../assets/fonts/DejaVuSansMono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("../assets/fonts/DejaVuSansMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #050d20;
  --panel: #0a152f;
  --panel-2: #0b1a3a;
  --cyan: #36e5f3;
  --purple: #b392ff;
  --pink: #ff85d3;
  --text: #eef2f8;
  --muted: #9aa7c2;
  --line: rgba(255, 255, 255, 0.09);
  --font-sans: "DejaVu Sans", Verdana, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DejaVu Sans Mono", ui-monospace, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }

.wrap { width: min(1160px, 91%); margin-inline: auto; }

.grad-text {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--purple) 48%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.section-title {
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.22;
  color: #fff;
  margin-top: 16px;
  letter-spacing: 0.002em;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.btn .arrow { margin-left: 26px; font-weight: 700; line-height: 1; }

.btn-plan {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--purple) 100%);
  color: #061021;
  box-shadow: 0 4px 18px rgba(54, 229, 243, 0.25);
}
.btn-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(54, 229, 243, 0.45), 0 4px 22px rgba(179, 146, 255, 0.35);
}

.btn-discuss {
  background: linear-gradient(92deg, var(--cyan) 0%, var(--pink) 100%);
  color: #061021;
  box-shadow: 0 4px 18px rgba(255, 133, 211, 0.25);
}
.btn-discuss:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 133, 211, 0.45), 0 4px 22px rgba(54, 229, 243, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-sm { padding: 11px 18px; font-size: 14px; gap: 18px; }
.btn-sm .arrow { margin-left: 14px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 13, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img, .footer-brand img { border-radius: 8px; }
.brand-name { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a:not(.btn) {
  font-size: 15px;
  color: #d6dcec;
  transition: color 0.2s;
}
.main-nav a:not(.btn):hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  background: none;
  border: none;
  padding: 10px 6px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: #e7ecf6; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }

/* subtle dot grid, only on hero (as in the design) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(154, 167, 194, 0.16) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(85% 90% at 62% 45%, #000 0%, transparent 92%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.08;
  color: #fff;
  margin-top: 20px;
  letter-spacing: 0.002em;
}
.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-actions .btn { min-width: 228px; }

/* mono small print under the hero buttons (as in the design) */
.small-print {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: #b3bdd4;
}

/* right visual: artwork + caption + flow */
.hero-visual { position: relative; }
.hero-art { width: min(300px, 100%); margin-inline: auto; }
.visual-label { margin-top: 14px; text-align: center; }
.visual-label .cap-desktop,
.visual-label .cap-mobile { display: none; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--cyan); }
.hero-visual .cap-desktop { display: inline; }
.flow { display: grid; grid-template-columns: auto 54px auto; align-items: center; margin-top: 26px; }

.flow-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14.5px;
  color: #eef2f8;
  white-space: nowrap;
}
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 8px rgba(54, 229, 243, 0.8); }
.dot-purple { background: var(--purple); box-shadow: 0 0 8px rgba(179, 146, 255, 0.8); }
.dot-pink { background: var(--pink); box-shadow: 0 0 8px rgba(255, 133, 211, 0.8); }

/* connector: cyan run from the source box into the pink spine */
.flow-connector {
  position: relative;
  align-self: stretch;
  margin-left: -14px;
}
.flow-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1px;
  left: -12px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(54, 229, 243, 0.75));
}

.flow-stack { position: relative; display: grid; gap: 10px; }
.flow-node { padding: 13px 18px; }
.flow-stack .flow-node { min-width: 268px; position: relative; }

/* design-style bracket: pink spine + stubs into each destination box */
.flow-stack::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(54, 229, 243, 0.9) 0%, var(--pink) 34%, var(--pink) 100%);
}
.flow-stack .flow-node::before {
  content: "";
  position: absolute;
  left: -26px;
  width: 26px;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  background: var(--pink);
}
.flow-stack .flow-node:first-child::before {
  background: linear-gradient(90deg, rgba(54, 229, 243, 0.65), var(--pink));
}

/* checks trio under divider */
.hero-checks {
  position: relative;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-checks p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #e6ebf5;
}
.check { width: 17px; height: 17px; color: var(--cyan); flex: none; }

/* ---------------- Sections ---------------- */
.section { padding: 78px 0; }

.softline { border: 0; border-top: 1px solid var(--line); }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.card {
  border-radius: 14px;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-purple {
  background: linear-gradient(180deg, rgba(179, 146, 255, 0.11), rgba(179, 146, 255, 0.04)), var(--panel);
  border-color: rgba(179, 146, 255, 0.35);
}
.card-pink {
  background: linear-gradient(180deg, rgba(255, 133, 211, 0.10), rgba(255, 133, 211, 0.03)), var(--panel);
  border-color: rgba(255, 133, 211, 0.32);
}
.card:hover { transform: translateY(-4px); }
.card-plain:hover { box-shadow: 0 12px 34px rgba(54, 229, 243, 0.12); border-color: rgba(54, 229, 243, 0.3); }
.card-purple:hover { box-shadow: 0 12px 34px rgba(179, 146, 255, 0.15); }
.card-pink:hover { box-shadow: 0 12px 34px rgba(255, 133, 211, 0.15); }

.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-icon { width: 40px; height: 40px; }
.icon-cyan { color: var(--cyan); }
.icon-purple { color: var(--purple); }
.icon-pink { color: var(--pink); }
.card-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: #8d99b6; }
.card h3 { font-size: 19px; font-weight: 700; color: #fff; margin-top: 24px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.step-num-row { display: flex; align-items: center; gap: 18px; }
.step-num { font-family: var(--font-mono); font-size: 19px; letter-spacing: 0.08em; color: var(--cyan); }
.step-line { flex: 1; height: 1px; background: rgba(54, 229, 243, 0.35); }
.step h3 { font-size: 21px; font-weight: 700; color: #fff; margin-top: 22px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* partners */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.partner {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 21, 47, 0.55);
  border-radius: 10px;
  padding: 15px 17px;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.partner:hover { border-color: rgba(54, 229, 243, 0.5); transform: translateY(-3px); }

/* why */
.why {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}
.why .section-title { margin-top: 16px; }
.lead { color: #b9c3da; font-size: 17px; line-height: 1.75; }
.team-label {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.team-lines { margin-top: 12px; color: #ccd5e6; font-size: 15.5px; }

/* ---------------- CTA + enquiry ---------------- */
.cta-panel {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 44px 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}
.cta-panel h2 { font-weight: 700; font-size: clamp(24px, 2.9vw, 34px); color: #fff; }
.cta-panel p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-name, .footer-brand .brand-name { font-size: 21px; }
.footer-tag { color: var(--muted); font-size: 15px; }

/* ---------------- Mobile ---------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 15px; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 13, 32, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    padding: 10px 4% 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .main-nav .btn { margin-top: 16px; }

  /* full-width gradient CTA near the top; Explore becomes a plain link */
  .hero { padding: 56px 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-outline { border: none; background: none; justify-content: flex-start; color: #fff; padding: 10px 2px; }
  .hero-actions .btn-outline .arrow { margin-left: 10px; }
  .hero-actions .btn-outline:hover { color: var(--cyan); }

  .hero-checks { display: none; }

  .hero-art { width: min(260px, 78%); }
  .hero-visual .cap-desktop { display: none; }
  .hero-visual .cap-mobile { display: inline; }
  .flow { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .flow-connector { display: none; }
  .flow-stack::before, .flow-stack .flow-node::before { display: none; }
  .flow-stack .flow-node { min-width: 0; }
  .flow-source { display: none; } /* the FROM ANYWHERE label takes its place, as designed */
  .flow-node { white-space: normal; }

  .section { padding: 58px 0; }

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

  .cta-panel { grid-template-columns: 1fr; padding: 32px 26px; }
  .cta-panel .btn { width: 100%; justify-content: space-between; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
