/* global React, ReactDOM, lucide */
const { useState, useEffect, useRef, useCallback } = React;
const DS = window.RUDRASSCDesignSystem_26b557 || {};
const { Dialog, Button } = DS;
/* ---- Lucide icon as a self-managed node ---------------------- */
function Icon({ name, size = 20, strokeWidth = 2, className }) {
const ref = useRef(null);
useEffect(() => {
const el = ref.current;
if (!el || !window.lucide) return;
el.innerHTML = "";
const i = document.createElement("i");
i.setAttribute("data-lucide", name);
el.appendChild(i);
window.lucide.createIcons({ attrs: { width: size, height: size, "stroke-width": strokeWidth } });
}, [name, size, strokeWidth]);
return ;
}
/* ---- Brand trident mark -------------------------------------- */
function Trident({ className = "brand-mark" }) {
return (
);
}
function BrandLogo() {
return
;
}
/* ============================================================
DATA
============================================================ */
const HERO_POINTS = [
{ ic: "target", label: "Daily Targets" },
{ ic: "user-round-check", label: "Mentor Guidance" },
{ ic: "calendar-clock", label: "Revision Tracking" },
{ ic: "line-chart", label: "Performance Analysis" },
];
const FEATURE_STRIP = [
{ ic: "target", label: "Daily Study Targets" },
{ ic: "users", label: "Mentor-Guided Practice" },
{ ic: "refresh-cw", label: "Revision Before Forgetting" },
{ ic: "line-chart", label: "Performance Tracking" },
{ ic: "user-round-check", label: "Personal Mentor Guidance" },
{ ic: "flame", label: "Habit & Discipline Building" },
];
const JOURNEY = [
{ ic: "book-open", label: "Learn", sub: "Clear daily direction" },
{ ic: "file-pen-line", label: "Practice", sub: "Guided worksheets" },
{ ic: "refresh-cw", label: "Revise", sub: "Before you forget" },
{ ic: "line-chart", label: "Analyze", sub: "Spot weak topics" },
{ ic: "trending-up", label: "Improve", sub: "Week on week" },
{ ic: "trophy", label: "Select", sub: "The goal" },
];
const SOLUTIONS = [
"Personal mentor guidance",
"Daily study direction",
"Revision structure",
"Regular check-ins",
"Selection-focused preparation",
];
const FEATURES = [
{ ic: "user-round", title: "Personal Mentor", sub: "A mentor who knows your level and guides your path." },
{ ic: "list-checks", title: "Daily Study Tasks", sub: "Clear daily direction — what to study and revise." },
{ ic: "refresh-cw", title: "Revision System", sub: "A fixed revision cycle so learning actually sticks." },
{ ic: "file-pen-line", title: "Practice Material", sub: "Topic-wise worksheets that sharpen your accuracy." },
{ ic: "clipboard-check", title: "Weekly Review", sub: "A weekly look at progress with your mentor." },
{ ic: "trending-up", title: "Progress Tracking", sub: "See your trends and fix weak topics before the exam." },
];
const CERT_BENEFITS = [
{ ic: "award", title: "A record of discipline", sub: "Recognises consistent effort across the program." },
{ ic: "badge-check", title: "Earned, not given", sub: "Issued only on genuine completion of the program." },
{ ic: "briefcase", title: "Proof of commitment", sub: "A credential you can carry beyond preparation." },
];
const ELITE_PRICE = "1599"; // change here if pricing updates
const FREE_TEST_URL = "https://test.rudrassc.com/test-series.html?tab=sectional&subject=reasoning";
const BATCHES = [
{
key: "foundation", name: "Foundation Batch", price: "499", oldPrice: null, flag: null, featured: false, mentor: false,
tagline: "Clear system and direction for serious beginners.",
mobileTagline: "For structure and daily study direction.",
points: ["Daily study tasks", "Practice worksheets", "Revision system"],
modal: {
sub: "For students who want a clear system and direction. You study — we guide.",
badge: "Self-driven",
includes: ["Daily study tasks", "Structured study plan", "Practice worksheets", "Topic-wise & full-length tests", "Rudra Revision System™", "Monthly group mentorship session"],
excludes: ["Personal mentor support", "Mentor check-in calls", "Habit & reflection tracking"],
best: "Students who can study independently and just need proper direction.",
philosophy: "Content teaches. Tests measure. Foundation gives you the system — the discipline to follow it stays with you.",
},
},
{
key: "advanced", name: "Advanced Batch", price: "799", oldPrice: "999", flag: "Limited Offer · Most Popular", featured: true, mentor: false,
tagline: "Accountability, notes support, and regular mentor guidance.",
mobileTagline: "For accountability, notes support, and mentor check-ins.",
points: ["All Foundation benefits", "All-subject notes support", "Mentor check-in every 10–15 days"],
modal: {
sub: "For students who need accountability, consistency and regular guidance.",
badge: "Limited Offer · Most chosen",
includes: ["Everything in Foundation", "All-subject notes support", "Personalized daily targets", "Weak & strong area detection", "Personalized revision priority", "Success-habit system (sleep, reading, reflection)", "Mentor check-in call every 10–15 days"],
excludes: ["Dedicated personal mentor", "Weekly 1-on-1 calls", "Priority support"],
best: "Serious aspirants who keep losing to inconsistency and need guidance.",
philosophy: "Most students fail not because they don't study, but because they cannot stay consistent long enough.",
},
},
{
key: "elite", name: "Elite Batch", price: ELITE_PRICE, oldPrice: null, flag: "Personal Mentor", featured: false, mentor: true,
tagline: "Personal mentorship and end-to-end support.",
mobileTagline: "For personal mentorship and end-to-end support.",
points: ["Personal mentor provided", "Daily reflection + observation", "End-to-end support"],
modal: {
sub: "Personal mentorship until selection — for students who refuse to prepare alone.",
badge: "Personal Mentor Provided",
includes: ["Everything in Advanced", "Dedicated personal mentor", "Weekly personal mentor call (1/week)", "Personal progress dashboard", "Mentor intervention system", "Personalized roadmap + priority support"],
excludes: [],
best: "Students targeting selection in this cycle who want a coach beside them.",
philosophy: "A teacher explains. A test evaluates. A mentor stays with you until you improve.",
},
},
];
// Apple-style grouped comparison — storytelling order: notes → practice → tracking → mentor.
const COMPARE_GROUPS = [
{
title: "Notes Support",
icon: "book-open",
rows: [
{ label: "English Notes", f: true, a: true, e: true },
{ label: "GS Notes", f: false, a: true, e: true },
{ label: "Maths Notes", f: false, a: true, e: true },
{ label: "Reasoning Notes", f: false, a: true, e: true },
],
},
{
title: "Practice + PYQ Support",
icon: "target",
rows: [
{ label: "Practice / Mock Questions", f: "2,500+", a: "10,000+", e: "10,000+" },
{ label: "PYQ Support", f: "Selected PYQs", a: "200+ PYQs", e: "200+ PYQs" },
],
},
{
title: "Tracking + Reflection",
icon: "trending-up",
rows: [
{ label: "Weak Area Detection", f: true, a: true, e: true },
{ label: "Habit Tracking", f: true, a: true, e: true },
{ label: "Monthly Growth Review", f: true, a: true, e: true },
{ label: "Daily Reflection", f: false, a: false, e: true },
{ label: "Daily Mentor Observation", f: false, a: true, e: true },
],
},
{
title: "Mentor Support",
icon: "user-round-check",
rows: [
{ label: "Mentor Check-in", f: true, a: true, e: true },
{ label: "Mentor Calls", f: "Monthly", a: "Weekly / 10–15 days", e: "Regular Personal" },
{ label: "Proper Guidance", f: "General", a: "Guided", e: "Personalized" },
{ label: "Personal Mentor", f: false, a: false, e: true },
{ label: "End-to-End Support", f: false, a: false, e: true },
],
},
];
/* Mobile-only: steps + key benefits that replace the FeatureStrip + Journey
sections on phones, so the story collapses into one screen. */
const MSYS_STEPS = [
{ ic: "book-open", label: "Learn" },
{ ic: "file-pen-line", label: "Practice" },
{ ic: "refresh-cw", label: "Revise" },
{ ic: "line-chart", label: "Analyze" },
{ ic: "trending-up", label: "Improve" },
];
const MSYS_BENEFITS = [
{ ic: "calendar-check", label: "Daily study plan" },
{ ic: "target", label: "Weak-area tracking" },
{ ic: "user-round-check", label: "Mentor follow-up" },
];
/* Mobile-only comparison keeps the decision to five short accordion groups. */
const MOBILE_COMPARE_GROUPS = [
{
title: "Study Plan",
icon: "book-open",
rows: [
{ label: "Daily plan", f: "Standard", a: "Priority", e: "Personalized" },
{ label: "Revision plan", f: true, a: true, e: true },
],
},
{
title: "Notes Support",
icon: "notebook-tabs",
rows: [
{ label: "English notes", f: true, a: true, e: true },
{ label: "All-subject notes", f: false, a: true, e: true },
],
},
{
title: "Practice + PYQ",
icon: "target",
rows: [
{ label: "Practice sets", f: true, a: true, e: true },
{ label: "PYQ support", f: "Selected", a: "Expanded", e: "Expanded" },
],
},
{
title: "Mentor Support",
icon: "user-round-check",
rows: [
{ label: "Check-in", f: "Monthly group", a: "10–15 days", e: "Weekly" },
{ label: "Personal mentor", f: false, a: false, e: true },
],
},
];
// "Who should buy it" — one positioning paragraph per batch.
const WHO_BUY = [
{
key: "foundation", name: "Foundation", price: "499", tier: "Starter",
text: "For students who need structure, English notes, daily tasks, a revision system, and basic practice support.",
},
{
key: "advanced", name: "Advanced", price: "799", featured: true, tier: "Limited Offer",
text: "For students who need accountability, all-subject notes, 10,000+ practice questions, PYQs, weak-area tracking, and regular mentor check-ins.",
},
{
key: "elite", name: "Elite", price: ELITE_PRICE, elite: true, tier: "Premium",
text: "For serious aspirants who want personal mentorship, daily reflection, proper personalized guidance, mentor observation, and end-to-end support.",
},
];
/* ============================================================
SECTIONS
============================================================ */
function Nav({ onJoin }) {
const [open, setOpen] = useState(false);
const close = () => setOpen(false);
return (
Personal mentorship, daily targets, revision tracking and performance guidance — until selection. Daily targets, mentor guidance, revision tracking — until selection.
Built for SSC CGL, CHSL, MTS & GD aspirants who need guidance, consistency and accountability.

Most students do not fail because they cannot study. They fail because they cannot stay consistent.
Rudra replaces willpower with a system — a mentor-led routine that keeps you guided, accountable and improving every single week.
{f.sub}
Students who complete the mentorship program with consistency may receive a RUDRA SSC Completion Certificate.
{b.sub}
Certification reflects program completion — not an exam result or government affiliation.
{w.text}
Three structured paths — from clear direction to a personal mentor who stays with you until selection.
{b.tagline}
{b.mobileTagline}
{w.text}
Take a short level-based mock test and share your details so the mentor can understand your current preparation level and guide the right batch path.
Before choosing a batch, take a free mock test and request mentorship access. This helps the mentor understand your level, weak areas, consistency, and preparation needs.
Completion certificate available for consistent students.
Our team will reach out on WhatsApp with your free mock test link and your mentorship assessment. No payment required to begin.