/*
Theme Name: AppForge Marketing
Theme URI: https://appforge.example.com
Author: AppForge
Author URI: https://appforge.example.com
Description: A minimal, professional marketing and sales theme for AppForge, a WordPress theme/framework. Single-page layout with hero, features, screenshots, pricing, and FAQ, plus Stripe Checkout for license purchases.
Version: 1.14.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appforge-marketing
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--af-color-bg: #ffffff;
	--af-color-bg-alt: #f7f8fa;
	--af-color-bg-inset: #f0f2f5;
	--af-color-text: #12141a;
	--af-color-text-muted: #5c616d;
	--af-color-text-faint: #8a8f9a;
	--af-color-border: #e7e8ec;
	--af-color-border-strong: #d7d9df;
	--af-color-accent: #3fae4a;
	--af-color-accent-hover: #2f8f3b;
	--af-color-accent-tint: #eaf7ec;
	--af-color-accent-contrast: #ffffff;

	--af-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--af-radius-sm: 6px;
	--af-radius: 10px;
	--af-radius-lg: 16px;
	--af-shadow-sm: 0 1px 2px rgba(16, 18, 22, 0.05);
	--af-shadow-md: 0 8px 24px rgba(16, 18, 22, 0.08);
	--af-shadow-lg: 0 24px 64px rgba(16, 18, 22, 0.14);

	--af-container: 1120px;
	--af-space-1: 8px;
	--af-space-2: 16px;
	--af-space-3: 24px;
	--af-space-4: 40px;
	--af-space-5: 64px;
	--af-space-6: 96px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--af-font-sans);
	color: var(--af-color-text);
	background: var(--af-color-bg);
	line-height: 1.6;
	font-size: 17px;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--af-color-accent); text-decoration: none; }
a:hover { color: var(--af-color-accent-hover); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--af-space-2); font-weight: 700; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 var(--af-space-2); color: var(--af-color-text-muted); }

ul { margin: 0; padding: 0; list-style: none; }

.af-container {
	max-width: var(--af-container);
	margin: 0 auto;
	padding: 0 var(--af-space-3);
}

.af-section { padding: var(--af-space-6) 0; }
.af-section--alt { background: var(--af-color-bg-alt); }

/* When .af-section and .af-container are combined on the same element
   (About/Contact/Privacy Policy pages), restore the horizontal padding
   that .af-section's own shorthand would otherwise zero out. */
.af-section.af-container { padding-left: var(--af-space-3); padding-right: var(--af-space-3); }

.af-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--af-color-accent);
	margin-bottom: var(--af-space-2);
}

.af-lead {
	font-size: 1.15rem;
	max-width: 640px;
}

.af-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.af-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--af-radius-sm);
	font-weight: 600;
	font-size: 0.98rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.af-btn:active { transform: translateY(1px); }

.af-btn--primary {
	background: var(--af-color-accent);
	color: var(--af-color-accent-contrast);
	box-shadow: 0 1px 2px rgba(63, 174, 74, 0.12), 0 6px 16px rgba(63, 174, 74, 0.22);
}
.af-btn--primary:hover {
	background: var(--af-color-accent-hover);
	color: var(--af-color-accent-contrast);
	box-shadow: 0 1px 2px rgba(63, 174, 74, 0.14), 0 10px 24px rgba(63, 174, 74, 0.28);
	transform: translateY(-1px);
}

.af-btn--secondary {
	background: var(--af-color-bg);
	color: var(--af-color-text);
	border-color: var(--af-color-border-strong);
}
.af-btn--secondary:hover { border-color: var(--af-color-text); background: var(--af-color-bg-alt); }

.af-btn--large { padding: 15px 32px; font-size: 1.05rem; }
.af-btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.af-btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.af-header {
	border-bottom: 1px solid var(--af-color-border);
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(10px);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	z-index: 50;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.af-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 1px 0 var(--af-color-border), var(--af-shadow-sm);
}

.af-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px var(--af-space-3);
	position: relative;
}

.af-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.18rem; color: var(--af-color-text); letter-spacing: -0.02em; }
.af-logo:hover { color: var(--af-color-text); }

.af-logo__mark {
	position: relative;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--af-color-accent), #8bd17c);
	box-shadow: 0 2px 6px rgba(63, 174, 74, 0.35);
}

.af-logo__mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	transform: translate(-50%, -60%) rotate(45deg);
	background: #ffffff;
	border-radius: 2px;
	opacity: 0.9;
}

.af-logo__text { line-height: 1; }
.af-logo__accent { color: var(--af-color-accent); }

.af-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--af-color-border-strong);
	border-radius: var(--af-radius-sm);
	background: var(--af-color-bg);
	cursor: pointer;
}

.af-nav-toggle__bar {
	display: block;
	width: 16px;
	height: 2px;
	margin: 0 auto;
	background: var(--af-color-text);
	border-radius: 1px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.af-nav-toggle[aria-expanded="true"] .af-nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.af-nav-toggle[aria-expanded="true"] .af-nav-toggle__bar:nth-child(2) { opacity: 0; }
.af-nav-toggle[aria-expanded="true"] .af-nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.af-nav { display: flex; align-items: center; gap: var(--af-space-4); }
.af-nav ul { display: flex; gap: var(--af-space-3); align-items: center; }
.af-nav ul a {
	position: relative;
	color: var(--af-color-text-muted);
	font-weight: 500;
	font-size: 0.96rem;
	padding: 4px 0;
}
.af-nav ul a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--af-color-accent);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.15s ease;
}
.af-nav ul a:hover { color: var(--af-color-text); }
.af-nav ul a:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Hero
   ========================================================================== */
.af-hero {
	padding: calc(var(--af-space-6) + 12px) var(--af-space-3) var(--af-space-6);
	text-align: center;
	position: relative;
	background:
		radial-gradient(560px 320px at 50% -10%, rgba(63, 174, 74, 0.10), transparent 70%),
		radial-gradient(480px 280px at 85% 10%, rgba(63, 174, 74, 0.08), transparent 70%);
	overflow: hidden;
}

.af-hero__actions { display: flex; gap: var(--af-space-2); justify-content: center; margin-top: var(--af-space-3); flex-wrap: wrap; }
.af-hero__note { margin-top: var(--af-space-3); font-size: 0.9rem; color: var(--af-color-text-faint); }

.af-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--af-color-accent-tint);
	color: var(--af-color-accent);
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: var(--af-space-3);
	border: 1px solid rgba(63, 174, 74, 0.15);
	white-space: normal;
	text-align: center;
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.af-stats {
	border-top: 1px solid var(--af-color-border);
	border-bottom: 1px solid var(--af-color-border);
	padding: var(--af-space-4) 0;
	background: var(--af-color-bg);
}

.af-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--af-space-3);
	text-align: center;
}

.af-stat__number {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--af-color-text);
}

.af-stat__label {
	margin-top: 4px;
	font-size: 0.88rem;
	color: var(--af-color-text-muted);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.af-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--af-space-4);
	margin-top: var(--af-space-4);
}

.af-step { text-align: center; }

.af-step__number {
	width: 40px;
	height: 40px;
	margin: 0 auto var(--af-space-2);
	border-radius: 50%;
	background: var(--af-color-accent);
	color: var(--af-color-accent-contrast);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(63, 174, 74, 0.28);
}

.af-step h3 { font-size: 1.1rem; margin-bottom: var(--af-space-1); }
.af-step p { font-size: 0.96rem; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.af-testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--af-space-3);
	margin-top: var(--af-space-4);
}

.af-testimonial {
	margin: 0;
	padding: var(--af-space-3);
	border: 1px solid var(--af-color-border);
	border-radius: var(--af-radius);
	background: var(--af-color-bg);
}

.af-testimonial blockquote {
	margin: 0 0 var(--af-space-3);
	font-size: 0.98rem;
	color: var(--af-color-text);
	line-height: 1.6;
}

.af-testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.af-testimonial__name { font-weight: 600; font-size: 0.92rem; color: var(--af-color-text); }
.af-testimonial__role { font-size: 0.86rem; color: var(--af-color-text-muted); }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.af-compare {
	margin-top: var(--af-space-4);
	border: 1px solid var(--af-color-border-strong);
	border-radius: var(--af-radius-lg);
	overflow: hidden;
	background: var(--af-color-bg);
	box-shadow: var(--af-shadow-md);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.af-compare__scroll-hint {
	display: none;
	margin: 0;
	padding: 8px 14px;
	font-size: 0.78rem;
	color: var(--af-color-text-faint);
	background: var(--af-color-bg-alt);
	border: 1px solid var(--af-color-border);
	border-radius: var(--af-radius-sm);
	text-align: center;
}

.af-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94rem;
	min-width: 560px;
}

.af-compare__table th,
.af-compare__table td {
	padding: 14px 20px;
	text-align: left;
	border-bottom: 1px solid var(--af-color-border);
	vertical-align: top;
}

.af-compare__table thead th {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--af-color-text-muted);
	background: var(--af-color-bg-alt);
	border-bottom: 1px solid var(--af-color-border-strong);
}

.af-compare__table tbody th {
	font-weight: 600;
	color: var(--af-color-text);
	white-space: nowrap;
}

.af-compare__table tbody tr:last-child th,
.af-compare__table tbody tr:last-child td { border-bottom: none; }

.af-compare__table td { color: var(--af-color-text-muted); }

.af-compare__col--winner {
	background: var(--af-color-accent-tint);
	color: var(--af-color-text);
	font-weight: 600;
	position: relative;
}

thead .af-compare__col--winner {
	color: var(--af-color-accent-hover);
	background: var(--af-color-accent-tint);
}

.af-compare__yes { color: var(--af-color-accent); font-weight: 700; }
.af-compare__no { color: var(--af-color-text-faint); font-weight: 700; }

.af-compare__note {
	margin-top: var(--af-space-2);
	font-size: 0.82rem;
	color: var(--af-color-text-faint);
	text-align: center;
}

/* ==========================================================================
   Full spec list (Everything included)
   ========================================================================== */
.af-spec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--af-space-4);
	margin-top: var(--af-space-4);
}

.af-spec-col {
	padding: var(--af-space-3);
	border: 1px solid var(--af-color-border);
	border-radius: var(--af-radius);
	background: var(--af-color-bg);
}

.af-spec-col h3 {
	font-size: 1.05rem;
	padding-bottom: var(--af-space-2);
	margin-bottom: var(--af-space-2);
	border-bottom: 2px solid var(--af-color-accent-tint);
}

.af-spec-list li {
	padding: 8px 0 8px 26px;
	position: relative;
	font-size: 0.92rem;
	color: var(--af-color-text-muted);
	border-bottom: 1px solid var(--af-color-border);
}
.af-spec-list li:last-child { border-bottom: none; }
.af-spec-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--af-color-accent-tint);
	color: var(--af-color-accent);
	font-size: 0.68rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   Feature grid
   ========================================================================== */
.af-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--af-space-3);
	margin-top: var(--af-space-4);
}

.af-feature {
	padding: var(--af-space-3);
	border: 1px solid var(--af-color-border);
	border-radius: var(--af-radius);
	background: var(--af-color-bg);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.af-feature:hover {
	box-shadow: var(--af-shadow-md);
	border-color: var(--af-color-border-strong);
	transform: translateY(-2px);
}

.af-feature__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--af-radius-sm);
	background: linear-gradient(135deg, var(--af-color-accent-tint), #ffffff);
	border: 1px solid rgba(63, 174, 74, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--af-space-2);
	font-size: 1.3rem;
}

.af-feature h3 { margin-bottom: var(--af-space-1); font-size: 1.1rem; }
.af-feature p { margin-bottom: 0; font-size: 0.96rem; }

/* ==========================================================================
   Screenshots
   ========================================================================== */
.af-preview {
	margin-top: var(--af-space-4);
	border-radius: var(--af-radius-lg);
	overflow: hidden;
	border: 1px solid var(--af-color-border);
	box-shadow: var(--af-shadow-lg);
	background: var(--af-color-bg-inset);
}

.af-preview img { width: 100%; }

.af-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--af-space-2);
	margin-top: var(--af-space-3);
}

.af-preview-grid img {
	border-radius: var(--af-radius);
	border: 1px solid var(--af-color-border);
	box-shadow: var(--af-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.af-preview-grid img:hover {
	box-shadow: var(--af-shadow-md);
	transform: translateY(-2px);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.af-pricing-card {
	max-width: 440px;
	margin: var(--af-space-4) auto 0;
	border: 1px solid var(--af-color-border-strong);
	border-radius: var(--af-radius-lg);
	padding: var(--af-space-4) var(--af-space-4) var(--af-space-3);
	text-align: center;
	background: linear-gradient(180deg, #ffffff 0%, var(--af-color-bg-alt) 100%);
	box-shadow: var(--af-shadow-lg);
	position: relative;
}

.af-price {
	font-size: 3.2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: var(--af-space-2) 0;
	color: var(--af-color-text);
}

.af-price span { font-size: 1.1rem; font-weight: 500; color: var(--af-color-text-muted); }

.af-pricing-list { text-align: left; margin: var(--af-space-3) 0; }
.af-pricing-list li {
	padding: 9px 0;
	color: var(--af-color-text-muted);
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.96rem;
	border-bottom: 1px solid var(--af-color-border);
}
.af-pricing-list li:last-child { border-bottom: none; }
.af-pricing-list li::before {
	content: "✓";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--af-color-accent-tint);
	color: var(--af-color-accent);
	font-weight: 700;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.af-pricing-error {
	margin-top: var(--af-space-2);
	color: #c0392b;
	font-size: 0.9rem;
	display: none;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.af-faq { max-width: 760px; margin: var(--af-space-4) auto 0; }

.af-faq-item {
	border-bottom: 1px solid var(--af-color-border);
	padding: 18px 4px;
}

.af-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.02rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--af-space-2);
}

.af-faq-item summary::-webkit-details-marker { display: none; }
.af-faq-item summary::after {
	content: "+";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--af-color-bg-alt);
	color: var(--af-color-text-muted);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.af-faq-item[open] summary::after { content: "\2212"; background: var(--af-color-accent-tint); color: var(--af-color-accent); }

.af-faq-item p { margin-top: var(--af-space-2); margin-bottom: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.af-cta {
	text-align: center;
	background: radial-gradient(720px 320px at 50% -20%, rgba(63, 174, 74, 0.35), transparent 65%), linear-gradient(180deg, #1a1c24, #0e0f14);
	color: #fff;
	border-radius: var(--af-radius-lg);
	padding: var(--af-space-5) var(--af-space-3);
	box-shadow: var(--af-shadow-lg);
}

.af-cta h2 { color: #fff; }
.af-cta p { color: rgba(255, 255, 255, 0.65); }

/* ==========================================================================
   Footer
   ========================================================================== */
.af-footer {
	border-top: 1px solid var(--af-color-border);
	padding: var(--af-space-4) 0;
	color: var(--af-color-text-muted);
	font-size: 0.9rem;
}

.af-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--af-space-2);
}

.af-footer__nav { display: flex; gap: var(--af-space-3); flex-wrap: wrap; }
.af-footer a { color: var(--af-color-text-muted); }
.af-footer a:hover { color: var(--af-color-text); }

/* ==========================================================================
   Status pages (success / cancel)
   ========================================================================== */
.af-status {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.af-status__icon { font-size: 3rem; margin-bottom: var(--af-space-2); }

/* ==========================================================================
   Prose content (About, Privacy Policy)
   ========================================================================== */
.af-page-content h1 { max-width: 760px; margin-left: auto; margin-right: auto; }

.af-prose {
	max-width: 720px;
	margin: var(--af-space-5) auto 0;
}

.af-prose h2 {
	font-size: 1.35rem;
	margin-top: var(--af-space-5);
}
.af-prose h2:first-child { margin-top: 0; }

.af-prose p { color: var(--af-color-text-muted); }
.af-prose a { font-weight: 600; }

.af-prose-list { margin: 0 0 var(--af-space-2); }
.af-prose-list li {
	position: relative;
	padding: 6px 0 6px 22px;
	color: var(--af-color-text-muted);
}
.af-prose-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--af-color-accent);
}

/* ==========================================================================
   Contact form
   ========================================================================== */
.af-form-wrap {
	max-width: 560px;
	margin: var(--af-space-4) auto 0;
}

.af-notice {
	padding: 14px 18px;
	border-radius: var(--af-radius-sm);
	font-size: 0.94rem;
	margin-bottom: var(--af-space-3);
}

.af-notice--success {
	background: var(--af-color-accent-tint);
	color: var(--af-color-accent-hover);
	border: 1px solid rgba(63, 174, 74, 0.25);
}

.af-notice--error {
	background: #fdeceb;
	color: #b3261e;
	border: 1px solid #f4c7c3;
}

.af-form { display: flex; flex-direction: column; gap: var(--af-space-2); }

.af-form__row { display: flex; flex-direction: column; gap: 6px; }

.af-form__row label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--af-color-text);
}

.af-form__row input,
.af-form__row textarea {
	font: inherit;
	padding: 11px 14px;
	border: 1px solid var(--af-color-border-strong);
	border-radius: var(--af-radius-sm);
	background: var(--af-color-bg);
	color: var(--af-color-text);
	resize: vertical;
}

.af-form__row input:focus,
.af-form__row textarea:focus {
	outline: none;
	border-color: var(--af-color-accent);
	box-shadow: 0 0 0 3px var(--af-color-accent-tint);
}

.af-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.af-form button[type="submit"] { margin-top: var(--af-space-1); align-self: flex-start; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.af-grid { grid-template-columns: repeat(2, 1fr); }
	.af-preview-grid { grid-template-columns: 1fr; }
	.af-steps { grid-template-columns: 1fr; gap: var(--af-space-3); }
	.af-testimonials { grid-template-columns: 1fr; }
	.af-spec-grid { grid-template-columns: 1fr; }

	.af-nav-toggle { display: flex; }

	.af-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--af-color-bg);
		border-bottom: 1px solid var(--af-color-border);
		box-shadow: var(--af-shadow-md);
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height 0.25s ease, visibility 0.25s;
	}

	.af-nav.is-open { max-height: 400px; visibility: visible; }

	.af-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--af-space-2) var(--af-space-3) 0;
	}

	.af-nav ul li { border-bottom: 1px solid var(--af-color-border); }
	.af-nav ul a { display: block; padding: 14px 0; }
	.af-nav ul a::after { display: none; }

	.af-nav > .af-btn,
	.af-nav .appforge-buy-now {
		margin: var(--af-space-2) var(--af-space-3) var(--af-space-3);
	}
}

@media (max-width: 768px) {
	.af-section { padding: var(--af-space-5) 0; }
	.af-hero { padding: calc(var(--af-space-5) + 8px) var(--af-space-3) var(--af-space-5); }
	.af-cta { padding: var(--af-space-4) var(--af-space-3); }

	.af-compare__scroll-hint { display: block; margin-bottom: var(--af-space-2); }
	.af-compare { margin-top: 0; }

	.af-pricing-card { padding: var(--af-space-3); }
	.af-price { font-size: 2.6rem; }
}

@media (max-width: 640px) {
	.af-grid { grid-template-columns: 1fr; }
	.af-stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--af-space-3); }

	.af-hero__actions { flex-direction: column; align-items: stretch; }
	.af-hero__actions .af-btn { width: 100%; }

	.af-footer__inner { flex-direction: column; align-items: flex-start; }
}
