/* ============================================
   ScaleCraft — Premium Design System
   Purple/Violet Theme with Dark Mode
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Dark Theme Base */
    --bg-primary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-elevated: rgba(255, 255, 255, 0.05);
    
    /* Brand Colors - Minimal Blue */
    --purple-400: #60a5fa; /* Replaced purple with blue for accents */
    --purple-500: #3b82f6;
    --purple-600: #2563eb;
    --purple-700: #1d4ed8;
    --purple-800: #1e3a8a;
    
    --pink-500: #3b82f6; /* Replaced pink with blue */
    --green-400: #39ff14; 
    --green-500: #10b981;
    
    /* Neutrals */
    --text-primary: #f8fafc;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #2563eb);
    --gradient-accent: linear-gradient(135deg, #3b82f6, #60a5fa);
    --gradient-card-glow: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 50%);
    
    /* Shadows - Soft Premium Glows */
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.1);
    --shadow-glow-strong: 0 0 50px rgba(59, 130, 246, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1100px;
    --container-padding: 0 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Radii - Soft premium corners */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 16px; /* Slightly tighter rounded corners */
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

/* Selection */
::selection {
    background: rgba(168, 85, 247, 0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-800);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-600);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
    50% { box-shadow: 0 0 35px rgba(168, 85, 247, 0.4); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-400), var(--purple-300), var(--pink-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.nav-icon-btn:hover {
    border-color: var(--purple-500);
    color: var(--purple-400);
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
    transform: scale(1.05);
}

.nav-hamburger {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-default);
    background: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-base);
}

.nav-hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--bg-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 0;
    max-width: var(--container-max);
    margin: 0 auto;
}

.mobile-menu.active {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.mobile-menu a:hover {
    color: var(--purple-400);
    background: rgba(168, 85, 247, 0.08);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-outline:hover {
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.08);
    color: var(--purple-300);
    transform: translateY(-2px);
}

.btn-outline .arrow {
    transition: transform var(--transition-base);
}

.btn-outline:hover .arrow {
    transform: translateX(4px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ============================================
   Section Badges
   ============================================ */
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
}

.pricing-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--purple-500);
    border-radius: 50%;
    box-shadow: none;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-500);
    box-shadow: 0 0 8px var(--purple-500);
    animation: pulse-glow 2s infinite;
}

.badge-dot-purple { background: var(--purple-500); box-shadow: 0 0 8px var(--purple-500); }
.badge-dot-pink { background: var(--pink-500); box-shadow: 0 0 8px var(--pink-500); }
.badge-dot-green { background: var(--green-500); box-shadow: 0 0 8px var(--green-500); }

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-top: 1rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    max-width: 540px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    z-index: 1;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.avatar-stack {
    display: flex;
}

.avatar-stack .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
}

.avatar-stack .avatar:first-child {
    margin-left: 0;
}

.avatar-stack.small .avatar {
    width: 28px;
    height: 28px;
    font-size: 0.6rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text .stars {
    color: var(--amber-500);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.badge-text span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--purple-400);
    flex-shrink: 0;
}

.check-icon.purple { color: var(--purple-400); }
.check-icon.pink { color: var(--pink-500); }
.check-icon.green { color: var(--green-500); }

/* Hero Stats Grid */
.hero-stats-grid {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    animation: float 6s ease-in-out infinite;
}

.stat-card-1 { animation-delay: 0s; }
.stat-card-2 { animation-delay: 1.5s; }
.stat-card-3 { animation-delay: 3s; }
.stat-card-4 { animation-delay: 4.5s; }

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ============================================
   System Section (Features)
   ============================================ */
.system-section {
    padding: var(--section-padding);
    position: relative;
    background: var(--gradient-section-glow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.feature-card {
    --glow-x: 50%;
    --glow-y: -1000px;
    background: 
        radial-gradient(600px circle at var(--glow-x) var(--glow-y), rgba(168, 85, 247, 0.06), transparent 40%),
        var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--border-subtle);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        400px circle at var(--glow-x) var(--glow-y),
        rgba(168, 85, 247, 0.6),
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.feature-icon-purple {
    background: rgba(168, 85, 247, 0.12);
    color: var(--purple-400);
}
.feature-icon-pink {
    background: rgba(236, 72, 153, 0.12);
    color: var(--pink-500);
}
.feature-icon-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green-500);
}

.feature-card:hover .feature-icon-purple {
    background: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.feature-card:hover .feature-icon-pink {
    background: rgba(236, 72, 153, 0.25);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}
.feature-card:hover .feature-icon-green {
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.feature-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Phases Section
   ============================================ */
.phases-section {
    padding: var(--section-padding);
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 992px) {
    .phases-grid {
        grid-template-columns: 1fr;
    }
}

.phase-card {
    --glow-x: 50%;
    --glow-y: -1000px;
    background: 
        radial-gradient(600px circle at var(--glow-x) var(--glow-y), rgba(168, 85, 247, 0.08), transparent 40%),
        var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
}

.phase-card > * {
    position: relative;
    z-index: 2;
}

/* Static base border */
.phase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--border-subtle);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    transition: none; /* remove hover transition from before */
}

/* Glowing mouse-tracking border */
.phase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        400px circle at var(--glow-x) var(--glow-y),
        rgba(168, 85, 247, 0.8),
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.phase-card:hover::after {
    opacity: 1;
}

.phase-card:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
    transform: none;
    border-color: transparent;
}

.phase-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.phase-num-purple { color: var(--purple-500); }
.phase-num-pink { color: var(--pink-500); }
.phase-num-green { color: var(--green-500); }

.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.phase-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.phase-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.phase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.phase-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.phase-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.tag:hover {
    border-color: var(--purple-700);
    color: var(--purple-400);
}

/* ============================================
   Mentor Section (Premium Asymmetric)
   ============================================ */
.mentor-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.mentor-header {
    margin-bottom: 3rem;
    text-align: center;
}

.mentor-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-top: 1rem;
}

.mentor-cyber-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .mentor-cyber-grid {
        grid-template-columns: 1fr;
    }
}

.mentor-text-box {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(10px);
}

.mentor-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.mentor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.cyber-stat-box {
    display: flex;
    flex-direction: column;
}

.mentor-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mentor-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
}

.mentor-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow-strong);
    height: 100%;
    min-height: 500px;
}

.mentor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--transition-slow);
}

.mentor-image-wrapper:hover .mentor-photo {
    transform: scale(1.05);
}

.cyber-scanline {
    display: none; /* Removed from premium theme */
}

.mentor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mentor-image-wrapper:hover .mentor-photo {
    transform: scale(1.03);
}

.mentor-img-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-primary), transparent);

    z-index: 2;
}

.mentor-content {
    position: relative;
    z-index: 3;
}

.mentor-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.mentor-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 600px;
}

.mentor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.mentor-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mentor-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    padding: var(--section-padding);
}

.pricing-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.pricing-main-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.watch-first-badge {
    /* Styles merged into .pricing-badge, keeping class for future overrides */
}

.pricing-layout-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .pricing-layout-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-column-left,
.pricing-column-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    line-height: 0;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.course-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.pricing-card, .course-details-card, .lessons-card {
    --glow-x: 50%;
    --glow-y: -1000px;
    background: 
        radial-gradient(800px circle at var(--glow-x) var(--glow-y), rgba(59, 130, 246, 0.04), transparent 40%),
        var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform var(--transition-slow), border-color var(--transition-base), box-shadow var(--transition-slow);
}

.pricing-card {
    padding: 1.75rem;
}

.course-details-card, .lessons-card {
    padding: 1.5rem;
}

.pricing-card > *, .course-details-card > *, .lessons-card > * {
    position: relative;
    z-index: 2;
}

/* Glowing mouse-tracking background highlight on hover instead of complex masks */
.pricing-card::after, .course-details-card::after, .lessons-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        650px circle at var(--glow-x) var(--glow-y),
        rgba(59, 130, 246, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover::after, .course-details-card:hover::after, .lessons-card:hover::after {
    opacity: 1;
}

.pricing-card:hover, .course-details-card:hover, .lessons-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.1);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.course-details-card:hover, .lessons-card:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.pricing-title-row {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-price {
    text-align: right;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    letter-spacing: -0.03em;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.pfh-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.12);
    color: var(--purple-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-feature-highlight strong {
    display: block;
    margin-bottom: 0.25rem;
}

.pricing-feature-highlight p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 0;
}

.pricing-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pricing-social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Course Details Typography and specific child styles */

.course-details-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.course-details-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.course-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.course-meta-section h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.course-learn-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.course-learn-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.course-meta-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.course-includes {
    list-style: none;
}

.course-includes li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.2rem 0;
}

/* Lessons Card specific child styles */

.lessons-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.lesson-list {
    display: flex;
    flex-direction: column;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lesson-item:first-child {
    padding-top: 0;
}

.lesson-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lesson-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.lesson-name {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: #e2e8f0;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    overflow: hidden;
    position: relative;
}

.testimonials-section .container {
    text-align: center;
}

.testimonials-section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.testimonials-marquee {
    margin-top: 2rem;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.marquee-row-1 {
    animation: marquee-left 40s linear infinite;
}

.marquee-row-2 {
    animation: marquee-right 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 360px;
    flex-shrink: 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.testimonial-card .stars {
    color: var(--amber-500);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

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

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    font-size: 0.9rem;
    display: block;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: var(--section-padding);
}

.faq-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.faq-item.active {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--purple-300);
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--purple-400);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--section-padding);
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.06), transparent 40%);
    animation: spin-slow 20s linear infinite;
    pointer-events: none;
}

.cta-card .section-badge {
    margin-bottom: 1rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-links h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--purple-400);
    transform: translateX(4px);
}

.footer-links a.support-email-pill {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    color: var(--text-primary);
    transform: none; /* override hover translate if we want, or let it move */
}

.footer-links a.support-email-pill:hover {
    border-color: var(--purple-400);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom span:last-child {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .course-meta-grid {
        grid-template-columns: 1fr;
    }

    .mentor-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .pricing-title-row {
        flex-direction: column;
    }

    .pricing-price {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .testimonial-card {
        width: 300px;
    }

    .phase-card {
        padding: 1.5rem;
    }

    .phase-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.6rem 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .pricing-cta {
        flex-direction: column;
    }

    .pricing-cta .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .mentor-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .nav-icon-btn:not(#menu-toggle):not(.nav-hamburger) {
        display: none;
    }
}

/* ============================================
   Purple Side Glow Effect (like original blue glow)
   ============================================ */
.phases-section,
.pricing-section {
    position: relative;
}

.phases-section::before,
.pricing-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 30%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.04), transparent 70%);
    pointer-events: none;
}

.phases-section::after,
.pricing-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 30%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.04), transparent 70%);
    pointer-events: none;
}

/* Smooth border glow for cards on hover */
@keyframes border-glow-rotate {
    from { --angle: 0deg; }
    to { --angle: 360deg; }
}

/* Custom cursor trail (optional visual flair) */
body::after {
    content: '';
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.15s ease;
    transform: translate(var(--cursor-x, -200px), var(--cursor-y, -200px)) translate(-50%, -50%);
}

/* ============================================
   Light Mode Theme
   ============================================ */
body.light-mode {
    --bg-primary: #f8f6ff;
    --bg-secondary: #f0ecff;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f3ff;
    --bg-elevated: #ede9fe;
    --bg-input: #f5f3ff;

    --text-primary: #1a1035;
    --text-secondary: #5b5278;
    --text-muted: #8880a0;
    --text-accent: var(--purple-600);

    --border-subtle: rgba(109, 40, 217, 0.08);
    --border-default: rgba(109, 40, 217, 0.15);
    --border-hover: rgba(168, 85, 247, 0.35);
    --border-glow: rgba(168, 85, 247, 0.5);

    --gradient-hero: linear-gradient(180deg, rgba(168, 85, 247, 0.06) 0%, transparent 60%);
    --gradient-card-glow: radial-gradient(ellipse at top, rgba(168, 85, 247, 0.06), transparent 60%);
    --gradient-section-glow: radial-gradient(600px circle at 50% 0%, rgba(168, 85, 247, 0.04), transparent);

    --shadow-sm: 0 1px 3px rgba(109, 40, 217, 0.06);
    --shadow-md: 0 4px 12px rgba(109, 40, 217, 0.08);
    --shadow-lg: 0 10px 40px rgba(109, 40, 217, 0.1);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.08);
    --shadow-glow-strong: 0 0 60px rgba(168, 85, 247, 0.12);
}

/* Light mode specific overrides */
body.light-mode .navbar {
    background: rgba(248, 246, 255, 0.85);
    border-bottom-color: rgba(109, 40, 217, 0.08);
}

body.light-mode .navbar.scrolled {
    background: rgba(248, 246, 255, 0.97);
    box-shadow: 0 4px 30px rgba(109, 40, 217, 0.08);
}

body.light-mode .nav-icon-btn {
    background: #fff;
    border-color: rgba(109, 40, 217, 0.12);
    color: #5b5278;
}

body.light-mode .nav-icon-btn:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: var(--purple-400);
    color: var(--purple-600);
}

body.light-mode .nav-hamburger {
    background: #1a1035;
}

body.light-mode .nav-hamburger span {
    background: #fff;
}

body.light-mode .hero::before {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06), transparent 70%);
}

body.light-mode .stat-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.06);
}

body.light-mode .feature-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.05);
}

body.light-mode .phase-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(109, 40, 217, 0.05);
}

body.light-mode .pricing-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.06);
}

body.light-mode .pricing-feature-highlight {
    background: rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.12);
}

body.light-mode .course-details-card,
body.light-mode .lessons-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.05);
}

body.light-mode .testimonial-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.05);
}

body.light-mode .faq-item {
    background: #fff;
    box-shadow: 0 1px 4px rgba(109, 40, 217, 0.04);
}

body.light-mode .cta-card {
    background: #fff;
    box-shadow: 0 4px 30px rgba(109, 40, 217, 0.06);
}

body.light-mode .section-badge {
    background: #fff;
}

body.light-mode .tag {
    background: #f5f3ff;
}

body.light-mode .pricing-social-proof {
    background: #f5f3ff;
}

body.light-mode .btn-outline {
    background: #fff;
    color: #1a1035;
    border-color: rgba(109, 40, 217, 0.2);
}

body.light-mode .btn-outline:hover {
    background: rgba(168, 85, 247, 0.06);
    color: var(--purple-700);
}

body.light-mode .footer {
    border-top-color: rgba(109, 40, 217, 0.08);
}

body.light-mode .footer-bottom {
    border-top-color: rgba(109, 40, 217, 0.08);
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500), var(--pink-600));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .mobile-menu a {
    color: #5b5278;
}

body.light-mode .mobile-menu a:hover {
    color: var(--purple-600);
    background: rgba(168, 85, 247, 0.06);
}

body.light-mode ::selection {
    background: rgba(168, 85, 247, 0.2);
    color: #1a1035;
}

body.light-mode::-webkit-scrollbar-track {
    background: #f8f6ff;
}

body.light-mode::-webkit-scrollbar-thumb {
    background: var(--purple-300);
}

body.light-mode::after {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03), transparent 70%);
}

body.light-mode .mentor-image-container {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

body.light-mode .lesson-number {
    background: #f5f3ff;
}

body.light-mode .lesson-item:hover .lesson-number {
    background: rgba(168, 85, 247, 0.1);
}

body.light-mode .pfh-icon {
    background: rgba(168, 85, 247, 0.1);
}

body.light-mode .phase-badge {
    background: #f5f3ff;
}

body.light-mode .pricing-badge {
    background: #f5f3ff;
}

body.light-mode .avatar-stack .avatar {
    border-color: #f8f6ff;
}

/* Smooth transition for theme switching */
body, body * {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Override transition for elements that have their own specific transitions */
.btn, .nav-icon-btn, .feature-card, .phase-card, .pricing-card,
.testimonial-card, .faq-item, .stat-card, .lesson-item, .tag {
    transition: all var(--transition-base);
}

.animate-on-scroll {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ensure marquee keeps its animation transition */
.marquee-row-1 {
    transition: none !important;
}
.marquee-row-2 {
    transition: none !important;
}

/* Continuous Animations */
.hero-badge {
    animation: float 6s ease-in-out infinite;
}

.hero-stats-grid {
    animation: float 8s ease-in-out infinite reverse;
}
