/* public/css/main.css - PCE Redesign */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pce-green: #759242;
  --pce-green-light: #eef3e8;
  --pce-grey: #5e5f61;
  --text-main: #2d3133;
  --text-muted: #636b70;
  --bg-white: #ffffff;
  --bg-alt: #f8fafc;
  --border-light: #e2e8f0;
  --warn: #d97706;
  --warn-light: #fef3c7;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-white);
  color: var(--text-main);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pce-grey);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--pce-green);
}

.nav-btn {
  background: var(--pce-green);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: #5c7532;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--pce-green);
}

/* HERO */
.hero {
  min-height: 90vh;
  padding: 8rem 5vw 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-white) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pce-green);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--pce-green);
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

h1 em {
  font-style: normal;
  color: var(--pce-green);
}

.hero-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.reg-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  background: white;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.reg-pill svg {
  width: 24px;
  height: 24px;
  color: var(--pce-green);
  margin-top: 2px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--pce-green);
  color: white;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(117, 146, 66, 0.2);
}

.btn-primary:hover {
  background: #5c7532;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(117, 146, 66, 0.3);
}

.btn-text {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--pce-green);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.btn-text:hover {
  color: var(--pce-green);
}

/* HERO VISUAL with Pellets Image */
.hero-vis {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 400px;
}

.hero-vis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* URGENCY */
.urgency {
  background: var(--pce-green-light);
  padding: 1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(117, 146, 66, 0.2);
  border-bottom: 1px solid rgba(117, 146, 66, 0.2);
}

.urgency p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pce-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* SHARED SECTION */
section {
  padding: 5rem 5vw;
}

.s-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pce-green);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

h2 em {
  font-style: normal;
  color: var(--pce-green);
}

/* PROBLEM */
.problem {
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.prob-list {
  list-style: none;
  margin-top: 1.6rem;
}

.prob-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.prob-list li svg {
  width: 20px;
  height: 20px;
  color: var(--warn);
  flex-shrink: 0;
  margin-top: 4px;
}

.prob-list li strong {
  color: var(--text-main);
  font-weight: 600;
}

.fine-box {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem;
  background: var(--bg-alt);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.fine-box::before {
  content: 'PENALTY EXPOSURE';
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--warn);
  display: block;
  margin-bottom: 1rem;
}

.fine-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--warn);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.fine-note {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.fine-sub {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* MODULES */
.modules {
  background: var(--bg-alt);
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.mod-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(117, 146, 66, 0.3);
}

.mod-n {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--pce-green-light);
  -webkit-text-stroke: 1px var(--pce-green);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.mod-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.mod-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* AUDIENCE */
.audience {
  background: white;
}

.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.aud-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 8px;
}

.aud-icon {
  color: var(--pce-green);
  margin-bottom: 1rem;
}

.aud-icon svg {
  width: 32px;
  height: 32px;
}

.aud-role {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.aud-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PRICING */
.pricing {
  background: var(--bg-alt);
}

.price-card {
  max-width: 600px;
  margin: 3rem auto 0;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.price-head {
  background: var(--pce-green);
  color: white;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-head h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: white;
}

.price-tag {
  text-align: right;
}

.price-amt {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.price-per {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 500;
}

.price-body {
  padding: 2.5rem;
}

.pf {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pf:last-child {
  border: none;
}

.pf svg {
  width: 18px;
  height: 18px;
  color: var(--pce-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.access-note {
  background: var(--pce-green-light);
  border-radius: 6px;
  padding: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--pce-green);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.price-cta {
  padding: 0 0 0.5rem;
}

.email-input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-main);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus {
  border-color: var(--pce-green);
  background: white;
  box-shadow: 0 0 0 3px var(--pce-green-light);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--pce-green);
  color: white;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(117, 146, 66, 0.2);
}

.btn-block:hover {
  background: #5c7532;
}

.checkout-err {
  font-size: 0.9rem;
  color: #dc2626;
  margin-top: 0.8rem;
  text-align: center;
}

.trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.trust-i {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-i svg {
  width: 16px;
  height: 16px;
  color: var(--pce-green);
}

/* FAQ */
.faq {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: 8px;
  border-left: 4px solid var(--pce-green);
}

.faq-q {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.faq-a {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--pce-grey);
  letter-spacing: 0.05em;
}

.footer-logo span {
  color: var(--pce-green);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 4vw 3rem;
    gap: 3rem;
  }

  .hero-vis {
    min-height: 300px;
  }

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

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

  footer {
    flex-direction: column;
    text-align: center;
  }
}