@import "tailwindcss";

:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10151b;
  --panel-2: #151c22;
  --text: #eef4f2;
  --muted: #9aa8a7;
  --line: rgba(238, 244, 242, 0.16);
  --green: #5fd07a;
  --blue: #71b7ff;
  --blue-strong: #2f8cff;
  --blue-deep: #10264f;
  --cyan: #9de7ff;
  --amber: #efb95a;
  --red: #e86b5d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font-display: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.06rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 9, 13, 0.48);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 13, 0.84);
  border-color: var(--line);
}

.brand,
.nav,
.hero-actions,
.footer-inner,
.metric-row,
.panel-topline {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(113, 183, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--cyan) 0 3px, transparent 4px),
    conic-gradient(from 140deg, transparent 0 28%, rgba(113, 183, 255, 0.95) 28% 44%, transparent 44% 100%);
  box-shadow: 0 0 28px rgba(47, 140, 255, 0.38);
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.nav a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--text);
}

.header-cta,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-family: var(--font-display);
  font-weight: 680;
}

.header-cta {
  border-color: rgba(113, 183, 255, 0.44);
  background: rgba(16, 38, 79, 0.58);
  color: var(--cyan);
}

.header-cta:hover,
.button.ghost:hover {
  border-color: rgba(113, 183, 255, 0.64);
  background: rgba(47, 140, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 116px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.72) 45%, rgba(7, 9, 13, 0.24) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 24%, transparent 82%, rgba(7, 9, 13, 0.72) 100%);
}

.hero-content,
.signal-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 13vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  color: #d6dfdd;
  font-size: clamp(1.14rem, 2vw, 1.45rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  border-color: rgba(157, 231, 255, 0.52);
  background: linear-gradient(135deg, var(--cyan), var(--blue-strong) 58%, var(--blue-deep));
  color: #03101f;
  box-shadow: 0 14px 42px rgba(47, 140, 255, 0.32);
}

.button.primary:hover {
  background: linear-gradient(135deg, #d4f6ff, #71b7ff 56%, #1c5fd2);
}

.button.ghost {
  border-color: rgba(113, 183, 255, 0.36);
  background: rgba(16, 38, 79, 0.44);
  color: var(--cyan);
}

.signal-panel,
.report-card,
.flow article,
.feature-grid article {
  border: 1px solid var(--line);
  background: rgba(16, 21, 27, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-panel {
  border-radius: 8px;
  padding: 22px;
  align-self: end;
}

.panel-topline {
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.panel-topline strong {
  color: var(--blue);
}

.hr-readout {
  margin: 22px 0 14px;
}

.hr-readout span {
  font-family: var(--font-mono);
  font-size: clamp(4.2rem, 8vw, 7rem);
  font-weight: 850;
  line-height: 0.9;
}

.hr-readout small {
  color: var(--muted);
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.zone-grid span {
  height: 7px;
  border-radius: 999px;
  background: var(--line);
}

.zone-grid span:nth-child(1) { background: var(--blue); }
.zone-grid span:nth-child(2) { background: var(--green); }
.zone-grid span:nth-child(3) { background: #d7e86a; }
.zone-grid span:nth-child(4) { background: var(--amber); }
.zone-grid span:nth-child(5) { background: var(--red); opacity: 0.45; }

.wave {
  width: 100%;
  height: auto;
  margin: 8px 0 18px;
}

.wave-grid {
  stroke: rgba(238, 244, 242, 0.09);
  stroke-width: 1;
}

.wave-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(95, 208, 122, 0.45));
  stroke-dasharray: 560;
  animation: draw 3.6s linear infinite;
}

@keyframes draw {
  from { stroke-dashoffset: 560; }
  to { stroke-dashoffset: 0; }
}

.metric-row {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.metric-row b {
  color: var(--text);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band,
.dashboard-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #091015, #0b0d10);
}

.intro-band {
  padding: 72px 0;
}

.two-col,
.privacy-grid,
.dashboard {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.lead {
  font-size: 1.13rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 70px 0;
}

.flow article,
.feature-grid article {
  border-radius: 8px;
  padding: 24px;
}

.step {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-family: var(--font-mono);
}

.privacy {
  padding: 84px 0;
  background:
    linear-gradient(120deg, rgba(47, 140, 255, 0.12), transparent 38%),
    #080b0f;
}

.privacy-stack {
  display: grid;
  gap: 10px;
}

.privacy-stack div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 28, 34, 0.62);
}

.privacy-stack span {
  color: var(--muted);
}

.analysis {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid article {
  box-shadow: none;
  background: rgba(16, 21, 27, 0.54);
}

.dashboard-band {
  padding: 82px 0;
}

.dashboard {
  align-items: center;
}

.dash-copy {
  max-width: 520px;
}

.report-card {
  border-radius: 8px;
  padding: 24px;
  background: #10151b;
}

.report-head,
.kpis,
.timeline,
.report-lines {
  display: grid;
}

.report-head {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 18px;
}

.report-head span {
  color: var(--muted);
}

.report-head strong {
  color: var(--blue);
}

.kpis {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpis div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.kpis b {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
}

.kpis span {
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline {
  display: flex;
  align-items: end;
  height: 112px;
  gap: 4px;
  margin: 22px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(113, 183, 255, 0.08) 20%, rgba(95, 208, 122, 0.08) 20% 40%, rgba(215, 232, 106, 0.08) 40% 60%, rgba(239, 185, 90, 0.08) 60% 80%, rgba(232, 107, 93, 0.08) 80%);
}

.timeline span {
  width: var(--w);
  height: var(--h);
  min-height: 24px;
  flex: 0 0 var(--w);
  border-radius: 5px 5px 2px 2px;
  background: var(--c);
  opacity: 0.86;
}

.report-lines {
  gap: 9px;
}

.report-lines span {
  height: 9px;
  border-radius: 999px;
  background: rgba(238, 244, 242, 0.12);
}

.report-lines span:nth-child(1) { width: 86%; }
.report-lines span:nth-child(2) { width: 64%; }
.report-lines span:nth-child(3) { width: 78%; }

.roadmap {
  padding: 86px 0;
}

.roadmap-list {
  display: grid;
  gap: 12px;
}

.roadmap-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.roadmap-list span {
  color: var(--blue);
  font-weight: 780;
}

.roadmap-list p {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--text);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .two-col,
  .privacy-grid,
  .dashboard,
  .feature-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .signal-panel {
    align-self: stretch;
  }

  .feature-grid,
  .flow {
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metric-row,
  .privacy-stack div,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .roadmap-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wave-line {
    animation: none;
  }
}

@keyframes heroWake {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: saturate(0.65);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
  }
}

.contact-strip {
  padding: 72px 0;
}

.contact-strip h2 {
  max-width: 680px;
}

.contact-strip p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}
