/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background-color: #ffffff;
}

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

/* Layout helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo a {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  color: #334155;
}

nav a:hover {
  color: #0ea5a5;
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #475569;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #0ea5a5;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0891b2;
}

.btn-secondary {
  border: 1px solid #0ea5a5;
  color: #0ea5a5;
}

.btn-secondary:hover {
  background-color: #ecfeff;
}

/* Benefits */
.benefits {
  padding: 4rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.benefit p {
  font-size: 0.95rem;
  color: #475569;
}

/* Product highlight */
.product-highlight {
  padding: 4rem 0;
  background-color: #f8fafc;
  text-align: center;
}

.product-highlight h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-highlight p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #475569;
}

/* Trust */
.trust {
  padding: 2.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-size: 0.9rem;
  color: #334155;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  background-color: #0f172a;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: #cbd5f5;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 0.25rem 0.75rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

/* Quantity selector */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#quantity {
  width: 44px;
  height: 36px;
  text-align: center;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  font-weight: 600;
  background-color: #f8fafc;
}

/* Disabled checkout button */
.btn-primary.disabled {
  background-color: #94a3b8;
  pointer-events: none;
}
