:root {
  --primary: #3eb489;
  --dark: #222222;
  --light: #ffffff;
  --muted: #6c757d;
  --section-space: 5rem;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--light);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #33a580;
  border-color: #33a580;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: var(--light);
}

.section-padding {
  padding: var(--section-space) 0;
}

.section-header .section-eyebrow {
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero {
  position: relative;
  background: #101417;
  color: var(--light);
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 15, 18, 0.9) 0%, rgba(16, 24, 28, 0.85) 55%, rgba(62, 180, 137, 0.45) 100%);
  pointer-events: none;
}

.hero .product-shot {
  max-width: 360px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.6rem;
  padding: 2.25rem;
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.65);
}

.hero .product-shot img {
  filter: drop-shadow(0 18px 28px rgba(34, 34, 34, 0.25));
}

.feature-card,
.pricing-card,
.testimonial-card,
.ingredient-card {
  background: var(--light);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(34, 34, 34, 0.06);
  box-shadow: 0 10px 30px -20px rgba(34, 34, 34, 0.4);
  display: flex;
  flex-direction: column;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(62, 180, 137, 0.15);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.icon-circle svg {
  width: 32px;
  height: 32px;
}

.icon-large {
  width: 88px;
  height: 88px;
  font-size: 2rem;
}

.ingredient-card .ingredient-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

.testimonial-card {
  border-left: 6px solid rgba(62, 180, 137, 0.4);
}

.testimonial-card .stars {
  color: #ffb400;
  letter-spacing: 0.2rem;
  font-size: 1.25rem;
}

.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px -25px rgba(62, 180, 137, 0.65);
}

.pricing-card.featured {
  border: 1px solid rgba(62, 180, 137, 0.3);
  box-shadow: 0 25px 60px -30px rgba(62, 180, 137, 0.75);
}

.cta-final {
  position: relative;
  overflow: hidden;
  background-color: #0c1417;
  background-image: linear-gradient(120deg, rgba(9, 14, 16, 0.9), rgba(9, 14, 16, 0.35)), url('https://images.unsplash.com/photo-1594737625785-c66858a24ccb?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(62, 180, 137, 0.4), transparent 55%), linear-gradient(115deg, rgba(8, 12, 14, 0.85) 0%, rgba(12, 18, 20, 0.75) 50%, rgba(9, 14, 16, 0.55) 100%);
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.cta-metrics {
  display: grid;
  gap: 1.25rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.75rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 25px 50px -35px rgba(0, 0, 0, 0.85);
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.metric-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.metric-accent {
  color: var(--primary);
}

@media (min-width: 576px) {
  .cta-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .cta-metrics {
    grid-template-columns: 1fr;
  }
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.site-footer {
  background: #0a1013;
  position: relative;
}

.site-footer ::selection {
  background: rgba(62, 180, 137, 0.4);
}

.footer-brand {
  letter-spacing: 0.08em;
}

.brand-icon {
  font-size: 1.25rem;
  color: var(--primary);
}

.footer-heading {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-form .form-control {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-form .form-control:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(62, 180, 137, 0.25);
}

.footer-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 575.98px) {
  .footer-form .input-group {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-form .form-control,
  .footer-form .btn {
    border-radius: 0.75rem !important;
    width: 100%;
  }

  .footer-form .btn {
    border-top-left-radius: 0.75rem !important;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.product-shot-lg img {
  max-width: 420px;
}

.ingredient-tile {
  background: var(--light);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(34, 34, 34, 0.07);
  box-shadow: 0 15px 40px -30px rgba(34, 34, 34, 0.45);
}

.nutrition-table th {
  width: 70%;
  font-weight: 600;
}

.order-summary {
  background: var(--light);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(34, 34, 34, 0.06);
  box-shadow: 0 20px 60px -45px rgba(34, 34, 34, 0.6);
}

.summary-img {
  width: 110px;
  height: auto;
}

.card-option {
  border: 1px solid rgba(34, 34, 34, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.card-option input {
  margin-top: 0.3rem;
}

.card-option.is-active {
  border-color: var(--primary);
  background: rgba(62, 180, 137, 0.08);
}

.billing-fields {
  display: none;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: rgba(62, 180, 137, 0.05);
}

.billing-fields.is-active {
  display: block;
}

.billing-fields h3 {
  margin-bottom: 0.5rem;
}

.billing-fields p {
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(62, 180, 137, 0.1);
  color: #216d4c;
  border-color: rgba(62, 180, 137, 0.35);
}

.alert-danger {
  background: rgba(255, 77, 79, 0.1);
  color: #872020;
  border-color: rgba(255, 77, 79, 0.3);
}

.thankyou-card {
  max-width: 540px;
}

.navbar-brand {
  letter-spacing: 0.08em;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--primary);
}

@media (max-width: 992px) {
  :root {
    --section-space: 4rem;
  }

  .order-summary {
    position: static !important;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }

  .hero .list-unstyled {
    justify-content: center;
  }

  .product-shot {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-space: 3.5rem;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card,
  .ingredient-card,
  .ingredient-tile,
  .order-summary {
    padding: 1.5rem;
  }

  .card-option {
    padding: 1rem;
  }
}

@media (max-width: 320px) {
  .btn,
  .btn-lg {
    width: 100%;
  }

  .hero .list-unstyled {
    gap: 0.75rem;
  }
}
