/* ============================================================
   Assemble Theme — Custom Styles
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
	--clr-primary:        #F59B00;
	--clr-primary-dark:   #C67D00;
	--clr-primary-light:  #FFF3D6;
	--clr-primary-muted:  rgba(245, 155, 0, 0.15);
	--clr-cream:          #F5F0E8;
	--clr-dark:           #1C1000;
	--clr-dark-2:         #100A00;
	--clr-heading:        #242B35;
	--clr-text-dark:      #2C2218;
	--clr-text-body:      #4A4A5A;
	--clr-text-muted:     #7A7A8A;
	--clr-white:          #FFFFFF;
	--clr-border:         rgba(245, 155, 0, 0.3);

	--radius-sm:   8px;
	--radius-md:   12px;
	--radius-lg:   20px;
	--radius-pill: 100px;

	--section-pad-v:   80px;
	--section-pad-h:   70px;
	--container-max:   1300px;

	--transition: 0.2s ease;
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: 'Teachers', sans-serif;
	color: var(--clr-text-dark);
	background: #fff;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks { padding: 0 !important; }

img { max-width: 100%; height: auto; display: block; }

/* ── Utility ────────────────────────────────────────────── */
.text-primary    { color: var(--clr-primary); }
.text-white      { color: var(--clr-white) !important; }
.text-center     { text-align: center; }

.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Section Layout ─────────────────────────────────────── */
.assemble-section {
	width: 100%;
}

.assemble-section__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--section-pad-v) var(--section-pad-h);
}

.assemble-section__head {
	text-align: center;
	max-width: 666px;
	margin: 0 auto 60px;
}

/* ── Section Tag / Badge ────────────────────────────────── */
.section-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 18px;
	border-radius: var(--radius-pill);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 24px;
	width: fit-content;
}

.section-tag--outline {
	border: 1px solid var(--clr-primary);
	color: var(--clr-primary);
	background: rgba(245, 155, 0, 0.1);
}

.section-tag--outline-dark {
	border: 1.5px solid rgba(245, 155, 0, 0.5);
	color: var(--clr-primary);
	background: transparent;
}

.section-tag--filled {
	background: var(--clr-primary);
	color: var(--clr-white);
	border: none;
}

/* ── Site Header ────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #F7F5F2;
}

.site-header__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 16px var(--section-pad-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-header__logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.site-header__logo svg,
.site-header__logo img {
	height: 82px;
	width: auto;
}

.btn-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--clr-primary);
	color: var(--clr-white) !important;
	text-decoration: none !important;
	padding: 14px 28px;
	border-radius: var(--radius-md);
	font-size: 16px;
	font-weight: 700;
	font-family: 'Teachers', sans-serif;
	transition: background var(--transition), transform var(--transition);
	border: none;
	cursor: pointer;
}

.btn-download:hover {
	background: var(--clr-primary-dark);
	transform: translateY(-1px);
}

/* ── Early Access Modal ─────────────────────────────────── */
.ea-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.ea-modal[hidden] {
	display: none;
}

.ea-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.ea-modal__panel {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: 40px 32px 32px;
	width: 100%;
	max-width: 400px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ea-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #f0f0f0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #555;
	transition: background 0.15s;
}

.ea-modal__close svg {
	width: 15px;
	height: 15px;
}

.ea-modal__close:hover {
	background: #e0e0e0;
}

.ea-modal__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #FEF3E2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.ea-modal__icon svg {
	width: 28px;
	height: 28px;
}

.ea-modal__title {
	font-size: 24px !important;
	font-weight: 800 !important;
	color: #1C1000 !important;
	margin: 0 0 12px !important;
	line-height: 1.2 !important;
}

.ea-modal__body {
	font-size: 15px;
	color: #4A4A5A;
	line-height: 1.6;
	margin: 0 0 28px;
}

/* WP Email Capture form inside modal */
.ea-modal__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #242B35;
	margin-bottom: 8px;
}

.ea-modal__input {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid #F39522;
	border-radius: 10px;
	font-size: 15px;
	color: #1C1000;
	outline: none;
	box-sizing: border-box;
	margin-bottom: 12px;
	font-family: 'Teachers', sans-serif;
	background: #fff;
}

.ea-modal__input::placeholder { color: #aaa; }

.ea-modal__input:focus {
	box-shadow: 0 0 0 3px rgba(243, 149, 34, 0.18);
}

.ea-modal__error {
	font-size: 13px;
	color: #c0392b;
	margin: 0 0 10px;
}

.ea-modal__submit {
	width: 100%;
	padding: 16px;
	background: #F59B00;
	color: #fff;
	border: none;
	border-radius: 100px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Teachers', sans-serif;
	transition: background 0.2s;
}

.ea-modal__submit:hover  { background: #C67D00; }
.ea-modal__submit:disabled { opacity: 0.7; cursor: default; }

.ea-modal__fine {
	text-align: center;
	font-size: 13px;
	color: #888;
	margin: 12px 0 0;
}

.ea-modal__success-msg {
	font-size: 17px;
	font-weight: 700;
	color: #242B35;
	text-align: center;
	padding: 16px 0 0;
	margin: 0;
}

/* ── Hero Section ───────────────────────────────────────── */
.section-hero {
	background: #F7F5F2 !important;
	color: var(--clr-text-dark);
	overflow: hidden;
	position: relative;
}

.section-hero__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 73px var(--section-pad-h) 60px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.section-hero__text {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.hero-heading {
	font-size: clamp(40px, 5.5vw, 70px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--clr-heading);
	margin: 0 0 24px;
}

.hero-body {
	font-size: 18px;
	line-height: 1.65;
	color: var(--clr-text-body);
	margin: 0 0 36px;
	max-width: 480px;
}

/* App Store Buttons */
.app-store-buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.btn-store {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--clr-primary) !important;
	border: none;
	color: var(--clr-white) !important;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: var(--radius-md);
	font-family: 'Teachers', sans-serif;
	transition: background var(--transition), transform var(--transition);
	min-width: 156px;
}

.btn-store:hover {
	background: var(--clr-primary-dark);
	color: var(--clr-white);
	transform: translateY(-1px);
}

.btn-store__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.btn-store__text {
	display: flex;
	flex-direction: column;
}

.btn-store__sub {
	font-size: 10px;
	font-weight: 400;
	opacity: 0.75;
	line-height: 1;
}

.btn-store__main {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

/* Hero Trust Badge */
.hero-trust {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--clr-text-muted);
	font-size: 14px;
	line-height: 1.5;
	max-width: 360px;
}

.hero-trust__icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	color: var(--clr-primary);
	margin-top: 2px;
}

/* Hero Image / Phone */
.section-hero__image {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: relative;
}

.hero-phone-wrap {
	position: relative;
	width: 100%;
	max-width: 499px;
}

.hero-phone-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at 12% 18%, rgba(255, 168, 61, 0.43) 33%, rgba(250, 173, 78, 0.95) 100%);
	border-radius: 20px;
	z-index: 0;
}

.hero-phone-wrap img,
.hero-phone-wrap svg {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
}

/* ── Problem Section ────────────────────────────────────── */
.section-problem {
	background: var(--clr-white);
}

.problem-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}

.problem-panel {
	padding: 40px;
}

.problem-panel--old {
	background: var(--clr-cream);
}

.problem-panel--new {
	background: var(--clr-primary);
	color: var(--clr-white);
}

.problem-panel__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 28px;
	opacity: 0.6;
}

.problem-panel--new .problem-panel__label {
	opacity: 0.85;
	color: rgba(255,255,255,0.85);
}

.problem-item {
	display: flex;
	gap: 20px;
	margin-bottom: 32px;
}

.problem-item:last-child {
	margin-bottom: 0;
}

.problem-item__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: rgba(245,155,0,0.12);
}

.problem-panel--new .problem-item__icon {
	background: rgba(255,255,255,0.2);
}

.problem-item__icon svg {
	width: 20px;
	height: 20px;
}

.problem-panel--old .problem-item__icon svg {
	color: var(--clr-primary);
}

.problem-panel--new .problem-item__icon svg {
	color: var(--clr-white);
}

.problem-item__content {
	flex: 1;
}

.problem-item__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}

.problem-panel--new .problem-item__title {
	color: var(--clr-white);
}

.problem-item__desc {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	color: var(--clr-text-body);
}

.problem-panel--new .problem-item__desc {
	color: rgba(255,255,255,0.82);
}

/* ── Features Section ───────────────────────────────────── */
.section-features {
	background: var(--clr-cream);
}

/* Tabs */
.features-tabs {
	background: #FDEAD3;
	border-radius: 50px;
	padding: 12px;
	display: flex;
	gap: 0;
	margin-bottom: 48px;
}

.features-tab-btn {
	flex: 1;
	padding: 14px 20px;
	border: none;
	background: transparent;
	border-radius: var(--radius-pill);
	font-family: 'Teachers', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--clr-heading);
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
	white-space: nowrap;
}

.features-tab-btn:hover {
	color: var(--clr-primary);
}

.features-tab-btn.is-active {
	background: var(--clr-primary);
	color: var(--clr-white);
	border-radius: var(--radius-pill);
}

/* Tab content panels */
.features-tab-panel {
	display: none;
}

.features-tab-panel.is-active {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.features-content {
	display: flex;
	flex-direction: column;
}

.features-item {
	display: flex;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}

.features-item:last-of-type {
	border-bottom: none;
}

.features-item__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: var(--clr-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.features-item__icon svg {
	width: 20px;
	height: 20px;
	color: var(--clr-primary);
}

.features-item__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
}

.features-item__desc {
	font-size: 14px;
	color: var(--clr-text-body);
	margin: 0;
	line-height: 1.55;
}

.features-cta-block {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid rgba(0,0,0,0.08);
}

.features-cta-block h4 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--clr-text-dark);
}

.features-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.features-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--clr-text-body);
}

.features-checklist li::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--clr-primary-light);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 9.5L7.5 12.5L13.5 6' stroke='%23F59B00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: cover;
	flex-shrink: 0;
	margin-top: 1px;
}

.features-phone-wrap {
	position: relative;
	display: flex;
	justify-content: center;
}

.features-phone-wrap img,
.features-phone-wrap svg {
	width: 100%;
	max-width: 480px;
	height: auto;
}

/* ── Trust Section ──────────────────────────────────────── */
.section-trust {
	background: var(--clr-white);
}

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

.trust-card {
	background: var(--clr-cream);
	border-radius: var(--radius-lg);
	padding: 32px 24px;
	text-align: center;
	transition: transform var(--transition), box-shadow var(--transition);
}

.trust-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.trust-card__icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--clr-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

.trust-card__icon-wrap svg {
	width: 20px;
	height: 20px;
	color: var(--clr-primary);
}

.trust-card__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--clr-text-dark);
}

.trust-card__desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--clr-text-body);
	margin: 0;
}

/* ── CTA Section ────────────────────────────────────────── */
.section-cta {
	background:
		radial-gradient(ellipse 70% 55% at 50% 35%, rgba(110,55,0,0.9) 0%, rgba(28,16,0,0.98) 65%, #0F0800 100%);
	color: var(--clr-white);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.section-cta__inner {
	max-width: 666px;
	margin: 0 auto;
	padding: var(--section-pad-v) var(--section-pad-h);
}

.section-cta h2 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	color: var(--clr-white);
	margin: 0 0 16px;
	line-height: 1.15;
}

.section-cta p {
	font-size: 18px;
	color: rgba(255,255,255,0.75);
	margin: 0 0 36px;
	line-height: 1.65;
}

.cta-store-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

/* CTA buttons stay orange on dark background */
.section-cta .btn-store {
	background: var(--clr-primary);
	color: var(--clr-white);
}

.section-cta .btn-store:hover {
	background: var(--clr-primary-dark);
}

.cta-meta {
	font-size: 13px;
	color: rgba(255,255,255,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.cta-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cta-meta svg {
	width: 14px;
	height: 14px;
	color: var(--clr-primary);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
	background: #0F0800;
	color: rgba(255,255,255,0.6);
}

.site-footer__divider {
	height: 1px;
	background: rgba(255,255,255,0.1);
}

.site-footer__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 24px var(--section-pad-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.site-footer__logo svg,
.site-footer__logo img {
	height: 60px;
	width: auto;
	opacity: 0.9;
}

.site-footer__nav {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}

.site-footer__nav a {
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: color var(--transition);
}

.site-footer__nav a:hover {
	color: var(--clr-primary);
}

.site-footer__social {
	display: flex;
	gap: 16px;
}

.site-footer__social a {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	transition: background var(--transition), color var(--transition);
}

.site-footer__social a:hover {
	background: var(--clr-primary);
	color: var(--clr-white);
}

.site-footer__social svg {
	width: 18px;
	height: 18px;
}

.site-footer__copy {
	text-align: center;
	padding: 12px var(--section-pad-h) 20px;
	font-size: 13px;
	color: rgba(255,255,255,0.35);
	max-width: var(--container-max);
	margin: 0 auto;
}

/* ── Section heading styles ─────────────────────────────── */
.assemble-section h1,
.assemble-section h2,
.assemble-section h3,
.assemble-section h4 {
	font-family: 'Teachers', sans-serif;
}

.assemble-section__head h2,
.section-problem h2,
.section-features h2,
.section-trust h2,
.section-cta h2 {
	font-size: clamp(36px, 4.5vw, 56px) !important;
	font-weight: 800 !important;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--clr-heading);
	margin: 8px 0 20px;
}

.assemble-section__head p {
	color: var(--clr-text-body);
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
}

/* Hero heading is already handled by .hero-heading, update color */
.hero-heading {
	color: var(--clr-heading) !important;
}

/* CTA heading is white on dark */
.section-cta h2 {
	color: var(--clr-white) !important;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
	:root {
		--section-pad-h: 40px;
	}

	.section-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.section-hero__image {
		display: none;
	}

	.hero-body {
		max-width: 100%;
	}

	.hero-trust {
		max-width: 100%;
		justify-content: center;
	}

	.app-store-buttons {
		justify-content: center;
	}

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

	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.features-tab-panel.is-active {
		grid-template-columns: 1fr;
	}

	.features-phone-wrap {
		display: none;
	}

	.features-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
	}
}

@media (max-width: 640px) {
	:root {
		--section-pad-v: 60px;
		--section-pad-h: 20px;
	}

	.site-header__inner {
		padding: 12px 20px;
	}

	.site-header__logo svg {
		height: 60px;
	}

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

	.features-tabs {
		padding: 8px;
	}

	.features-tab-btn {
		font-size: 13px;
		padding: 10px 12px;
	}

	.problem-panel {
		padding: 28px 24px;
	}
}
