:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.1);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 700px at 20% 10%, rgba(56, 189, 248, 0.15), transparent 55%), radial-gradient(900px 600px at 85% 25%, rgba(99, 102, 241, 0.12), transparent 60%), var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 16, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  font-weight: 800;
  color: var(--accent);
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  color: #cbd5e1;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.nav-cta {
  background: var(--accent);
  color: #07121d;
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 800;
}
.nav-cta.active {
  background: var(--accent);
  color: #07121d;
  border: none;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  margin: 5px auto;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.45));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 64px 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.35);
  padding: 8px 12px;
  border-radius: 999px;
  color: #cbd5e1;
  font-weight: 600;
}
.pill.small {
  font-size: 12px;
  padding: 6px 10px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}
.hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}
.accent {
  color: var(--accent);
}
.lead {
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn.primary {
  background: var(--accent);
  color: #06121c;
  border-color: rgba(56, 189, 248, 0.45);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}
.btn:hover {
  transform: translateY(-1px);
  transition: 0.2s;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stat {
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 140px;
}
.stat strong {
  display: block;
  font-size: 18px;
}
.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* Hero product card */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: rgba(2, 6, 23, 0.35);
}
.hero-img-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 16px;
}
.hero-img-footer small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--accent);
  font-weight: 800;
}
.badge.ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

/* Sections */
.section {
  padding: 68px 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-head {
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
}
.muted {
  color: var(--muted);
}

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

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}
.card h3 {
  margin: 10px 0 6px;
}
.card p {
  margin: 0 0 10px;
  color: #cbd5e1;
  line-height: 1.6;
}
.card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
}
.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-top: 6px;
}

/* Ticks list */
.ticks {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #cbd5e1;
}
.ticks li {
  margin: 6px 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px;
}
.step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 10px;
}

/* Page hero */
.page-hero {
  padding: 44px 0 18px;
}
.page-hero h1 {
  margin: 0 0 6px;
}

/* Contact layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px;
}
.contact-card p {
  margin: 6px 0 0;
  color: #cbd5e1;
}

.panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 0;
}
.form {
  padding: 6px 14px 16px;
}
label {
  display: block;
  margin-top: 12px;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border-radius: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.35);
  color: #e5e7eb;
  outline: none;
}
textarea {
  resize: vertical;
}

.checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  color: #cbd5e1;
}
.check input {
  width: auto;
  margin: 0;
}

.form-note {
  margin: 10px 0 0;
  color: #cbd5e1;
}

/* Callout */
.callout {
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.callout h3 {
  margin: 0;
}
.callout p {
  margin: 4px 0 0;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  background: rgba(2, 6, 23, 0.35);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 14px;
}
.footer a {
  color: #cbd5e1;
}
.footer a:hover {
  color: var(--accent);
}
.small {
  font-size: 12px;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.55);
  color: #e5e7eb;
  cursor: pointer;
  display: none;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .hero-img {
    height: 320px;
  }
}
@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 64px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(10, 16, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .nav.open {
    display: flex;
  }
}
