/*
Theme Name: PLANPOSTPRO
Theme URI: https://planpostpro.com
Author: PLANPOSTPRO
Description: Custom theme for the PLANPOSTPRO 30-day content planning system. Faithful clone of the brand landing page with a functional pricing configurator (checkout provided by the PLANPOSTPRO Checkout plugin).
Version: 0.3.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planpostpro
*/

/* ============================================================= TOKENS ===== */
:root {
	--bg:            #0a0b0b;
	--bg-2:          #0e0f11;
	--text:          #ffffff;
	--muted:         #a4a4a4;
	--muted-strong:  #c9c9c9;
	--ink:           #545454;   /* body text on light cards */
	--accent:        #674cd0;
	--accent-deep:   #6b10e4;
	--accent-tint:   #a8a8ff;
	--card:          #141416;
	--card-light:    #f8f9fa;
	--border:        rgba(255,255,255,.10);
	--border-strong: rgba(255,255,255,.18);
	--hair-light:    rgba(10,11,11,.10);

	--radius:     20px;
	--radius-sm:  12px;
	--radius-pill: 999px;
	--container:  1200px;
	--gutter:     24px;

	--font-head: "Stack Sans Headline", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -30px rgba(0,0,0,.8);
	--glow: radial-gradient(60% 60% at 50% 0%, rgba(103,76,208,.35), transparent 70%);
}

/* ============================================================== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.pp-skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.pp-skip-link:focus { left: 0; }

/* ========================================================== PRIMITIVES ===== */
.pp-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.pp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-body); font-size: 13px; font-weight: 500;
	color: var(--accent-tint);
	padding: 6px 14px; border-radius: var(--radius-pill);
	background: rgba(103,76,208,.10);
	border: 1px solid rgba(168,168,255,.20);
}

.pp-section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.pp-section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.pp-section__head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 0; }
.pp-section__head p { color: var(--muted); margin-top: 16px; font-size: clamp(15px, 1.4vw, 18px); }

.pp-glass {
	background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

/* decorative blur glows (replaces Framer's blur PNGs with pure CSS) */
.pp-glow {
	position: absolute; inset: auto; pointer-events: none; z-index: 0;
	filter: blur(80px); opacity: .55;
}
.pp-glow--accent { background: radial-gradient(circle, rgba(103,76,208,.55), transparent 60%); }

/* ============================================================ BUTTONS ===== */
.pp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-body); font-weight: 600; font-size: 15px;
	padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
	white-space: nowrap; line-height: 1;
}
.pp-btn--primary {
	color: #fff;
	background: linear-gradient(180deg, #7a5ee0, var(--accent));
	box-shadow: 0 10px 26px -10px rgba(103,76,208,.8), 0 1px 0 rgba(255,255,255,.18) inset;
}
.pp-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(103,76,208,.9); }
.pp-btn--ghost {
	color: #fff; background: rgba(255,255,255,.04); border-color: var(--border-strong);
	backdrop-filter: blur(10px);
}
.pp-btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.pp-btn--block { width: 100%; }
.pp-btn--lg { padding: 16px 28px; font-size: 16px; }

/* =============================================================== NAV ======= */
.pp-nav {
	position: sticky; top: 0; z-index: 100;
	padding: 14px 0;
	transition: background .25s ease, border-color .25s ease, padding .25s ease;
	border-bottom: 1px solid transparent;
}
.pp-nav.is-scrolled {
	background: rgba(10,11,11,.72);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-bottom-color: var(--border);
}
.pp-nav__inner { display: flex; align-items: center; gap: 20px; }
.pp-nav__brand { display: flex; align-items: center; }
.pp-logo { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.pp-logo__mark { flex-shrink: 0; width: 28px; height: 28px; }
.pp-logo__word { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; color: #fff; }
.pp-logo__word span { color: var(--accent-tint); }
.pp-logo.pp-footer__logo .pp-logo__word { font-size: 16px; }
.pp-logo.pp-footer__logo .pp-logo__mark { width: 24px; height: 24px; }
.pp-nav__links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.pp-nav__links a { color: var(--muted-strong); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.pp-nav__links a:hover { color: #fff; }
.pp-nav__cta { padding: 10px 18px; }
.pp-nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.pp-nav__toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.pp-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pp-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.pp-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pp-nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 20px; }
.pp-nav__mobile a { padding: 12px 4px; color: var(--muted-strong); border-bottom: 1px solid var(--border); font-weight: 500; }
.pp-nav__mobile .pp-btn { margin-top: 12px; }

/* ============================================================= FOOTER ===== */
.pp-footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; }
.pp-footer__grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px;
	padding-top: 64px; padding-bottom: 40px;
}
.pp-footer__tag { color: var(--muted); margin-top: 16px; font-size: 14px; max-width: 28ch; }
.pp-footer__col h4, .pp-footer__news h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.pp-footer__col { display: flex; flex-direction: column; gap: 10px; }
.pp-footer__col a { color: var(--muted); font-size: 14px; transition: color .15s ease; }
.pp-footer__col a:hover { color: #fff; }
.pp-news-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.pp-news-form input[type=email] {
	background: rgba(255,255,255,.04); border: 1px solid var(--border); color: #fff;
	border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-family: inherit;
}
.pp-news-form input::placeholder { color: var(--muted); }
.pp-news-consent { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.pp-footer__bar { border-top: 1px solid var(--border); padding: 22px var(--gutter); }
.pp-footer__bar p { color: var(--muted); font-size: 13px; text-align: center; }

/* ========================================================= RESPONSIVE ===== */
@media (max-width: 900px) {
	.pp-nav__links, .pp-nav__cta { display: none; }
	.pp-nav__toggle { display: flex; }
	.pp-nav__mobile { display: flex; }
	.pp-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.pp-footer__news { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.pp-footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================== HERO ====== */
.pp-hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.pp-hero__glow { top: -140px; left: 50%; transform: translateX(-50%); width: 720px; height: 520px; }
.pp-hero__inner { position: relative; z-index: 1; }
.pp-hero__title { font-size: clamp(40px, 7vw, 66px); line-height: 1.04; max-width: 15ch; margin: 0 auto; }
.pp-accent { background: linear-gradient(120deg, #c2b8ff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-hero__sub { font-family: var(--font-head); font-size: clamp(22px, 3.4vw, 34px); color: var(--muted); margin-top: 4px; }
.pp-hero__lede { max-width: 56ch; margin: 22px auto 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); }
.pp-hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pp-hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 48px auto 0; }
.pp-stat { padding: 22px 24px; text-align: left; }
.pp-stat h3 { font-size: 19px; }
.pp-stat p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.pp-hero__mock { max-width: 560px; margin: 44px auto 0; padding: 20px 22px; text-align: left; }
.pp-hero__mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pp-hero__mock-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 500; font-size: 16px; }
.pp-hero__mock-dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(180deg, #8a6ef0, var(--accent)); box-shadow: 0 0 10px rgba(103,76,208,.85); }
.pp-hero__mock-pill { font-size: 12px; color: var(--accent-tint); background: rgba(103,76,208,.14); border: 1px solid rgba(168,168,255,.25); padding: 4px 11px; border-radius: var(--radius-pill); }
.pp-hero__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pp-cal-dow { text-align: center; font-size: 11px; color: var(--muted); padding-bottom: 4px; letter-spacing: .04em; }
.pp-cal-day { height: 42px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.pp-cal-day--empty { background: transparent; border-color: transparent; }
.pp-cal-num { font-size: 12px; color: var(--muted-strong); }
.pp-cal-day--today { background: rgba(103,76,208,.20); border-color: rgba(168,168,255,.45); }
.pp-cal-day--today .pp-cal-num { color: #fff; font-weight: 600; }
.pp-cal-dots { display: flex; gap: 3px; height: 5px; align-items: center; }
.pp-cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-tint); display: inline-block; }
.pp-hero__mock-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.pp-hero__mock-foot strong { color: #fff; }
.pp-hero__mock-plats { color: var(--accent-tint); }
@media (max-width: 560px) { .pp-hero__mock { padding: 16px; } .pp-cal-day { height: 36px; } }

/* ========================================================== AUDIENCE ====== */
.pp-audience__pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 840px; margin: 0 auto; }
.pp-pill { padding: 12px 20px; border-radius: var(--radius-pill); background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted-strong); font-weight: 500; font-size: 15px; }
.pp-pill--accent { background: rgba(103,76,208,.16); border-color: rgba(168,168,255,.3); color: #fff; }

/* ====================================================== DELIVERABLES ====== */
.pp-deliverables__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pp-deliverable { padding: 32px; position: relative; }
.pp-deliverable__icon { width: 48px; height: 48px; margin-bottom: 20px; object-fit: contain; }
.pp-deliverable h3 { font-size: 23px; margin-bottom: 10px; }
.pp-deliverable p { color: var(--muted); font-size: 15px; }
.pp-deliverable--accent { background: linear-gradient(180deg, rgba(103,76,208,.18), rgba(103,76,208,.04)); border-color: rgba(168,168,255,.25); }
.pp-deliverable__badge { display: inline-block; font-size: 12px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); margin-bottom: 16px; }
.pp-ring { position: absolute; top: 28px; right: 28px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p, 100) * 1%), rgba(255,255,255,.12) 0); }
.pp-ring span { font-size: 12px; font-weight: 600; width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: grid; place-items: center; }

/* ============================================================ HOW IT ====== */
.pp-how { text-align: center; }
.pp-how__overline { font-family: var(--font-head); font-size: clamp(20px, 3vw, 30px); color: rgba(255,255,255,.32); line-height: 1.3; margin: 0 0 30px; }
.pp-how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; position: relative; }
.pp-how__steps::before { content: ''; position: absolute; top: 60px; left: 16%; right: 16%; border-top: 2px dotted rgba(255,255,255,.16); z-index: 0; }
.pp-step { padding: 32px; position: relative; z-index: 1; }
.pp-step__num { font-family: var(--font-head); font-size: 38px; color: var(--accent-tint); }
.pp-step h3 { margin: 14px 0 10px; font-size: 21px; }
.pp-step p { color: var(--muted); font-size: 15px; }

/* ========================================================== FEATURES ====== */
.pp-features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pp-feature { overflow: hidden; }
.pp-feature__media { background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); padding: 22px; }
.pp-feature__media img { border-radius: 10px; width: 100%; }
.pp-feature__body { padding: 26px 30px 30px; }
.pp-feature__body h3 { font-size: 21px; margin-bottom: 8px; }
.pp-feature__body p { color: var(--muted); font-size: 15px; }

/* =========================================================== PRICING ====== */
.pp-pricing { position: relative; overflow: hidden; }
.pp-pricing__glow { top: 0; left: 50%; transform: translateX(-50%); width: 720px; height: 420px; }
.pp-pricing__fallback { text-align: center; color: var(--muted); }

/* =========================================================== REVIEWS ====== */
.pp-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pp-review { padding: 28px; }
.pp-review__quote { font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 1.35; margin: 0 0 12px; }
.pp-review__body { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.pp-review__person { display: flex; align-items: center; gap: 12px; }
.pp-review__person img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.pp-review__person strong { display: block; font-size: 14px; }
.pp-review__person em { color: var(--muted); font-style: normal; font-size: 13px; }

/* =============================================================== FAQ ======= */
.pp-faq__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.pp-faq__intro { text-align: left; }
.pp-faq__intro h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 14px; }
.pp-faq__cta { margin-top: 26px; padding: 24px; }
.pp-faq__cta p { margin-bottom: 14px; color: var(--muted); }
.pp-faq__list { display: flex; flex-direction: column; gap: 12px; }
.pp-faq__item { padding: 0; overflow: hidden; }
.pp-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 500; font-size: 16px; }
.pp-faq__item summary::-webkit-details-marker { display: none; }
.pp-faq__icon { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.pp-faq__icon::before, .pp-faq__icon::after { content: ''; position: absolute; background: var(--accent-tint); border-radius: 2px; }
.pp-faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.pp-faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; transition: transform .2s ease, opacity .2s ease; }
.pp-faq__item[open] .pp-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.pp-faq__answer { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ========================================================== CTA/INTAKE ===== */
.pp-cta { position: relative; overflow: hidden; }
.pp-cta__inner { padding: clamp(32px, 5vw, 56px); max-width: 940px; margin: 0 auto; position: relative; z-index: 1; }
.pp-cta__glow { bottom: -120px; left: 50%; transform: translateX(-50%); width: 720px; height: 420px; }
.pp-cta__head { text-align: center; margin-bottom: 32px; }
.pp-cta__head h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px; }
.pp-cta__head p { color: var(--muted); margin-top: 14px; max-width: 52ch; margin-inline: auto; }
.pp-intake { display: flex; flex-direction: column; gap: 16px; }
.pp-intake__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pp-field { display: flex; flex-direction: column; gap: 8px; }
.pp-field span { font-size: 13px; color: var(--muted-strong); }
.pp-field i { color: var(--accent-tint); font-style: normal; }
.pp-field input, .pp-field select, .pp-field textarea {
	background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm);
	padding: 13px 14px; color: #fff; font-family: inherit; font-size: 15px; width: 100%;
}
.pp-field input::placeholder, .pp-field textarea::placeholder { color: var(--muted); }
.pp-field select { appearance: none; -webkit-appearance: none; }
.pp-field input:focus, .pp-field select:focus, .pp-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(103,76,208,.25); }
.pp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pp-intake__foot { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.pp-intake__status { font-size: 14px; color: var(--muted); margin: 0; }
.pp-intake__status.is-error { color: #ff8a8a; }
.pp-intake__status.is-ok { color: #7ee0b0; }

/* ====================================================== SECTION RESPONSIVE = */
@media (max-width: 900px) {
	.pp-deliverables__grid, .pp-how__steps, .pp-features__grid { grid-template-columns: 1fr; }
	.pp-how__steps::before { display: none; }
	.pp-faq__layout { grid-template-columns: 1fr; }
	.pp-hero__stats { grid-template-columns: 1fr; }
	.pp-intake__row { grid-template-columns: 1fr; }
	.pp-ring { top: 24px; right: 24px; }
}

/* ============================================================= LEGAL ======= */
.pp-legal { position: relative; overflow: hidden; }
.pp-legal__inner { max-width: 820px; position: relative; z-index: 1; }
.pp-legal__title { font-size: clamp(34px, 5vw, 54px); margin-bottom: 28px; }
.pp-legal__body { color: var(--muted-strong); font-size: 16px; line-height: 1.7; }
.pp-legal__body h2 { color: #fff; font-size: 22px; margin: 32px 0 12px; }
.pp-legal__body h3 { color: #fff; font-size: 18px; margin: 22px 0 10px; }
.pp-legal__body p { margin: 0 0 14px; }
.pp-legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.pp-legal__body li { margin-bottom: 8px; }
.pp-legal__body a { color: var(--accent-tint); text-decoration: underline; }
.pp-legal__back { margin-top: 40px; }
.pp-legal__back a { color: var(--muted); }
.pp-legal__back a:hover { color: #fff; }

/* ============================================================= THANKS ====== */
.pp-thanks { position: relative; overflow: hidden; text-align: center; }
.pp-thanks__inner { max-width: 600px; margin: 0 auto; padding: clamp(36px, 5vw, 56px); position: relative; z-index: 1; }
.pp-thanks__check { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(180deg, #7a5ee0, var(--accent)); }
.pp-thanks h1 { font-size: clamp(28px, 4vw, 42px); }
.pp-thanks__body { color: var(--muted); margin: 16px 0 8px; }
.pp-thanks__body a { color: var(--accent-tint); text-decoration: underline; }
.pp-thanks__order { color: var(--muted-strong); margin: 16px 0 24px; }
