:root {
  --color-primary: #0f6bff;
  --color-primary-dark: #0943a5;
  --color-secondary: #00b3a6;
  --color-dark: #111827;
  --color-muted: #6b7280;
  --bg-light: #f3f4f6;
  --bg-lighter: #f9fafb;
  --font-base: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-dark);
  background-color: white;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 107, 255, 0.08);
}

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

.logo span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 500;
  color: var(--color-muted);
}

.nav a:hover,
.nav a:focus {
  color: var(--color-primary);
}

.cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  transition: transform 0.2s ease;
}

.cta:hover,
.cta:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, rgba(15, 107, 255, 0.12), rgba(0, 179, 166, 0.12));
  padding: 7rem 0 5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero p {
  color: var(--color-muted);
  max-width: 46ch;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 107, 255, 0.4);
  color: var(--color-primary);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.hero-highlight {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 60px -30px rgba(15, 107, 255, 0.45);
}

.hero-highlight h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section-header p {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--color-muted);
}

.products {
  background: var(--bg-lighter);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 901px) {
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-card {
    flex: 0 0 calc(33.333% - 1rem);
    /* 3 items per row with 1.5rem gap */
  }
}

.product-card {
  background: white;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 107, 255, 0.08);
  box-shadow: 0 16px 35px -28px rgba(15, 107, 255, 0.6);
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.product-card p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.product-link {
  font-weight: 600;
  color: var(--color-primary);
}

.benefits {
  background: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-light);
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.application-grid article {
  padding: 1.75rem;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(15, 107, 255, 0.08);
  box-shadow: 0 14px 24px -24px rgba(0, 0, 0, 0.6);
}

.applications {
  background: var(--bg-lighter);
}

.resources {
  background: linear-gradient(120deg, rgba(15, 107, 255, 0.09), rgba(0, 179, 166, 0.09));
}

.resources-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.resources-content p {
  color: var(--color-muted);
}

.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-muted);
}

.contact-grid a {
  color: var(--color-primary);
}

.site-footer {
  background: var(--color-dark);
  color: white;
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-content p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-content a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    /* Keep sticky on mobile for better UX */
    padding: 0.5rem 0;
  }

  .site-header .container {
    flex-direction: column;
    align-items: stretch;
    /* Stretch to fill width */
    gap: 1rem;
  }

  .logo {
    text-align: center;
    padding: 0.5rem 0;
  }

  .nav {
    justify-content: center;
    gap: 1.25rem;
    /* Increase gap for touch targets */
    padding: 0.5rem 0;
  }

  .nav a {
    padding: 0.5rem;
    /* Add padding for easier tapping */
  }

  .cta {
    align-self: stretch;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.8rem;
    /* Larger touch target */
  }

  .footer-content {
    text-align: center;
    /* Center align footer on mobile usually looks better */
  }
}

@media (max-width: 600px) {
  html {
    font-size: 15px;
    /* Slightly smaller base font */
  }

  .hero {
    padding: 5rem 0 3rem;
    /* Reduced padding */
  }

  .hero h1 {
    font-size: 2rem;
    /* Explicit mobile size */
  }

  .hero-highlight {
    padding: 1.5rem;
    margin-top: 1rem;
  }

  .section {
    padding: 3rem 0;
    /* Reduced section padding */
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .site-header .container {
    gap: 0.75rem;
  }

  .resources-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .contact-grid {
    gap: 2.5rem;
    /* More space between stacked contact items */
  }

  .btn {
    width: 100%;
    /* Full width buttons on small screens */
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
}