:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--dark);
}

a {
  color: var(--primary);
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

.nav-menu a.active {
  color: var(--primary);
}

.nav-login {
  color: var(--primary) !important;
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 10px 16px;
  border-radius: 12px;
}

.nav-cta:hover,
.btn.primary:hover {
  background: var(--primary-dark);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

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

.btn.secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.section {
  padding: 70px 8%;
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2,
.section-title h2 {
  font-size: 36px;
  margin: 0 0 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.card h3 {
  font-size: 26px;
  margin-top: 0;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card a:not(.btn) {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card .btn {
  margin-top: auto;
}

.page-header {
  padding: 80px 8% 40px;
  background: white;
}

.page-header h1 {
  font-size: 46px;
  margin: 0 0 12px;
}

.page-header p {
  color: var(--muted);
  font-size: 18px;
}

.content {
  max-width: 900px;
  line-height: 1.8;
  font-size: 18px;
}

.contact-box {
  background: white;
  margin: 40px 8%;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.site-footer {
  margin: 40px 16px 16px;
  padding: 30px;
  background: var(--dark);
  color: white;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.site-footer p {
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-cta {
    display: inline-block;
  }

  .hero {
    padding: 64px 6%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
