:root {
  --bg: #121212;
  --bg-soft: #181818;
  --panel: #1E1E1E;
  --panel-2: #232323;
  --text: #F5F7FA;
  --muted: #A7B0BE;
  --line: rgba(255,255,255,0.08);
  --blue: #007BFF;
  --blue-2: #5AA6FF;
  --slate: #6B7280;
  --success: #35C759;
  --shadow: 0 20px 60px rgba(0,0,0,0.40);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(0, 123, 255, 0.12), transparent 30%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(180deg, #101010 0%, #121212 100%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol { padding-left: 1.2rem; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  display: inline-block;
}

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

p.lead {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 760px;
}

p, li {
  color: var(--muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,123,255,0.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,123,255,0.35);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(18,18,18,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,123,255,0.95), rgba(90,166,255,0.55)), #0F172A;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 28px rgba(0,123,255,0.28);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero { padding: 88px 0 64px; }

.hero-grid,
.cards-grid,
.two-col,
.footer-grid { display: grid; gap: 24px; }

.hero-grid { align-items: center; }

.hero-card,
.card,
.panel,
.legal-main,
.legal-box,
.cta-banner {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,123,255,0.20), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.05), transparent 28%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; }

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

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

.metric strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 4px;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  min-height: 360px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)),
    radial-gradient(circle at 50% 40%, rgba(0,123,255,0.28), transparent 28%),
    linear-gradient(135deg, #141414, #1D1D1D);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.grid-lines,
.orb,
.floating-card { position: absolute; }

.grid-lines {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,0.2));
}

.orb {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,123,255,0.45), rgba(0,123,255,0.02) 68%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(8px);
}

.floating-card {
  background: rgba(18,18,18,0.84);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  width: 220px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.floating-card small {
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.floating-card p { color: #D7DEE8; font-size: 0.95rem; }
.fc-1 { top: 10%; left: 7%; }
.fc-2 { right: 8%; top: 22%; }
.fc-3 { left: 14%; bottom: 10%; }

.section-head { display: grid; gap: 10px; margin-bottom: 32px; }

.card, .panel { padding: 24px; transition: transform 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(0,123,255,0.35); }

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,123,255,0.12);
  color: var(--blue-2);
  border: 1px solid rgba(0,123,255,0.22);
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 800;
}

.bullet-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.bullet-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  flex: 0 0 10px;
  box-shadow: 0 0 14px rgba(0,123,255,0.45);
}

.cta-banner {
  padding: 34px;
  border: 1px solid rgba(0,123,255,0.18);
  background:
    linear-gradient(135deg, rgba(0,123,255,0.12), rgba(255,255,255,0.03)),
    #171717;
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #101010;
  padding: 36px 0 48px;
}

.footer p, .footer a { color: var(--muted); font-size: 0.95rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-box {
  margin-top: 14px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

.legal-page { padding: 64px 0; }
.legal-main {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 36px;
}
.legal-main h1 { margin-bottom: 10px; }
.legal-main h2 { font-size: clamp(1.35rem, 2vw, 2rem); margin-top: 28px; margin-bottom: 12px; }
.legal-main h3 { margin-top: 20px; }
.legal-main p,
.legal-main li { margin-bottom: 12px; }
.legal-main ul { margin-bottom: 12px; }
.legal-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .cards-grid.services { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.products { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .cta-banner { grid-template-columns: 1.2fr auto; }
}

@media (min-width: 1100px) {
  .cards-grid.services { grid-template-columns: repeat(4, 1fr); }
}
