<!DOCTYPE html>
<html lang="en" class="dark scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RexMarketing | India's Premier KOL & Creator Intelligence Engine</title>
<meta name="description" content="Scale your brand across Bharat with 15,000+ verified Key Opinion Leaders. Data-driven KOL campaigns across Tier 1, 2, & 3 India." />
<!-- Google Fonts: Plus Jakarta Sans & Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap" rel="stylesheet" />
<!-- Tailwind CSS via CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Lucide Icons via CDN -->
<script src="https://unpkg.com/lucide@latest"></script>
<!-- Custom Tailwind Configuration -->
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
display: ['Plus Jakarta Sans', 'sans-serif'],
},
colors: {
obsidian: '#09090B',
surface: '#111114',
elevated: '#18181B',
borderSubtle: '#27272A',
saffron: {
400: '#FB923C',
500: '#F97316',
600: '#EA580C',
},
indigoAccent: {
400: '#818CF8',
500: '#6366F1',
600: '#4F46E5',
}
},
backgroundImage: {
'hero-glow': 'radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.22), rgba(249, 115, 22, 0.08), transparent)',
'card-gradient': 'linear-gradient(180deg, rgba(24, 24, 27, 0.8) 0%, rgba(9, 9, 11, 0.9) 100%)',
}
}
}
};
</script>
<style>
/* Custom Glassmorphism & Subtle Scrollbar */
body {
background-color: #09090B;
color: #FAFAFA;
overflow-x: hidden;
}
.glass-nav {
background: rgba(9, 9, 11, 0.82);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(39, 39, 42, 0.8);
}
.glass-card {
background: linear-gradient(180deg, rgba(24, 24, 27, 0.72) 0%, rgba(17, 17, 20, 0.85) 100%);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid #27272A;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
border-color: rgba(99, 102, 241, 0.45);
box-shadow: 0 12px 32px -12px rgba(99, 102, 241, 0.18);
}
.grid-bg {
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}
/* Custom Range Slider for ROI Estimator */
input[type="range"].rex-slider {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 8px;
background: #27272A;
border-radius: 9999px;
outline: none;
}
input[type="range"].rex-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 22px;
height: 22px;
border-radius: 50%;
background: linear-gradient(135deg, #F97316, #6366F1);
cursor: pointer;
border: 3px solid #09090B;
box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
transition: transform 0.15s ease;
}
input[type="range"].rex-slider::-webkit-slider-thumb:hover {
transform: scale(1.12);
}
input[type="range"].rex-slider::-moz-range-thumb {
width: 22px;
height: 22px;
border-radius: 50%;
background: linear-gradient(135deg, #F97316, #6366F1);
cursor: pointer;
border: 3px solid #09090B;
box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
}
/* Hide scrollbar for horizontal pill lists on mobile */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
</head>
<body class="antialiased selection:bg-saffron-500/30 selection:text-saffron-400">
<!-- ==================== STICKY NAVIGATION BAR ==================== -->
<header class="fixed top-0 inset-x-0 z-40 glass-nav">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16 md:h-20">
<!-- RexMarketing Brand Logo (Geometric Crown/R Mark) -->
<a href="#" class="flex items-center gap-3 group focus:outline-none">
<div class="relative w-10 h-10 rounded-xl bg-gradient-to-br from-saffron-500 to-indigoAccent-500 p-[1px] shadow-lg shadow-saffron-500/20 group-hover:shadow-indigoAccent-500/30 transition-all">
<div class="w-full h-full bg-obsidian rounded-[11px] flex items-center justify-center">
<!-- Sharp Geometric Crown / R SVG -->
<svg class="w-6 h-6" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 9L10.5 13.5L16 7L21.5 13.5L27 9L24.5 18H7.5L5 9Z" fill="url(#rex_grad)" />
<path d="M8.5 20.5H20C22.2091 20.5 24 22.2909 24 24.5C24 25.9 23.2 27.1 22 27.8L25 30H20.5L17.5 27.5H12.5V30H8.5V20.5ZM12.5 23.5V24.8H19.5C20.1 24.8 20.5 24.5 20.5 24.15C20.5 23.8 20.1 23.5 19.5 23.5H12.5Z" fill="#FAFAFA" />
<defs>
<linearGradient id="rex_grad" x1="5" y1="7" x2="27" y2="18" gradientUnits="userSpaceOnUse">
<stop stop-color="#F97316"/>
<stop offset="1" stop-color="#6366F1"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
<div class="flex flex-col">
<span class="font-display font-extrabold text-xl tracking-tight text-white leading-none">
Rex<span class="text-transparent bg-clip-text bg-gradient-to-r from-saffron-400 to-indigoAccent-400">Marketing</span>
</span>
<span class="text-[10px] font-semibold tracking-widest uppercase text-zinc-400 mt-0.5">Bharat KOL Engine</span>
</div>
</a>
<!-- Desktop Navigation Links -->
<nav class="hidden md:flex items-center gap-8 text-sm font-medium text-zinc-300">
<a href="#network" class="hover:text-white transition-colors">Network</a>
<a href="#solutions" class="hover:text-white transition-colors">Solutions</a>
<a href="#estimator" class="hover:text-white transition-colors">Campaign Estimator</a>
<a href="#case-studies" class="hover:text-white transition-colors">Case Studies</a>
<a href="#pricing" class="hover:text-white transition-colors">Pricing</a>
</nav>
<!-- Right CTA & Shortlist Indicator -->
<div class="hidden md:flex items-center gap-3">
<button onclick="toggleShortlistDrawer()" class="relative inline-flex items-center gap-2 px-3.5 py-2 rounded-xl bg-elevated hover:bg-zinc-800 border border-borderSubtle text-xs font-semibold text-zinc-200 transition-all">
<i data-lucide="bookmark" class="w-4 h-4 text-saffron-400"></i>
<span>Shortlist</span>
<span id="nav-shortlist-badge" class="inline-flex items-center justify-center px-1.5 py-0.5 text-[11px] font-bold rounded-full bg-saffron-500 text-obsidian">0</span>
</button>
<button onclick="openBriefModal('Launch Campaign')" class="inline-flex items-center gap-2 px-5 py-2.5 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white text-sm font-semibold shadow-lg shadow-saffron-500/20 transition-all active:scale-[0.98]">
<span>Launch Campaign</span>
<i data-lucide="arrow-up-right" class="w-4 h-4"></i>
</button>
</div>
<!-- Mobile Menu & Shortlist Trigger -->
<div class="flex md:hidden items-center gap-2">
<button onclick="toggleShortlistDrawer()" class="relative p-2.5 rounded-xl bg-elevated border border-borderSubtle text-zinc-200">
<i data-lucide="bookmark" class="w-5 h-5 text-saffron-400"></i>
<span id="mobile-shortlist-badge" class="absolute -top-1 -right-1 w-5 h-5 flex items-center justify-center text-[10px] font-bold rounded-full bg-saffron-500 text-obsidian">0</span>
</button>
<button id="mobile-menu-btn" onclick="toggleMobileMenu()" aria-label="Toggle Menu" class="p-2.5 rounded-xl bg-elevated border border-borderSubtle text-zinc-200 hover:text-white">
<i data-lucide="menu" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Mobile Dropdown Navigation -->
<div id="mobile-menu" class="hidden md:hidden bg-surface border-b border-borderSubtle px-4 pt-3 pb-6 space-y-3">
<a href="#network" onclick="toggleMobileMenu()" class="block py-2.5 px-3 rounded-lg text-sm font-medium text-zinc-200 hover:bg-elevated">Creator Network</a>
<a href="#solutions" onclick="toggleMobileMenu()" class="block py-2.5 px-3 rounded-lg text-sm font-medium text-zinc-200 hover:bg-elevated">Solutions & Capabilities</a>
<a href="#estimator" onclick="toggleMobileMenu()" class="block py-2.5 px-3 rounded-lg text-sm font-medium text-zinc-200 hover:bg-elevated">Campaign ROI Estimator</a>
<a href="#case-studies" onclick="toggleMobileMenu()" class="block py-2.5 px-3 rounded-lg text-sm font-medium text-zinc-200 hover:bg-elevated">Indian Case Studies</a>
<a href="#pricing" onclick="toggleMobileMenu()" class="block py-2.5 px-3 rounded-lg text-sm font-medium text-zinc-200 hover:bg-elevated">Engagement Models</a>
<div class="pt-2">
<button onclick="toggleMobileMenu(); openBriefModal('Launch Campaign')" class="w-full py-3 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 text-white font-semibold text-sm flex items-center justify-center gap-2">
<span>Launch Campaign</span>
<i data-lucide="arrow-up-right" class="w-4 h-4"></i>
</button>
</div>
</div>
</header>
<!-- ==================== MAIN CONTENT ==================== -->
<main class="pt-20">
<!-- ==================== 1. HERO SECTION ==================== -->
<section class="relative overflow-hidden bg-hero-glow grid-bg pt-12 pb-20 lg:pt-20 lg:pb-28 border-b border-borderSubtle">
<!-- Ambient Decorative Orbs -->
<div class="pointer-events-none absolute top-24 left-1/4 w-72 h-72 bg-saffron-500/10 rounded-full blur-[110px]"></div>
<div class="pointer-events-none absolute bottom-10 right-1/4 w-96 h-96 bg-indigoAccent-500/15 rounded-full blur-[130px]"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-10 items-center">
<!-- Left Column: Copy, CTAs & Bharat Metrics -->
<div class="lg:col-span-7 text-left">
<!-- Top Badge -->
<div class="inline-flex items-center gap-2.5 px-3.5 py-1.5 rounded-full bg-elevated/90 border border-borderSubtle mb-6">
<span class="flex h-2 w-2 relative">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-saffron-400 opacity-75"></span>
<span class="relative inline-flex rounded-full h-2 w-2 bg-saffron-500"></span>
</span>
<span class="text-xs font-bold tracking-wider uppercase text-zinc-200">
INDIA'S PREMIER KOL & CREATOR ENGINE
</span>
</div>
<!-- Display Headline -->
<h1 class="font-display font-extrabold text-4xl sm:text-5xl lg:text-[56px] text-white tracking-tight leading-[1.1] mb-6">
Scale Your Brand Across <span class="text-transparent bg-clip-text bg-gradient-to-r from-saffron-400 via-amber-300 to-indigoAccent-400">Bharat</span> with Verified Key Opinion Leaders.
</h1>
<!-- Subheadline -->
<p class="text-base sm:text-lg text-zinc-400 leading-relaxed max-w-2xl mb-8">
Data-driven influencer & KOL campaigns connecting D2C, FinTech, Gaming, and SaaS brands with <span class="text-zinc-200 font-semibold">15,000+ high-trust creators</span> across Tier 1, 2, & 3 India.
</p>
<!-- Dual CTAs -->
<div class="flex flex-col sm:flex-row items-stretch sm:items-center gap-4 mb-12">
<button onclick="openBriefModal('Book Strategy Call')" class="px-7 py-4 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-base shadow-xl shadow-saffron-500/20 flex items-center justify-center gap-2.5 transition-all active:scale-[0.99]">
<i data-lucide="calendar" class="w-5 h-5"></i>
<span>Book Strategy Call</span>
</button>
<a href="#network" class="px-7 py-4 rounded-xl bg-elevated hover:bg-zinc-800 border border-borderSubtle text-zinc-100 font-semibold text-base flex items-center justify-center gap-2.5 transition-all">
<span>Explore Creator Network</span>
<i data-lucide="compass" class="w-5 h-5 text-indigoAccent-400"></i>
</a>
</div>
<!-- Trust Bar: Indian Market Metrics -->
<div class="grid grid-cols-2 sm:grid-cols-4 gap-4 pt-6 border-t border-borderSubtle/80">
<div>
<div class="font-display font-extrabold text-2xl sm:text-3xl text-white">450M+</div>
<div class="text-xs text-zinc-400 mt-1">Combined Reach</div>
</div>
<div>
<div class="font-display font-extrabold text-2xl sm:text-3xl text-saffron-400">4.8x</div>
<div class="text-xs text-zinc-400 mt-1">Avg. Campaign ROAS</div>
</div>
<div>
<div class="font-display font-extrabold text-2xl sm:text-3xl text-white">12+</div>
<div class="text-xs text-zinc-400 mt-1">Regional Languages</div>
</div>
<div>
<div class="font-display font-extrabold text-2xl sm:text-3xl text-indigoAccent-400">15,000+</div>
<div class="text-xs text-zinc-400 mt-1">Vetted Indian KOLs</div>
</div>
</div>
</div>
<!-- ==================== 3. WHY REXMARKETING / CORE CAPABILITIES (BENTO GRID) ==================== -->
<section id="solutions" class="py-20 lg:py-28 border-b border-borderSubtle bg-surface/30">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="max-w-3xl mb-14">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-saffron-500/10 border border-saffron-500/25 text-saffron-400 text-xs font-semibold uppercase tracking-wider mb-3">
<i data-lucide="layers" class="w-3.5 h-3.5"></i>
<span>Full-Stack Infrastructure</span>
</div>
<h2 class="font-display font-extrabold text-3xl sm:text-4xl text-white tracking-tight">
Engineered for High-Trust Indian Distribution
</h2>
<p class="text-zinc-400 text-base mt-3">
Vanity impressions don't move bottom-line revenue. RexMarketing combines proprietary audience telemetry with hyper-local cultural fluency.
</p>
</div>
<!-- Asymmetric Bento Grid -->
<div class="grid grid-cols-1 md:grid-cols-12 gap-6">
<!-- Bento Card 1 (7 Cols): Vernacular & Tier-2/3 Penetration -->
<div class="md:col-span-7 glass-card rounded-2xl p-6 sm:p-8 flex flex-col justify-between relative overflow-hidden">
<div class="absolute -right-10 -top-10 w-44 h-44 bg-saffron-500/10 rounded-full blur-2xl pointer-events-none"></div>
<div>
<div class="w-11 h-11 rounded-xl bg-saffron-500/15 border border-saffron-500/30 flex items-center justify-center text-saffron-400 mb-5">
<i data-lucide="globe-2" class="w-5 h-5"></i>
</div>
<h3 class="font-display font-bold text-xl sm:text-2xl text-white mb-2.5">
Vernacular & Tier-2/3 Bharat Penetration
</h3>
<p class="text-zinc-400 text-sm sm:text-base leading-relaxed max-w-xl">
Capture the next 300 million digital consumers. We orchestrate native-language storytelling across Hindi, Tamil, Telugu, Kannada, Marathi, and Bengali—where trust and conversion velocity outperform English metro feeds by 2.4x.
</p>
</div>
<!-- Language Chips Visual -->
<div class="flex flex-wrap gap-2 mt-7 pt-6 border-t border-borderSubtle/70">
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">हिन्दी (Hindi)</span>
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">தமிழ் (Tamil)</span>
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">తెలుగు (Telugu)</span>
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">ಕನ್ನಡ (Kannada)</span>
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">मराठी (Marathi)</span>
<span class="px-3 py-1 rounded-lg bg-obsidian border border-borderSubtle text-xs font-medium text-zinc-200">বাংলা (Bengali)</span>
</div>
</div>
<!-- Bento Card 2 (5 Cols): Fraud & Bot Detection -->
<div class="md:col-span-5 glass-card rounded-2xl p-6 sm:p-8 flex flex-col justify-between relative overflow-hidden">
<div class="absolute -right-10 -bottom-10 w-44 h-44 bg-indigoAccent-500/15 rounded-full blur-2xl pointer-events-none"></div>
<div>
<div class="w-11 h-11 rounded-xl bg-indigoAccent-500/15 border border-indigoAccent-500/30 flex items-center justify-center text-indigoAccent-400 mb-5">
<i data-lucide="shield-check" class="w-5 h-5"></i>
</div>
<h3 class="font-display font-bold text-xl sm:text-2xl text-white mb-2.5">
Proprietary Fraud & Bot Shield
</h3>
<p class="text-zinc-400 text-sm sm:text-base leading-relaxed">
Every KOL undergoes 28-point audience forensics. We strip out click-farm pods, fake giveaways, and non-Indian bot traffic so your budget buys genuine Tier-1 & Tier-2 purchasing power.
</p>
</div>
<div class="mt-7 p-3.5 rounded-xl bg-obsidian/90 border border-borderSubtle flex items-center justify-between">
<div>
<div class="text-[11px] uppercase tracking-wider text-zinc-500 font-semibold">Minimum Acceptance Threshold</div>
<div class="text-sm font-bold text-emerald-400 mt-0.5">≥ 94% Verified Indian Humans</div>
</div>
<span class="px-2.5 py-1 rounded-md bg-emerald-500/10 border border-emerald-500/25 text-emerald-400 text-xs font-bold">AUDITED</span>
</div>
</div>
<!-- Bento Card 3 (5 Cols): Multi-Format Dominance -->
<div class="md:col-span-5 glass-card rounded-2xl p-6 sm:p-8 flex flex-col justify-between">
<div>
<div class="w-11 h-11 rounded-xl bg-emerald-500/15 border border-emerald-500/30 flex items-center justify-center text-emerald-400 mb-5">
<i data-lucide="tv-2" class="w-5 h-5"></i>
</div>
<h3 class="font-display font-bold text-xl sm:text-2xl text-white mb-2.5">
Multi-Format Dominance
</h3>
<p class="text-zinc-400 text-sm sm:text-base leading-relaxed">
Synchronized narrative waves across high-intent YouTube deep-dives, viral Instagram Reels, LinkedIn B2B founder voices, and X (Twitter) tech/finance threads.
</p>
</div>
<div class="grid grid-cols-2 gap-2.5 mt-7">
<div class="p-2.5 rounded-xl bg-obsidian border border-borderSubtle flex items-center gap-2.5 text-xs font-semibold text-zinc-200">
<i data-lucide="youtube" class="w-4 h-4 text-rose-500"></i>
<span>YouTube Integrations</span>
</div>
<div class="p-2.5 rounded-xl bg-obsidian border border-borderSubtle flex items-center gap-2.5 text-xs font-semibold text-zinc-200">
<i data-lucide="instagram" class="w-4 h-4 text-pink-400"></i>
<span>Instagram Reels</span>
</div>
<div class="p-2.5 rounded-xl bg-obsidian border border-borderSubtle flex items-center gap-2.5 text-xs font-semibold text-zinc-200">
<i data-lucide="linkedin" class="w-4 h-4 text-sky-400"></i>
<span>LinkedIn B2B KOLs</span>
</div>
<div class="p-2.5 rounded-xl bg-obsidian border border-borderSubtle flex items-center gap-2.5 text-xs font-semibold text-zinc-200">
<i data-lucide="at-sign" class="w-4 h-4 text-zinc-300"></i>
<span>X (Twitter) Threads</span>
</div>
</div>
</div>
<!-- Bento Card 4 (7 Cols): Full-Stack Execution & ASCI Compliance -->
<div class="md:col-span-7 glass-card rounded-2xl p-6 sm:p-8 flex flex-col justify-between">
<div>
<div class="w-11 h-11 rounded-xl bg-amber-500/15 border border-amber-500/30 flex items-center justify-center text-amber-400 mb-5">
<i data-lucide="workflow" class="w-5 h-5"></i>
</div>
<h3 class="font-display font-bold text-xl sm:text-2xl text-white mb-2.5">
Full-Stack Execution, ASCI Compliance & UTM Attribution
</h3>
<p class="text-zinc-400 text-sm sm:text-base leading-relaxed">
From creative hook scripting and aggressive rate-card negotiation to mandatory ASCI & SEBI compliance disclosures, escrow payouts, and live cohort-level ROAS dashboards.
</p>
</div>
<!-- 4-Step Execution Pipeline Strip -->
<div class="grid grid-cols-2 sm:grid-cols-4 gap-3 mt-7 pt-6 border-t border-borderSubtle/70 text-xs">
<div class="p-3 rounded-xl bg-obsidian border border-borderSubtle">
<div class="text-saffron-400 font-bold mb-1">01. Match</div>
<div class="text-zinc-300 font-medium">AI Cohort & Hook Scripting</div>
</div>
<div class="p-3 rounded-xl bg-obsidian border border-borderSubtle">
<div class="text-indigoAccent-400 font-bold mb-1">02. Contract</div>
<div class="text-zinc-300 font-medium">Rate Lock & ASCI Vetting</div>
</div>
<div class="p-3 rounded-xl bg-obsidian border border-borderSubtle">
<div class="text-emerald-400 font-bold mb-1">03. Amplify</div>
<div class="text-zinc-300 font-medium">Coordinated Drop & Whitelisting</div>
</div>
<div class="p-3 rounded-xl bg-obsidian border border-borderSubtle">
<div class="text-amber-400 font-bold mb-1">04. Attribute</div>
<div class="text-zinc-300 font-medium">Live CPI / GMV / ROAS Tracking</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ==================== 4. INTERACTIVE CAMPAIGN ROI & BUDGET ESTIMATOR ==================== -->
<section id="estimator" class="py-20 lg:py-28 border-b border-borderSubtle relative overflow-hidden">
<div class="pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[650px] h-[350px] bg-indigoAccent-500/10 rounded-full blur-[140px]"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center max-w-3xl mx-auto mb-12">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-indigoAccent-500/10 border border-indigoAccent-500/25 text-indigoAccent-400 text-xs font-semibold uppercase tracking-wider mb-3">
<i data-lucide="calculator" class="w-3.5 h-3.5"></i>
<span>Interactive Media Planner</span>
</div>
<h2 class="font-display font-extrabold text-3xl sm:text-4xl text-white tracking-tight">
Campaign ROI & Budget Estimator
</h2>
<p class="text-zinc-400 text-sm sm:text-base mt-2.5">
Model your expected reach, creator cohort distribution, and conversion outcomes across Indian market tiers in real time.
</p>
</div>
<div class="glass-card rounded-3xl p-6 sm:p-8 lg:p-10 border border-borderSubtle shadow-2xl">
<div class="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-10 items-center">
<!-- Left Controls (7 Cols) -->
<div class="lg:col-span-7 space-y-7">
<!-- Step 1: Campaign Goal -->
<div>
<label class="block text-xs font-bold uppercase tracking-wider text-zinc-400 mb-3">
1. Primary Campaign Objective
</label>
<div class="grid grid-cols-2 sm:grid-cols-4 gap-2.5" id="goal-selector">
<button type="button" data-goal="awareness" onclick="setEstimatorGoal('awareness')" class="goal-btn p-3 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600">
<i data-lucide="megaphone" class="w-4 h-4 text-saffron-400 mb-1.5"></i>
<div class="text-xs font-bold">Brand Awareness</div>
</button>
<button type="button" data-goal="installs" onclick="setEstimatorGoal('installs')" class="goal-btn p-3 rounded-xl border text-left transition-all bg-indigoAccent-500/15 border-indigoAccent-500 text-white">
<i data-lucide="smartphone" class="w-4 h-4 text-indigoAccent-400 mb-1.5"></i>
<div class="text-xs font-bold">App Installs</div>
</button>
<button type="button" data-goal="d2c" onclick="setEstimatorGoal('d2c')" class="goal-btn p-3 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600">
<i data-lucide="shopping-bag" class="w-4 h-4 text-emerald-400 mb-1.5"></i>
<div class="text-xs font-bold">D2C Conversions</div>
</button>
<button type="button" data-goal="b2b" onclick="setEstimatorGoal('b2b')" class="goal-btn p-3 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600">
<i data-lucide="briefcase" class="w-4 h-4 text-amber-400 mb-1.5"></i>
<div class="text-xs font-bold">B2B Leads</div>
</button>
</div>
</div>
<!-- Step 2: Target Market Tier -->
<div>
<label class="block text-xs font-bold uppercase tracking-wider text-zinc-400 mb-3">
2. Target Bharat Geo-Tier
</label>
<div class="grid grid-cols-1 sm:grid-cols-3 gap-2.5" id="tier-selector">
<button type="button" data-tier="metro" onclick="setEstimatorTier('metro')" class="tier-btn p-3.5 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600">
<div class="text-xs font-bold text-white">Metro Tier-1</div>
<div class="text-[11px] text-zinc-400 mt-0.5">Mumbai, BLR, NCR, Hyd</div>
</button>
<button type="button" data-tier="pan" onclick="setEstimatorTier('pan')" class="tier-btn p-3.5 rounded-xl border text-left transition-all bg-saffron-500/15 border-saffron-500 text-white">
<div class="text-xs font-bold text-white">Pan-India Hybrid</div>
<div class="text-[11px] text-saffron-300/90 mt-0.5">Balanced Tier 1 + Tier 2</div>
</button>
<button type="button" data-tier="bharat" onclick="setEstimatorTier('bharat')" class="tier-btn p-3.5 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600">
<div class="text-xs font-bold text-white">Bharat Tier-2/3</div>
<div class="text-[11px] text-zinc-400 mt-0.5">Vernacular High-Volume</div>
</button>
</div>
</div>
<!-- Step 3: Budget Slider (₹2,00,000 to ₹50,00,000) -->
<div class="bg-obsidian/80 border border-borderSubtle rounded-2xl p-5">
<div class="flex flex-wrap items-center justify-between gap-2 mb-4">
<label for="budget-slider" class="text-xs font-bold uppercase tracking-wider text-zinc-400">
3. Campaign Media Budget (INR)
</label>
<div id="budget-display" class="font-display font-extrabold text-2xl sm:text-3xl text-transparent bg-clip-text bg-gradient-to-r from-saffron-400 to-indigoAccent-400">
₹10,00,000
</div>
</div>
<input
type="range"
id="budget-slider"
min="200000"
max="5000000"
step="100000"
value="1000000"
oninput="updateEstimator()"
class="rex-slider"
/>
<div class="flex justify-between text-[11px] font-medium text-zinc-500 mt-2.5">
<span>₹2,00,000 (Pilot)</span>
<span>₹15,00,000 (Growth)</span>
<span>₹30,00,000 (Scale)</span>
<span>₹50,00,000 (Dominance)</span>
</div>
</div>
</div>
<!-- Right Projected Telemetry Output (5 Cols) -->
<div class="lg:col-span-5 bg-obsidian border border-borderSubtle rounded-2xl p-6 space-y-5">
<div class="flex items-center justify-between border-b border-borderSubtle pb-3.5">
<span class="text-xs font-bold uppercase tracking-wider text-zinc-300">Projected Campaign Yield</span>
<span class="px-2.5 py-0.5 rounded-full bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 text-[11px] font-semibold">Live Forecast</span>
</div>
<!-- Primary Metric Grid -->
<div class="grid grid-cols-2 gap-3.5">
<div class="p-4 rounded-xl bg-surface border border-borderSubtle">
<div class="text-xs text-zinc-400">Est. Verified Reach</div>
<div id="est-reach" class="font-display font-extrabold text-2xl text-white mt-1">3.8M - 4.6M</div>
<div class="text-[11px] text-zinc-500 mt-1">Unique Indian views</div>
</div>
<div class="p-4 rounded-xl bg-surface border border-borderSubtle">
<div class="text-xs text-zinc-400">Expected Engagements</div>
<div id="est-engagements" class="font-display font-extrabold text-2xl text-saffron-400 mt-1">245K+</div>
<div class="text-[11px] text-zinc-500 mt-1">Likes, shares & saves</div>
</div>
<div class="p-4 rounded-xl bg-surface border border-borderSubtle">
<div id="est-outcome-label" class="text-xs text-zinc-400">Est. App Installs</div>
<div id="est-outcome-value" class="font-display font-extrabold text-2xl text-indigoAccent-400 mt-1">23,800</div>
<div id="est-outcome-sub" class="text-[11px] text-emerald-400 mt-1">~₹42 Avg. CPI</div>
</div>
<div class="p-4 rounded-xl bg-surface border border-borderSubtle">
<div class="text-xs text-zinc-400">Projected ROAS</div>
<div id="est-roas" class="font-display font-extrabold text-2xl text-emerald-400 mt-1">4.6x</div>
<div class="text-[11px] text-zinc-500 mt-1">90-day attribution</div>
</div>
</div>
<!-- Recommended KOL Cohort Mix -->
<div class="p-4 rounded-xl bg-surface/80 border border-borderSubtle">
<div class="text-xs font-semibold text-zinc-300 mb-3 flex items-center justify-between">
<span>Recommended KOL Cohort Mix</span>
<span id="est-total-kols" class="text-saffron-400 font-bold">14 Creators</span>
</div>
<div class="grid grid-cols-3 gap-2 text-center">
<div class="p-2 rounded-lg bg-obsidian border border-borderSubtle">
<div id="mix-mega" class="font-display font-bold text-base text-white">1</div>
<div class="text-[10px] text-zinc-400 uppercase">Mega (1M+)</div>
</div>
<div class="p-2 rounded-lg bg-obsidian border border-borderSubtle">
<div id="mix-macro" class="font-display font-bold text-base text-indigoAccent-400">4</div>
<div class="text-[10px] text-zinc-400 uppercase">Macro (250K+)</div>
</div>
<div class="p-2 rounded-lg bg-obsidian border border-borderSubtle">
<div id="mix-micro" class="font-display font-bold text-base text-saffron-400">9</div>
<div class="text-[10px] text-zinc-400 uppercase">Micro (50K+)</div>
</div>
</div>
</div>
<button onclick="openBriefModal('Custom Media Plan')" class="w-full py-3.5 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-sm flex items-center justify-center gap-2 shadow-lg shadow-indigoAccent-500/20 transition-all">
<span>Lock This Estimate & Request Media Plan</span>
<i data-lucide="arrow-right" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- ==================== 6. ENGAGEMENT MODELS / PRICING TIERS ==================== -->
<section id="pricing" class="py-20 lg:py-28 border-b border-borderSubtle">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center max-w-2xl mx-auto mb-14">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-saffron-500/10 border border-saffron-500/25 text-saffron-400 text-xs font-semibold uppercase tracking-wider mb-3">
<i data-lucide="zap" class="w-3.5 h-3.5"></i>
<span>Transparent Engagement Models</span>
</div>
<h2 class="font-display font-extrabold text-3xl sm:text-4xl text-white tracking-tight">
Built for Every Stage of Indian Scale
</h2>
<p class="text-zinc-400 text-sm sm:text-base mt-2.5">
Zero hidden agency markups. Direct creator rate-card pass-through with transparent campaign management.
</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 items-stretch">
<!-- Tier 1: Sprint -->
<div class="glass-card rounded-2xl p-7 flex flex-col justify-between">
<div>
<div class="text-xs font-bold uppercase tracking-wider text-zinc-400">Growth Sprint</div>
<h3 class="font-display font-bold text-2xl text-white mt-1">Bharat Launchpad</h3>
<p class="text-xs text-zinc-400 mt-2">Ideal for D2C product drops, seed/Series-A apps, and regional market testing.</p>
<div class="my-6 pb-6 border-b border-borderSubtle">
<span class="font-display font-extrabold text-3xl text-white">₹3,00,000+</span>
<span class="text-xs text-zinc-400 block mt-1">Recommended minimum campaign pool</span>
</div>
<ul class="space-y-3 text-sm text-zinc-300">
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-emerald-400 shrink-0 mt-0.5"></i>
<span>8–12 Vetted Micro & Macro Indian KOLs</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-emerald-400 shrink-0 mt-0.5"></i>
<span>Up to 2 Regional Languages</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-emerald-400 shrink-0 mt-0.5"></i>
<span>ASCI Compliance & Contract Management</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-emerald-400 shrink-0 mt-0.5"></i>
<span>Live UTM & Conversion Telemetry Link</span>
</li>
</ul>
</div>
<button onclick="openBriefModal('Bharat Launchpad Tier')" class="mt-8 w-full py-3 rounded-xl bg-elevated hover:bg-zinc-800 border border-borderSubtle text-white font-semibold text-sm transition-all">
Select Launchpad
</button>
</div>
<!-- Tier 2: Scale Engine (Featured) -->
<div class="rounded-2xl p-[1px] bg-gradient-to-b from-saffron-500 via-indigoAccent-500 to-borderSubtle relative shadow-2xl shadow-indigoAccent-500/15">
<div class="bg-surface rounded-[15px] p-7 h-full flex flex-col justify-between">
<div>
<div class="flex items-center justify-between">
<span class="text-xs font-bold uppercase tracking-wider text-saffron-400">Most Popular</span>
<span class="px-2.5 py-0.5 rounded-full bg-saffron-500/20 text-saffron-300 text-[11px] font-bold">HIGH ROAS</span>
</div>
<h3 class="font-display font-bold text-2xl text-white mt-1">Pan-India Scale Engine</h3>
<p class="text-xs text-zinc-400 mt-2">Full-funnel creator dominance across YouTube, Instagram, and vernacular cohorts.</p>
<div class="my-6 pb-6 border-b border-borderSubtle">
<span class="font-display font-extrabold text-3xl text-white">₹10,00,000+</span>
<span class="text-xs text-zinc-400 block mt-1">Recommended monthly or 45-day wave</span>
</div>
<ul class="space-y-3 text-sm text-zinc-200">
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-saffron-400 shrink-0 mt-0.5"></i>
<span>25–45 Mega, Macro & Micro KOL Cohort</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-saffron-400 shrink-0 mt-0.5"></i>
<span>Multi-Language Bharat Rollout (5+ Languages)</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-saffron-400 shrink-0 mt-0.5"></i>
<span>30-Day Meta/YouTube Creator Whitelisting Rights</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-saffron-400 shrink-0 mt-0.5"></i>
<span>Dedicated Creative Strategist & Hook Scripting</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-saffron-400 shrink-0 mt-0.5"></i>
<span>Weekly Cohort ROAS & CPI Optimization</span>
</li>
</ul>
</div>
<button onclick="openBriefModal('Pan-India Scale Engine')" class="mt-8 w-full py-3.5 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-sm shadow-lg shadow-saffron-500/20 transition-all">
Deploy Scale Engine
</button>
</div>
</div>
<!-- Tier 3: Enterprise -->
<div class="glass-card rounded-2xl p-7 flex flex-col justify-between">
<div>
<div class="text-xs font-bold uppercase tracking-wider text-indigoAccent-400">Always-On Retainer</div>
<h3 class="font-display font-bold text-2xl text-white mt-1">Enterprise Category Leader</h3>
<p class="text-xs text-zinc-400 mt-2">For unicorns, IPO-bound consumer brands, and national fintech/gaming leaders.</p>
<div class="my-6 pb-6 border-b border-borderSubtle">
<span class="font-display font-extrabold text-3xl text-white">Custom</span>
<span class="text-xs text-zinc-400 block mt-1">Quarterly or annual creator infrastructure</span>
</div>
<ul class="space-y-3 text-sm text-zinc-300">
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-indigoAccent-400 shrink-0 mt-0.5"></i>
<span>100+ Ongoing Brand Ambassadors & KOLs</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-indigoAccent-400 shrink-0 mt-0.5"></i>
<span>All 12+ Indian Regional Languages</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-indigoAccent-400 shrink-0 mt-0.5"></i>
<span>Custom Brand IP, Podcasts & Offline Creator Events</span>
</li>
<li class="flex items-start gap-2.5">
<i data-lucide="check" class="w-4 h-4 text-indigoAccent-400 shrink-0 mt-0.5"></i>
<span>BI / AppsFlyer / Branch Direct Attribution Sync</span>
</li>
</ul>
</div>
<button onclick="openBriefModal('Enterprise Category Leader')" class="mt-8 w-full py-3 rounded-xl bg-elevated hover:bg-zinc-800 border border-borderSubtle text-white font-semibold text-sm transition-all">
Talk to Enterprise Desk
</button>
</div>
</div>
</div>
</section>
<!-- ==================== 7. FINAL CONVERSION BANNER ==================== -->
<section class="py-20 relative overflow-hidden">
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="rounded-3xl p-8 sm:p-12 bg-gradient-to-br from-elevated via-surface to-obsidian border border-borderSubtle relative overflow-hidden text-center">
<div class="pointer-events-none absolute -top-24 left-1/2 -translate-x-1/2 w-96 h-48 bg-saffron-500/20 rounded-full blur-[90px]"></div>
<h2 class="font-display font-extrabold text-3xl sm:text-4xl text-white tracking-tight max-w-2xl mx-auto">
Ready to Turn India's Most Trusted Creators into Your Growth Engine?
</h2>
<p class="text-zinc-400 text-sm sm:text-base max-w-xl mx-auto mt-3 mb-8">
Get a custom KOL shortlist, audience authenticity audit, and projected CPI/ROAS media plan within 24 hours.
</p>
<div class="flex flex-col sm:flex-row items-center justify-center gap-4">
<button onclick="openBriefModal('Get Custom Media Plan')" class="w-full sm:w-auto px-8 py-4 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-sm shadow-xl shadow-saffron-500/20 transition-all">
Get Your Custom KOL Plan
</button>
<button onclick="toggleShortlistDrawer()" class="w-full sm:w-auto px-7 py-4 rounded-xl bg-obsidian hover:bg-zinc-900 border border-borderSubtle text-zinc-200 font-semibold text-sm transition-all">
Review Shortlisted KOLs (<span id="cta-shortlist-count">0</span>)
</button>
</div>
</div>
</div>
</section>
</main>
<!-- ==================== 8. FOOTER ==================== -->
<footer class="bg-obsidian border-t border-borderSubtle pt-16 pb-12 text-sm text-zinc-400">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-10 pb-12 border-b border-borderSubtle">
<!-- Brand Column -->
<div class="lg:col-span-5 space-y-4">
<div class="flex items-center gap-3">
<div class="w-9 h-9 rounded-xl bg-gradient-to-br from-saffron-500 to-indigoAccent-500 p-[1px]">
<div class="w-full h-full bg-obsidian rounded-[11px] flex items-center justify-center font-display font-extrabold text-white text-sm">
R
</div>
</div>
<span class="font-display font-extrabold text-xl text-white tracking-tight">
Rex<span class="text-saffron-400">Marketing</span>
</span>
</div>
<p class="text-zinc-400 text-sm leading-relaxed max-w-sm">
India's premier Key Opinion Leader (KOL) intelligence and execution partner. Connecting high-ambition brands with verified voices across Bharat.
</p>
<!-- ASCI Compliance Badge -->
<div class="inline-flex items-center gap-2.5 px-3.5 py-2 rounded-xl bg-surface border border-borderSubtle text-xs text-zinc-300">
<i data-lucide="shield-check" class="w-4 h-4 text-emerald-400"></i>
<span>100% ASCI & SEBI Influencer Guideline Compliant</span>
</div>
</div>
<!-- Quick Links -->
<div class="lg:col-span-3 space-y-3">
<h4 class="font-display font-bold text-white text-xs uppercase tracking-wider">Platform & Agency</h4>
<ul class="space-y-2.5 text-sm">
<li><a href="#network" class="hover:text-white transition-colors">KOL Discovery Directory</a></li>
<li><a href="#solutions" class="hover:text-white transition-colors">Vernacular & Tier-2/3 Scale</a></li>
<li><a href="#estimator" class="hover:text-white transition-colors">Campaign ROI Estimator</a></li>
<li><a href="#case-studies" class="hover:text-white transition-colors">Indian Brand Case Studies</a></li>
<li><a href="#pricing" class="hover:text-white transition-colors">Engagement Models</a></li>
</ul>
</div>
<!-- India Office Locations -->
<div class="lg:col-span-4 space-y-4">
<h4 class="font-display font-bold text-white text-xs uppercase tracking-wider">India Hubs</h4>
<div class="space-y-3 text-xs leading-relaxed">
<div class="p-3 rounded-xl bg-surface border border-borderSubtle">
<div class="font-bold text-white flex items-center gap-1.5">
<i data-lucide="map-pin" class="w-3.5 h-3.5 text-saffron-400"></i>
<span>Bengaluru HQ (Tech & Creator Ops)</span>
</div>
<p class="text-zinc-400 mt-1">4th Floor, 100 Feet Road, HAL 2nd Stage, Indiranagar, Bengaluru, Karnataka 560038</p>
</div>
<div class="p-3 rounded-xl bg-surface border border-borderSubtle">
<div class="font-bold text-white flex items-center gap-1.5">
<i data-lucide="map-pin" class="w-3.5 h-3.5 text-indigoAccent-400"></i>
<span>Mumbai Studio (D2C & Entertainment)</span>
</div>
<p class="text-zinc-400 mt-1">WeWork Chromium, Jogeshwari-Vikhroli Link Rd, Powai, Mumbai, Maharashtra 400076</p>
</div>
</div>
</div>
</div>
<div class="pt-8 flex flex-col sm:flex-row items-center justify-between gap-4 text-xs text-zinc-500">
<div>© 2026 RexMarketing India Pvt. Ltd. All rights reserved.</div>
<div class="flex items-center gap-6">
<span>hello@rexmarketing.in</span>
<span>+91 80 4120 8890</span>
</div>
</div>
</div>
</footer>
<!-- ==================== SLIDE-OVER CAMPAIGN SHORTLIST DRAWER ==================== -->
<div id="shortlist-drawer-backdrop" onclick="toggleShortlistDrawer()" class="fixed inset-0 bg-black/70 backdrop-blur-sm z-50 hidden transition-opacity"></div>
<aside id="shortlist-drawer" class="fixed top-0 right-0 h-full w-full max-w-md bg-surface border-l border-borderSubtle z-50 transform translate-x-full transition-transform duration-300 flex flex-col">
<!-- Drawer Header -->
<div class="p-5 border-b border-borderSubtle flex items-center justify-between">
<div class="flex items-center gap-2.5">
<i data-lucide="bookmark" class="w-5 h-5 text-saffron-400"></i>
<h3 class="font-display font-bold text-lg text-white">Campaign Shortlist</h3>
<span id="drawer-count-pill" class="px-2 py-0.5 rounded-full bg-saffron-500/20 text-saffron-300 text-xs font-bold">0</span>
</div>
<button onclick="toggleShortlistDrawer()" class="p-2 rounded-lg bg-elevated text-zinc-400 hover:text-white">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<!-- Drawer Body -->
<div id="shortlist-items-container" class="flex-1 overflow-y-auto p-5 space-y-3">
<!-- Populated dynamically via JS -->
</div>
<!-- Drawer Footer -->
<div class="p-5 border-t border-borderSubtle bg-obsidian space-y-3">
<div class="flex items-center justify-between text-xs text-zinc-400">
<span>Combined Cohort Reach:</span>
<span id="shortlist-total-reach" class="font-display font-bold text-sm text-white">0</span>
</div>
<button onclick="submitShortlistToBrief()" class="w-full py-3.5 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-sm flex items-center justify-center gap-2 shadow-lg">
<span>Request Quote for Shortlisted KOLs</span>
<i data-lucide="arrow-right" class="w-4 h-4"></i>
</button>
</div>
</aside>
<!-- ==================== CAMPAIGN BRIEF / LEAD CAPTURE MODAL ==================== -->
<div id="brief-modal" class="fixed inset-0 z-50 hidden items-center justify-center p-4 bg-black/75 backdrop-blur-md">
<div class="bg-surface border border-borderSubtle rounded-3xl w-full max-w-xl overflow-hidden shadow-2xl relative animate-[fadeIn_0.2s_ease-out]">
<!-- Modal Header -->
<div class="px-6 py-5 border-b border-borderSubtle flex items-center justify-between bg-obsidian/60">
<div>
<span id="modal-context-badge" class="text-[11px] font-bold uppercase tracking-wider text-saffron-400">Launch Campaign</span>
<h3 class="font-display font-bold text-xl text-white mt-0.5">Request Your Bharat KOL Media Plan</h3>
</div>
<button onclick="closeBriefModal()" class="p-2 rounded-xl bg-elevated text-zinc-400 hover:text-white">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<!-- Modal Form View -->
<form id="brief-form" onsubmit="handleBriefSubmit(event)" class="p-6 space-y-4 max-h-[82vh] overflow-y-auto">
<!-- Pre-populated Shortlist & Estimator Summary Banner -->
<div id="modal-prefill-box" class="p-3.5 rounded-xl bg-indigoAccent-500/10 border border-indigoAccent-500/30 text-xs space-y-1.5">
<div class="flex items-center justify-between text-indigoAccent-300 font-semibold">
<span>Attached Campaign Telemetry</span>
<span id="modal-budget-tag" class="text-saffron-400 font-bold">Est. Budget: ₹10,00,000</span>
</div>
<div id="modal-kol-summary" class="text-zinc-300">
No specific creators shortlisted yet — our desk will curate a custom cohort.
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div>
<label class="block text-xs font-semibold text-zinc-300 mb-1.5">Your Name *</label>
<input type="text" id="lead-name" required placeholder="e.g., Vikramaditya Rao" class="w-full px-3.5 py-2.5 rounded-xl bg-obsidian border border-borderSubtle text-sm text-white placeholder-zinc-500 focus:outline-none focus:border-saffron-500" />
</div>
<div>
<label class="block text-xs font-semibold text-zinc-300 mb-1.5">Work Email *</label>
<input type="email" id="lead-email" required placeholder="vikram@yourbrand.in" class="w-full px-3.5 py-2.5 rounded-xl bg-obsidian border border-borderSubtle text-sm text-white placeholder-zinc-500 focus:outline-none focus:border-saffron-500" />
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div>
<label class="block text-xs font-semibold text-zinc-300 mb-1.5">Brand / Company Website *</label>
<input type="text" id="lead-company" required placeholder="e.g., ZestPay India" class="w-full px-3.5 py-2.5 rounded-xl bg-obsidian border border-borderSubtle text-sm text-white placeholder-zinc-500 focus:outline-none focus:border-saffron-500" />
</div>
<div>
<label class="block text-xs font-semibold text-zinc-300 mb-1.5">Estimated Budget (INR)</label>
<select id="lead-budget" class="w-full px-3.5 py-2.5 rounded-xl bg-obsidian border border-borderSubtle text-sm text-white focus:outline-none focus:border-saffron-500">
<option value="₹2,00,000 – ₹5,00,000">₹2,00,000 – ₹5,00,000</option>
<option value="₹5,00,000 – ₹15,00,000" selected>₹5,00,000 – ₹15,00,000</option>
<option value="₹15,00,000 – ₹30,00,000">₹15,00,000 – ₹30,00,000</option>
<option value="₹30,00,000 – ₹50,00,000+">₹30,00,000 – ₹50,00,000+</option>
</select>
</div>
</div>
<div>
<label class="block text-xs font-semibold text-zinc-300 mb-1.5">Campaign Goals, Target Regions & Notes</label>
<textarea id="lead-notes" rows="3" placeholder="Tell us about your product launch, target cities/languages, or timeline..." class="w-full px-3.5 py-2.5 rounded-xl bg-obsidian border border-borderSubtle text-sm text-white placeholder-zinc-500 focus:outline-none focus:border-saffron-500"></textarea>
</div>
<button type="submit" class="w-full py-3.5 rounded-xl bg-gradient-to-r from-saffron-500 to-indigoAccent-500 hover:from-saffron-400 hover:to-indigoAccent-400 text-white font-semibold text-sm shadow-lg shadow-saffron-500/20 transition-all">
Submit Campaign Brief
</button>
</form>
<!-- Modal Confirmation State (Hidden initially) -->
<div id="brief-confirmation" class="hidden p-8 text-center space-y-4">
<div class="w-14 h-14 rounded-2xl bg-emerald-500/15 border border-emerald-500/30 text-emerald-400 flex items-center justify-center mx-auto">
<i data-lucide="check-circle-2" class="w-8 h-8"></i>
</div>
<h4 class="font-display font-extrabold text-2xl text-white">Brief Received by RexMarketing Desk</h4>
<p id="confirmation-message" class="text-sm text-zinc-300 max-w-md mx-auto leading-relaxed">
Thank you! Our senior campaign strategist in Bengaluru is preparing your vetted creator shortlist and rate-card deck. Expect an email within 4 business hours.
</p>
<div class="pt-3">
<button onclick="closeBriefModal()" class="px-6 py-2.5 rounded-xl bg-elevated hover:bg-zinc-800 border border-borderSubtle text-sm font-semibold text-white">
Back to RexMarketing
</button>
</div>
</div>
</div>
</div>
<!-- ==================== TOAST NOTIFICATION ==================== -->
<div id="rex-toast" class="fixed bottom-5 right-5 z-50 transform translate-y-20 opacity-0 transition-all duration-300 pointer-events-none">
<div class="px-4 py-3 rounded-xl bg-elevated border border-borderSubtle shadow-2xl flex items-center gap-2.5 text-xs font-semibold text-white">
<span class="w-2 h-2 rounded-full bg-saffron-500"></span>
<span id="rex-toast-text">Action updated</span>
</div>
</div>
<!-- ==================== APPLICATION JAVASCRIPT ==================== -->
<script>
/**
* 1. CURATED INDIAN KOL DATASET
* Realistic profiles spanning Tech, FinTech, Gaming, D2C, and Regional Vernacular markets.
*/
const KOLS = [
{
id: 'kol-1',
name: 'Aarav Sharma',
handle: '@aaravtechindia',
initials: 'AS',
gradient: 'from-indigoAccent-500 to-cyan-500',
category: 'Tech & SaaS',
region: 'Hindi',
languageLabel: 'Hindi + English',
city: 'Bengaluru',
followers: '1.42M',
followersNum: 1420000,
engagement: '7.4%',
authenticity: 98,
platforms: ['YouTube', 'X'],
avgViews: '340K',
bio: 'AI workflows, consumer hardware deep-dives & Indian SaaS breakdowns.'
},
{
id: 'kol-2',
name: 'Priya Nair',
handle: '@priyafintech',
initials: 'PN',
gradient: 'from-saffron-500 to-amber-500',
category: 'FinTech & Crypto',
region: 'All',
languageLabel: 'English + Malayalam',
city: 'Mumbai',
followers: '890K',
followersNum: 890000,
engagement: '6.9%',
authenticity: 99,
platforms: ['YouTube', 'Instagram', 'LinkedIn'],
avgViews: '215K',
bio: 'Personal wealth, UPI ecosystem, mutual funds & SEBI-compliant finance.'
},
{
id: 'kol-3',
name: 'Rohan Kulkarni',
handle: '@rohanplays_gg',
initials: 'RK',
gradient: 'from-purple-500 to-indigoAccent-500',
category: 'Gaming & Esports',
region: 'Marathi/Bengali',
languageLabel: 'Hindi + Marathi',
city: 'Pune',
followers: '2.15M',
followersNum: 2150000,
engagement: '8.6%',
authenticity: 96,
platforms: ['YouTube', 'Instagram'],
avgViews: '520K',
bio: 'BGMI esports caster, mobile gaming hardware & youth lifestyle.'
},
{
id: 'kol-4',
name: 'Ananya Verma',
handle: '@ananyaglows',
initials: 'AV',
gradient: 'from-pink-500 to-saffron-500',
category: 'Lifestyle & D2C',
region: 'Hindi',
languageLabel: 'Hindi + English',
city: 'Delhi NCR',
followers: '640K',
followersNum: 640000,
engagement: '6.2%',
authenticity: 97,
platforms: ['Instagram', 'YouTube'],
avgViews: '185K',
bio: 'Ingredient-first Indian skincare, clean D2C beauty & festive styling.'
},
{
id: 'kol-5',
name: 'Karthik Subramanian',
handle: '@karthiktech_tn',
initials: 'KS',
gradient: 'from-emerald-500 to-teal-500',
category: 'Regional Vernacular',
region: 'Tamil/Telugu',
languageLabel: 'Tamil',
city: 'Chennai',
followers: '1.18M',
followersNum: 1180000,
engagement: '8.1%',
authenticity: 98,
platforms: ['YouTube', 'Instagram'],
avgViews: '295K',
bio: 'Tamil Nadu’s most trusted voice for smartphones, EVs & digital apps.'
},
{
id: 'kol-6',
name: 'Sneha Das',
handle: '@snehadas_kolkata',
initials: 'SD',
gradient: 'from-amber-500 to-rose-500',
category: 'Lifestyle & D2C',
region: 'Marathi/Bengali',
languageLabel: 'Bengali + Hindi',
city: 'Kolkata',
followers: '510K',
followersNum: 510000,
engagement: '7.1%',
authenticity: 97,
platforms: ['Instagram', 'YouTube'],
avgViews: '140K',
bio: 'East India D2C fashion, home decor & modern Bengali storytelling.'
},
{
id: 'kol-7',
name: 'Vikramaditya Reddy',
handle: '@vikramwealth_hyd',
initials: 'VR',
gradient: 'from-indigoAccent-500 to-emerald-500',
category: 'FinTech & Crypto',
region: 'Tamil/Telugu',
languageLabel: 'Telugu + English',
city: 'Hyderabad',
followers: '780K',
followersNum: 780000,
engagement: '6.7%',
authenticity: 98,
platforms: ['YouTube', 'X'],
avgViews: '190K',
bio: 'Telugu retail investor education, Web3 infrastructure & startup equity.'
},
{
id: 'kol-8',
name: 'Meera Deshmukh',
handle: '@meerab2b_saas',
initials: 'MD',
gradient: 'from-sky-500 to-indigoAccent-500',
category: 'Tech & SaaS',
region: 'All',
languageLabel: 'English + Marathi',
city: 'Bengaluru',
followers: '320K',
followersNum: 320000,
engagement: '5.9%',
authenticity: 99,
platforms: ['LinkedIn', 'X', 'YouTube'],
avgViews: '95K',
bio: 'B2B GTM operator, enterprise AI adoption & Indian founder podcasts.'
}
];
// State Variables
let activeCategory = 'All';
let activeRegion = 'All';
let shortlistedIds = new Set(['kol-2']); // Pre-seed 1 creator so users see how the badge works immediately
let estimatorState = {
goal: 'installs',
tier: 'pan',
budget: 1000000
};
/**
* 2. INDIAN CURRENCY & NUMBER FORMATTING UTILITIES
*/
function formatINR(amount) {
return '₹' + Math.round(amount).toLocaleString('en-IN');
}
function formatCompactIndian(num) {
if (num >= 10000000) {
return (num / 10000000).toFixed(2) + ' Cr';
}
if (num >= 100000) {
return (num / 100000).toFixed(1) + 'L';
}
if (num >= 1000) {
return (num / 1000).toFixed(1) + 'K';
}
return num.toString();
}
/**
* 3. HERO TELEMETRY LIVE SWITCHER
*/
function switchTelemetry(mode) {
const btnFintech = document.getElementById('tel-btn-fintech');
const btnD2c = document.getElementById('tel-btn-d2c');
if (mode === 'fintech') {
btnFintech.className = 'px-2.5 py-1 rounded-md bg-indigoAccent-500/20 text-indigoAccent-300 border border-indigoAccent-500/30 transition-all';
btnD2c.className = 'px-2.5 py-1 rounded-md text-zinc-400 hover:text-zinc-200 transition-all';
document.getElementById('tel-reach').textContent = '18.4M';
document.getElementById('tel-reach-delta').textContent = '+24.6%';
document.getElementById('tel-er').textContent = '6.84%';
document.getElementById('tel-auth').textContent = '98.2%';
document.getElementById('tel-geo-tag').textContent = 'Tier-1 + Tier-2 Hybrid';
document.getElementById('tel-city-1').textContent = '42%';
document.getElementById('tel-bar-1').style.width = '42%';
document.getElementById('tel-city-2').textContent = '31%';
document.getElementById('tel-bar-2').style.width = '31%';
document.getElementById('tel-city-3').textContent = '27%';
document.getElementById('tel-bar-3').style.width = '27%';
} else {
btnD2c.className = 'px-2.5 py-1 rounded-md bg-saffron-500/20 text-saffron-300 border border-saffron-500/30 transition-all';
btnFintech.className = 'px-2.5 py-1 rounded-md text-zinc-400 hover:text-zinc-200 transition-all';
document.getElementById('tel-reach').textContent = '26.9M';
document.getElementById('tel-reach-delta').textContent = '+38.2%';
document.getElementById('tel-er').textContent = '7.92%';
document.getElementById('tel-auth').textContent = '97.5%';
document.getElementById('tel-geo-tag').textContent = 'Pan-Bharat Festive Wave';
document.getElementById('tel-city-1').textContent = '34%';
document.getElementById('tel-bar-1').style.width = '34%';
document.getElementById('tel-city-2').textContent = '28%';
document.getElementById('tel-bar-2').style.width = '28%';
document.getElementById('tel-city-3').textContent = '38%';
document.getElementById('tel-bar-3').style.width = '38%';
}
}
/**
* 4. KOL DIRECTORY FILTERING & RENDERING
*/
function setCategoryFilter(category) {
activeCategory = category;
document.querySelectorAll('.cat-pill').forEach(btn => {
if (btn.dataset.category === category) {
btn.className = 'cat-pill px-4 py-2 rounded-xl text-xs font-semibold whitespace-nowrap bg-white text-obsidian transition-all';
} else {
btn.className = 'cat-pill px-4 py-2 rounded-xl text-xs font-semibold whitespace-nowrap bg-surface text-zinc-300 border border-borderSubtle hover:border-zinc-600 transition-all';
}
});
filterKOLs();
}
function setRegionFilter(region) {
activeRegion = region;
document.querySelectorAll('.reg-pill').forEach(btn => {
if (btn.dataset.region === region) {
btn.className = 'reg-pill px-3 py-1.5 rounded-lg text-xs font-semibold bg-saffron-500/20 text-saffron-300 border border-saffron-500/40 transition-all';
} else {
btn.className = 'reg-pill px-3 py-1.5 rounded-lg text-xs font-medium bg-surface text-zinc-400 border border-borderSubtle hover:text-zinc-200 transition-all';
}
});
filterKOLs();
}
function resetKOLFilters() {
activeCategory = 'All';
activeRegion = 'All';
document.getElementById('kol-search-input').value = '';
setCategoryFilter('All');
setRegionFilter('All');
}
function filterKOLs() {
const searchQuery = document.getElementById('kol-search-input').value.trim().toLowerCase();
const filtered = KOLS.filter(kol => {
const matchesCat = activeCategory === 'All' || kol.category === activeCategory;
const matchesReg = activeRegion === 'All' || kol.region === activeRegion || (activeRegion === 'Hindi' && kol.languageLabel.includes('Hindi'));
const matchesSearch = !searchQuery ||
kol.name.toLowerCase().includes(searchQuery) ||
kol.city.toLowerCase().includes(searchQuery) ||
kol.category.toLowerCase().includes(searchQuery) ||
kol.languageLabel.toLowerCase().includes(searchQuery) ||
kol.bio.toLowerCase().includes(searchQuery);
return matchesCat && matchesReg && matchesSearch;
});
renderKOLGrid(filtered);
}
function renderKOLGrid(list) {
const grid = document.getElementById('kol-grid');
const emptyState = document.getElementById('kol-empty-state');
const countLabel = document.getElementById('kol-count-label');
countLabel.textContent = list.length;
if (list.length === 0) {
grid.innerHTML = '';
emptyState.classList.remove('hidden');
lucide.createIcons();
return;
}
emptyState.classList.add('hidden');
grid.innerHTML = list.map(kol => {
const isShortlisted = shortlistedIds.has(kol.id);
return `
<div class="glass-card rounded-2xl p-5 flex flex-col justify-between group">
<div>
<!-- Card Header: Avatar + Name + Verified Badge -->
<div class="flex items-start justify-between gap-3 mb-4">
<div class="flex items-center gap-3">
<div class="w-11 h-11 rounded-xl bg-gradient-to-br ${kol.gradient} flex items-center justify-center font-display font-extrabold text-sm text-white shrink-0 shadow-md">
${kol.initials}
</div>
<div>
<div class="font-display font-bold text-base text-white flex items-center gap-1.5">
<span>${kol.name}</span>
<i data-lucide="badge-check" class="w-4 h-4 text-indigoAccent-400 shrink-0"></i>
</div>
<div class="text-xs text-zinc-400">${kol.handle} • ${kol.city}</div>
</div>
</div>
</div>
<!-- Category & Language Tags -->
<div class="flex flex-wrap gap-1.5 mb-3">
<span class="px-2.5 py-0.5 rounded-md bg-elevated border border-borderSubtle text-[11px] font-semibold text-zinc-200">
${kol.category}
</span>
<span class="px-2.5 py-0.5 rounded-md bg-saffron-500/10 border border-saffron-500/25 text-[11px] font-medium text-saffron-300">
${kol.languageLabel}
</span>
</div>
<!-- Bio -->
<p class="text-xs text-zinc-400 leading-relaxed mb-4 line-clamp-2">
${kol.bio}
</p>
<!-- Metrics Box -->
<div class="grid grid-cols-3 gap-2 p-3 rounded-xl bg-obsidian/90 border border-borderSubtle text-center mb-4">
<div>
<div class="font-display font-bold text-sm text-white">${kol.followers}</div>
<div class="text-[10px] text-zinc-500 uppercase">Reach</div>
</div>
<div class="border-x border-borderSubtle">
<div class="font-display font-bold text-sm text-saffron-400">${kol.engagement}</div>
<div class="text-[10px] text-zinc-500 uppercase">Eng. Rate</div>
</div>
<div>
<div class="font-display font-bold text-sm text-emerald-400">${kol.authenticity}%</div>
<div class="text-[10px] text-zinc-500 uppercase">Real Aud.</div>
</div>
</div>
</div>
<!-- Card Footer: Platforms + Shortlist Toggle -->
<div class="pt-3 border-t border-borderSubtle/70 flex items-center justify-between gap-2">
<div class="flex items-center gap-1.5">
${kol.platforms.map(p => `
<span class="px-2 py-0.5 rounded bg-elevated text-[10px] font-semibold text-zinc-300">${p}</span>
`).join('')}
</div>
<button
onclick="toggleShortlist('${kol.id}')"
class="px-3 py-1.5 rounded-lg text-xs font-semibold flex items-center gap-1.5 transition-all ${
isShortlisted
? 'bg-saffron-500 text-obsidian shadow-md shadow-saffron-500/20'
: 'bg-elevated hover:bg-zinc-800 text-zinc-200 border border-borderSubtle'
}"
>
<i data-lucide="${isShortlisted ? 'check' : 'plus'}" class="w-3.5 h-3.5"></i>
<span>${isShortlisted ? 'Shortlisted' : 'Shortlist KOL'}</span>
</button>
</div>
</div>
`;
}).join('');
lucide.createIcons();
}
/**
* 5. SHORTLIST MANAGEMENT & DRAWER INTERACTIONS
*/
function toggleShortlist(kolId) {
const kol = KOLS.find(k => k.id === kolId);
if (!kol) return;
if (shortlistedIds.has(kolId)) {
shortlistedIds.delete(kolId);
showToast(`Removed ${kol.name} from shortlist`);
} else {
shortlistedIds.add(kolId);
showToast(`Added ${kol.name} to campaign shortlist`);
}
updateShortlistUI();
filterKOLs();
}
function updateShortlistUI() {
const count = shortlistedIds.size;
document.getElementById('nav-shortlist-badge').textContent = count;
document.getElementById('mobile-shortlist-badge').textContent = count;
document.getElementById('drawer-count-pill').textContent = count;
document.getElementById('cta-shortlist-count').textContent = count;
const container = document.getElementById('shortlist-items-container');
const totalReachEl = document.getElementById('shortlist-total-reach');
if (count === 0) {
totalReachEl.textContent = '0';
container.innerHTML = `
<div class="text-center py-12 px-4">
<div class="w-12 h-12 rounded-2xl bg-elevated border border-borderSubtle flex items-center justify-center mx-auto mb-3 text-zinc-500">
<i data-lucide="bookmark" class="w-6 h-6"></i>
</div>
<div class="font-display font-bold text-base text-white">Your Shortlist is Empty</div>
<p class="text-xs text-zinc-400 mt-1">Click "Shortlist KOL" on any creator card in our directory to build your custom cohort.</p>
</div>
`;
lucide.createIcons();
return;
}
let combinedFollowers = 0;
const itemsHtml = Array.from(shortlistedIds).map(id => {
const k = KOLS.find(item => item.id === id);
if (!k) return '';
combinedFollowers += k.followersNum;
return `
<div class="p-3.5 rounded-xl bg-obsidian border border-borderSubtle flex items-center justify-between gap-3">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br ${k.gradient} flex items-center justify-center font-display font-bold text-xs text-white shrink-0">
${k.initials}
</div>
<div>
<div class="text-sm font-bold text-white">${k.name}</div>
<div class="text-[11px] text-zinc-400">${k.category} • ${k.followers} (${k.engagement} ER)</div>
</div>
</div>
<button onclick="toggleShortlist('${k.id}')" title="Remove" class="p-2 rounded-lg bg-elevated hover:bg-rose-500/20 text-zinc-400 hover:text-rose-400 transition-colors">
<i data-lucide="trash-2" class="w-4 h-4"></i>
</button>
</div>
`;
}).join('');
container.innerHTML = itemsHtml;
totalReachEl.textContent = formatCompactIndian(combinedFollowers) + '+ Followers';
lucide.createIcons();
}
function toggleShortlistDrawer() {
const drawer = document.getElementById('shortlist-drawer');
const backdrop = document.getElementById('shortlist-drawer-backdrop');
const isClosed = drawer.classList.contains('translate-x-full');
if (isClosed) {
updateShortlistUI();
backdrop.classList.remove('hidden');
drawer.classList.remove('translate-x-full');
} else {
backdrop.classList.add('hidden');
drawer.classList.add('translate-x-full');
}
}
function submitShortlistToBrief() {
toggleShortlistDrawer();
openBriefModal('Shortlisted KOL Cohort Quote');
}
/**
* 6. INTERACTIVE CAMPAIGN ROI & BUDGET ESTIMATOR
*/
function setEstimatorGoal(goal) {
estimatorState.goal = goal;
document.querySelectorAll('.goal-btn').forEach(btn => {
if (btn.dataset.goal === goal) {
btn.className = 'goal-btn p-3 rounded-xl border text-left transition-all bg-indigoAccent-500/15 border-indigoAccent-500 text-white';
} else {
btn.className = 'goal-btn p-3 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600';
}
});
updateEstimator();
}
function setEstimatorTier(tier) {
estimatorState.tier = tier;
document.querySelectorAll('.tier-btn').forEach(btn => {
if (btn.dataset.tier === tier) {
btn.className = 'tier-btn p-3.5 rounded-xl border text-left transition-all bg-saffron-500/15 border-saffron-500 text-white';
} else {
btn.className = 'tier-btn p-3.5 rounded-xl border text-left transition-all bg-elevated border-borderSubtle text-zinc-300 hover:border-zinc-600';
}
});
updateEstimator();
}
function updateEstimator() {
const budget = parseInt(document.getElementById('budget-slider').value, 10);
estimatorState.budget = budget;
document.getElementById('budget-display').textContent = formatINR(budget);
// Tier multipliers (Bharat Tier-2/3 gives higher reach per rupee; Metro gives higher AOV/B2B intent)
const tierReachMultiplier = {
metro: 0.82,
pan: 1.0,
bharat: 1.32
}[estimatorState.tier];
const tierCpiMultiplier = {
metro: 1.18,
pan: 1.0,
bharat: 0.78
}[estimatorState.tier];
// Base Reach calculation (~4.2M reach per ₹10L on Pan-India)
const baseViews = (budget / 100000) * 420000 * tierReachMultiplier;
const lowReach = formatCompactIndian(Math.round(baseViews * 0.9));
const highReach = formatCompactIndian(Math.round(baseViews * 1.12));
document.getElementById('est-reach').textContent = `${lowReach} - ${highReach}`;
// Engagements (~6.4% average engagement rate)
const engagements = Math.round(baseViews * 0.064);
document.getElementById('est-engagements').textContent = formatCompactIndian(engagements) + '+';
// Goal-specific conversion output
const outcomeLabel = document.getElementById('est-outcome-label');
const outcomeValue = document.getElementById('est-outcome-value');
const outcomeSub = document.getElementById('est-outcome-sub');
const roasEl = document.getElementById('est-roas');
if (estimatorState.goal === 'installs') {
const cpi = Math.round(42 * tierCpiMultiplier);
const installs = Math.round(budget / cpi);
outcomeLabel.textContent = 'Est. App Installs';
outcomeValue.textContent = installs.toLocaleString('en-IN');
outcomeSub.textContent = `~₹${cpi} Blended CPI`;
roasEl.textContent = estimatorState.tier === 'bharat' ? '4.9x' : '4.4x';
} else if (estimatorState.goal === 'd2c') {
const roas = estimatorState.tier === 'pan' ? 4.8 : (estimatorState.tier === 'metro' ? 4.5 : 5.1);
const gmv = budget * roas;
outcomeLabel.textContent = 'Projected D2C GMV';
outcomeValue.textContent = '₹' + formatCompactIndian(gmv);
outcomeSub.textContent = 'Direct attribution + codes';
roasEl.textContent = roas.toFixed(1) + 'x';
} else if (estimatorState.goal === 'b2b') {
const cpl = Math.round(2400 * tierCpiMultiplier);
const demos = Math.max(12, Math.round(budget / cpl));
outcomeLabel.textContent = 'Qualified SQL Demos';
outcomeValue.textContent = demos.toLocaleString('en-IN') + '+';
outcomeSub.textContent = `~₹${cpl.toLocaleString('en-IN')} Cost / SQL`;
roasEl.textContent = '6.2x';
} else {
const cpm = Math.round((budget / baseViews) * 1000);
outcomeLabel.textContent = 'Blended eCPM';
outcomeValue.textContent = `₹${cpm}`;
outcomeSub.textContent = 'High-recall video views';
roasEl.textContent = '3.9x';
}
// Recommended KOL Mix scaling with budget
const budgetUnits = Math.max(1, Math.round(budget / 200000));
const mega = budget >= 1200000 ? Math.floor(budget / 1200000) : 0;
const macro = Math.max(1, Math.floor(budgetUnits * 0.75));
const micro = Math.max(3, Math.floor(budgetUnits * 1.8));
const totalKols = mega + macro + micro;
document.getElementById('mix-mega').textContent = mega;
document.getElementById('mix-macro').textContent = macro;
document.getElementById('mix-micro').textContent = micro;
document.getElementById('est-total-kols').textContent = `${totalKols} Creators`;
}
/**
* 7. MODAL & LEAD BRIEF CAPTURE
*/
function openBriefModal(contextTitle) {
const modal = document.getElementById('brief-modal');
const form = document.getElementById('brief-form');
const confirmation = document.getElementById('brief-confirmation');
// Reset to form view
form.classList.remove('hidden');
confirmation.classList.add('hidden');
document.getElementById('modal-context-badge').textContent = contextTitle || 'Launch Campaign';
document.getElementById('modal-budget-tag').textContent = `Est. Budget: ${formatINR(estimatorState.budget)}`;
// Sync budget dropdown with estimator slider
const leadBudgetSelect = document.getElementById('lead-budget');
if (estimatorState.budget <= 500000) {
leadBudgetSelect.value = '₹2,00,000 – ₹5,00,000';
} else if (estimatorState.budget <= 1500000) {
leadBudgetSelect.value = '₹5,00,000 – ₹15,00,000';
} else if (estimatorState.budget <= 3000000) {
leadBudgetSelect.value = '₹15,00,000 – ₹30,00,000';
} else {
leadBudgetSelect.value = '₹30,00,000 – ₹50,00,000+';
}
// Populate shortlisted KOL names
const summaryEl = document.getElementById('modal-kol-summary');
if (shortlistedIds.size > 0) {
const names = Array.from(shortlistedIds).map(id => {
const found = KOLS.find(k => k.id === id);
return found ? found.name : '';
}).filter(Boolean);
summaryEl.innerHTML = `<span class="text-white font-semibold">Shortlisted (${names.length}):</span> ${names.join(', ')}`;
} else {
summaryEl.textContent = 'No specific creators shortlisted yet — our desk will curate a custom cohort.';
}
modal.classList.remove('hidden');
modal.classList.add('flex');
lucide.createIcons();
}
function closeBriefModal() {
const modal = document.getElementById('brief-modal');
modal.classList.add('hidden');
modal.classList.remove('flex');
}
function handleBriefSubmit(event) {
event.preventDefault();
const name = document.getElementById('lead-name').value.trim();
const company = document.getElementById('lead-company').value.trim();
document.getElementById('brief-form').classList.add('hidden');
const confirmation = document.getElementById('brief-confirmation');
confirmation.classList.remove('hidden');
document.getElementById('confirmation-message').textContent =
`Thank you, ${name}! Our senior KOL desk in Bengaluru is preparing a custom rate-card and audience audit deck for ${company}. Expect a response within 4 business hours.`;
lucide.createIcons();
}
/**
* 8. MOBILE MENU & TOAST HELPER
*/
function toggleMobileMenu() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
}
let toastTimeout;
function showToast(message) {
const toast = document.getElementById('rex-toast');
const text = document.getElementById('rex-toast-text');
text.textContent = message;
toast.classList.remove('translate-y-20', 'opacity-0');
clearTimeout(toastTimeout);
toastTimeout = setTimeout(() => {
toast.classList.add('translate-y-20', 'opacity-0');
}, 2600);
}
/**
* INITIALIZE ON LOAD
*/
window.addEventListener('DOMContentLoaded', () => {
renderKOLGrid(KOLS);
updateShortlistUI();
updateEstimator();
lucide.createIcons();
});
</script>
</body>
</html>