/* ==========================================================================
   Allinonefreelancing — main.css
   Luxury dark digital academy design system.
   Everything is namespaced under .afl-site (body class).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--afl-bg-0: #05070B;
	--afl-bg-1: #080B10;
	--afl-bg-2: #0D1118;
	--afl-bg-3: #111722;
	--afl-bg-4: #151B25;
	--afl-gold-1: #C8A84E;
	--afl-gold-2: #D4AF37;
	--afl-gold-3: #E6C766;
	--afl-white: #FFFFFF;
	--afl-soft: #F3F4F6;
	--afl-muted: #9CA3AF;
	--afl-muted-2: #7C8491;
	--afl-blue: #456DFF;
	--afl-wa: #25D366;
	--afl-border: rgba(255, 255, 255, 0.08);
	--afl-border-gold: rgba(212, 175, 55, 0.32);
	--afl-glass: rgba(255, 255, 255, 0.04);
	--afl-glass-2: rgba(255, 255, 255, 0.06);
	--afl-radius: 18px;
	--afl-radius-lg: 26px;
	--afl-header-h: 78px;
	--afl-shadow-1: 0 18px 50px rgba(0, 0, 0, 0.45);
	--afl-shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.16);
	--afl-font-head: 'Sora', 'Inter', 'Hind Siliguri', system-ui, sans-serif;
	--afl-font-body: 'Inter', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
	--afl-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.afl-site {
	margin: 0;
	background: var(--afl-bg-0);
	color: var(--afl-soft);
	font-family: var(--afl-font-body);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

.afl-site *,
.afl-site *::before,
.afl-site *::after {
	box-sizing: border-box;
	min-width: 0;
}

.afl-site h1, .afl-site h2, .afl-site h3, .afl-site h4 {
	font-family: var(--afl-font-head);
	line-height: 1.16;
	margin: 0;
	letter-spacing: -0.01em;
	color: var(--afl-white);
}

.afl-site p { margin: 0; }
.afl-site ul, .afl-site ol { margin: 0; padding: 0; list-style: none; }
.afl-site a { color: inherit; text-decoration: none; }
.afl-site img { max-width: 100%; height: auto; display: block; }
.afl-site button { font-family: inherit; }
.afl-site svg.afl-icon { width: 20px; height: 20px; flex: none; }

.afl-site ::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

.afl-site :focus-visible {
	outline: 2px solid var(--afl-gold-3);
	outline-offset: 3px;
	border-radius: 6px;
}

.afl-site ::-webkit-scrollbar { width: 10px; height: 10px; }
.afl-site ::-webkit-scrollbar-track { background: var(--afl-bg-1); }
.afl-site ::-webkit-scrollbar-thumb { background: #232a36; border-radius: 8px; }
.afl-site ::-webkit-scrollbar-thumb:hover { background: #2e3644; }

.afl-skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	background: var(--afl-gold-2);
	color: #0a0a0a;
	padding: 10px 18px;
	border-radius: 10px;
	font-weight: 700;
	transition: top .2s var(--afl-ease);
}
.afl-skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.afl-container {
	width: 100%;
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: clamp(18px, 4vw, 34px);
}
.afl-container-narrow { max-width: 880px; }

.afl-section { position: relative; padding: clamp(64px, 9vw, 118px) 0; }
.afl-section + .afl-section { border-top: 1px solid rgba(255,255,255,0.04); }

.afl-section-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 62px); text-align: center; }

.afl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	color: var(--afl-gold-3);
	text-transform: uppercase;
	margin-bottom: 18px;
}
.afl-eyebrow-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: linear-gradient(135deg, var(--afl-gold-3), var(--afl-gold-1));
	box-shadow: 0 0 12px rgba(212,175,55,.8);
}

.afl-section-title {
	font-size: clamp(28px, 4.4vw, 46px);
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
}
.afl-section-sub {
	margin-top: 16px;
	color: var(--afl-muted);
	font-size: clamp(15px, 1.6vw, 17px);
	max-width: 640px;
	margin-inline: auto;
}

.afl-gold-text {
	background: linear-gradient(92deg, var(--afl-gold-1) 0%, var(--afl-gold-3) 45%, var(--afl-gold-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.afl-glass-card {
	background: linear-gradient(160deg, var(--afl-glass-2), var(--afl-glass));
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

/* Buttons ------------------------------------------------------------------ */
.afl-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-family: var(--afl-font-head);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	transition: transform .25s var(--afl-ease), box-shadow .25s var(--afl-ease), background-color .25s var(--afl-ease), border-color .25s var(--afl-ease), color .25s var(--afl-ease);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	white-space: nowrap;
}
.afl-btn:active { transform: scale(.98); }

.afl-btn-gold {
	background: linear-gradient(135deg, #E6C766 0%, #D4AF37 45%, #B8933A 100%);
	color: #101010;
	box-shadow: 0 8px 26px rgba(212, 175, 55, 0.28);
}
.afl-btn-gold::after {
	content: "";
	position: absolute;
	top: 0; left: -70%;
	width: 45%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
	transform: skewX(-18deg);
	transition: left .6s var(--afl-ease);
	pointer-events: none;
}
.afl-btn-gold:hover, .afl-btn-gold:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,175,55,.4); }
.afl-btn-gold:hover::after { left: 130%; }

.afl-btn-outline {
	background: rgba(255,255,255,.03);
	border-color: rgba(212,175,55,.45);
	color: var(--afl-gold-3);
}
.afl-btn-outline:hover, .afl-btn-outline:focus-visible {
	background: rgba(212,175,55,.1);
	border-color: var(--afl-gold-2);
	transform: translateY(-2px);
}

.afl-btn-whatsapp {
	background: rgba(37, 211, 102, 0.12);
	border-color: rgba(37, 211, 102, 0.4);
	color: #7BE49F;
}
.afl-btn-whatsapp:hover, .afl-btn-whatsapp:focus-visible {
	background: rgba(37, 211, 102, 0.2);
	border-color: rgba(37, 211, 102, 0.7);
	transform: translateY(-2px);
}
.afl-btn-whatsapp .afl-icon { width: 19px; height: 19px; }

.afl-btn-ghost {
	background: transparent;
	border-color: var(--afl-border);
	color: var(--afl-muted);
}
.afl-btn-ghost:hover { color: var(--afl-soft); border-color: rgba(255,255,255,.25); }

.afl-btn-block { width: 100%; white-space: normal; }

/* Scroll reveal ------------------------------------------------------------ */
.afl-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s var(--afl-ease), transform .7s var(--afl-ease);
	transition-delay: var(--afl-delay, 0ms);
	will-change: opacity, transform;
}
.afl-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.afl-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding-top: env(safe-area-inset-top);
	background: linear-gradient(180deg, rgba(5,7,11,.72), rgba(5,7,11,0));
	-webkit-backdrop-filter: blur(0px);
	backdrop-filter: blur(0px);
	border-bottom: 1px solid transparent;
	transition: background-color .35s var(--afl-ease), border-color .35s var(--afl-ease), box-shadow .35s var(--afl-ease), backdrop-filter .35s var(--afl-ease);
}
.afl-header.is-scrolled {
	background: rgba(8, 11, 16, 0.82);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom-color: rgba(255,255,255,.07);
	box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

.afl-header-inner {
	display: flex;
	align-items: center;
	gap: 22px;
	height: var(--afl-header-h);
}

.afl-brand { display: inline-flex; align-items: center; flex: none; }
.afl-brand-link { display: inline-flex; align-items: center; }
.afl-brand .custom-logo,
.afl-brand .afl-logo-img {
	height: 52px;
	width: auto;
	max-width: 190px;
	object-fit: contain;
}

.afl-nav { margin-left: auto; }
.afl-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.afl-menu-link,
.afl-menu a {
	position: relative;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--afl-muted);
	padding: 8px 2px;
	transition: color .25s var(--afl-ease);
}
.afl-menu a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--afl-gold-2), var(--afl-gold-3));
	transition: right .3s var(--afl-ease);
}
.afl-menu a:hover, .afl-menu a:focus-visible, .afl-menu .current-menu-item a { color: var(--afl-white); }
.afl-menu a:hover::after, .afl-menu .current-menu-item a::after { right: 0; }

.afl-header-actions { display: flex; align-items: center; gap: 12px; }
.afl-header-cta { min-height: 46px; padding: 10px 22px; font-size: 12.5px; }

.afl-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 10px;
	background: rgba(255,255,255,.05);
	border: 1px solid var(--afl-border);
	border-radius: 12px;
	cursor: pointer;
}
.afl-menu-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background: var(--afl-gold-3);
	transition: transform .3s var(--afl-ease), opacity .3s var(--afl-ease);
}
.afl-menu-toggle[aria-expanded="true"] .afl-menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afl-menu-toggle[aria-expanded="true"] .afl-menu-toggle-bar:nth-child(2) { opacity: 0; }
.afl-menu-toggle[aria-expanded="true"] .afl-menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.afl-mobile-menu {
	display: none;
	padding: 10px clamp(18px, 4vw, 34px) calc(24px + env(safe-area-inset-bottom));
	background: rgba(8, 11, 16, 0.96);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border-top: 1px solid rgba(255,255,255,.06);
	max-height: calc(100dvh - var(--afl-header-h));
	overflow-y: auto;
}
.afl-mobile-menu.is-open { display: block; animation: afl-menu-in .3s var(--afl-ease); }
.afl-menu-mobile { flex-direction: column; align-items: stretch; gap: 0; }
.afl-menu-mobile li { border-bottom: 1px solid rgba(255,255,255,.05); }
.afl-menu-mobile a {
	display: block;
	padding: 15px 4px;
	font-size: 15px;
	min-height: 48px;
}
.afl-menu-mobile a::after { display: none; }
.afl-mobile-menu-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

@keyframes afl-menu-in {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.afl-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: calc(var(--afl-header-h) + 46px) 0 70px;
	overflow: clip;
	background:
		radial-gradient(1100px 520px at 78% -10%, rgba(212, 175, 55, 0.13), transparent 60%),
		radial-gradient(900px 480px at -10% 90%, rgba(69, 109, 255, 0.10), transparent 60%),
		linear-gradient(180deg, var(--afl-bg-0), var(--afl-bg-1) 60%, var(--afl-bg-0));
}

.afl-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.afl-hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
	mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
}
.afl-hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.afl-hero-glow-1 { width: 480px; height: 480px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(212,175,55,.28), transparent 65%); animation: afl-float-glow 9s ease-in-out infinite; }
.afl-hero-glow-2 { width: 420px; height: 420px; left: -140px; bottom: -100px; background: radial-gradient(circle, rgba(69,109,255,.22), transparent 65%); animation: afl-float-glow 11s ease-in-out infinite reverse; }
.afl-particles { position: absolute; inset: 0; width: 100%; height: 100%; }

@keyframes afl-float-glow {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, 26px, 0); }
}

.afl-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(34px, 5vw, 72px);
	align-items: center;
}

.afl-hero-title {
	font-size: clamp(34px, 5.2vw, 62px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .005em;
	margin-bottom: 22px;
}
.afl-hero-line { display: block; }
.afl-hero-sub {
	color: var(--afl-muted);
	font-size: clamp(15px, 1.7vw, 18px);
	max-width: 560px;
	margin-bottom: 34px;
}

.afl-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.afl-hero-assurance { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.afl-hero-assurance li {
	display: inline-flex; align-items: center; gap: 9px;
	color: var(--afl-muted);
	font-size: 13.5px;
	font-weight: 500;
}
.afl-hero-assurance .afl-icon { width: 17px; height: 17px; color: var(--afl-gold-2); }

.afl-hero-visual { position: relative; display: flex; justify-content: center; }
.afl-hero-frame {
	position: relative;
	margin: 0;
	width: min(100%, 430px);
	aspect-ratio: 4 / 4.6;
	padding: 12px;
	border-radius: 30px;
	background: linear-gradient(165deg, rgba(255,255,255,.1), rgba(255,255,255,.02) 55%, rgba(212,175,55,.08));
	border: 1px solid var(--afl-border-gold);
	box-shadow: var(--afl-shadow-1), var(--afl-shadow-gold);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: afl-frame-float 8s ease-in-out infinite;
}
.afl-hero-frame .afl-mentor-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 22%;
	border-radius: 22px;
	filter: saturate(1.02) contrast(1.02);
}
.afl-hero-frame-ring {
	position: absolute;
	inset: -16px;
	border-radius: 40px;
	border: 1px solid transparent;
	background: conic-gradient(from 210deg, rgba(212,175,55,.0), rgba(212,175,55,.75), rgba(230,199,102,.15), rgba(212,175,55,.6), rgba(212,175,55,0)) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}
.afl-hero-frame-glass {
	position: absolute;
	inset: 12px;
	border-radius: 22px;
	background: linear-gradient(200deg, rgba(255,255,255,.14), transparent 34%);
	pointer-events: none;
}
.afl-hero-chip {
	position: absolute;
	left: 50%;
	bottom: -18px;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(10, 13, 19, 0.85);
	border: 1px solid var(--afl-border-gold);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--afl-gold-3);
	white-space: nowrap;
	max-width: calc(100% - 24px);
	overflow: hidden;
	text-overflow: ellipsis;
}
.afl-hero-chip-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--afl-wa);
	box-shadow: 0 0 10px rgba(37,211,102,.9);
	animation: afl-pulse-dot 2.4s ease-in-out infinite;
}
@keyframes afl-pulse-dot {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.35); opacity: .65; }
}
@keyframes afl-frame-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------------------------
   6. Highlight strip
   -------------------------------------------------------------------------- */
.afl-strip {
	position: relative;
	padding: 26px 0;
	background: linear-gradient(90deg, rgba(212,175,55,.07), rgba(255,255,255,.02) 50%, rgba(212,175,55,.07));
	border-top: 1px solid rgba(212,175,55,.16);
	border-bottom: 1px solid rgba(212,175,55,.16);
}
.afl-strip-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.afl-strip-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 10px;
	font-family: var(--afl-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--afl-soft);
	text-align: center;
}
.afl-strip-item .afl-icon { color: var(--afl-gold-2); width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   7. Course overview
   -------------------------------------------------------------------------- */
.afl-course { background: linear-gradient(180deg, var(--afl-bg-0), var(--afl-bg-1)); }
.afl-course-layout {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(30px, 5vw, 70px);
	align-items: start;
}
.afl-course-head { position: sticky; top: calc(var(--afl-header-h) + 30px); }
.afl-course-head .afl-section-title { text-align: left; }
.afl-course-head .afl-section-sub { margin-inline: 0; text-align: left; }
.afl-course-divider {
	margin-top: 26px;
	height: 3px; width: 84px; border-radius: 3px;
	background: linear-gradient(90deg, var(--afl-gold-2), transparent);
}

.afl-skill-list { display: flex; flex-direction: column; gap: 14px; counter-reset: afl-skill; }
.afl-skill {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
	padding: 20px 22px;
	background: linear-gradient(150deg, var(--afl-glass-2), var(--afl-glass));
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius);
	transition: border-color .3s var(--afl-ease), transform .3s var(--afl-ease), background-color .3s var(--afl-ease);
	overflow: hidden;
}
.afl-skill:hover { border-color: var(--afl-border-gold); transform: translateX(6px); }
.afl-skill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: rgba(212,175,55,.1);
	border: 1px solid rgba(212,175,55,.25);
	color: var(--afl-gold-3);
}
.afl-skill-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.afl-skill-desc { color: var(--afl-muted); font-size: 14.5px; }
.afl-skill-index {
	font-family: var(--afl-font-head);
	font-size: 30px;
	font-weight: 800;
	color: rgba(255,255,255,.07);
	line-height: 1;
	padding-top: 4px;
}

/* --------------------------------------------------------------------------
   8. Modules
   -------------------------------------------------------------------------- */
.afl-modules {
	background:
		radial-gradient(760px 420px at 88% 6%, rgba(212,175,55,.07), transparent 60%),
		linear-gradient(180deg, var(--afl-bg-1), var(--afl-bg-0));
}
.afl-module-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.afl-module {
	position: relative;
	padding: 28px 26px 26px;
	background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.02) 60%);
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius-lg);
	overflow: hidden;
	transition: transform .35s var(--afl-ease), border-color .35s var(--afl-ease), box-shadow .35s var(--afl-ease);
}
.afl-module:hover {
	transform: translateY(-6px);
	border-color: var(--afl-border-gold);
	box-shadow: 0 22px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(212,175,55,.12), 0 10px 40px rgba(212,175,55,.08);
}
.afl-module-number {
	position: absolute;
	top: 6px;
	right: 14px;
	font-family: var(--afl-font-head);
	font-size: clamp(56px, 7vw, 88px);
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(212,175,55,.22);
	pointer-events: none;
	user-select: none;
}
.afl-module-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px; height: 50px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: linear-gradient(140deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
	border: 1px solid rgba(212,175,55,.3);
	color: var(--afl-gold-3);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.afl-module-icon .afl-icon { width: 24px; height: 24px; }
.afl-module-title { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; padding-right: 12%; }
.afl-module-title-num { color: var(--afl-gold-2); margin-right: 6px; }
.afl-module-desc { color: var(--afl-muted); font-size: 14.5px; line-height: 1.7; }
.afl-module-glow {
	position: absolute;
	left: -30%;
	bottom: -60%;
	width: 70%;
	height: 100%;
	background: radial-gradient(circle, rgba(212,175,55,.14), transparent 65%);
	opacity: 0;
	transition: opacity .5s var(--afl-ease);
	pointer-events: none;
}
.afl-module:hover .afl-module-glow { opacity: 1; }

/* --------------------------------------------------------------------------
   9. Mentor
   -------------------------------------------------------------------------- */
.afl-mentor { background: linear-gradient(180deg, var(--afl-bg-0), var(--afl-bg-2) 55%, var(--afl-bg-0)); }
.afl-mentor-layout {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(34px, 5vw, 76px);
	align-items: center;
}
.afl-mentor-frame {
	position: relative;
	margin: 0;
	width: min(100%, 440px);
	aspect-ratio: 4 / 4.7;
	border-radius: 26px;
	overflow: hidden;
	border: 1px solid var(--afl-border-gold);
	box-shadow: var(--afl-shadow-1);
	margin-inline: auto;
}
.afl-mentor-frame .afl-mentor-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.afl-mentor-glow {
	position: absolute; inset: 0;
	background: linear-gradient(200deg, rgba(212,175,55,.16), transparent 40%, rgba(5,7,11,.35));
	pointer-events: none;
}
.afl-mentor-frame-corner {
	position: absolute;
	width: 74px; height: 74px;
	border: 2px solid var(--afl-gold-2);
	z-index: 2;
	pointer-events: none;
}
.afl-corner-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.afl-corner-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }

.afl-mentor-text { color: var(--afl-muted); font-size: 16.5px; margin: 18px 0 26px; max-width: 560px; }
.afl-mentor-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-bottom: 32px; }
.afl-mentor-point {
	display: flex; align-items: center; gap: 12px;
	padding: 13px 16px;
	background: var(--afl-glass);
	border: 1px solid var(--afl-border);
	border-radius: 14px;
	font-size: 14.5px;
	font-weight: 600;
}
.afl-mentor-point-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; flex: none;
	border-radius: 10px;
	background: rgba(212,175,55,.12);
	color: var(--afl-gold-3);
}
.afl-mentor-point-icon .afl-icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   10. Pricing
   -------------------------------------------------------------------------- */
.afl-pricing {
	background:
		radial-gradient(820px 460px at 50% 0%, rgba(212,175,55,.08), transparent 62%),
		linear-gradient(180deg, var(--afl-bg-0), var(--afl-bg-1));
}
.afl-pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	align-items: stretch;
	max-width: 980px;
	margin-inline: auto;
}
.afl-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 40px 32px 32px;
	background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius-lg);
	transition: transform .35s var(--afl-ease), border-color .35s var(--afl-ease), box-shadow .35s var(--afl-ease);
}
.afl-price-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); }
.afl-price-card-premium {
	border-color: var(--afl-border-gold);
	background:
		radial-gradient(420px 220px at 50% -10%, rgba(212,175,55,.16), transparent 70%),
		linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
	box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 46px rgba(212,175,55,.12);
	transform: scale(1.025);
}
.afl-price-card-premium:hover { transform: scale(1.025) translateY(-6px); }

.afl-price-badge {
	position: absolute;
	top: -14px; left: 32px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--afl-bg-3);
	border: 1px solid var(--afl-border);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--afl-muted);
}
.afl-price-badge-gold {
	background: linear-gradient(135deg, #E6C766, #C8A84E);
	border-color: transparent;
	color: #141414;
	box-shadow: 0 8px 22px rgba(212,175,55,.35);
}
.afl-price-highlight {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 8px 14px;
	border-radius: 10px;
	background: rgba(212,175,55,.12);
	border: 1px solid rgba(212,175,55,.35);
	color: var(--afl-gold-3);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
}
.afl-price-highlight .afl-icon { width: 16px; height: 16px; }
.afl-price-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; min-height: 52px; }
.afl-price-amount { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.afl-price-currency {
	font-family: var(--afl-font-head);
	font-size: clamp(36px, 4vw, 46px);
	font-weight: 800;
	background: linear-gradient(120deg, #fff, #cbd2dd);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.afl-price-card-premium .afl-price-currency {
	background: linear-gradient(120deg, var(--afl-gold-3), var(--afl-gold-1));
	-webkit-background-clip: text;
	background-clip: text;
}
.afl-price-once { color: var(--afl-muted-2); font-size: 13px; }
.afl-price-benefits { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.afl-price-benefits li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--afl-soft); }
.afl-price-benefits .afl-icon { width: 17px; height: 17px; margin-top: 3px; color: var(--afl-gold-2); }
.afl-price-card .afl-btn { margin-top: auto; }
.afl-price-alt { margin-top: 14px; text-align: center; font-size: 13px; color: var(--afl-muted-2); }
.afl-price-alt a { color: var(--afl-gold-3); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   11. Comparison
   -------------------------------------------------------------------------- */
.afl-compare-wrap {
	max-width: 900px;
	margin-inline: auto;
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius-lg);
	overflow: hidden;
	background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.afl-compare-table { width: 100%; border-collapse: collapse; }
.afl-compare-table th, .afl-compare-table td {
	padding: 16px 22px;
	text-align: left;
	font-size: 14.5px;
	border-bottom: 1px solid rgba(255,255,255,.05);
}
.afl-compare-table thead th {
	font-family: var(--afl-font-head);
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--afl-gold-3);
	background: rgba(212,175,55,.06);
}
.afl-compare-table tbody th { font-weight: 600; color: var(--afl-soft); }
.afl-compare-table tr:last-child th, .afl-compare-table tr:last-child td { border-bottom: 0; }
.afl-compare-premium-col { background: rgba(212,175,55,.05); }
.afl-compare-yes .afl-icon { color: var(--afl-gold-2); width: 19px; height: 19px; }
.afl-compare-no .afl-icon { color: var(--afl-muted-2); width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.afl-faq { background: linear-gradient(180deg, var(--afl-bg-1), var(--afl-bg-0)); }
.afl-faq-list { display: flex; flex-direction: column; gap: 12px; }
.afl-faq-item {
	border: 1px solid var(--afl-border);
	border-radius: 16px;
	background: var(--afl-glass);
	overflow: hidden;
	transition: border-color .3s var(--afl-ease), background-color .3s var(--afl-ease);
}
.afl-faq-item.is-open { border-color: var(--afl-border-gold); background: rgba(212,175,55,.045); }
.afl-faq-heading { margin: 0; }
.afl-faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 19px 22px;
	background: transparent;
	border: 0;
	color: var(--afl-soft);
	font-family: var(--afl-font-head);
	font-size: 15.5px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	min-height: 56px;
}
.afl-faq-chevron { flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(212,175,55,.12); color: var(--afl-gold-3); transition: transform .35s var(--afl-ease); }
.afl-faq-chevron svg { width: 16px; height: 16px; }
.afl-faq-item.is-open .afl-faq-chevron { transform: rotate(180deg); }
.afl-faq-panel { overflow: hidden; transition: max-height .4s var(--afl-ease), opacity .35s var(--afl-ease); opacity: 0; max-height: 0; }
.afl-faq-item.is-open .afl-faq-panel { opacity: 1; }
.afl-faq-answer { padding: 0 22px 22px; color: var(--afl-muted); font-size: 15px; line-height: 1.75; }
.afl-faq-answer p + p { margin-top: 10px; }

/* --------------------------------------------------------------------------
   13. Final CTA
   -------------------------------------------------------------------------- */
.afl-final-cta-card {
	position: relative;
	text-align: center;
	padding: clamp(44px, 6vw, 78px) clamp(24px, 5vw, 70px);
	border-radius: 32px;
	border: 1px solid var(--afl-border-gold);
	background:
		radial-gradient(560px 260px at 50% -20%, rgba(212,175,55,.18), transparent 70%),
		linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
	overflow: hidden;
}
.afl-final-cta-glow {
	position: absolute; inset: auto 0 -60% 0; height: 100%;
	background: radial-gradient(50% 60% at 50% 100%, rgba(212,175,55,.14), transparent 70%);
	pointer-events: none;
}
.afl-final-cta-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; text-transform: uppercase; }
.afl-final-cta-sub { margin: 16px auto 32px; color: var(--afl-muted); max-width: 620px; }
.afl-final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; }

/* --------------------------------------------------------------------------
   14. Receipt
   -------------------------------------------------------------------------- */
.afl-receipt { padding-top: calc(var(--afl-header-h) + 50px); }
.afl-receipt-card {
	position: relative;
	text-align: center;
	padding: 46px 30px 38px;
	border-radius: 26px;
	border: 1px solid var(--afl-border);
	background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.afl-receipt-card.afl-state-success { border-color: rgba(37,211,102,.4); box-shadow: 0 0 60px rgba(37,211,102,.08); }
.afl-receipt-card.afl-state-pending { border-color: var(--afl-border-gold); box-shadow: 0 0 60px rgba(212,175,55,.08); }
.afl-receipt-card.afl-state-failed { border-color: rgba(255,99,99,.4); }
.afl-receipt-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; margin-bottom: 18px;
	border-radius: 18px;
	background: rgba(212,175,55,.12);
	color: var(--afl-gold-3);
}
.afl-state-success .afl-receipt-icon { background: rgba(37,211,102,.14); color: #7BE49F; }
.afl-state-failed .afl-receipt-icon { background: rgba(255,99,99,.12); color: #ff9d9d; }
.afl-receipt-icon .afl-icon { width: 30px; height: 30px; }
.afl-receipt-title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: .04em; }
.afl-receipt-sub { margin: 12px auto 26px; color: var(--afl-muted); max-width: 560px; font-size: 15px; }
.afl-receipt-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	max-width: 620px;
	margin: 0 auto 28px;
	text-align: left;
}
.afl-receipt-details > div {
	padding: 13px 16px;
	border-radius: 12px;
	background: rgba(255,255,255,.04);
	border: 1px solid var(--afl-border);
}
.afl-receipt-details dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--afl-muted-2); margin-bottom: 4px; }
.afl-receipt-details dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--afl-soft); word-break: break-word; }
.afl-receipt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.afl-receipt-note { margin-top: 20px; color: var(--afl-muted-2); font-size: 13px; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.afl-footer {
	background: var(--afl-bg-1);
	border-top: 1px solid rgba(255,255,255,.06);
	padding: clamp(48px, 6vw, 76px) 0 0;
	padding-bottom: env(safe-area-inset-bottom);
}
.afl-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 34px;
	padding-bottom: 44px;
}
.afl-footer-brand .custom-logo, .afl-footer-brand .afl-logo-img { height: 58px; max-width: 200px; margin-bottom: 16px; }
.afl-footer-tagline { color: var(--afl-gold-3); font-weight: 600; font-size: 14.5px; margin-bottom: 12px; }
.afl-footer-note { color: var(--afl-muted-2); font-size: 13px; max-width: 340px; }
.afl-footer-title { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--afl-soft); margin-bottom: 18px; }
.afl-footer-menu { display: flex; flex-direction: column; gap: 11px; }
.afl-footer-menu a { color: var(--afl-muted); font-size: 14.5px; transition: color .25s var(--afl-ease), transform .25s var(--afl-ease); display: inline-block; }
.afl-footer-menu a:hover { color: var(--afl-gold-3); transform: translateX(4px); }
.afl-footer-contact { display: flex; flex-direction: column; gap: 13px; }
.afl-footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--afl-muted); font-size: 14.5px; }
.afl-footer-contact a:hover { color: var(--afl-gold-3); }
.afl-footer-contact .afl-icon { color: var(--afl-wa); width: 18px; height: 18px; }
.afl-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 22px 0;
	border-top: 1px solid rgba(255,255,255,.05);
}
.afl-copyright { color: var(--afl-muted-2); font-size: 13px; }
.afl-footer-brandline { font-family: var(--afl-font-head); font-weight: 800; letter-spacing: .3em; font-size: 12px; color: rgba(212,175,55,.55); }

/* Floating WhatsApp ---------------------------------------------------------- */
.afl-wa-float {
	position: fixed;
	right: calc(18px + env(safe-area-inset-right));
	bottom: calc(18px + env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(140deg, #2ee56f, #128C4B);
	color: #fff;
	box-shadow: 0 12px 34px rgba(18, 140, 75, 0.45);
	transition: transform .3s var(--afl-ease);
}
.afl-wa-float:hover { transform: translateY(-4px) scale(1.04); }
.afl-wa-float .afl-icon { width: 28px; height: 28px; }
.afl-wa-float-pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(37, 211, 102, 0.55);
	animation: afl-wa-pulse 2.6s ease-out infinite;
	pointer-events: none;
}
@keyframes afl-wa-pulse {
	0% { transform: scale(1); opacity: .8; }
	100% { transform: scale(1.55); opacity: 0; }
}

/* --------------------------------------------------------------------------
   16. Blog / page / comments / 404
   -------------------------------------------------------------------------- */
.afl-main { min-height: 60vh; }
.afl-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	padding-top: calc(var(--afl-header-h) + 54px);
	padding-bottom: 80px;
}
.afl-page-head { margin-bottom: 30px; }
.afl-page-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.afl-page-title span { color: var(--afl-gold-3); }
.afl-page-desc { color: var(--afl-muted); margin-top: 10px; }
.afl-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.afl-post-card {
	border: 1px solid var(--afl-border);
	border-radius: var(--afl-radius);
	overflow: hidden;
	background: var(--afl-glass);
	transition: transform .3s var(--afl-ease), border-color .3s var(--afl-ease);
}
.afl-post-card:hover { transform: translateY(-5px); border-color: var(--afl-border-gold); }
.afl-post-thumb img { width: 100%; height: 190px; object-fit: cover; }
.afl-post-body { padding: 22px; }
.afl-post-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.afl-post-title a:hover { color: var(--afl-gold-3); }
.afl-post-meta { color: var(--afl-muted-2); font-size: 12.5px; margin-bottom: 10px; }
.afl-post-excerpt { color: var(--afl-muted); font-size: 14px; margin-bottom: 14px; }
.afl-post-more { color: var(--afl-gold-3); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.afl-pagination { margin-top: 34px; }
.afl-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.afl-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--afl-border);
	color: var(--afl-muted);
	font-size: 14px;
}
.afl-pagination .page-numbers.current { background: var(--afl-gold-2); border-color: transparent; color: #111; font-weight: 700; }
.afl-empty { color: var(--afl-muted); padding: 30px 0; }

.afl-page-article { max-width: 820px; }
.afl-entry-content { color: var(--afl-soft); font-size: 16px; line-height: 1.8; }
.afl-entry-content p { margin-bottom: 18px; }
.afl-entry-content h2, .afl-entry-content h3 { margin: 28px 0 12px; }
.afl-entry-content a { color: var(--afl-gold-3); text-decoration: underline; text-underline-offset: 3px; }
.afl-entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.afl-entry-content ol { list-style: decimal; padding-left: 22px; margin-bottom: 18px; }
.afl-entry-content img { border-radius: 14px; }
.afl-single-thumb { margin: 0 0 26px; }
.afl-single-thumb img { border-radius: 18px; width: 100%; }

.afl-sidebar { display: flex; flex-direction: column; gap: 20px; }
.afl-widget { padding: 24px; }
.afl-widget-title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--afl-gold-3); margin-bottom: 14px; }
.afl-widget ul { list-style: disc; padding-left: 18px; color: var(--afl-muted); font-size: 14.5px; }
.afl-widget a:hover { color: var(--afl-gold-3); }

.afl-search-form { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.afl-search-form input[type="search"] {
	flex: 1 1 220px;
	min-height: 50px;
	padding: 12px 18px;
	border-radius: 12px;
	border: 1px solid var(--afl-border);
	background: rgba(255,255,255,.05);
	color: var(--afl-soft);
	font-size: 15px;
}

.afl-comments { margin-top: 46px; border-top: 1px solid var(--afl-border); padding-top: 30px; }
.afl-comments-title { font-size: 20px; margin-bottom: 20px; }
.afl-comment-list { list-style: none; padding: 0; }
.afl-comment-list .comment-body { padding: 18px; border: 1px solid var(--afl-border); border-radius: 14px; margin-bottom: 14px; background: var(--afl-glass); }
.afl-comments-closed { color: var(--afl-muted-2); }
.afl-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--afl-soft); }
.afl-field textarea, .afl-field input[type="text"], .afl-field input[type="email"], .afl-field input[type="tel"] {
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid var(--afl-border);
	background: rgba(255,255,255,.05);
	color: var(--afl-soft);
	font-size: 15px;
	font-family: inherit;
}
.afl-field textarea { min-height: 130px; }

.afl-404 { padding-top: calc(var(--afl-header-h) + 70px); }
.afl-404-code {
	font-family: var(--afl-font-head);
	font-size: clamp(80px, 16vw, 170px);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(140deg, var(--afl-gold-3), rgba(212,175,55,.15));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.afl-404-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Screen reader text (WP core class may not exist without core css) ---------- */
.afl-site .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.afl-site *, .afl-site *::before, .afl-site *::after {
		animation-duration: .001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001s !important;
	}
	.afl-reveal { opacity: 1; transform: none; }
}
