:root {
  --bg: #07141a;
  --bg2: #0d232b;
  --panel: rgba(255, 248, 240, 0.06);
  --text: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.72);
  --line: rgba(245, 240, 232, 0.12);
  --accent: #ff7a18;
  --accent2: #72f2c0;
  --accent3: #ffd66b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius2: 24px;
  --max: 1180px;
  --font: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

#bgNet,
#bgCode {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
#bgCode {
  z-index: -2;
  opacity: 0.55;
}
.bgGlow {
  position: fixed;
  inset: -30%;
  background: conic-gradient(
    from 180deg,
    rgba(255, 122, 24, 0.2),
    rgba(114, 242, 192, 0.14),
    rgba(255, 214, 107, 0.12)
  );
  filter: blur(120px);
  z-index: -4;
  animation: glowRotate 14s linear infinite;
  opacity: 0.75;
}
@keyframes glowRotate {
  to {
    transform: rotate(360deg);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(7, 20, 26, 0.52);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logoDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}
.brandText {
  font-weight: 760;
  letter-spacing: 0.2px;
}
.brandAccent {
  color: var(--accent2);
  font-weight: 800;
}

.navStatic {
  display: flex;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-weight: 650;
}
.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.navToggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.navToggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  opacity: 0.85;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 18px 10px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.heroLeft,
.heroRight,
.serviceGrid,
.splitSection,
.legalGrid,
.metric,
.featureCard,
.timelineCard,
.glassPanel {
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.05);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  flex-wrap: wrap;
  max-width: min(100%, 720px);
}
.pulseDot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 0.35em;
  border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 0 0 rgba(114, 242, 192, 0.35);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(114, 242, 192, 0.28);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(114, 242, 192, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(114, 242, 192, 0);
  }
}

h1 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 0.98;
  letter-spacing: -1.1px;
}
.h1Accent {
  display: block;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent3), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
  max-width: 62ch;
}

.ctaRow {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0 14px;
}
.btn {
  border: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.04);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
.btn.primary {
  border-color: rgba(255, 122, 24, 0.45);
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.22), rgba(114, 242, 192, 0.12));
}
.btn.ghost {
  background: rgba(255, 248, 240, 0.02);
}

.quickFacts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.factPill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 107, 0.22);
  background: rgba(255, 214, 107, 0.07);
  color: rgba(245, 240, 232, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
}

.emailInline {
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 650;
}
.emailInline a {
  color: rgba(245, 240, 232, 0.92);
}

.copyFeedback {
  display: inline-block;
  min-width: 112px;
  margin-left: 10px;
  color: var(--accent2);
}

.terminalCard {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: min(620px, 100%);
}
.terminalTop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.9;
}
.dot.red {
  background: #ff5b6e;
}
.dot.yellow {
  background: #ffd166;
}
.dot.green {
  background: #2ee59d;
}
.terminalTitle {
  margin-left: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.terminalBody {
  margin: 0;
  padding: 12px 14px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  color: rgba(245, 240, 232, 0.92);
  line-height: 1.5;
  font-size: 0.91rem;
  height: clamp(180px, 24vh, 240px);
  overflow: auto;
  white-space: pre;
  scrollbar-width: thin;
}
.caret {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
  opacity: 0.9;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.terminalHint {
  padding: 10px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.heroRight {
  position: relative;
  min-height: 520px;
}
.glassPanel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.08), rgba(255, 248, 240, 0.03));
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.panelEyebrow {
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  margin-bottom: 6px;
}
.panelTitle {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.metric {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(4, 10, 16, 0.22);
  border: 1px solid rgba(255, 248, 240, 0.06);
  margin-bottom: 10px;
  gap: 16px;
}
.ok {
  color: var(--accent2);
  font-weight: 900;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

.miniGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.chip {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(4, 10, 16, 0.18);
  border: 1px solid rgba(255, 122, 24, 0.22);
  text-align: center;
  font-weight: 850;
  letter-spacing: 0.2px;
}

.signalCard {
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.12), rgba(255, 214, 107, 0.08));
  border: 1px solid rgba(255, 214, 107, 0.14);
}

.signalCard p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.signalTitle {
  font-weight: 900;
}

.scanner {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(24, 226, 178, 0.12) 50%, transparent 100%);
  transform: translateY(-60%);
  animation: scan 3.4s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes scan {
  0% {
    transform: translateY(-65%);
    opacity: 0.2;
  }
  50% {
    transform: translateY(10%);
    opacity: 0.6;
  }
  100% {
    transform: translateY(70%);
    opacity: 0.2;
  }
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 54px;
}
.brandLine {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.muted {
  color: var(--muted);
  margin-top: 8px;
}
.footerRight {
  display: flex;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 18px 0;
}
.sectionLabel {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent3);
  font-size: 0.78rem;
  font-weight: 800;
}
.sectionHead h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.6px;
}
.sectionHead p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 68ch;
}
.card {
  border: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.03);
  border-radius: var(--radius2);
  padding: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.featureCard {
  position: relative;
  padding: 22px;
  min-height: 210px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.05), rgba(255, 248, 240, 0.02)),
    radial-gradient(circle at top right, rgba(255, 122, 24, 0.14), transparent 42%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.featureCard h3,
.timelineItem h3,
.legalCard h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.featureCard p,
.timelineItem p,
.legalText {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.featureIndex {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent3);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.splitSection {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.timelineCard {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.05), rgba(255, 248, 240, 0.02));
  box-shadow: var(--shadow);
}

.timelineItem {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  padding: 0 0 24px;
}

.timelineItem:last-child {
  padding-bottom: 0;
}

.timelineItem:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  width: 1px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, rgba(255, 214, 107, 0.5), transparent);
}

.timelineDot {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  box-shadow: 0 0 0 5px rgba(255, 122, 24, 0.12);
}

.legalSection {
  padding-top: 56px;
}

.legalGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.legalCard {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legalActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.isVisible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 22px;
  }
}

/* Mobile */
@media (max-width: 980px) {
  body {
    background: var(--bg);
  }
  #bgNet {
    display: none;
  }
  #bgCode {
    opacity: 0.18;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .serviceGrid,
  .splitSection,
  .legalGrid {
    grid-template-columns: 1fr;
  }
  .heroRight {
    min-height: auto;
  }
  .nav {
    display: none;
  }
  .navToggle {
    display: inline-block;
  }
  .nav.open {
    display: flex;
    position: absolute;
    right: 18px;
    top: 58px;
    width: min(220px, calc(100vw - 36px));
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(7, 20, 26, 0.92);
    border-radius: 16px;
    backdrop-filter: blur(10px);
  }
  .nav.navStatic {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    flex-direction: row;
  }
  .glassPanel {
    max-width: 760px;
  }
  .terminalCard {
    width: min(100%, 680px);
  }
}

@media (max-width: 760px) {
  .topbar,
  .hero,
  .section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .ctaRow .btn {
    width: 100%;
  }
  .emailInline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .copyFeedback {
    min-width: 0;
    margin-left: 0;
  }
  .quickFacts {
    gap: 8px;
  }
  .factPill {
    width: 100%;
    text-align: center;
  }
  .badge {
    flex-wrap: nowrap;
    align-items: center;
  }
  .metric {
    flex-direction: column;
    align-items: flex-start;
  }
  .miniGrid {
    grid-template-columns: 1fr;
  }
  .terminalBody {
    height: clamp(170px, 28vh, 220px);
  }
  .terminalTitle {
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .bgGlow {
    display: none;
  }
  .topbar {
    padding: 12px 14px;
  }
  h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
  .lead,
  .sectionHead p,
  .featureCard p,
  .timelineItem p,
  .legalText {
    font-size: 0.98rem;
  }
  .badge {
    border-radius: 18px;
    padding: 10px 12px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .badge::-webkit-scrollbar {
    display: none;
  }
  .featureCard,
  .timelineCard,
  .glassPanel,
  .card {
    padding: 18px;
    border-radius: 20px;
  }
  .terminalTop {
    padding: 9px 10px;
  }
  .terminalBody {
    padding: 11px 12px 13px;
    font-size: 0.85rem;
  }
  .footerRight {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bgGlow,
  .pulseDot,
  .scanner,
  .caret,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
