/* BluePeak Tech: dark blue and light blue, holographic / matrix.
   FONTS: change --font-display / --font-body / --font-mono below, and the Google Fonts <link> in index.html. */
:root {
  --ink: #040b1a;
  --navy: #081733;
  --navy-2: #0c2146;
  --line: rgba(86, 170, 255, .22);
  --blue: #1e8fe8;
  --sky: #3fb7ff;
  --ice: #bfe9ff;
  --white: #eaf7ff;
  --text: #cfe0f4;
  --muted: #8aa6c8;
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1.05rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* faint scanlines over everything: the hologram-screen feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background: repeating-linear-gradient(to bottom, rgba(120,190,255,.035) 0 1px, transparent 1px 3px);
}
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sky); color: var(--ink); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--white); line-height: 1.12; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 700; text-shadow: 0 0 28px rgba(63,183,255,.45); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 1px solid var(--sky);
  background: linear-gradient(135deg, var(--sky), var(--blue)); color: var(--ink);
  font: 600 1rem var(--font-display); letter-spacing: .03em; padding: .85rem 1.5rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 24px rgba(63,183,255,.35);
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ice); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--sky); background: rgba(63,183,255,.08); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(4,11,26,.72); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand .logo { height: 62px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(63,183,255,.35)); }
.brand-foot .logo { height: 150px; filter: drop-shadow(0 0 14px rgba(63,183,255,.3)); }
.mark { width: 52px; height: 39px; filter: drop-shadow(0 0 8px rgba(63,183,255,.55)); }
.wordmark { display: block; line-height: 1; font-family: var(--font-display); white-space: nowrap; }
.wordmark b, .wordmark i { font-style: normal; font-weight: 700; font-size: 1.28rem; letter-spacing: .04em; display: inline; }
.wordmark b { color: #5aa9ff; }
.wordmark i { color: var(--ice); }
.wordmark small { display: block; font-size: .56rem; letter-spacing: .5em; color: var(--muted); margin-top: .25rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--text); font-size: .98rem; padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:not(.btn):hover { color: var(--white); border-color: var(--sky); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ice); font: 500 .95rem var(--font-display); padding: .45rem .9rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 7rem 0 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
#rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(30,143,232,.22), transparent 70%),
    linear-gradient(to right, rgba(4,11,26,.88) 0%, rgba(4,11,26,.55) 48%, rgba(4,11,26,.1) 100%),
    linear-gradient(to bottom, transparent 70%, var(--ink) 100%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: 1rem; padding-bottom: 2rem; }
.prompt { font: 500 1rem var(--font-mono); color: var(--sky); margin-bottom: 1.3rem; min-height: 1.6em; }
.prompt::before { content: "> "; color: var(--muted); }
.caret { display: inline-block; width: .6em; height: 1.05em; background: var(--sky); vertical-align: -.18em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 34rem; margin: 1.5rem 0 2rem; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-holo { position: relative; aspect-ratio: 1 / 1; width: min(112%, 720px); justify-self: end; margin-right: -2rem; }
#holo { width: 100%; height: 100%; display: block; }

/* hologram power-on, one time */
.power-on { animation: powerOn 1.3s steps(1, end) both; }
@keyframes powerOn {
  0% { opacity: 0; } 8% { opacity: .9; } 12% { opacity: .1; } 20% { opacity: .7; } 26% { opacity: 0; }
  38% { opacity: 1; transform: translateX(3px); } 44% { opacity: .4; transform: translateX(-2px); } 52%, 100% { opacity: 1; transform: none; }
}

.strip { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.strip li { padding: 1.1rem 1.2rem 1.4rem 0; font: 500 .95rem var(--font-mono); color: var(--muted); }
.strip li span::before { content: ""; display: inline-block; width: .5rem; height: .5rem; background: var(--sky); margin-right: .7rem; box-shadow: 0 0 10px var(--sky); }
.strip li:last-child span::before { background: transparent; border: 1px solid var(--sky); box-shadow: none; }

/* ---------- sections ---------- */
.s { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.s-alt { background: linear-gradient(to bottom, var(--navy), var(--ink)); border-top: 1px solid var(--line); }
.s-head { max-width: 44rem; margin-bottom: 3rem; }
.s-head p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* holographic card: pointer-lit surface + shimmer edge */
.holo-card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 1.8rem 1.5rem 1.6rem;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(63,183,255,.18), transparent 70%),
    linear-gradient(160deg, rgba(14,40,82,.75), rgba(6,18,40,.85));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: border-color .25s, transform .25s;
}
.holo-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--ice), var(--sky), transparent);
  background-size: 200% 100%; opacity: .55; }
.holo-card:hover { border-color: rgba(63,183,255,.6); transform: translateY(-3px); }
.holo-card:hover::before { animation: sheen 1.6s linear infinite; opacity: 1; }
@keyframes sheen { to { background-position: -200% 0; } }
.holo-card p { color: var(--muted); margin: .7rem 0 0; font-size: 1rem; }
.ico { width: 46px; height: 46px; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.2rem; filter: drop-shadow(0 0 6px rgba(63,183,255,.6)); }
.tag { display: inline-block; font: 500 .8rem var(--font-mono); color: var(--muted); border: 1px solid var(--line); padding: .2rem .6rem; margin-bottom: 1rem !important; }
.tag.live { color: var(--ice); border-color: var(--sky); }
.tag.live::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: #5fe3a1; margin-right: .5rem; box-shadow: 0 0 8px #5fe3a1; }
.link { display: inline-block; margin-top: 1.1rem; color: var(--sky); text-decoration: none; border-bottom: 1px solid var(--sky); padding-bottom: 2px; }
.link:hover { color: var(--ice); border-color: var(--ice); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 1.6rem 1.6rem 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--sky); box-shadow: 0 0 12px var(--sky); }
.steps .n { font: 500 .95rem var(--font-mono); color: var(--sky); display: block; margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: .6rem 0 0; }

/* growth path */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.stage { padding: 1.6rem 1.6rem 1.6rem 1.4rem; border-left: 1px solid var(--line); position: relative; }
.stage:nth-child(1) { border-left-color: var(--sky); }
.stage h3 { color: var(--ice); }
.stage p { color: var(--muted); margin: .6rem 0 0; }
.stage:nth-child(2) { margin-top: -1rem; } .stage:nth-child(3) { margin-top: -2rem; } .stage:nth-child(4) { margin-top: -3rem; }
.stage { background: linear-gradient(to right, rgba(30,143,232,.08), transparent 60%); }
.stage.next { border-left-style: dashed; border-left-color: var(--sky); }
.stage.next h3::after { content: " (next)"; font: 500 .85rem var(--font-mono); color: var(--sky); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-copy > p { font-size: 1.2rem; color: var(--white); line-height: 1.6; max-width: 40rem; }
.values { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.values h3 { color: var(--sky); }
.values p { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lead-sm { color: var(--muted); margin-top: 1rem; max-width: 30rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; padding: .8rem 0; border-top: 1px solid var(--line); }
.contact-list span { font: 500 .9rem var(--font-mono); color: var(--muted); }
.contact-list a { color: var(--ice); text-decoration: none; border-bottom: 1px solid var(--line); justify-self: start; }
.contact-list a:hover { border-color: var(--sky); }
.contact-list b { font-weight: 500; color: var(--white); }
.form { display: grid; gap: 1.1rem; padding: 1.8rem; border: 1px solid var(--line); background: rgba(6,18,40,.7); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font: 500 .9rem var(--font-mono); color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--white); background: rgba(4,11,26,.8); border: 1px solid var(--line); padding: .8rem .9rem; border-radius: 0; }
.form textarea { min-height: 8.5rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(63,183,255,.18); }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; color: var(--ice); }
.form-status.err { color: #ffb4a8; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0; background: var(--ink); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(n) { margin-top: 0; }
  .steps li { padding-bottom: 1.6rem; }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; background: rgba(4,11,26,.97); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-holo { order: -1; width: min(100%, 480px); justify-self: center; margin: 0 0 -1rem; }
  .hero-shade { background: linear-gradient(to bottom, rgba(4,11,26,.35), rgba(4,11,26,.8) 55%, var(--ink)); }
  .about, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .cards.two, .steps, .path, .row { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: .2rem; }
  .strip { grid-template-columns: 1fr; }
  .wordmark b, .wordmark i { font-size: 1.1rem; }
  .mark { width: 44px; height: 33px; }
  .brand .logo { height: 42px; }
  .brand-foot .logo { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .power-on, .caret, .holo-card:hover::before { animation: none; }
  .btn, .holo-card { transition: none; }
}
