:root {
  --bg: #f5f6fb;
  --bg-alt: #ffffff;
  --text: #101828;
  --muted: #4b5565;
  --primary: #3b5bfd;
  --primary-dark: #2746da;
  --accent: #e8ecff;
  --card: #ffffff;
  --shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.hero {
  background: radial-gradient(circle at top left, #eef1ff, #f5f6fb 60%);
  padding-bottom: 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 8vw;
  position: sticky;
  top: 0;
  background: rgba(245, 246, 251, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin-bottom: 5px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 40px 8vw 0;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  margin: 12px 0 16px;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--primary-dark);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.ghost {
  border: 1px solid rgba(16, 24, 40, 0.15);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-card {
  position: absolute;
  right: 10%;
  bottom: -24px;
  background: var(--card);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 90px 8vw;
}

.section.alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.text-stack p {
  margin-bottom: 14px;
  color: var(--muted);
}

.media-stack img {
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list article {
  background: var(--card);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.feature-list h3 {
  margin-bottom: 8px;
}

.feature-list p {
  color: var(--muted);
}

.webapps-layout {
  align-items: start;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.chip-grid span {
  background: var(--card);
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 70px 8vw 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 26px;
}

.contact-block p {
  margin-top: 6px;
  color: #e2e8f0;
}

.contact-block a {
  color: #e2e8f0;
}

.contact-block a:hover {
  color: #fff;
}

.footer-note {
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
