/* =========
   Global Reset & Base
   ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #050816;
  background: radial-gradient(circle at top, #050816 0, #020617 40%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
}

/* =========
   Layout
   ========= */
.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* =========
   Navbar
   ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(
    from 220deg,
    #38bdf8,
    #a855f7,
    #22c55e,
    #38bdf8
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 12px 35px rgba(15, 23, 42, 0.9);
}

.brand-mark-inner {
  width: 20px;
  height: 20px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #e5e7eb, #64748b);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: #9ca3af;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  transition: width 180ms ease;
}

.nav-links a:hover {
  color: #e5e7eb;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: #e5e7eb;
}

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9),
    0 18px 45px rgba(15, 23, 42, 0.9);
  transition: border-color 160ms ease, transform 160ms ease,
    box-shadow 160ms ease, background 160ms ease;
}

.nav-cta span.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #16a34a);
}

.nav-cta:hover {
  border-color: rgba(248, 250, 252, 0.7);
  transform: translateY(-1px);
  background: radial-gradient(circle at top left, #111827, #020617);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

/* =========
   Hero (Home)
   ========= */
.hero {
  padding: 80px 0 72px;
  color: #e5e7eb;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, #020617, #020617);
  color: #9ca3af;
  font-size: 0.72rem;
  margin-bottom: 18px;
}

.eyebrow-pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  color: #020617;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: clamp(2.6rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title span.gradient {
  background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease,
    border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, #38bdf8, #a855f7);
  color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-weight: 500;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.95);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(248, 250, 252, 0.75);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-meta-item strong {
  display: block;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top left, #020617, #020617);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hero-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
}

.hero-tab {
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: 999px;
  color: #9ca3af;
}

.hero-tab.is-active {
  background: radial-gradient(circle at top left, #38bdf8, #a855f7);
  color: #020617;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #9ca3af;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  border-radius: 16px;
  padding: 10px 12px;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.metric-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e5e7eb;
}

.metric-tag {
  font-size: 0.7rem;
  color: #22c55e;
}

.hero-chart {
  position: relative;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(55, 65, 81, 0.7);
}

.chart-line {
  position: relative;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.15),
    rgba(168, 85, 247, 0.15)
  );
  overflow: hidden;
}

.chart-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(56, 189, 248, 0.6),
    transparent 55%
  );
  opacity: 0.7;
}

.hero-floating {
  position: absolute;
  right: -18px;
  bottom: 16px;
  width: 170px;
  border-radius: 18px;
  padding: 10px 12px;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.85);
}

.hero-floating-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 2px;
}

.hero-floating-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hero-floating-main strong {
  font-size: 1rem;
  color: #e5e7eb;
}

.hero-floating-badge {
  font-size: 0.68rem;
  color: #22c55e;
}

/* =========
   Sections
   ========= */
.section {
  padding: 52px 0;
  color: #e5e7eb;
}

.section-header {
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.section-title-group {
  max-width: 520px;
}

.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.92rem;
  color: #9ca3af;
}

.section-meta {
  font-size: 0.8rem;
  color: #6b7280;
  max-width: 320px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  color: #9ca3af;
}

/* =========
   Cards & Grids
   ========= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.95);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 500;
}

.card-tag {
  font-size: 0.7rem;
  color: #9ca3af;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.card-body {
  font-size: 0.86rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6b7280;
}

.card-metric {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chip {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #9ca3af;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: flex-start;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.stacked-list {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.stacked-list strong {
  color: #e5e7eb;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
}

.contact-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.contact-list {
  display: grid;
  gap: 10px;
  font-size: 0.86rem;
  color: #9ca3af;
}

.contact-label {
  font-size: 0.76rem;
  color: #6b7280;
}

.contact-value {
  color: #e5e7eb;
}

.contact-value a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.contact-meta {
  margin-top: 10px;
  font-size: 0.76rem;
  color: #6b7280;
}

.form {
  display: grid;
  gap: 10px;
}

.field-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.78rem;
  color: #9ca3af;
}

.field input,
.field textarea,
.field select {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.86rem;
  padding: 8px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    background 160ms ease;
  font-family: inherit;
}

.field textarea {
  border-radius: 16px;
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 1);
}

.form-footnote {
  font-size: 0.74rem;
  color: #6b7280;
}

/* =========
   Footer
   ========= */
.footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top, #020617, #020617);
}

.footer-inner {
  padding: 20px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6b7280;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* =========
   Utilities
   ========= */
.muted {
  color: #6b7280;
}

.accent {
  background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.4),
    transparent
  );
  margin-block: 26px;
}

.badge-soft {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #9ca3af;
}

/* =========
   Responsive
   ========= */
@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-floating {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

