*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #030712;
  --bg-alt: rgba(15, 23, 42, 0.85);
  --glass: rgba(15, 23, 42, 0.75);
  --border-subtle: rgba(148, 163, 184, 0.4);
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.25);
  --accent-2: #22d3ee;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.65);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.45);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 1.25rem auto;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.75rem;
  backdrop-filter: blur(26px);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(30, 64, 175, 0.35));
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-pill {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, #4f46e5, #22d3ee 45%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.logo-glyph {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.main-nav a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.16s ease;
}

.main-nav a:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.main-nav a.active {
  color: white;
  border-color: rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.3), rgba(15, 23, 42, 0.95));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: stretch;
}

.glass {
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), var(--glass));
  border-radius: 30px;
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.accent {
  background: linear-gradient(120deg, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: radial-gradient(circle at top left, #4f46e5, #22d3ee);
  color: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.btn.primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn.large {
  padding-inline: 1.8rem;
  padding-block: 0.9rem;
}

.btn.full-width {
  width: 100%;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.hero-highlights li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.status-pill {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.9);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.78rem;
}

.metric-card {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.28), rgba(15, 23, 42, 0.9));
  border-radius: 18px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: var(--shadow-subtle);
}

.metric-label {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-diagram {
  margin-top: 0.5rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), rgba(15, 23, 42, 0.96));
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.node {
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
}

.node-main {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.55), rgba(14, 165, 233, 0.25));
  margin-bottom: 0.8rem;
}

.node-title {
  display: block;
  font-weight: 600;
}

.node-sub {
  display: block;
  color: var(--muted);
  margin-top: 0.1rem;
}

.node-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.node-soft {
  background: rgba(15, 23, 42, 0.9);
}

.node-soft span {
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

.section.alt {
  padding-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.card-list li + li {
  margin-top: 0.25rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.75rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
}

.check-list li + li {
  margin-top: 0.35rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a5b4fc;
  font-size: 0.85rem;
}

.highlight-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.mini-card {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
}

.mini-label {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.7);
  margin-bottom: 0.3rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.section.cta {
  padding-bottom: 3rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  margin-bottom: 0.7rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.narrow {
  max-width: 720px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.75rem;
}

.contact-form-card h2,
.contact-info-card h2 {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
textarea {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.5);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0.25rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-info-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.legal-content p {
  margin: 0.1rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 0 1.75rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
  border-top: 1px solid rgba(30, 64, 175, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.footer-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding-top: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards-grid,
  .highlight-grid,
  .two-columns,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 20px;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .glass {
    border-radius: 24px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 0.75rem;
  }

  .main-nav {
    position: absolute;
    inset: 3.2rem 0 auto;
    margin-inline: 0.75rem;
    border-radius: 20px;
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav a {
    width: 100%;
    text-align: left;
  }
}
