:root {
  --bg: #030712;
  --bg-alt: #050816;
  --card-bg: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-strong: rgba(79, 70, 229, 0.3);
  --border-subtle: rgba(148, 163, 184, 0.25);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827, #020617);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.9), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #a855f7, #4f46e5);
  color: white;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  font-size: 1.1rem;
}

.logo-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-dot {
  color: #6366f1;
}

/* Navigation */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.35rem, 3.1vw + 1.4rem, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.highlight {
  background: linear-gradient(to right, #a855f7, #6366f1, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 580px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.small-note {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  box-shadow: 0 13px 30px rgba(56, 189, 248, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.37);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn.full-width {
  width: 100%;
}

/* Hero card */

.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.3), transparent),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.3), transparent),
    linear-gradient(to bottom right, #020617, #020617);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.hero-card-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.hero-card-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.35rem 0 1.1rem;
}

.metric {
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.metric-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 0.32rem;
}

.metric-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 0.95rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-list li {
  padding: 0.25rem 0;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, #020617, #020617);
}

.section-title {
  text-align: left;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 720px;
}

/* Grid */

.grid-3 {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cards */

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.98)
  );
  padding: 1.3rem 1.25rem 1.35rem;
}

.card.small {
  padding: 1.1rem 1.1rem 1.2rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card-list li {
  padding: 0.2rem 0;
}

/* Steps */

.steps {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1rem 1.15rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-strong);
  color: #c7d2fe;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.75rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.contact-points li {
  padding: 0.25rem 0;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #020617;
  padding: 1.4rem 1.3rem 1.5rem;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: #020617;
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}

.form-note {
  font-size: 0.82rem;
  margin-top: 0.4rem;
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.2rem 0 1.5rem;
  background: #020617;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive tweaks */

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 54px;
    right: 1.25rem;
    background: #020617;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 0.8rem;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 180px;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-card {
    margin-top: -0.4rem;
  }

  .section {
    padding: 2.4rem 0;
  }
}
