/* ==========================================================================
   N Zone Franchise Landing Page — landing.css
   Loaded only on pages using page-franchise.php template.
   ========================================================================== */

/* ---- Brand tokens ------------------------------------------------------- */
:root {
	--nz-blue:        #1B3A8C;
	--nz-blue-dark:   #0F2557;
	--nz-blue-deep:   #0A1A3D;
	--nz-yellow:      #FFCD00;
	--nz-yellow-dark: #E5B800;
	--nz-white:       #FFFFFF;
	--nz-black:       #0A0A0A;

	--nz-ink:         #111827;
	--nz-text:        #374151;
	--nz-text-muted:  #6B7280;
	--nz-bg:          #FFFFFF;
	--nz-bg-soft:     #F5F7FB;
	--nz-bg-alt:      #EEF1F7;
	--nz-border:      #E4E8F0;

	--nz-radius:      14px;
	--nz-radius-sm:   8px;
	--nz-shadow-sm:   0 1px 3px rgba(15, 37, 87, 0.06), 0 1px 2px rgba(15, 37, 87, 0.04);
	--nz-shadow:      0 12px 28px -10px rgba(15, 37, 87, 0.18), 0 4px 10px -4px rgba(15, 37, 87, 0.10);
	--nz-shadow-lg:   0 28px 60px -20px rgba(15, 37, 87, 0.28);

	--nz-font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--nz-font-display:'Barlow Condensed', 'Inter', sans-serif;

	--nz-container:   1200px;
	--nz-narrow:      820px;
}

/* ---- Reset & global ----------------------------------------------------- */
.nzone-lp,
.nzone-lp * {
	box-sizing: border-box;
}
.nzone-lp {
	font-family: var(--nz-font-body);
	color: var(--nz-text);
	font-size: 17px;
	line-height: 1.6;
	background: var(--nz-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.nzone-lp img { max-width: 100%; height: auto; display: block; }
.nzone-lp a { color: var(--nz-blue); text-decoration: none; transition: color .15s ease; }
.nzone-lp a:hover { color: var(--nz-blue-dark); }

.nzone-lp h1, .nzone-lp h2, .nzone-lp h3, .nzone-lp h4 {
	color: var(--nz-ink);
	font-family: var(--nz-font-display);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.05;
	margin: 0 0 .5em;
	text-transform: uppercase;
}
.nzone-lp h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); }
.nzone-lp h2 { font-size: clamp(2rem, 3vw + 1rem, 3.2rem); }
.nzone-lp h3 { font-size: 1.5rem; font-weight: 700; }
.nzone-lp p  { margin: 0 0 1em; }

.lp-container         { max-width: var(--nz-container); margin: 0 auto; padding: 0 24px; }
.lp-container-narrow  { max-width: var(--nz-narrow); }

/* ---- Buttons ------------------------------------------------------------ */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 14px 26px;
	border-radius: var(--nz-radius-sm);
	font-family: var(--nz-font-body);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .01em;
	border: 0;
	cursor: pointer;
	transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
	text-align: center;
	line-height: 1.1;
}
.lp-btn:hover { transform: translateY(-1px); box-shadow: var(--nz-shadow); }
.lp-btn-sm { padding: 10px 18px; font-size: .92rem; }
.lp-btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.lp-btn-block { width: 100%; }

.lp-btn-primary {
	background: var(--nz-blue);
	color: var(--nz-white) !important;
}
.lp-btn-primary:hover { background: var(--nz-blue-dark); color: var(--nz-white) !important; }

.lp-btn-yellow {
	background: var(--nz-yellow);
	color: var(--nz-blue-deep) !important;
	box-shadow: 0 4px 0 var(--nz-yellow-dark);
}
.lp-btn-yellow:hover { background: var(--nz-yellow-dark); color: var(--nz-blue-deep) !important; box-shadow: 0 2px 0 #c9a200, var(--nz-shadow); }

/* ---- Header ------------------------------------------------------------- */
.lp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 26, 61, 0.92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid rgba(255, 205, 0, 0.18);
}
.lp-header .lp-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	gap: 24px;
}
.lp-logo img { height: 36px; width: auto; }
.lp-nav { display: flex; gap: 28px; }
.lp-nav a {
	color: rgba(255,255,255,0.86);
	font-weight: 500;
	font-size: .98rem;
}
.lp-nav a:hover { color: var(--nz-yellow); }

@media (max-width: 800px) {
	.lp-nav { display: none; }
}

/* ---- Hero --------------------------------------------------------------- */
.lp-hero {
	position: relative;
	color: var(--nz-white);
	padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 120px);
	overflow: hidden;
	isolation: isolate;
}
.lp-hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.lp-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}
.lp-hero-overlay {
	position: absolute;
	inset: 0;
	/* Heavily darken the LEFT half (where the H1 sits) while letting the
	   right half of the photo still feel like a photo. Three layers:
	   1) Strong directional gradient — near-black at far left, fading
	      across to ~35% on the far right
	   2) 40% solid black blanket on top of the photo for overall flatten
	   3) Bottom-to-top darken so the CTA microcopy stays legible */
	background:
		linear-gradient(100deg,
			rgba(0, 0, 0, 0.88) 0%,
			rgba(5, 12, 30, 0.82) 30%,
			rgba(10, 26, 61, 0.55) 65%,
			rgba(10, 26, 61, 0.32) 100%),
		linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%),
		rgba(0, 0, 0, 0.32);
	z-index: -1;
}
.lp-hero-inner { position: relative; z-index: 1; }
.lp-hero-copy  { max-width: 720px; }

.lp-eyebrow {
	display: inline-block;
	background: var(--nz-yellow);
	color: var(--nz-blue-deep);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 4px;
	margin: 0 0 20px;
}
.nzone-lp .lp-hero h1 { color: var(--nz-white); margin-bottom: .4em; }
.lp-accent { color: var(--nz-yellow); }
.lp-hero-sub {
	font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem);
	color: rgba(255,255,255,0.92);
	max-width: 640px;
	margin-bottom: 32px;
}

.lp-hero-cta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.lp-btn-video {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px 8px 8px;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50px;
	color: var(--nz-white);
	cursor: pointer;
	font-family: var(--nz-font-body);
	transition: background .15s ease;
}
.lp-btn-video:hover { background: rgba(255,255,255,0.18); }
.lp-btn-video-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--nz-yellow);
	color: var(--nz-blue-deep);
}
.lp-btn-video strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.1; }
.lp-btn-video small  { display: block; opacity: .75; font-size: .78rem; }

.lp-hero-microcopy {
	margin: 0;
	font-size: .9rem;
	color: rgba(255,255,255,0.75);
}

/* ---- Proof bar ---------------------------------------------------------- */
.lp-proof {
	background: var(--nz-blue-deep);
	color: var(--nz-white);
	padding: 32px 0 28px;
	border-bottom: 4px solid var(--nz-yellow);
}
.lp-proof-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.lp-proof-grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.lp-proof-num {
	font-family: var(--nz-font-display);
	font-weight: 800;
	font-size: clamp(1.8rem, 2.2vw + .8rem, 2.6rem);
	color: var(--nz-yellow);
	line-height: 1;
	margin-bottom: 6px;
}
.lp-proof-label {
	font-size: .88rem;
	color: rgba(255,255,255,0.85);
	max-width: 220px;
}
.lp-proof-note {
	text-align: center;
	margin: 20px 0 0;
	font-size: .82rem;
	color: rgba(255,255,255,0.55);
	letter-spacing: .08em;
	text-transform: uppercase;
}
@media (max-width: 700px) {
	.lp-proof-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Section base ------------------------------------------------------- */
.lp-section { padding: clamp(64px, 8vw, 110px) 0; }
.lp-section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 56px;
}
.lp-section-head-light h2,
.lp-section-head-light .lp-section-sub { color: var(--nz-white); }
.lp-kicker {
	display: inline-block;
	font-size: .82rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--nz-blue);
	margin: 0 0 14px;
}
.lp-kicker-yellow { color: var(--nz-yellow); }
.lp-section-sub {
	font-size: 1.1rem;
	color: var(--nz-text);
	max-width: 640px;
	margin: 0 auto;
}

/* ---- "Is this you?" grid ----------------------------------------------- */
.lp-fit { background: var(--nz-bg-soft); }
.lp-fit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.lp-fit-card {
	background: var(--nz-white);
	border-radius: var(--nz-radius);
	padding: 28px;
	box-shadow: var(--nz-shadow-sm);
	border: 1px solid var(--nz-border);
	transition: transform .18s ease, box-shadow .18s ease;
}
.lp-fit-card:hover { transform: translateY(-3px); box-shadow: var(--nz-shadow); }
.lp-fit-img {
	height: 140px;
	border-radius: var(--nz-radius-sm);
	background: var(--nz-bg-alt) center / cover no-repeat;
	margin-bottom: 18px;
}
.lp-fit-card h3 { margin-bottom: 8px; }
.lp-fit-card p { color: var(--nz-text); margin: 0; }
.lp-fit-card-cta {
	background: var(--nz-blue);
	color: var(--nz-white);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	border-color: var(--nz-blue);
}
.lp-fit-card-cta h3 { color: var(--nz-white); }
.lp-fit-card-cta p  { color: rgba(255,255,255,0.85); margin-bottom: 18px; }
@media (max-width: 900px) { .lp-fit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-fit-grid { grid-template-columns: 1fr; } }

/* ---- Opportunity (revenue streams) ------------------------------------- */
.lp-opp {
	background: var(--nz-blue-deep);
	color: var(--nz-white);
	position: relative;
	overflow: hidden;
}
.lp-opp::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--nz-yellow);
}
.lp-streams {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.lp-stream {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: var(--nz-radius);
	padding: 36px 32px 32px;
	position: relative;
	transition: background .2s ease, border-color .2s ease;
}
.lp-stream:hover {
	background: rgba(255, 205, 0, 0.06);
	border-color: rgba(255, 205, 0, 0.4);
}
.lp-stream-num {
	display: block;
	font-family: var(--nz-font-display);
	font-weight: 800;
	font-size: 2.6rem;
	color: var(--nz-yellow);
	line-height: 1;
	margin-bottom: 12px;
}
.lp-stream h3 { color: var(--nz-white); margin-bottom: 10px; }
.lp-stream p  { color: rgba(255,255,255,0.82); margin: 0; }
.lp-opp-cta { text-align: center; margin-top: 48px; }
@media (max-width: 800px) { .lp-streams { grid-template-columns: 1fr; } }

/* ---- "Fits your life" --------------------------------------------------- */
.lp-fits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.lp-fits-card {
	background: var(--nz-white);
	border-radius: var(--nz-radius);
	overflow: hidden;
	box-shadow: var(--nz-shadow-sm);
	border: 1px solid var(--nz-border);
}
.lp-fits-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.lp-fits-card h3,
.lp-fits-card p { padding: 0 24px; }
.lp-fits-card h3 { margin: 22px 0 10px; }
.lp-fits-card p  { margin: 0 0 24px; color: var(--nz-text); }
@media (max-width: 900px) { .lp-fits-grid { grid-template-columns: 1fr; } }

/* ---- How it works (steps) ---------------------------------------------- */
.lp-how { background: var(--nz-bg-soft); }
.lp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	counter-reset: step;
}
.lp-steps li {
	background: var(--nz-white);
	border-radius: var(--nz-radius);
	padding: 32px 26px 28px;
	border: 1px solid var(--nz-border);
	position: relative;
}
.lp-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--nz-yellow);
	color: var(--nz-blue-deep);
	font-family: var(--nz-font-display);
	font-weight: 800;
	font-size: 1.3rem;
	margin-bottom: 16px;
}
.lp-steps h3 { margin-bottom: 8px; }
.lp-steps p  { margin: 0; color: var(--nz-text); }
@media (max-width: 900px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-steps { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------------------- */
.lp-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lp-faq-item {
	background: var(--nz-white);
	border: 1px solid var(--nz-border);
	border-radius: var(--nz-radius-sm);
	overflow: hidden;
	transition: box-shadow .15s ease, border-color .15s ease;
}
.lp-faq-item[open] {
	border-color: var(--nz-blue);
	box-shadow: var(--nz-shadow-sm);
}
.lp-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	font-weight: 600;
	color: var(--nz-ink);
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-toggle {
	flex: 0 0 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--nz-bg-soft);
	position: relative;
	transition: background .15s ease;
}
.lp-faq-toggle::before,
.lp-faq-toggle::after {
	content: '';
	position: absolute;
	background: var(--nz-blue);
	transition: transform .2s ease;
}
.lp-faq-toggle::before { top: 11px; left: 6px; width: 12px; height: 2px; }
.lp-faq-toggle::after  { top: 6px; left: 11px; width: 2px; height: 12px; }
.lp-faq-item[open] .lp-faq-toggle::after { transform: rotate(90deg); }
.lp-faq-body {
	padding: 0 24px 22px;
	color: var(--nz-text);
}
.lp-faq-body p { margin: 0; }

/* ---- Apply (form) ------------------------------------------------------- */
.lp-apply {
	background: linear-gradient(160deg, var(--nz-blue-deep) 0%, var(--nz-blue) 100%);
	color: var(--nz-white);
}
.lp-form {
	background: var(--nz-white);
	color: var(--nz-text);
	border-radius: var(--nz-radius);
	padding: 36px;
	box-shadow: var(--nz-shadow-lg);
}
.lp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.lp-form label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--nz-ink);
	margin-bottom: 16px;
}
.lp-form-full { display: block; width: 100%; }
.lp-form-optional { color: var(--nz-text-muted); font-weight: 400; }
.lp-form input,
.lp-form select,
.lp-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--nz-ink);
	background: var(--nz-white);
	border: 1.5px solid var(--nz-border);
	border-radius: var(--nz-radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
	border-color: var(--nz-blue);
	box-shadow: 0 0 0 3px rgba(27, 58, 140, 0.12);
	outline: none;
}
.lp-form textarea { resize: vertical; min-height: 90px; }

.lp-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lp-form-consent {
	font-size: .8rem;
	color: var(--nz-text-muted);
	margin: 18px 0;
	line-height: 1.5;
}
.lp-form-consent a { color: var(--nz-blue); text-decoration: underline; }

.lp-form button[type="submit"] { position: relative; }
.lp-btn-loading { display: none; }
.lp-form.is-loading .lp-btn-label { visibility: hidden; }
.lp-form.is-loading .lp-btn-loading {
	display: inline-flex;
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
}

.lp-form-message {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: var(--nz-radius-sm);
	font-size: .95rem;
	display: none;
}
.lp-form-message.is-success {
	display: block;
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}
.lp-form-message.is-error {
	display: block;
	background: #FEF2F2;
	color: #991B1B;
	border: 1px solid #FECACA;
}

@media (max-width: 640px) {
	.lp-form { padding: 24px; }
	.lp-form-row { grid-template-columns: 1fr; }
}

/* ---- Footer ------------------------------------------------------------- */
.lp-footer {
	background: var(--nz-blue-deep);
	color: rgba(255,255,255,0.78);
	padding: 64px 0 0;
	margin-top: 0;
}
.lp-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: 48px;
	padding-bottom: 48px;
}
.lp-footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.lp-footer h4 {
	color: var(--nz-white);
	font-size: .88rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0 0 18px;
	font-family: var(--nz-font-body);
	font-weight: 700;
}
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer li { margin-bottom: 10px; font-size: .95rem; }
.lp-footer a { color: rgba(255,255,255,0.78); }
.lp-footer a:hover { color: var(--nz-yellow); }
.lp-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 20px 0;
}
.lp-footer-bottom .lp-container {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.lp-footer-bottom small {
	display: block;
	font-size: .78rem;
	color: rgba(255,255,255,0.45);
}
@media (max-width: 800px) {
	.lp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Video modal -------------------------------------------------------- */
.lp-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.lp-modal[hidden] { display: none; }
.lp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 26, 61, 0.88);
	backdrop-filter: blur(6px);
}
.lp-modal-frame {
	position: relative;
	width: min(960px, 100%);
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--nz-radius);
	overflow: hidden;
	box-shadow: var(--nz-shadow-lg);
}
.lp-modal-video,
.lp-modal-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.lp-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0,0,0,0.55);
	color: #fff;
	border: 0;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease;
}
.lp-modal-close:hover { background: rgba(0,0,0,0.85); }
.lp-modal-placeholder {
	color: #fff;
	padding: 40px;
	text-align: center;
	font-family: var(--nz-font-body);
}
.lp-modal-placeholder code { background: rgba(255,255,255,0.12); padding: 2px 6px; border-radius: 4px; }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.nzone-lp *,
	.nzone-lp *::before,
	.nzone-lp *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
