/*
Theme Name: JuiceMD
Theme URI: https://thejuicemd.com
Author: Limro Health LLC
Description: Official theme for JuiceMD - a juice nutrition and recipe reference app.
Version: 2.0
*/

:root {
  --green-deep: #114D34;
  --green-bright: #2FA66B;
  --orange: #FF8C2E;
  --gold: #FFC145;
  --pink: #F0466B;
  --purple: #8B5CF6;
  --lime: #B7E62D;
  --cream: #FFFBF3;
  --ink: #17261F;
  --line: #e6dfd0;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--green-deep);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

a { color: var(--green-bright); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; }

.site-header {
  background: var(--green-deep);
  padding: 20px 0;
  position: relative;
  z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header .logo { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; }
.site-header .logo img { height: 42px; width: auto; }
.site-header nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.site-header nav a { color: #fff; font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--gold); text-decoration: none; }

.hero {
  background: linear-gradient(160deg, #114D34 0%, #1B6B45 55%, #2FA66B 100%);
  color: #fff;
  padding: 90px 0 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
}
.hero::before {
  width: 220px; height: 220px;
  background: radial-gradient(circle at 30% 30%, var(--orange), #d9631a);
  top: -60px; right: 8%;
}
.hero::after {
  width: 160px; height: 160px;
  background: radial-gradient(circle at 30% 30%, var(--pink), #b8244a);
  bottom: -40px; left: 6%;
}
.hero .wrap { z-index: 2; }
.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.25rem; max-width: 580px; margin: 0 auto 34px; opacity: 0.95; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,193,69,0.35);
}
.btn:hover { background: #ffd370; text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 13px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  margin-left: 14px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

.fruit-strip { display: flex; justify-content: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.fruit-strip svg { width: 56px; height: 56px; }

.facts-panel {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  max-width: 780px;
  margin: -70px auto 70px;
  padding: 26px 30px;
  position: relative;
  z-index: 3;
  box-shadow: 0 20px 50px rgba(17,77,52,0.18);
}
.facts-panel .eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 700;
  border-bottom: 8px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.facts-grid div { border-top: 1px solid var(--line); padding: 14px 0; text-align: center; }
.facts-grid .num { font-family: 'Fraunces', serif; font-size: 2.1rem; font-weight: 700; color: var(--green-deep); }
.facts-grid .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #666; }

section { padding: 72px 0; }
.section-alt { background: #fff; }
.eyebrow-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 36px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  border-top: 6px solid var(--green-bright);
  box-shadow: 0 8px 24px rgba(17,38,31,0.06);
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }
.card:nth-child(1) { border-top-color: var(--orange); }
.card:nth-child(2) { border-top-color: var(--pink); }
.card:nth-child(3) { border-top-color: var(--purple); }
.card .icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.section-alt .card { background: var(--cream); box-shadow: none; }

.cta-band {
  background: linear-gradient(120deg, var(--orange), var(--pink));
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; }
.cta-band .btn { background: #fff; color: var(--ink); }

footer.site-footer {
  background: var(--green-deep);
  color: #fff;
  padding: 44px 0;
  font-size: 14px;
  margin-top: 40px;
}
footer.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site-footer a { color: #fff; opacity: 0.85; }
footer.site-footer nav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; }

.page-content { padding: 72px 0; max-width: 780px; margin: 0 auto; }
.page-content h2 { margin-top: 1.4em; }

@media (max-width: 640px) {
  .site-header nav ul { gap: 16px; }
  footer.site-footer .wrap { flex-direction: column; }
  .facts-panel { margin-top: -40px; padding: 20px; }
  .cta-band { margin: 0 12px; padding: 40px 22px; }
}
