:root {
  color-scheme: dark;
  --bg: #040a1e;
  --bg-2: #071132;
  --bg-3: #0b1a4d;
  --card: rgba(10, 24, 64, 0.82);
  --border: rgba(64, 120, 255, 0.2);
  --text: #e6f0ff;
  --muted: #9db7e8;
  --accent: #4c8dff;
  --accent-2: #7dd3fc;
  --shadow: 0 20px 60px rgba(5, 12, 40, 0.45);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #0b1a4d, #040a1e 45%, #030814 100%);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(3, 10, 30, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f6bff, #00d4ff);
  box-shadow: 0 0 20px rgba(90, 160, 255, 0.5);
}

.menu {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.menu a {
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 110px 0 90px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin-bottom: 20px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #2f6bff, #00d4ff);
  color: #04102a;
  box-shadow: 0 12px 30px rgba(76, 141, 255, 0.4);
}

.btn.ghost {
  border-color: rgba(125, 211, 252, 0.4);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 18px;
  background: rgba(7, 17, 50, 0.6);
}

.trust-number {
  font-size: 1.2rem;
  font-weight: 700;
}

.trust-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.card-title {
  font-weight: 600;
}

.status {
  background: rgba(0, 255, 170, 0.12);
  color: #5efacc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.metric {
  margin-bottom: 18px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 600;
}

.metric-bar {
  height: 6px;
  background: rgba(76, 141, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f6bff, #00d4ff);
}

.card-footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section.alt {
  background: linear-gradient(180deg, rgba(7, 17, 50, 0.85), rgba(3, 10, 30, 0.95));
  border-top: 1px solid rgba(64, 120, 255, 0.12);
  border-bottom: 1px solid rgba(64, 120, 255, 0.12);
}

.section-header {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-lead {
  color: var(--muted);
  margin-top: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.panel {
  background: rgba(7, 17, 50, 0.6);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(7, 17, 50, 0.8);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 18px;
}

.card ul {
  margin-top: 14px;
  list-style: none;
  color: var(--muted);
}

.card li {
  margin-bottom: 8px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.product {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(5, 14, 40, 0.8);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: rgba(7, 17, 50, 0.6);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 18px;
}

.step span {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.stat {
  padding: 18px;
  background: rgba(7, 17, 50, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.auth {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.auth-copy p {
  color: var(--muted);
  margin-top: 12px;
}

.auth-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(5, 14, 40, 0.8);
}

.auth-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 20, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.auth-gate.hidden {
  display: none;
}

.auth-gate-card {
  width: min(900px, 92%);
  background: rgba(7, 17, 50, 0.95);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-shadow: var(--shadow);
}

.role-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.role-card {
  text-align: left;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(5, 14, 40, 0.8);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.role-card h4 {
  margin-bottom: 8px;
}

.role-card ul {
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.role-card li {
  margin-bottom: 6px;
}

.role-card.active {
  border-color: rgba(125, 211, 252, 0.8);
  box-shadow: 0 0 18px rgba(76, 141, 255, 0.35);
  transform: translateY(-2px);
}

.auth-actions {
  display: grid;
  gap: 10px;
}

.auth-status {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(76, 141, 255, 0.25);
  background: rgba(7, 17, 50, 0.6);
  color: var(--accent-2);
  font-size: 0.9rem;
}

.contact-copy p {
  color: var(--muted);
  margin-top: 12px;
}

.contact-info {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(5, 14, 40, 0.8);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

input, textarea {
  background: rgba(7, 17, 50, 0.8);
  border: 1px solid rgba(76, 141, 255, 0.2);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
}

input:focus, textarea:focus {
  outline: 1px solid var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-grid h4 {
  margin-bottom: 12px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .menu {
    display: none;
    flex-direction: column;
    background: rgba(7, 17, 50, 0.95);
    position: absolute;
    right: 5%;
    top: 70px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
  }

  .menu.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}
