<?php
defined( 'ABSPATH' ) || exit;
$avi_lang = 'en';

$avi_meta_title = 'Ambassador Program — Avision';
$avi_meta_desc  = 'Free lifetime premium access for verified nonprofits, 50% off premium options, and up to $47.91 net per referral through the Avision Ambassador Program.';

avi_get_layout( 'header' );
?>

<?php
avi_component(
	'hero',
	array(
		'badge'    => 'FREE',
		'title'    => 'Ambassador Program',
		'subtitle' => 'Free lifetime premium access + up to 47,91$ net per referral (excl. promotions)',
		'align'    => 'center',
		'size'     => 'small',
	)
);
?>

<section class="avi-content-section">
	<div class="avi-content-block avi-ambassador-page">

		<!-- Section 1: WHAT YOU GET -->
		<div class="avi-ambassador-section-block">
			<h2>What You Get</h2>
			<div class="avi-table-wrap">
				<table class="avi-features-table">
					<thead>
						<tr>
							<th>Feature</th>
							<th>Included</th>
							<th>Details</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>Platform access</td>
							<td class="avi-td-check">✓</td>
							<td>Free for any registered nonprofit</td>
						</tr>
						<tr>
							<td>Premium Dashboard</td>
							<td class="avi-td-check">✓</td>
							<td>Lifetime — Health scores, alerts, analytics, gamified journey...</td>
						</tr>
						<tr>
							<td>GBP Management</td>
							<td class="avi-td-check">✓</td>
							<td>Manage your Google Business Profile directly from Avision, no time limit</td>
						</tr>
						<tr>
							<td>Growth Radar</td>
							<td class="avi-td-check">✓</td>
							<td>Track local rankings and visibility opportunities with targeted keywords</td>
						</tr>
						<tr>
							<td>Automated Reporting</td>
							<td class="avi-td-check">✓</td>
							<td>Performance reports generated automatically</td>
						</tr>
						<tr>
							<td>AVI Assistant*</td>
							<td class="avi-td-check">✓</td>
							<td>AI-powered assistant available to guide you</td>
						</tr>
					</tbody>
				</table>
			</div>
			<p class="avi-ambassador-note">* Free from level 1 to 3, then limited if no premium option is active</p>
		</div>

		<!-- Section 2: PREMIUM OPTIONS -50% -->
		<div class="avi-ambassador-section-block">
			<h2>Premium Options -50%</h2>
			<div class="avi-table-wrap">
				<table class="avi-features-table">
					<thead>
						<tr>
							<th>Option</th>
							<th>Standard</th>
							<th>Your price (-50%)</th>
							<th>Saving</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>Guardian Mode</td>
							<td>$29/mo</td>
							<td>$14.50/mo</td>
							<td>$14.50/mo</td>
						</tr>
						<tr>
							<td>Keyword Tracking</td>
							<td>$7/75kw or $14/100kw</td>
							<td>$3.50/75kw or $7/100kw</td>
							<td>$3.50/mo or $7/mo</td>
						</tr>
					</tbody>
				</table>
			</div>
			<p class="avi-ambassador-note">
				New premium options launched during the year are automatically included at -50% for active ambassadors (excl. Heatmap credits / API-first).
			</p>
		</div>

		<!-- Section 3: REFERRAL REWARD — DONATION PROGRAM -->
		<div class="avi-ambassador-section-block">
			<h2>Referral Reward — Donation Program</h2>
			<h3 class="avi-ambassador-subtitle">How much does your nonprofit earn per referral?</h3>
			<p>
				Avision pays 50% of the amount actually collected (promotions included), after deducting half of Stripe processing fees. The reference amount shown ($47.91) corresponds to the standard B2C catalogue price of $99 — the actual amount paid varies based on the price effectively paid by the referred business and any promotions in effect, at Avision's discretion.
			</p>
			<div class="avi-table-wrap">
				<table class="avi-features-table avi-simulation-table">
					<thead>
						<tr>
							<th>Scenario</th>
							<th>Amount paid</th>
							<th>Gross (50%)</th>
							<th>Stripe ÷2</th>
							<th>Net paid</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>B2C launch $69</td>
							<td>$69</td>
							<td>$34.50</td>
							<td>~$1.09</td>
							<td>~$33.41</td>
						</tr>
						<tr>
							<td>B2C standard $99</td>
							<td>$99</td>
							<td>$49.50</td>
							<td>~$1.59</td>
							<td>~$47.91</td>
						</tr>
						<tr>
							<td>B2C with promo (-30%)</td>
							<td>$48.30</td>
							<td>$24.15</td>
							<td>~$0.76</td>
							<td>~$23.39</td>
						</tr>
						<tr>
							<td>B2B T1 $149</td>
							<td>$149</td>
							<td>$74.50</td>
							<td>~$2.36</td>
							<td>~$72.14</td>
						</tr>
						<tr>
							<td>B2B T2 $299</td>
							<td>$299</td>
							<td>$149.50</td>
							<td>~$4.72</td>
							<td>~$144.78</td>
						</tr>
						<tr>
							<td>B2B T3 $499</td>
							<td>$499</td>
							<td>$249.50</td>
							<td>~$7.84</td>
							<td>~$241.66</td>
						</tr>
					</tbody>
				</table>
			</div>

			<div class="avi-simulation-widget">
				<label for="avi-amb-sim-range" class="avi-simulation-label">How many referrals?</label>
				<input type="range" id="avi-amb-sim-range" min="1" max="20" value="1" step="1">
				<div class="avi-simulation-range-labels">
					<span>1</span>
					<span id="avi-amb-sim-count">1</span>
					<span>20</span>
				</div>
				<p class="avi-simulation-result-label">Estimated donation:</p>
				<div class="avi-simulation-result" id="avi-amb-sim-result">$47.91</div>
				<p class="avi-simulation-disclaimer">* Actual amount varies based on plan subscribed and promotions in effect at time of referral.</p>
			</div>
		</div>

		<!-- Section 4: YOUR AMBASSADOR COMMITMENTS -->
		<div class="avi-ambassador-section-block">
			<h2>Your Ambassador Commitments</h2>
			<p class="avi-ambassador-subtitle">These 4 commitments are the condition for maintaining your lifetime benefits.</p>

			<div class="avi-commitment-item">
				<div class="avi-ambassador-check" aria-hidden="true">
					<svg viewBox="0 0 32 32" width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg">
						<circle class="avi-check-circle" cx="16" cy="16" r="14" stroke="#DAA520" stroke-width="2" fill="none"/>
						<path class="avi-check-path" d="M10 16 L14 20 L22 12" stroke="#DAA520" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
					</svg>
				</div>
				<div class="avi-commitment-text">
					<strong>Word-of-mouth with local businesses</strong>
					<p>Mention Avision during your exchanges with merchants and local businesses — events, markets, neighborhood meetings.</p>
				</div>
			</div>

			<div class="avi-commitment-item">
				<div class="avi-ambassador-check" aria-hidden="true">
					<svg viewBox="0 0 32 32" width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg">
						<circle class="avi-check-circle" cx="16" cy="16" r="14" stroke="#DAA520" stroke-width="2" fill="none"/>
						<path class="avi-check-path" d="M10 16 L14 20 L22 12" stroke="#DAA520" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
					</svg>
				</div>
				<div class="avi-commitment-text">
					<strong>Share 1 Avision post/month on social media</strong>
					<p>Facebook, Instagram, LinkedIn or any active association network.</p>
				</div>
			</div>

			<div class="avi-commitment-item">
				<div class="avi-ambassador-check" aria-hidden="true">
					<svg viewBox="0 0 32 32" width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg">
						<circle class="avi-check-circle" cx="16" cy="16" r="14" stroke="#DAA520" stroke-width="2" fill="none"/>
						<path class="avi-check-path" d="M10 16 L14 20 L22 12" stroke="#DAA520" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
					</svg>
				</div>
				<div class="avi-commitment-text">
					<strong>Refer businesses via your personal referral link</strong>
					<p>Each registration generates a tracked donation for your nonprofit.</p>
				</div>
			</div>

			<div class="avi-commitment-item">
				<div class="avi-ambassador-check" aria-hidden="true">
					<svg viewBox="0 0 32 32" width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg">
						<circle class="avi-check-circle" cx="16" cy="16" r="14" stroke="#DAA520" stroke-width="2" fill="none"/>
						<path class="avi-check-path" d="M10 16 L14 20 L22 12" stroke="#DAA520" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
					</svg>
				</div>
				<div class="avi-commitment-text">
					<strong>Share your experience (review or testimonial)</strong>
					<p>Format of your choice — used with your agreement on our communication materials.</p>
				</div>
			</div>

			<div class="avi-warning-clause">
				⚠ Non-compliance clause: In case of persistent non-compliance with the above commitments, Avision will issue a 30-day notice. Without resolution, the 50% discount on premium options will automatically revert to standard rates. Donations already paid are never reclaimed.
			</div>
		</div>

		<!-- Section 5: VERIFICATION PROCESS -->
		<div class="avi-ambassador-section-block">
			<h2>Verification Process</h2>

			<div class="avi-verification-step">
				<div class="avi-step-number">1</div>
				<div class="avi-step-content">
					<h3>Registration form — official nonprofit ID</h3>
					<p>Submit your organization's official registration number through the nonprofit application form.</p>
					<div class="avi-table-wrap">
						<table class="avi-features-table">
							<thead>
								<tr>
									<th>Country</th>
									<th>Org type</th>
									<th>Official ID</th>
									<th>Public registry</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>France</td>
									<td>Association loi 1901</td>
									<td>RNA or SIRET</td>
									<td>Journal Officiel / INSEE</td>
								</tr>
								<tr>
									<td>UK</td>
									<td>Registered Charity</td>
									<td>Charity Number</td>
									<td>Charity Commission / OSCR</td>
								</tr>
								<tr>
									<td>UK</td>
									<td>CIC</td>
									<td>Company Number</td>
									<td>Companies House</td>
								</tr>
								<tr>
									<td>USA</td>
									<td>Nonprofit 501(c)(3)</td>
									<td>EIN</td>
									<td>IRS Tax Exempt Search</td>
								</tr>
								<tr>
									<td>Canada</td>
									<td>Registered charity</td>
									<td>CRA number</td>
									<td>CRA</td>
								</tr>
								<tr>
									<td>Australia</td>
									<td>Charity/NFP</td>
									<td>ABN</td>
									<td>ACNC</td>
								</tr>
								<tr>
									<td>Other</td>
									<td>Any nonprofit</td>
									<td>Official reg. number + doc</td>
									<td>National registry</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>

			<div class="avi-verification-step">
				<div class="avi-step-number">2</div>
				<div class="avi-step-content">
					<h3>Cross-verification on public registry</h3>
					<p>Our team verifies your application against the relevant public registry. We confirm:</p>
					<ul class="avi-ambassador-list avi-ambassador-list--checks">
						<li>✓ Organization name matches the public registry</li>
						<li>✓ Registration number is valid and active</li>
						<li>✓ Nonprofit / charitable status is confirmed</li>
					</ul>
					<p>Public registries we use:</p>
					<ul class="avi-ambassador-list avi-ambassador-list--links">
						<li><a href="https://www.data.gouv.fr/fr/datasets/repertoire-national-des-associations/" target="_blank" rel="noopener">France — RNA (Journal Officiel / INSEE)</a></li>
						<li><a href="https://register-of-charities.charitycommission.gov.uk/" target="_blank" rel="noopener">UK — Charity Commission</a></li>
						<li><a href="https://find-and-update.company-information.service.gov.uk/" target="_blank" rel="noopener">UK — Companies House (CIC)</a></li>
						<li><a href="https://apps.irs.gov/app/eos/" target="_blank" rel="noopener">USA — IRS Tax Exempt Search</a></li>
						<li><a href="https://www.canada.ca/en/revenue-agency/services/charities-giving/list-charities.html" target="_blank" rel="noopener">Canada — CRA Charities Listings</a></li>
						<li><a href="https://www.acnc.gov.au/charity" target="_blank" rel="noopener">Australia — ACNC Charity Register</a></li>
						<li><a href="https://www.oscr.org.uk/" target="_blank" rel="noopener">Scotland — OSCR Charity Register</a></li>
					</ul>
				</div>
			</div>

			<div class="avi-verification-step">
				<div class="avi-step-number">3</div>
				<div class="avi-step-content">
					<h3>Validation → code + ambassador kit</h3>
					<p>Once verified, you receive your personal discount code and ambassador kit in your dashboard.</p>
					<div class="avi-outcomes-grid">
						<div class="avi-outcome-item avi-outcome-item--success">
							<span class="avi-outcome-icon">✓</span>
							<strong>Validated</strong>
							<p>Your account is activated, your 50% discount code is issued, and your ambassador kit is ready in your dashboard.</p>
						</div>
						<div class="avi-outcome-item avi-outcome-item--pending">
							<span class="avi-outcome-icon">?</span>
							<strong>More info needed</strong>
							<p>We'll contact you by email to request additional documentation before final approval.</p>
						</div>
						<div class="avi-outcome-item avi-outcome-item--rejected">
							<span class="avi-outcome-icon">✗</span>
							<strong>Rejected</strong>
							<p>Your application does not meet eligibility criteria. You may reapply with corrected information.</p>
						</div>
					</div>
					<div class="avi-anti-fraud-warning">
						<strong>⚠ Anti-fraud policy</strong>
						<p>Submitting false or misleading registration information will result in immediate rejection and permanent exclusion from the program. All applications are cross-checked against official public registries.</p>
					</div>
				</div>
			</div>
		</div>

		<!-- Section 6: ELIGIBILITY CONDITIONS -->
		<div class="avi-ambassador-section-block">
			<h2>Eligibility Conditions</h2>
			<div class="avi-table-wrap">
				<table class="avi-features-table">
					<thead>
						<tr>
							<th>Criterion</th>
							<th>Details</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>Organization type</td>
							<td>Registered charity, nonprofit, association, foundation, NGO, social enterprise, community organization, CIC (UK), cooperative, or mutual aid society</td>
						</tr>
						<tr>
							<td>Community mission</td>
							<td>Must serve a local community — no revenue threshold. If you serve a community, you qualify.</td>
						</tr>
						<tr>
							<td>Official registration</td>
							<td>Valid registration number verifiable on a national public registry (RNA, EIN, Charity Number, ABN, CRA number, etc.)</td>
						</tr>
						<tr>
							<td>Supporting document</td>
							<td>One official document required: registration certificate, articles of association, or latest annual report</td>
						</tr>
						<tr>
							<td>Google Business Profile</td>
							<td>An active Google Business Profile is required. The free offer includes 1 GBP profile.</td>
						</tr>
						<tr>
							<td>Ambassador charter</td>
							<td>Must accept and maintain the 4 ambassador commitments listed above</td>
						</tr>
						<tr>
							<td>Geographic scope</td>
							<td>Open to organizations in France, UK, USA, Canada, Australia, and other countries (manual review for unsupported registries)</td>
						</tr>
						<tr>
							<td>Account type</td>
							<td>Reserved for nonprofits and associations — not available for agencies, resellers, or commercial businesses</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<!-- Section 7: FAQ -->
		<div class="avi-ambassador-section-block">
			<h2>Frequently Asked Questions</h2>
			<div class="avi-faq-list">
				<details class="avi-faq-item">
					<summary>Is the premium access really free for life?</summary>
					<div class="avi-faq-answer">
						<p>Yes — no credit card required, no expiry date, no renewal. Your premium access remains active as long as your nonprofit status is verified and your ambassador commitments are maintained. The AVI assistant is available free up to level 3, then limited if no premium option is active.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>What happens if I don't fulfill my ambassador commitments?</summary>
					<div class="avi-faq-answer">
						<p>Avision will send a 30-day regularization notice. If commitments are not met within that period, the 50% discount on premium options will automatically revert to standard rates. Donations already paid are never reclaimed. Your free platform access remains active.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>How does the referral reward work?</summary>
					<div class="avi-faq-answer">
						<p>When a business you referred signs up on Avision and pays their entry fee, Avision automatically transfers 50% of the amount actually collected (after deducting half of Stripe processing fees) directly to your nonprofit. Transfer processed within 2–3 business days via Stripe, 7 days via PayPal, or up to 21 days via bank transfer.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>How long does nonprofit verification take?</summary>
					<div class="avi-faq-answer">
						<p>Up to 72 business hours depending on incoming request volume.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>What documents do I need to register?</summary>
					<div class="avi-faq-answer">
						<p>Only your official registration number (RNA, EIN, Charity Number, ABN, CRA number, etc.). No document upload required — your number will be verified directly on the public online registry.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>Can I get the 50% discount without being an ambassador?</summary>
					<div class="avi-faq-answer">
						<p>No — the 50% discount is exclusively reserved for verified nonprofits who accept the ambassador commitments. The free platform access is also conditional on maintaining these commitments.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>What counts as "actively promoting" Avision?</summary>
					<div class="avi-faq-answer">
						<p>The 4 commitments are: word-of-mouth with local businesses, sharing 1 Avision post/month on social media, referring businesses via your personal link, and sharing your experience (review or testimonial). There is no minimum referral quota required.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>How are referral donations paid?</summary>
					<div class="avi-faq-answer">
						<p>Donations are processed automatically. Your nonprofit receives 50% of the amount actually collected, net of half the Stripe processing fees. Timelines: 2–3 business days via Stripe, 7 days via PayPal, up to 21 days via bank transfer.</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>Can my nonprofit have more than 1 GBP profile?</summary>
					<div class="avi-faq-answer">
						<p>The free offer includes 1 GBP profile. Additional profiles can be added at standard wholesale rates (contact@avision.org).</p>
					</div>
				</details>
				<details class="avi-faq-item">
					<summary>What happens if my nonprofit status changes?</summary>
					<div class="avi-faq-answer">
						<p>You must notify Avision immediately at contact@avision.org. If your organization loses its nonprofit status, the free access and 50% discounts will be reviewed. Donations already paid are never reclaimed.</p>
					</div>
				</details>
			</div>
		</div>

		<!-- Section 8: HOW TO JOIN — 3 STEPS -->
		<div class="avi-ambassador-section-block">
			<h2>How to Join</h2>
			<ol class="avi-join-steps">
				<li>
					<strong>Step 1 — Create your account on avision.org</strong>
					<p>Fill in the nonprofit application form with your organization's details and official registration number.</p>
				</li>
				<li>
					<strong>Step 2 — Enter your registration number &amp; sign the ambassador charter</strong>
					<p>Provide your official nonprofit registration number (RNA, EIN, Charity Number, ABN, etc.). Our team verifies it directly on the public online registry — no document upload required.</p>
				</li>
				<li>
					<strong>Step 3 — Receive your discount code &amp; ambassador kit</strong>
					<p>Once verified (within 24 business hours), access your dashboard with your personal 50% discount code and referral link.</p>
				</li>
			</ol>
		</div>

		<!-- Section 9: CTA FINAL -->
		<div class="avi-ambassador-cta">
			<h2>Ready to join the Ambassador Program?</h2>
			<p class="avi-ambassador-cta-sub">Boost your visibility, fund your nonprofit and become a key player in local digital.</p>
			<a href="<?php echo esc_url( home_url( '/nonprofits/' ) ); ?>" class="avi-ambassador-cta-btn">Apply now →</a>
			<p class="avi-ambassador-cta-note">No credit card required · Lifetime premium access · Guardian Mode at $14.50/mo · Up to $47.91 net per referral</p>
		</div>

	</div>
</section>

<style>
.avi-ambassador-page {
	color: #cbd5e1;
	line-height: 1.8;
}
.avi-ambassador-page h2 {
	color: #fff;
	font-size: 22px;
	margin: 0 0 20px;
}
.avi-ambassador-page h3 {
	color: #fff;
	font-size: 18px;
	margin: 0 0 12px;
}
.avi-ambassador-page p {
	margin: 0 0 16px;
}
.avi-ambassador-section-block {
	background: #0f1e35;
	border-radius: 12px;
	padding: 32px 36px;
	margin-bottom: 32px;
}
.avi-ambassador-subtitle {
	color: #94a3b8 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	margin-bottom: 20px !important;
}
.avi-ambassador-note {
	color: #64748b;
	font-size: 13px;
	margin: 16px 0 0;
	font-style: italic;
}
.avi-table-wrap {
	overflow-x: auto;
	margin: 16px 0;
}
.avi-ambassador-page .avi-features-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.avi-ambassador-page .avi-features-table th {
	text-align: left;
	color: #94a3b8;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	white-space: nowrap;
}
.avi-ambassador-page .avi-features-table td {
	padding: 14px 16px;
	color: #cbd5e1;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	vertical-align: top;
}
.avi-ambassador-page .avi-features-table tr:last-child td {
	border-bottom: none;
}
.avi-ambassador-page .avi-features-table .avi-td-check {
	color: #DAA520;
	font-weight: 700;
	text-align: center;
}
.avi-simulation-widget {
	background: rgba(184, 134, 11, 0.08);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	margin: 24px 0 0;
}
.avi-simulation-widget input[type="range"] {
	accent-color: #DAA520;
	width: 100%;
	margin: 12px 0 8px;
}
.avi-simulation-label {
	display: block;
	color: #e2e8f0;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 4px;
}
.avi-simulation-range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 16px;
}
.avi-simulation-range-labels span:nth-child(2) {
	color: #DAA520;
	font-weight: 700;
	font-size: 18px;
}
.avi-simulation-result-label {
	color: #94a3b8;
	font-size: 14px;
	margin: 0 0 4px;
}
.avi-simulation-result {
	font-size: 32px;
	font-weight: 700;
	color: #DAA520;
	margin: 12px 0;
}
.avi-simulation-disclaimer {
	color: #64748b;
	font-size: 12px;
	margin: 8px 0 0;
	font-style: italic;
}
.avi-commitment-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	background: rgba(184, 134, 11, 0.05);
	border-radius: 12px;
	margin-bottom: 12px;
}
.avi-ambassador-check {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}
.avi-ambassador-check svg {
	display: block;
	width: 32px;
	height: 32px;
}
.avi-ambassador-check .avi-check-circle {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}
.avi-ambassador-check .avi-check-path {
	stroke-dasharray: 50;
	stroke-dashoffset: 50;
}
.avi-ambassador-check.is-visible .avi-check-circle {
	animation: aviCheckCircle 0.6s ease forwards;
}
.avi-ambassador-check.is-visible .avi-check-path {
	animation: aviCheckPath 0.4s 0.3s ease forwards;
}
@keyframes aviCheckCircle {
	to { stroke-dashoffset: 0; }
}
@keyframes aviCheckPath {
	to { stroke-dashoffset: 0; }
}
.avi-commitment-text strong {
	display: block;
	color: #fff;
	font-size: 15px;
	margin-bottom: 6px;
}
.avi-commitment-text p {
	margin: 0;
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.7;
}
.avi-warning-clause {
	background: rgba(239, 68, 68, 0.08);
	border-left: 4px solid #ef4444;
	border-radius: 12px;
	padding: 20px 24px;
	margin-top: 24px;
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.7;
}
.avi-verification-step {
	display: flex;
	gap: 20px;
	margin-bottom: 32px;
}
.avi-verification-step:last-child {
	margin-bottom: 0;
}
.avi-step-number {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #B8860B, #DAA520);
	color: #0a1628;
	font-weight: 800;
	font-size: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.avi-step-content {
	flex: 1;
	min-width: 0;
}
.avi-step-content h3 {
	font-size: 17px;
	margin-bottom: 10px;
}
.avi-ambassador-list {
	color: #cbd5e1;
	padding-left: 20px;
	margin: 0 0 16px;
	line-height: 2;
}
.avi-ambassador-list--checks {
	list-style: none;
	padding-left: 0;
}
.avi-ambassador-list--links {
	list-style: none;
	padding-left: 0;
}
.avi-ambassador-list--links li {
	margin-bottom: 6px;
}
.avi-ambassador-list--links a {
	color: #DAA520;
	text-decoration: underline;
}
.avi-ambassador-list--links a:hover {
	color: #fff;
}
.avi-outcomes-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 20px 0;
}
.avi-outcome-item {
	background: rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.avi-outcome-icon {
	display: block;
	font-size: 22px;
	margin-bottom: 8px;
}
.avi-outcome-item--success .avi-outcome-icon { color: #22c55e; }
.avi-outcome-item--pending .avi-outcome-icon { color: #DAA520; }
.avi-outcome-item--rejected .avi-outcome-icon { color: #ef4444; }
.avi-outcome-item strong {
	display: block;
	color: #fff;
	font-size: 14px;
	margin-bottom: 6px;
}
.avi-outcome-item p {
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.6;
}
.avi-anti-fraud-warning {
	background: rgba(184, 134, 11, 0.08);
	border-left: 4px solid #DAA520;
	border-radius: 12px;
	padding: 16px 20px;
	margin-top: 16px;
}
.avi-anti-fraud-warning strong {
	color: #DAA520;
	display: block;
	margin-bottom: 6px;
}
.avi-anti-fraud-warning p {
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
}
.avi-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.avi-faq-item {
	background: rgba(0, 0, 0, 0.15);
	border-left: 3px solid #6C3FC5;
	border-radius: 8px;
	overflow: hidden;
}
.avi-faq-item summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.avi-faq-item summary::-webkit-details-marker {
	display: none;
}
.avi-faq-item summary::after {
	content: '+';
	color: #DAA520;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
	transition: transform 0.2s;
}
.avi-faq-item[open] summary {
	color: #DAA520;
}
.avi-faq-item[open] summary::after {
	content: '−';
}
.avi-faq-answer {
	padding: 0 22px 18px;
}
.avi-faq-answer p {
	margin: 0;
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.7;
}
.avi-join-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: avi-join;
}
.avi-join-steps li {
	position: relative;
	padding: 0 0 28px 56px;
	counter-increment: avi-join;
}
.avi-join-steps li::before {
	content: counter(avi-join);
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #B8860B, #DAA520);
	color: #0a1628;
	font-weight: 800;
	font-size: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.avi-join-steps li:last-child {
	padding-bottom: 0;
}
.avi-join-steps li strong {
	display: block;
	color: #fff;
	font-size: 16px;
	margin-bottom: 6px;
}
.avi-join-steps li p {
	margin: 0;
	font-size: 14px;
	color: #94a3b8;
}
.avi-ambassador-cta {
	background: linear-gradient(135deg, rgba(108, 63, 197, 0.12) 0%, rgba(218, 165, 32, 0.08) 100%);
	border: 1px solid rgba(218, 165, 32, 0.25);
	border-radius: 12px;
	padding: 40px 36px;
	margin-bottom: 0;
	text-align: center;
}
.avi-ambassador-cta h2 {
	margin-bottom: 12px;
}
.avi-ambassador-cta-sub {
	color: #94a3b8;
	font-size: 16px;
	margin-bottom: 28px !important;
}
.avi-ambassador-cta-btn {
	display: inline-block;
	background: #DAA520;
	color: #0A1628;
	font-weight: 700;
	padding: 14px 32px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	text-decoration: none;
	box-shadow: 0 4px 20px rgba(218, 165, 32, 0.3);
	transition: opacity 0.2s;
}
.avi-ambassador-cta-btn:hover {
	opacity: 0.9;
	color: #0A1628;
}
.avi-ambassador-cta-note {
	color: #64748b;
	font-size: 12px;
	margin: 16px 0 0 !important;
}

@media (max-width: 1024px) {
	.avi-ambassador-section-block {
		padding: 28px 28px;
	}
	.avi-outcomes-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.avi-ambassador-section-block {
		padding: 24px 20px;
	}
	.avi-ambassador-page h2 {
		font-size: 20px;
	}
	.avi-verification-step {
		flex-direction: column;
		gap: 12px;
	}
	.avi-commitment-item {
		flex-direction: column;
		gap: 12px;
	}
	.avi-simulation-result {
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	.avi-ambassador-section-block {
		padding: 20px 16px;
	}
	.avi-ambassador-page .avi-features-table {
		font-size: 12px;
	}
	.avi-ambassador-page .avi-features-table th,
	.avi-ambassador-page .avi-features-table td {
		padding: 10px 10px;
	}
	.avi-ambassador-cta {
		padding: 28px 20px;
	}
	.avi-ambassador-cta-btn {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
}
</style>

<script>
(function() {
	var checks = document.querySelectorAll('.avi-ambassador-check');
	if (checks.length && 'IntersectionObserver' in window) {
		var observer = new IntersectionObserver(function(entries) {
			entries.forEach(function(entry) {
				if (entry.isIntersecting) {
					entry.target.classList.add('is-visible');
					observer.unobserve(entry.target);
				}
			});
		}, { threshold: 0.3 });
		checks.forEach(function(el) {
			observer.observe(el);
		});
	} else {
		checks.forEach(function(el) {
			el.classList.add('is-visible');
		});
	}

	var range = document.getElementById('avi-amb-sim-range');
	var result = document.getElementById('avi-amb-sim-result');
	var countLabel = document.getElementById('avi-amb-sim-count');
	var REF_AMOUNT = 47.91;

	function updateSimulation() {
		if (!range || !result) return;
		var referrals = parseInt(range.value, 10) || 1;
		if (countLabel) {
			countLabel.textContent = referrals;
		}
		var total = referrals * REF_AMOUNT;
		result.textContent = '$' + total.toFixed(2);
	}

	if (range) {
		range.addEventListener('input', updateSimulation);
		updateSimulation();
	}
})();
</script>

<?php $GLOBALS['avi_template_footer_rendered'] = true; avi_get_layout( 'footer' ); ?>
