@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700&family=JetBrains+Mono:wght@300;400;500;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --black:   #060A0F;
  --dark:    #0B1118;
  --dark2:   #0F1923;
  --panel:   #121C27;
  --panel2:  #162030;
  --border:  rgba(41,182,246,0.12);
  --border2: rgba(41,182,246,0.25);
  --blue:    #29B6F6;
  --blue2:   #0288D1;
  --blue3:   rgba(41,182,246,0.08);
  --white:   #F0F4F8;
  --white2:  rgba(240,244,248,0.7);
  --white3:  rgba(240,244,248,0.55);
  --white4:  rgba(240,244,248,0.30);
  --red:     #EF5350;
  --amber:   #FFA726;
  --green:   #66BB6A;
  --mono:    'JetBrains Mono', monospace;
  --cond:    'Barlow Condensed', sans-serif;
  --body:    'Lato', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCANLINE TEXTURE ─────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── GRID OVERLAY ─────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,182,246,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,182,246,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ──────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 96px);
  background: rgba(6,10,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,182,246,0.15), transparent);
}

.logo-mark-inner {
  width: 10px;
  height: 10px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-text {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}

.logo-text span { color: var(--blue); }

.nav-center {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white3);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 3px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  border-color: var(--border2);
  background: var(--blue3);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--blue);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-cta:hover { background: #4FC3F7; transform: translateY(-1px); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--green);
  letter-spacing: 1px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

/* ── MAIN ──────────────────────────────────────────────────────────── */
main { position: relative; z-index: 1; padding-top: 60px; }

/* ── TYPOGRAPHY ───────────────────────────────────────────────────── */
.display {
  font-family: var(--cond);
  font-weight: 900;
  font-style: italic;
  line-height: 0.88;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.display-xl {
  font-family: var(--cond);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -1px;
  text-transform: uppercase;
  font-size: clamp(64px, 10vw, 120px);
}

.display-lg {
  font-family: var(--cond);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -1px;
  text-transform: uppercase;
  font-size: clamp(44px, 6vw, 76px);
}

.display-md {
  font-family: var(--cond);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -1px;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 52px);
}

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.label-num {
  color: var(--white3);
  margin-right: 4px;
}

/* ── SECTIONS ─────────────────────────────────────────────────────── */
.section,
section {
  padding: 112px clamp(48px, 6vw, 120px);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-full {
  position: relative;
  z-index: 1;
}



/* Diagonal cut between sections */
.cut {
  height: 80px;
  background: var(--dark2);
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
}

.cut-inv {
  height: 80px;
  background: var(--black);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
}

/* ── CARDS ────────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.card-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--border2);
  border-right: 1px solid var(--border2);
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--dark);
  padding: 16px 32px;
}

.btn-primary:hover {
  background: #4FC3F7;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(41,182,246,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 15px 31px;
  border: 1px solid var(--border2);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-arrow::after { content: ' →'; }

/* ── BADGE ────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41,182,246,0.08);
  border: 1px solid rgba(41,182,246,0.2);
  border-radius: 2px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

/* ── PRIORITY PILLS ───────────────────────────────────────────────── */
.pri {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.pri-high   { background: rgba(239,83,80,0.15);  color: #EF9A9A; border: 1px solid rgba(239,83,80,0.3); }
.pri-med    { background: rgba(255,167,38,0.12); color: #FFCC80; border: 1px solid rgba(255,167,38,0.3); }
.pri-low    { background: rgba(102,187,106,0.1); color: #A5D6A7; border: 1px solid rgba(102,187,106,0.25); }

/* ── MONO TEXT ────────────────────────────────────────────────────── */
.mono { font-family: var(--mono); }
.muted { color: var(--white3); }
.blue  { color: var(--blue); }

/* ── FORM ─────────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white3);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 20px;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  background: rgba(41,182,246,0.04);
}

input::placeholder, textarea::placeholder { color: var(--white4); }
select option { background: var(--dark2); color: var(--white); }

/* ── FOOTER ───────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px clamp(48px, 6vw, 120px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .name { font-family: var(--cond); font-size: 20px; font-weight: 800; letter-spacing: 4px; color: var(--white); }
.footer-brand .tagline { font-family: var(--mono); font-size: 9px; color: var(--white3); letter-spacing: 2px; text-transform: uppercase; }

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white3);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue); }

.footer-legal {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--white4);
  letter-spacing: 0.5px;
  text-align: right;
  line-height: 1.8;
}

/* ── MOBILE NAV ───────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white3);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(6,10,15,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white3);
  text-decoration: none;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--blue); }

.mobile-menu .mob-cta {
  margin-top: 10px;
  background: var(--blue);
  color: var(--dark) !important;
  border-radius: 3px;
  text-align: center;
  font-weight: 700;
  border-bottom: none !important;
}

/* ── ANIMATIONS ───────────────────────────────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.anim { animation: fadeUp 0.7s ease both; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.5s; }


/* ── LABEL → HEADING SPACING ─────────────────────────────────────────── */
.label + h1,
.label + h2,
.label + .display-xl,
.label + .display-lg,
.label + .display-md {
  margin-top: 4px;
}

/* Ensure all section headings not using display class still get condensed style */
section h2:not([class]),
.section h2:not([class]) {
  font-family: var(--cond);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 0.9;
  font-size: clamp(30px, 4vw, 52px);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .section, section { padding: 96px 48px; }
  footer { padding: 40px 48px; }
}

@media (max-width: 900px) {
  .section, section { padding: 72px 32px; }
  footer { grid-template-columns: 1fr; gap: 24px; padding: 36px 32px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 20px; }
  .footer-legal { text-align: left; }
  .display-xl { font-size: clamp(52px, 10vw, 88px); }
  .display-lg { font-size: clamp(38px, 7vw, 66px); }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-center, .nav-status { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section, section { padding: 64px 20px; }
  footer { padding: 32px 20px; }
  .display-xl { font-size: clamp(44px, 12vw, 72px); }
  .display-lg { font-size: clamp(34px, 9vw, 56px); }
  .display-md { font-size: clamp(26px, 7vw, 44px); }
  .btn { font-size: 10px; padding: 14px 24px; }
  .btn-ghost { padding: 13px 23px; }
}

@media (max-width: 480px) {
  .display-xl { font-size: 44px; }
  .display-lg { font-size: 34px; }
}
