:root {
  --bg:        #12151c;   /* dark slate (dark, not black) */
  --bg-soft:   #141821;
  --surface:   #171c26;   /* cards / panels */
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.16);
  --text:      #eef0f3;
  --muted:     #99a1ad;
  --faint:     #6b7280;
  --accent:    #5cc8ff;   /* azure, the single accent that matches the logo neon */
  --accent-2:  #7c9bff;   /* periwinkle, used only inside glows */
  --accent-ink:#04121c;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

/* Technical grid + soft glow field, fixed behind everything */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% -5%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 55% at 50% -5%, #000 30%, transparent 78%);
}
.backdrop .glow-a {
  position: absolute; top: -320px; left: 50%; transform: translateX(-42%);
  width: 900px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(92, 200, 255, 0.16), transparent 62%);
  filter: blur(20px);
}
.backdrop .glow-b {
  position: absolute; top: 4%; right: -180px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124, 155, 255, 0.14), transparent 60%);
  filter: blur(24px);
}

.wrap { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 56px); }

/* ---------- nav ---------- */
nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.mark-img { height: 38px; width: 38px; object-fit: cover; display: block; border-radius: 9px; border: 1px solid var(--border-2); }
.brand-logo-box { display: inline-flex; }
.brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(92, 200, 255, 0.35)); }
.brand b { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-link {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none; transition: color 0.18s ease;
}
.nav-link:hover { color: var(--text); }
.nav-yt {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 9px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.nav-yt:hover { color: var(--text); border-color: var(--border-2); background: rgba(255,255,255,0.03); }
.nav-yt svg { color: #ff4d4d; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(44px, 10vh, 108px) 0 clamp(56px, 11vh, 116px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  padding: 7px 13px 7px 11px; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
}
.ping { position: relative; width: 7px; height: 7px; flex: none; }
.ping::before, .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.ping::after { animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 75%, 100% { transform: scale(2.6); opacity: 0; } }

h1 {
  margin-top: 26px;
  font-weight: 900; font-size: clamp(2.7rem, 6.6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.025em; color: #fff;
}
h1 .grad {
  background: linear-gradient(96deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  margin-top: 24px; max-width: 46ch;
  font-size: clamp(1.03rem, 1.9vw, 1.2rem); line-height: 1.6; color: var(--muted); font-weight: 400;
}
.lede b { color: var(--text); font-weight: 500; }

.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 13px 20px; border-radius: 11px; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn.primary { background: #f4f6f8; color: #0b0e13; border: 1px solid #f4f6f8; }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(255,255,255,0.35); background: #fff; }
.btn.primary svg { color: #ff3b3b; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary:active, .btn.ghost:active { transform: translateY(0); }

/* ---------- hero visual: neon logo (transparent PNG, drop-shadow follows the glow) ---------- */
.hero-logo-wrap { display: grid; place-items: center; }
.hero-logo {
  width: 100%; max-width: 440px; height: auto; display: block;
  filter: drop-shadow(0 0 48px rgba(92, 200, 255, 0.42)) drop-shadow(0 20px 44px rgba(0, 0, 0, 0.55));
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--border); padding: clamp(56px, 10vh, 116px) 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.about h2 { margin-top: 16px; font-weight: 700; font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -0.02em; color: #fff; max-width: 18ch; }
.prose { margin-top: 22px; max-width: 62ch; }
.prose p { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.12rem); line-height: 1.68; }
.prose p + p { margin-top: 18px; }
.prose b { color: var(--text); font-weight: 500; }

.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.fact .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.fact p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fact p b { color: var(--text); font-weight: 500; }

.soon {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 11px;
  font-size: 14px; color: var(--faint);
  padding: 12px 16px; border: 1px dashed var(--border-2); border-radius: 11px;
}

/* ---------- inner page (contact) ---------- */
.page { padding: clamp(44px, 9vh, 92px) 0 clamp(52px, 10vh, 100px); }
.page-head { max-width: 680px; }
.page-head h1 { margin-top: 16px; font-size: clamp(2.2rem, 5.6vw, 3.5rem); line-height: 1.04; }
.contact-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(0,0,0,0.7); }
.contact-card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.contact-card h3 { margin-top: 12px; font-weight: 700; font-size: 1.28rem; color: #fff; letter-spacing: -0.01em; }
.contact-card p { margin-top: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.contact-email {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13.5px; color: var(--accent); text-decoration: none;
  border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 14px;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.contact-email:hover { border-color: var(--accent); background: rgba(92, 200, 255, 0.07); transform: translateY(-1px); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 30px 0 40px; }
.foot { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot .left { font-size: 13px; color: var(--faint); }
.foot .note { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.28); }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-contact a { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-decoration: none; transition: color 0.16s ease; }
.foot-contact a:hover { color: var(--accent); }
.foot .links { display: flex; gap: 22px; }
.foot .links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.16s ease; }
.foot .links a:hover { color: var(--text); }

/* ---------- entrance + reveal ---------- */
.rise { opacity: 0; animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.d1 { animation-delay: 0.04s; } .d2 { animation-delay: 0.12s; } .d3 { animation-delay: 0.2s; }
.d4 { animation-delay: 0.28s; } .d5 { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .hero-logo-wrap { justify-content: center; order: -1; }
  .hero-logo { max-width: 320px; }
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .btn { flex: 1; justify-content: center; }
  .cta-row { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; }
}
