/* ═══════════════════════════════════════════════
   Scarfaze Stars — Design System & Custom Styles
   ═══════════════════════════════════════════════
   Uses Bootstrap 5.3 for layout, grid, components.
   Custom CSS only for branding & unique components.
   ═══════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    --white: #ffffff;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --rose-500: #f43f5e;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
    --gradient-card: linear-gradient(180deg, #ffffff, #f8fafc);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.10);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ─── Base ─── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--blue-100);
    color: var(--blue-900);
}

/* Bootstrap uses its own padding-top for fixed navbars via CSS variables.
   We set it here since we're not using Bootstrap's navbar component class. */
.app-main-content {
    min-height: calc(100vh - 60px);
    padding-top: 80px;
}

/* ─── Glassmorphism Navbar (custom, not Bootstrap .navbar) ─── */
.app-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.75rem 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s, box-shadow 0.3s;
}

.app-navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.app-navbar .app-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.app-navbar .app-brand i {
    color: var(--amber-400);
    font-size: 1.5rem;
}

.app-navbar .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link.active {
    color: var(--slate-900);
    background: var(--slate-100);
}

.app-navbar .app-btn-apply {
    background: var(--slate-900);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.app-navbar .app-btn-apply:hover {
    background: var(--slate-800);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.app-navbar .navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: var(--slate-700);
}

.app-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ─── Hero Section ─── */
.app-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.app-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.app-hero-grid {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.app-hero-float {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
}

.app-hero-float-1 {
    width: 300px;
    height: 300px;
    background: var(--blue-500);
    top: -10%;
    right: -5%;
    filter: blur(80px);
    animation: app-float 20s ease-in-out infinite;
}

.app-hero-float-2 {
    width: 200px;
    height: 200px;
    background: var(--violet-500);
    bottom: -5%;
    left: -3%;
    filter: blur(60px);
    animation: app-float 25s ease-in-out infinite reverse;
}

.app-hero-float-3 {
    width: 150px;
    height: 150px;
    background: var(--amber-400);
    top: 40%;
    right: 30%;
    filter: blur(50px);
    animation: app-float 18s ease-in-out infinite 3s;
}

@keyframes app-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.app-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.4rem 1rem 0.4rem 0.5rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.app-hero-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.app-hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    display: inline-block;
    animation: app-pulse-dot 2s ease-in-out infinite;
}

@keyframes app-pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.app-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.app-hero .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.app-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.app-btn-primary {
    background: var(--gradient-accent);
    color: var(--slate-900);
    border: none;
    padding: 0.85rem 2.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.app-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    color: var(--slate-900);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.app-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.85rem 2.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.app-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.app-btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--slate-100);
    color: var(--slate-600);
    border: 1px solid var(--slate-200);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.app-btn-ghost-dark:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

.app-hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.app-hero-stats .stat-item {
    color: rgba(255, 255, 255, 0.8);
}

.app-hero-stats .stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.app-hero-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ─── Section Header ─── */
.app-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.app-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.app-section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.app-section-header p {
    font-size: 1.1rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ─── Feature Cards ─── */
.app-feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.app-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.35s;
}

.app-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-200);
}

.app-feature-card:hover::before {
    opacity: 1;
}

.app-feature-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    transition: all 0.35s;
}

.app-feature-card:hover .icon-wrap {
    transform: scale(1.05);
}

.app-feature-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--slate-900);
    margin-bottom: 0.6rem;
}

.app-feature-card p {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin: 0;
}

/* ─── Course Cards ─── */
.app-course-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.app-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.app-course-card .course-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.app-course-card h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.app-course-card p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.app-course-card .course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-100);
}

.app-course-card .duration-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-500);
    background: var(--slate-100);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.app-course-card .course-fee {
    font-weight: 700;
    font-size: 1rem;
    color: var(--blue-600);
}

/* ─── Stats Section ─── */
.app-stats-grid {
    background: var(--slate-900);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
}

.app-stats-grid .stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.app-stats-grid .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ─── Testimonials ─── */
.app-testimonial-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.35s;
    height: 100%;
}

.app-testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--slate-200);
}

.app-testimonial-card .stars {
    color: var(--amber-400);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.app-testimonial-card blockquote {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.app-testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-testimonial-card .author .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.app-testimonial-card .author .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.app-testimonial-card .author .title {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ─── CTA Section ─── */
.app-cta {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.app-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.app-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.app-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.app-btn-cta {
    background: var(--gradient-accent);
    color: var(--slate-900);
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

.app-btn-cta:hover {
    transform: translateY(-2px) scale(1.02);
    color: var(--slate-900);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.35);
}

/* ─── FAQ ─── */
.app-faq-item {
    border: 1px solid var(--slate-100);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.app-faq-item:hover {
    border-color: var(--slate-200);
}

.app-faq-question {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-800);
    transition: all 0.2s;
    border: none;
    width: 100%;
    text-align: left;
}

.app-faq-question:hover {
    color: var(--blue-600);
}

.app-faq-question i {
    transition: transform 0.3s;
    font-size: 0.85rem;
    color: var(--slate-400);
}

.app-faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.app-faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ─── Premium Footer (custom) ─── */
.app-footer {
    background: var(--slate-900);
    padding: 5rem 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.app-footer h5 {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.app-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
    padding: 0.15rem 0;
}

.app-footer a:hover {
    color: #fff;
}

.app-footer .footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.app-footer .footer-brand i {
    color: var(--amber-400);
}

.app-footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.app-footer .social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.25s;
}

.app-footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.app-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.85rem;
}

/* ─── Utility ─── */
.app-glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

.app-gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Admission Form Steps ─── */
.app-step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #e2e8f0;
    color: #94a3b8;
    transition: all 0.3s;
}

.app-step-indicator.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.app-step-indicator.completed {
    background: #059669;
    color: #fff;
}

.app-step-line {
    width: 40px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 4px;
    border-radius: 2px;
}

.app-step-line.completed {
    background: #059669;
}

.app-course-checkbox {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-course-checkbox:hover {
    border-color: var(--blue-500);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.app-course-checkbox.selected {
    border-color: var(--blue-600);
    background: #eff6ff;
}

.app-course-checkbox.has-discount {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fff);
}

.app-course-checkbox.has-discount.selected {
    border-color: var(--blue-600);
}

.app-discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 0 12px 0 12px;
}

.app-original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.app-payment-option {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.app-payment-option:hover {
    border-color: var(--blue-500);
}

.app-payment-option.active {
    border-color: var(--blue-600);
    background: #eff6ff;
}

.app-payment-option input {
    display: none;
}

/* ─── Admin: Timeline ─── */
.app-timeline {
    position: relative;
    padding-left: 2rem;
}

.app-timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.app-timeline-marker {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px currentColor;
}

.app-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -1.55rem;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: var(--slate-200);
}

/* ─── Theme Switcher ─── */
.app-theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.app-theme-switcher button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.2s;
}

.app-theme-switcher button:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-600);
    color: var(--blue-600);
}

/* ─── Animations ─── */
@keyframes app-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes app-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.anim-fade-up {
    animation: app-fade-up 0.6s ease forwards;
}

.anim-fade-in {
    animation: app-fade-in 0.6s ease forwards;
}

.anim-delay-1 {
    animation-delay: 0.1s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.3s;
}

.anim-delay-4 {
    animation-delay: 0.4s;
}

.anim-delay-5 {
    animation-delay: 0.5s;
}

.app-step:not(.d-none) {
    animation: app-fade-in 0.3s ease;
}

/* ─── Dark Mode — uses Bootstrap 5.3 CSS variables ─── */
[data-bs-theme="dark"] {
    --slate-50: #1a1f2e;
    --slate-100: #1e293b;
    --slate-200: #334155;
    --slate-300: #475569;
    --slate-400: #64748b;
    --slate-500: #94a3b8;
    --gradient-card: linear-gradient(180deg, #1e293b, #1a1f2e);
    --glass-bg: rgba(30, 41, 59, 0.72);
    --glass-border: rgba(51, 65, 85, 0.18);
}

[data-bs-theme="dark"] .app-navbar {
    background: var(--glass-bg);
}

[data-bs-theme="dark"] .app-navbar.scrolled {
    background: rgba(30, 41, 59, 0.85);
}

[data-bs-theme="dark"] .app-navbar .nav-link {
    color: var(--slate-400);
}

[data-bs-theme="dark"] .app-navbar .nav-link:hover,
[data-bs-theme="dark"] .app-navbar .nav-link.active {
    color: #fff;
    background: var(--slate-700);
}

[data-bs-theme="dark"] .app-navbar .navbar-toggler {
    color: var(--slate-400);
}

[data-bs-theme="dark"] .app-feature-card,
[data-bs-theme="dark"] .app-course-card,
[data-bs-theme="dark"] .app-testimonial-card,
[data-bs-theme="dark"] .app-faq-question {
    background: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .app-feature-card:hover,
[data-bs-theme="dark"] .app-course-card:hover,
[data-bs-theme="dark"] .app-testimonial-card:hover {
    border-color: #475569;
}

[data-bs-theme="dark"] .app-feature-card p,
[data-bs-theme="dark"] .app-course-card p,
[data-bs-theme="dark"] .app-testimonial-card blockquote,
[data-bs-theme="dark"] .app-faq-answer {
    color: var(--slate-400);
}

[data-bs-theme="dark"] .app-feature-card h5,
[data-bs-theme="dark"] .app-course-card h5,
[data-bs-theme="dark"] .app-testimonial-card .author .name,
[data-bs-theme="dark"] .app-faq-question {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .app-course-card .course-meta {
    border-color: #334155;
}

[data-bs-theme="dark"] .app-section-header h2 {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .app-step-indicator {
    background: #334155;
    color: #64748b;
}

[data-bs-theme="dark"] .app-course-checkbox {
    border-color: #334155;
}

[data-bs-theme="dark"] .app-course-checkbox:hover {
    border-color: var(--blue-400);
}

[data-bs-theme="dark"] .app-course-checkbox.selected {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--blue-600);
}

[data-bs-theme="dark"] .app-theme-switcher button {
    background: #1e293b;
    border-color: #334155;
    color: var(--slate-400);
}

[data-bs-theme="dark"] .app-btn-ghost-dark {
    background: #334155;
    color: var(--slate-300);
    border-color: #475569;
}

[data-bs-theme="dark"] .app-btn-ghost-dark:hover {
    background: #475569;
    color: #fff;
}

[data-bs-theme="dark"] .app-faq-item {
    border-color: #334155;
}

[data-bs-theme="dark"] .app-faq-item:hover {
    border-color: #475569;
}

[data-bs-theme="dark"] .app-timeline-item:not(:last-child)::before {
    background: #334155;
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
    .app-navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    .app-hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .app-stats-grid .stat-num {
        font-size: 2rem;
    }

    [data-bs-theme="dark"] .app-navbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
    }
}

@media (max-width: 575.98px) {
    .app-hero-actions {
        flex-direction: column;
    }

    .app-hero-actions .app-btn-primary,
    .app-hero-actions .app-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .app-cta {
        padding: 3rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .app-footer {
        padding: 3rem 0 0;
    }
}

/* ═══════════════════════════════════════════════
   Component Classes (replaced inline styles)
   ═══════════════════════════════════════════════ */

/* ─── Features Section Top Padding ─── */
.app-features-section {
    padding-top: 6rem;
}

/* ─── Hero Glass Card (testimonial card in hero column) ─── */
.app-hero-glass-card {
    max-width: 380px;
    transform: perspective(800px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.6s ease;
    animation: app-fade-up 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* ─── Quote Card Elements ─── */
.app-quote-mark {
    color: var(--amber-400);
}

.app-hero-quote {
    color: var(--slate-700);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.app-quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--amber-100);
    color: var(--amber-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.app-quote-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.app-quote-role {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ─── Announcement Banner Elements ─── */
.app-announce-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--amber-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--amber-500);
    font-size: 0.85rem;
}

.app-announce-title {
    color: var(--slate-900);
    font-size: 0.9rem;
}

.app-announce-body {
    color: var(--slate-500);
    font-size: 0.85rem;
}

/* ─── CTA Perks Row ─── */
.app-cta-perks {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.app-cta-perks .bi-check-circle-fill {
    color: var(--emerald-500);
}

/* ─── Dark Mode: New Component Classes ─── */
[data-bs-theme="dark"] .app-hero-quote {
    color: var(--slate-300);
}

[data-bs-theme="dark"] .app-quote-name {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .app-announce-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .app-announce-body {
    color: #94a3b8;
}

[data-bs-theme="dark"] .app-announce-icon {
    background: rgba(251, 191, 36, 0.15);
    color: var(--amber-400);
}

/* ─── Admin Navbar Dark Mode ─── */
[data-bs-theme="dark"] .app-admin-main>.navbar {
    background-color: #1e293b;
    border-bottom-color: #334155;
}

/* ─── Footer Contact & Tagline (Replaced inline styles) ─── */
.app-footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 320px;
}

.app-footer-contact {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.app-footer-icon {
    width: 16px;
    flex-shrink: 0;
}