:root {
  color-scheme: dark;
  --bg: #0f172a;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #38bdf8;
  --primary-dark: #0ea5e9;
  --border: rgba(148, 163, 184, 0.12);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent 32%), linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: var(--text);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.brand {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a,
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}

.nav-links a:hover,
.footer-nav a:hover {
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.hero h1,
.section-header h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero p,
.section-header p,
.card p,
.feature-list p,
footer p,
.contact-form label {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #020617;
}

.btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: white;
  background: transparent;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
}

.hero-card .stat {
  margin: 0 0 1rem;
  font-weight: 700;
  color: white;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.section {
  padding: 6rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.cards-grid,
.testimonials-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 2rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-grid {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list h3 {
  margin: 0 0 0.5rem;
}

.testimonials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonials-grid blockquote {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 2rem;
}

blockquote p {
  margin: 0 0 1.25rem;
  color: var(--text);
}

blockquote cite {
  color: var(--muted);
  font-style: normal;
}

.contact-grid {
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  color: var(--text);
  padding: 1rem 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.35);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .cards-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1rem;
  }
}
