/* HACKCEMBER 26 × Parul University — Brand Kit Design System
   Zero AI Slop: Void Black, Signal White, 1px Architectural Hairlines, Terminal Green Accent.
   Bulletproof responsive from 320px mobile to 4K desktop. */

:root {
  --void: #000000;
  --carbon: #08080b;
  --surface: #0e0e13;
  --line: #1e1e26;
  --line-hi: #343442;
  --white: #ffffff;
  --ink-muted: #9a9aa8;
  --ink-dim: #666674;
  --green: #00ff66;
  --cyan: #00e5ff;
  --crimson: #ff2a4b;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;
  --sans: "Space Grotesk", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--void);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: var(--void);
  color: var(--white);
  max-width: 100%;
  overflow-x: clip;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Prevent flex/grid blowout on narrow mobile viewports */
.container, main, section, header, footer,
.overview-grid > *, .gemma-grid > *, .rounds-three-col > *,
.ppt-grid > *, .credentials-layout > *, .register-grid > *,
.qr-register-wrap > *, .partner-split > * {
  min-width: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* 3px Brand Chromatic Signal Rail */
.chromatic-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  display: flex;
  z-index: 200;
  transform-origin: left center;
}
.chromatic-rail span:nth-child(1) { flex: 1; background: var(--cyan); }
.chromatic-rail span:nth-child(2) { flex: 1; background: var(--green); }
.chromatic-rail span:nth-child(3) { flex: 1; background: var(--crimson); }

/* Sticky Architectural Navbar */
.navbar {
  position: sticky;
  top: 3px;
  z-index: 150;
  background: #000000;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { flex-shrink: 0; display: inline-flex; align-items: center; }
.nav-brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
}
.nav-links a {
  color: var(--ink-muted);
  transition: color 0.16s ease;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a .idx { color: var(--ink-dim); margin-right: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover .idx, .nav-links a.active .idx { color: var(--green); }

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

.btn-icon-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-hi);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-icon-qr:hover { border-color: var(--green); color: var(--green); }

.btn-register-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  background: var(--white);
  color: var(--void);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.btn-register-nav:hover { background: var(--green); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line-hi);
  cursor: pointer;
  padding: 0 8px;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--white); transition: transform 0.2s ease; }

.scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--void);
  padding: 12px 20px 22px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu a.mobile-wa {
  margin-top: 14px;
  border: 1px solid var(--green);
  color: var(--green);
  text-align: center;
  font-weight: 700;
  padding: 13px;
}
.mobile-menu a.mobile-cta {
  margin-top: 10px;
  border: none;
  background: var(--white);
  color: var(--void);
  text-align: center;
  font-weight: 700;
  padding: 14px;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: min(calc(100vh - 69px), 860px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 48px 0 56px;
  overflow: hidden;
}

.binary-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 44%, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.84) 78%, #000 100%);
  z-index: 1;
  pointer-events: none;
}

.hud-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--line-hi);
  border-style: solid;
  border-width: 0;
  z-index: 2;
  pointer-events: none;
}
.hud-corner.tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; }
.hud-corner.tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; }
.hud-corner.bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-corner.br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-telemetry {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  padding-bottom: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.telemetry-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 1.8s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.32; transform: scale(0.75); }
}

.hero-lockup-stage {
  position: relative;
  width: min(1000px, 100%);
  margin-bottom: 22px;
  user-select: none;
}
.hero-lockup { width: 100%; height: auto; }
.hero-lockup.glitch-layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero-lockup-stage.is-glitching .glitch-layer.cyan {
  opacity: 0.72;
  filter: drop-shadow(-4px 0 0 var(--cyan));
  clip-path: inset(18% 0 58% 0);
  transform: translateX(-6px);
}
.hero-lockup-stage.is-glitching .glitch-layer.crimson {
  opacity: 0.72;
  filter: drop-shadow(4px 0 0 var(--crimson));
  clip-path: inset(56% 0 18% 0);
  transform: translateX(6px);
}

.hero-tagline {
  font-family: var(--mono);
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--green);
  margin-bottom: 22px;
}
.cursor-block {
  display: inline-block;
  width: 10px;
  height: 1.02em;
  background: var(--green);
  vertical-align: -0.14em;
  margin-left: 5px;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.hero-organizer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.org-logo { height: 26px; width: auto; }
.v-sep { width: 1px; height: 16px; background: var(--line-hi); }
.meta-date { color: var(--white); font-weight: 700; }

.hero-lead {
  max-width: 720px;
  font-size: clamp(14.5px, 1.3vw, 17px);
  color: var(--ink-muted);
  margin-bottom: 30px;
  line-height: 1.65;
}
.hero-lead strong { color: var(--white); font-weight: 600; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  background: var(--white);
  color: var(--void);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  border: 1px solid var(--white);
  cursor: pointer;
  text-align: center;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.btn-primary:hover { background: var(--green); border-color: var(--green); }
.btn-primary.full { width: 100%; }

.btn-community {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  background: rgba(0, 255, 102, 0.08);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  border: 1px solid var(--green);
  cursor: pointer;
  text-align: center;
  transition: background 0.16s ease, color 0.16s ease;
}
.btn-community:hover { background: var(--green); color: var(--void); }
.btn-community:hover .pulse-dot { background: var(--void); }

.btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  background: transparent;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid var(--line-hi);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--white); color: var(--green); }

/* Precision 3-Milestone Countdown Console */
.countdown-bar {
  width: 100%;
  max-width: 800px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.countdown-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cd-tab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cd-tab:hover { color: var(--white); border-color: var(--line-hi); }
.cd-tab.active { background: var(--white); color: var(--void); border-color: var(--white); font-weight: 700; }

.countdown-readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(8px, 2.2vw, 22px);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 60px; }
.cd-unit span { font-size: clamp(26px, 4.2vw, 46px); font-weight: 700; line-height: 1; color: var(--white); display: inline-block; }
.cd-unit small { font-size: 9.5px; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 6px; }
.cd-colon { font-size: clamp(22px, 3.4vw, 38px); color: var(--line-hi); }
.cd-caption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--green); }

/* Marquee Band */
.marquee-band {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--carbon);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  animation: marquee 34s linear infinite;
}
.marquee-track .sep { color: var(--green); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SHARED SECTIONS */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-header { margin-bottom: 46px; }
.section-header.centered { text-align: center; }
.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

/* SECTION 01: OVERVIEW */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: start;
}
.editorial-copy { font-size: 17.5px; line-height: 1.65; margin-bottom: 16px; color: var(--white); }
.editorial-copy.muted { font-size: 15.5px; color: var(--ink-muted); }
.editorial-copy strong { color: var(--white); }

.seal-lockup {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
}
.rotating-seal { width: 80px; height: 80px; flex-shrink: 0; }
.seal-meta { display: flex; flex-direction: column; gap: 4px; }
.seal-tag { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--green); }
.seal-sub { font-size: 14px; color: var(--ink-muted); }

.spec-ledger { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-key { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--ink-dim); }
.spec-val { font-size: 15px; font-weight: 500; color: var(--white); }
.spec-val.accent { color: var(--green); font-weight: 700; }

/* SECTION 02: PROBLEM STATEMENT — BEST USE OF GEMMA 4 */
.gemma-section { background: var(--carbon); }
.gemma-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}
.gemma-lead-quote {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  color: #e8e8f0;
  padding-left: 20px;
  border-left: 3px solid var(--green);
  margin-bottom: 32px;
}
.gemma-lead-quote strong { color: var(--white); }

.gemma-directions { border-top: 1px solid var(--line); }
.dir-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.dir-idx { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--green); padding-top: 3px; }
.dir-row p { font-size: 15.5px; color: var(--ink-muted); line-height: 1.6; }
.dir-row p strong { color: var(--white); }

.compliance-panel {
  border: 1px solid var(--line-hi);
  background: var(--void);
}
.comp-head {
  padding: 26px 26px 22px;
  border-bottom: 1px solid var(--line);
}
.comp-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.comp-head h3 { font-size: 22px; margin-bottom: 6px; }
.comp-head p { font-size: 13.5px; color: var(--ink-muted); }

.comp-rule {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.comp-rule.allowed { border-left-color: var(--green); }
.comp-rule.disallowed { border-left-color: var(--crimson); background: rgba(255, 42, 75, 0.04); }
.comp-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.comp-rule.allowed .comp-tag { color: var(--green); }
.comp-rule.disallowed .comp-tag { color: var(--crimson); }
.comp-rule h4 { font-size: 17px; margin-bottom: 8px; }
.comp-rule p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.comp-rule p strong { color: var(--white); }

.comp-foot {
  padding: 14px 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

/* SECTION 03: 3-MILESTONE TIMELINE */
.timeline-track {
  width: 100%;
  height: 2px;
  background: var(--line);
  margin-bottom: 0;
  overflow: hidden;
}
.timeline-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left center;
}

.rounds-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stage-col {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.stage-col.finale { background: var(--carbon); }
.round-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}
.round-num { font-weight: 700; color: var(--white); }
.round-num.accent { color: var(--green); }
.round-mode { padding: 4px 8px; border: 1px solid var(--line-hi); color: var(--ink-muted); font-size: 10.5px; }
.round-mode.accent-border { border-color: var(--green); color: var(--green); }
.round-name { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.round-date {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.date-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ink-dim); }
.date-val { font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: 0.05em; }
.date-val.accent { color: var(--green); }
.round-desc { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 18px; line-height: 1.62; }
.round-desc strong { color: var(--white); }
.round-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.round-bullets li {
  font-family: var(--mono);
  font-size: 12px;
  color: #d6d6e2;
  padding-left: 16px;
  position: relative;
}
.round-bullets li::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* SECTION 04: PPT FORMAT DOWNLOAD */
.ppt-section { background: var(--carbon); }
.ppt-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: start;
}
.ppt-badge-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mono-pill {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border: 1px solid var(--line-hi);
  color: var(--ink-muted);
}
.mono-pill.green { border-color: var(--green); color: var(--green); }
.ppt-action-panel h3 { font-size: 28px; margin-bottom: 14px; line-height: 1.2; }
.ppt-desc { font-size: 15.5px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 24px; }
.ppt-desc strong { color: var(--white); }

.upload-notice {
  border-left: 3px solid var(--cyan);
  background: var(--void);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.upload-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 6px;
}
.upload-notice p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }
.upload-notice strong { color: var(--white); }

.ppt-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

.ppt-blueprint { border: 1px solid var(--line); background: var(--void); }
.bp-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
}
.bp-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bp-row:last-child { border-bottom: 0; }
.bp-num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink-dim); padding-top: 2px; }
.bp-row strong { display: block; font-size: 15px; margin-bottom: 2px; color: var(--white); }
.bp-row span { font-size: 13px; color: var(--ink-muted); }

/* SECTION 05: PARTNERS (100% BOX-FREE TRANSPARENT) */
.partners-section { background: var(--void); }
.partner-tier { display: flex; flex-direction: column; align-items: center; padding: 34px 0; text-align: center; }
.tier-label { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.24em; color: var(--ink-dim); margin-bottom: 26px; }
.tier-label.primary { color: var(--white); font-size: 12.5px; letter-spacing: 0.28em; }
.tier-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 38px; }
.partner-logo { height: auto; opacity: 0.94; transition: opacity 0.18s ease, transform 0.18s ease; }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }

.logo-deepmind { height: clamp(40px, 5.2vw, 70px); max-width: 92vw; }
.logo-mlh { height: clamp(40px, 4.4vw, 56px); }
.logo-devto { height: clamp(34px, 3.8vw, 48px); }
.logo-tech { height: clamp(28px, 3vw, 40px); }
.logo-cf { height: clamp(36px, 3.8vw, 50px); }
.logo-xbc { height: clamp(32px, 3.4vw, 44px); }

.hairline-sep { border: 0; height: 1px; background: var(--line); max-width: 960px; margin: 0 auto; }
.partner-split { display: grid; grid-template-columns: 1fr 1px 1fr; max-width: 960px; margin: 0 auto; align-items: center; }
.split-vline { width: 1px; height: 90px; background: var(--line); }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-hi); }

/* SECTION 06: PERKS MATRIX */
.perks-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.perk-cell {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.18s ease;
}
.perk-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--green);
  transition: height 0.22s ease;
}
.perk-cell:hover { background: var(--carbon); }
.perk-cell:hover::before { height: 100%; }
.perk-index { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--green); margin-bottom: 14px; }
.perk-cell h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.28; }
.perk-cell p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.62; }
.perk-cell p strong { color: var(--white); font-weight: 600; }

/* SECTION 07: CREDENTIALS & WATERMARKED CERTIFICATE */
.credentials-layout { display: grid; grid-template-columns: 1fr 1.18fr; border: 1px solid var(--line); }
.cred-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.cred-tab {
  text-align: left;
  background: transparent;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 26px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: background 0.16s ease;
}
.cred-tab:last-child { border-bottom: 0; }
.cred-tab:hover { background: var(--carbon); }
.cred-tab.active { background: var(--surface); }
.cred-tab.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); }
.cred-code { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-dim); }
.cred-tab.active .cred-code { color: var(--green); }
.cred-tab strong { font-size: 18.5px; font-weight: 700; }
.cred-tab span:last-child { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }
.cred-tab span strong { font-size: inherit; color: var(--white); }

.cred-stage {
  background: var(--carbon);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.cred-panel { display: none; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.cred-panel.active { display: flex; }

.cert-watermarked-wrap {
  position: relative;
  width: min(520px, 100%);
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid var(--line-hi);
}
.cert-preview-img { width: 100%; height: auto; pointer-events: none; }
.cert-watermark-shield { position: absolute; inset: 0; z-index: 3; }

.shortlist-badge-preview {
  width: min(440px, 100%);
  background: #000;
  border: 1px solid var(--line-hi);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sb-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sb-top img { height: 22px; }
.sb-pill { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--green); }
.sb-center { display: flex; align-items: center; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sb-x { width: 72px; height: 72px; flex-shrink: 0; }
.sb-title { font-family: var(--mono); font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: 0.06em; }
.sb-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--ink-dim); flex-wrap: wrap; gap: 8px; }

.winner-preview {
  width: min(460px, 100%);
  border: 1px solid var(--line-hi);
  background: #000;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.winner-seal { width: 104px; height: 104px; flex-shrink: 0; }
.winner-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--green); display: block; margin-bottom: 8px; }
.winner-text h4 { font-size: 19px; margin-bottom: 8px; }
.winner-text p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }
.winner-text strong { color: var(--white); }

.cred-stage-note { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.08em; text-align: center; }

/* SECTION 08: CHECKLIST, WHATSAPP COMMUNITY & REGISTRATION */
.register-grid { display: grid; grid-template-columns: 1.1fr 0.95fr; gap: 44px; align-items: start; }
.checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.mono-label { color: var(--ink-muted); }
.checklist-progress { color: var(--green); font-weight: 700; white-space: nowrap; }

.checklist { list-style: none; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 15px;
  color: #e4e4ec;
}
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.chk-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--line-hi);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.checklist input:checked + .chk-box { background: var(--green); border-color: var(--green); }
.checklist input:checked + .chk-box::after { content: "✓"; color: #000; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.checklist input:checked ~ .chk-text { color: var(--ink-dim); text-decoration: line-through; }

/* Centered Official WhatsApp Community Banner */
.whatsapp-center-banner {
  margin: 56px auto 0;
  max-width: 820px;
  padding: 36px 32px;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--line-hi);
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.wa-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
}
.whatsapp-center-banner h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; }
.whatsapp-center-banner p {
  max-width: 620px;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.btn-whatsapp:hover { background: var(--white); }

.terms-note { margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--ink-dim); line-height: 1.65; }

.qr-register-wrap {
  border: 1px solid var(--line-hi);
  background: var(--carbon);
  padding: 28px;
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: 24px;
  align-items: center;
}
.qr-frame { background: #ffffff; padding: 8px; border: 2px solid var(--white); }
.qr-frame img { width: 100%; height: auto; }
.qr-kicker { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--green); margin-bottom: 8px; }
.qr-details h3 { font-size: 21px; line-height: 1.25; margin-bottom: 10px; }
.qr-details p { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 20px; line-height: 1.55; }
.qr-details p strong { color: var(--white); }
.qr-details .btn-primary { font-size: 11.5px; padding: 12px 16px; white-space: nowrap; }

/* FOOTER */
.footer { padding: 46px 0 54px; background: var(--void); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer-tagline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-dim); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-org { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em; color: var(--ink-muted); }
.footer-org img { height: 22px; }
.footer-dates { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--green); }

/* QR MODAL */
.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
}
.qr-modal[hidden] { display: none; }
.qr-modal-panel { width: min(400px, 100%); background: var(--void); border: 1px solid var(--line-hi); }
.qr-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green);
}
.qr-close { background: transparent; border: 1px solid var(--line-hi); color: var(--white); font-family: var(--mono); font-size: 11px; padding: 4px 10px; cursor: pointer; }
.qr-modal-body { padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.qr-modal-body img { width: min(230px, 70vw); height: auto; background: #fff; padding: 8px; }
.qr-modal-body p { font-size: 13.5px; color: var(--ink-muted); }

/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: calc(100vw - 40px);
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 12px 18px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 400;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .overview-grid, .gemma-grid, .ppt-grid, .credentials-layout, .register-grid { grid-template-columns: 1fr; }
  .rounds-three-col { grid-template-columns: 1fr; }
  .cred-tabs { border-right: 0; border-bottom: 1px solid var(--line); }
  .perks-matrix { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 14px; height: 64px; gap: 8px; }
  .nav-brand img { height: 36px; max-width: 54vw; object-fit: contain; object-position: left center; }
  .btn-icon-qr { display: none; }
  .btn-register-nav { height: 34px; padding: 0 11px; font-size: 10.5px; letter-spacing: 0.08em; }
  .menu-toggle { width: 34px; height: 34px; padding: 0 7px; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 32px; }
  .hero { padding: 28px 0 40px; min-height: auto; }
  .hud-corner { width: 14px; height: 14px; }
  .hud-corner.tl, .hud-corner.tr { top: 10px; }
  .hud-corner.bl, .hud-corner.br { bottom: 10px; }
  .hud-corner.tl, .hud-corner.bl { left: 10px; }
  .hud-corner.tr, .hud-corner.br { right: 10px; }

  .hero-telemetry { justify-content: center; text-align: center; margin-bottom: 24px; font-size: 10px; letter-spacing: 0.09em; }
  .hero-tagline { font-size: 13.5px; letter-spacing: 0.14em; margin-bottom: 18px; }
  .hero-organizer { font-size: 10px; letter-spacing: 0.09em; gap: 8px; }
  .org-logo { height: 20px; }
  .v-sep { display: none; }
  .hero-cta-row { width: 100%; flex-direction: column; }
  .hero-cta-row .btn-primary, .hero-cta-row .btn-community, .hero-cta-row .btn-secondary, .hero-cta-row .btn-ghost { width: 100%; }

  .cd-unit { min-width: 48px; }
  .cd-unit span { font-size: 24px; }
  .cd-colon { font-size: 20px; }
  .cd-tab { font-size: 9.5px; padding: 6px 8px; letter-spacing: 0.06em; }
  .cd-caption { font-size: 9.5px; letter-spacing: 0.1em; }

  .spec-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .stage-col { padding: 26px 18px; }
  .perks-matrix { grid-template-columns: 1fr; }
  .perk-cell { padding: 24px 18px; }
  .partner-split { grid-template-columns: 1fr; }
  .split-vline { width: 100%; height: 1px; }
  .tier-logos { gap: 22px; }
  .dot-sep { display: none; }
  .ppt-cta-group { flex-direction: column; }
  .ppt-cta-group .btn-primary, .ppt-cta-group .btn-secondary { width: 100%; font-size: 11px; padding: 12px 14px; }
  .cred-tab { padding: 20px 18px; }
  .cred-stage { padding: 20px 14px; min-height: auto; }
  .sb-center { flex-direction: column; text-align: center; gap: 12px; }
  .winner-preview { flex-direction: column; text-align: center; padding: 20px; }
  .whatsapp-center-banner { padding: 28px 18px; margin-top: 40px; }
  .btn-whatsapp { width: 100%; font-size: 11.5px; }
  .qr-register-wrap { grid-template-columns: 1fr; text-align: center; padding: 22px 16px; }
  .qr-frame { width: 190px; margin: 0 auto; }
  .qr-details .btn-primary { white-space: normal; }
  .footer-right { align-items: flex-start; }
  .footer-logo { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .pulse-dot, .cursor-block { animation: none; }
}
