:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --bg-card: #111f33;
  --text: #f8fbff;
  --muted: #a8b3c7;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #4f8cff;
  --secondary: #7c4dff;
  --accent: #38e8ff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(79, 140, 255, 0.28));
}

.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
}

.brand-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  color: var(--white) !important;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-button {
  display: none;
  background: transparent;
  color: var(--white);
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 140, 255, 0.32), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(124, 77, 255, 0.25), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(56, 232, 255, 0.14), transparent 32%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 780px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 18px 48px rgba(79, 140, 255, 0.28);
}

.button-secondary {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-points {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-points span {
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
}

.hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 31, 51, 0.9), rgba(7, 17, 31, 0.94));
  box-shadow: var(--shadow);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #48ff9b;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(72, 255, 155, 0.8);
}

.terminal-card {
  overflow: hidden;
  border-radius: 18px;
  background: #050b14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-header {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-header span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

pre {
  padding: 22px;
  overflow-x: auto;
}

code {
  color: #d7e3ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.metric-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid strong {
  display: block;
  font-size: 1.35rem;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Trust */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.trust-content {
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
}

/* Sections */

.section,
.split-section,
.why-section {
  padding: 92px 0;
}

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

.section-heading h2,
.split-grid h2,
.why-grid h2,
.contact-grid h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.section-heading p,
.split-grid p,
.why-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 140, 255, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.service-card h3,
.blockchain-card h3,
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p,
.blockchain-card p,
.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card ul {
  list-style: none;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card li {
  margin-top: 8px;
}

.service-card li::before {
  content: "→ ";
  color: var(--accent);
}

/* Split */

.split-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 54px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #dce7ff;
  background: rgba(255, 255, 255, 0.04);
}

.glass-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.14), rgba(124, 77, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.glass-panel h3 {
  margin-bottom: 22px;
  font-size: 1.35rem;
}

.outcome {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.outcome span {
  color: var(--accent);
  font-weight: 900;
}

.outcome p {
  font-size: 0.92rem;
  margin-top: 4px;
}

/* Blockchain */

.dark-section {
  background:
    radial-gradient(circle at 80% 30%, rgba(124, 77, 255, 0.18), transparent 30%),
    #050b14;
  border-bottom: 1px solid var(--line);
}

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

.blockchain-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.process-step span {
  display: inline-flex;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 20px;
}

/* Why */

.why-section {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(124, 77, 255, 0.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
}

.why-list {
  display: grid;
  gap: 18px;
}

.why-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.why-list p {
  margin-top: 6px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-info {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.contact-info div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-info strong,
.contact-info span {
  display: block;
}

.contact-info span {
  color: var(--muted);
  margin-top: 4px;
}

.contact-info a {
  color: var(--muted);
  margin-top: 4px;
  display: inline-block;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  color: #dce7ff;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(5, 11, 20, 0.82);
  color: var(--white);
  outline: none;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(79, 140, 255, 0.75);
}

.full-width {
  width: 100%;
  border: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 14px;
}

/* Footer */

.site-footer {
  padding: 48px 0 24px;
  background: #050b14;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

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

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.98);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .hero {
    padding: 70px 0 50px;
  }

  .services-grid,
  .process-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .why-section {
    padding: 68px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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