:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.6);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 40%, #000 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

/* Containers & layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #0f172a 0, #020617 60%);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.9rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, #38bdf8, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7), var(--shadow-subtle);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #22c55e);
  transition: width 0.16s ease-out;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text);
  border-radius: 10px;
  width: 40px;
  height: 36px;
  font-size: 1.1rem;
}

/* Hero */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  padding-bottom: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.7fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  color: var(--muted);
  max-width: 480px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.hero-stats {
  margin-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.stat-value {
  font-weight: 600;
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out,
    border-color 0.08s ease-out, background 0.08s ease-out;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: #0b1120;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7), var(--shadow-subtle);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.8);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
  background: rgba(15, 23, 42, 0.6);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
}

/* Cards & grids */

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.75);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  color: var(--muted);
}

.card-service ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--accent);
}

/* Lists */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✔";
  margin-right: 0.4rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.checklist li {
  margin-bottom: 0.4rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 1rem;
}

.feature-list h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list.small li {
  margin-bottom: 0.5rem;
}

/* Logos row */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.logo-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  background: rgba(15, 23, 42, 0.8);
}

/* Highlight box */

.highlight-box {
  background: radial-gradient(circle at top left, var(--accent-soft), #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

/* Contact teaser */

.contact-teaser {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  justify-content: space-between;
}

.contact-teaser p {
  color: var(--muted);
}

/* Forms */

.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.8);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.8rem 0 1.2rem;
  background: radial-gradient(circle at top, #020617, #000);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 0.6rem;
}

.footer-copy {
  max-width: 360px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 52px;
    right: 1.25rem;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 180px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: none;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .contact-teaser {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
