/* ============================================
   PostLocal — Theme CSS
   ============================================ */

/* --- Variables --- */
:root {
  --green:       #0D2B1A;
  --green-light: #1A4A2E;
  --cream:       #F5F0E8;
  --off-white:   #FFFDF8;
  --orange:      #E8622A;
  --orange-dim:  rgba(232, 98, 42, 0.12);
  --text-dark:   #1A1A1A;
  --text-muted:  #6B6B6B;
  --text-light:  #A8A8A8;
  --border:      rgba(13, 43, 26, 0.12);
}

/* --- Base --- */
.pg-postlocal {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* --- Shared --- */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--green);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 8vw;
}

.hero__bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(232,98,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(26,74,46,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
}

.hero__orange-accent {
  position: absolute;
  top: 0;
  right: 30%;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--orange) 40%, var(--orange) 60%, transparent 100%);
  opacity: 0.25;
}

.hero__eyebrow {
  position: absolute;
  top: 2.5rem;
  left: 8vw;
}

.hero__eyebrow-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
  border: 1px solid rgba(245,240,232,0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 55%;
  padding-right: 4rem;
}

.hero__headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.hero__headline em {
  font-style: italic;
  color: var(--orange);
}

.hero__sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(245,240,232,0.7);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  max-width: 42ch;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(245,240,232,0.55);
  border: 1px solid rgba(245,240,232,0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.hero__sep {
  color: rgba(245,240,232,0.2);
}

/* --- Phone Mockup --- */
.hero__visual {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.hero__phone-mock {
  perspective: 1000px;
}

.phone__frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: rotateY(-12deg) rotateX(4deg);
}

.phone__notch {
  width: 80px;
  height: 26px;
  background: #111;
  border-radius: 20px;
  margin: 0 auto 12px;
}

.phone__screen {
  background: #111;
  border-radius: 24px;
  padding: 1rem;
  min-height: 380px;
}

.phone__platform-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.phone__platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.picon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.picon--fb   { background: #1877F2; }
.picon--ig   { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); }
.picon--tt   { background: #010101; border: 1px solid #333; }

.phone__platform span {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.35);
}

.phone__calendar {
  background: #1c1c1c;
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.cal__month {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal__day-label {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  padding: 2px 0;
}

.cal__cell {
  height: 18px;
  border-radius: 4px;
  background: #252525;
}

.cal__cell--filled { background: #2a3f2e; }
.cal__cell--accent { background: var(--orange); opacity: 0.7; }

.phone__caption {
  margin-bottom: 0.75rem;
}

.caption__line {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 5px;
}

.caption__line--short { width: 60%; }
.caption__line--med   { width: 80%; }

.phone__stats {
  display: flex;
  gap: 0.5rem;
}

.stat {
  flex: 1;
  background: #1c1c1c;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
}

.stat--highlight .stat__val { color: var(--orange); }

.stat__val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 3px;
}

.stat__lbl {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
  background: var(--off-white);
  padding: 7rem 8vw;
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.problem__headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--green);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.problem__stat-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}

.problem__stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.problem__stat:first-child {
  border-top: 1px solid var(--border);
}

.problem__stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.problem__stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.problem__quote {
  background: var(--green);
  border-radius: 12px;
  padding: 2rem 2.5rem;
}

.problem__quote p {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.problem__quote span {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.05em;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  background: var(--cream);
  padding: 7rem 8vw;
}

.how__header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.how__headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--green);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-bottom: 3rem;
}

.how__step {
  padding: 2.5rem 3rem 2.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.how__step:nth-child(even) {
  padding-right: 0;
  padding-left: 3rem;
}

.step__number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: rgba(13,43,26,0.12);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.2rem;
}

.step__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.6rem;
}

.step__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.how__what-you-get {
  background: var(--green);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.wyg__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.4);
  flex-shrink: 0;
}

.wyg__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
  flex: 1;
}

.wyg__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wyg__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wyg__item span {
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--off-white);
  padding: 7rem 8vw;
}

.pricing__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.pricing__headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: var(--green);
  line-height: 1;
  margin: 0 0 2rem;
}

.pricing__headline-sub {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

.pricing__math {
  background: var(--orange-dim);
  border: 1px solid rgba(232,98,42,0.15);
  border-radius: 10px;
  padding: 1.25rem 1.75rem;
  display: inline-block;
}

.math__line {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.math__result {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--orange);
}

.pricing__comparison {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.comp__header {
  background: var(--green);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 1.5rem;
}

.comp__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.comp__row:last-child { border-bottom: none; }

.comp__row--price .comp__feature {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comp__row--price {
  background: var(--green);
}

.comp__row--price .comp__agency {
  color: var(--cream);
}

.comp__row--price .comp__tool {
  color: rgba(245,240,232,0.5);
}

.comp__feature {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
}

.comp__agency {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-align: center;
}

.comp__tool {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.comp__check {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  position: relative;
}

.comp__check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.comp__partial {
  color: var(--text-light);
}

.comp__minus {
  display: inline-block;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.pricing__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   WHY NOW
   ============================================ */
.whynow {
  background: var(--cream);
  padding: 7rem 8vw;
}

.whynow__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.whynow__headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--green);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.whynow__headline em {
  font-style: italic;
  color: var(--orange);
}

.whynow__facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.fact__item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.fact__item:first-child { border-top: 1px solid var(--border); }

.fact__num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact__txt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.whynow__cta-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  background: var(--green);
  padding: 8rem 8vw;
}

.manifesto__inner {
  max-width: 800px;
}

.manifesto__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 2.5rem;
}

.manifesto__body {
  margin-bottom: 3rem;
}

.manifesto__line {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cream);
  line-height: 1.45;
  margin: 0 0 1.2rem;
}

.manifesto__line--accent {
  color: var(--orange);
  font-style: italic;
}

.manifesto__vision {
  border-left: 3px solid var(--orange);
  padding-left: 2rem;
}

.manifesto__vision-text {
  font-size: 1rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  margin: 0;
}

.manifesto__vision-text em {
  font-style: italic;
  color: var(--cream);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green);
  border-top: 1px solid rgba(245,240,232,0.08);
  padding: 2.5rem 8vw;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.footer__tagline {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.35);
}

.footer__markets {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.35);
  margin-bottom: 0.5rem;
}

.footer__dot { opacity: 0.4; }

.footer__copy {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 6rem 6vw 4rem;
    min-height: auto;
  }
  .hero__content { max-width: 100%; padding-right: 0; }
  .hero__visual {
    position: static;
    transform: none;
    margin-top: 3rem;
    align-self: center;
  }
  .phone__frame { transform: none; }

  .problem__inner,
  .pricing__inner,
  .whynow__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .how__steps {
    grid-template-columns: 1fr;
  }
  .how__step:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .how__what-you-get {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__markets { justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: 5rem 5vw 3rem; }
  .problem,
  .how,
  .pricing,
  .whynow,
  .manifesto { padding: 5rem 5vw; }

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