:root {
  --bg: #060b1d;
  --surface: #101936;
  --surface-2: #152347;
  --text: #f4f7ff;
  --muted: #8fa5c7;
  --accent: #67e8f9;
  --accent-2: #8b5cf6;
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg), #111c2c 60%, #1e2f48);
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  padding-bottom: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  position: relative;
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
}

.hero-card,
.feature-card,
.stats-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.hero-card {
  padding: 1rem;
}

.card-top {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.dot:nth-child(2) {
  background: #fbbf24;
}

.dot:nth-child(3) {
  background: #fb7185;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p,
.card-body li,
.feature-card p,
.about-grid p,
.footer p {
  color: var(--muted);
}

.card-body ul {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.about-grid h2,
.footer h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.2rem;
  gap: 1rem;
}

.stats-card div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-card strong {
  font-size: 1.3rem;
}

.stats-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 0 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.open-contact-btn {
  border: none;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 29, 0.8);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 100;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(100%, 460px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form button {
  border: none;
  cursor: pointer;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero-content,
  .about-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    width: min(220px, calc(100vw - 2rem));
    z-index: 10;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    padding-top: 1.5rem;
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    width: 100%;
  }
}
