/* Path101 - Ultra Modern Gen Z Landing Page 2026 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'RB Regular';
    src: url('../fonts/RB Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RB Bold';
    src: url('../fonts/RB Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Neon Color System */
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-blue: #3b82f6;
    --neon-cyan: #06b6d4;
    --neon-green: #22c55e;
    --neon-orange: #f97316;
    --neon-yellow: #eab308;
    
    /* Core Colors */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --accent-hot: #ff006e;
    
    /* Dark Theme Base */
    --bg-dark: #0a0a0f;
    --bg-darker: #050507;
    --bg-card: rgba(20, 20, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-hot: linear-gradient(135deg, #ff006e 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-cyber: linear-gradient(135deg, #00f5d4 0%, #00bbf9 50%, #9b5de5 100%);
    --gradient-sunset: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
    --gradient-aurora: linear-gradient(135deg, #22c55e 0%, #06b6d4 50%, #a855f7 100%);
    --gradient-text: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4, #22c55e, #a855f7);
    
    /* Effects */
    --glow-purple: 0 0 40px rgba(139, 92, 246, 0.5);
    --glow-pink: 0 0 40px rgba(236, 72, 153, 0.5);
    --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.5);
    --glow-hot: 0 0 60px rgba(255, 0, 110, 0.4);
    
    /* Borders */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-glow: 1px solid rgba(139, 92, 246, 0.3);
    
    /* Shadows */
    --shadow-elevated: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-float: 0 20px 40px rgba(139, 92, 246, 0.2);
    
    /* Spacing */
    --nav-height: 80px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
    font-family: 'RB Regular', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 48px);
    max-width: 1400px;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, top 0.4s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.1);
    transform: translateY(0);
    opacity: 1;
}

.navbar.navbar-hidden {
    transform: translateY(-120%);
    opacity: 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.3);
    top: 8px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 2rem;
    padding: 0 32px;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-link { display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.brand-logo { width:48px; height:48px; object-fit:contain; background: transparent; box-shadow: none; border: none; border-radius: 0; filter: none; }

.brand-highlight {
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search */
.nav-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 48px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'RB Regular', inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-glass-hover);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.search-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--primary);
    transform: translateY(-50%) scale(1.2);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-hot);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::before {
    width: 100%;
}

/* Action CTA Button */
.nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-hot);
    color: white !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: ctaPulse 2s ease-in-out infinite;
}

.nav-action-btn .btn-text {
    position: relative;
    z-index: 2;
}

.nav-action-btn .btn-icon {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    animation: rocketFloat 1.5s ease-in-out infinite;
}

.nav-action-btn .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.nav-action-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.6), 0 4px 16px rgba(236, 72, 153, 0.4);
}

.nav-action-btn:hover::before {
    left: 100%;
}

.nav-action-btn:hover .btn-glow {
    opacity: 1;
}

.nav-action-btn:active {
    transform: translateY(-2px) scale(1.05);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 4px 24px rgba(139, 92, 246, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 30px rgba(139, 92, 246, 0.3);
    }
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-5deg);
    }
    75% {
        transform: translateY(-1px) rotate(5deg);
    }
}

@keyframes mobileBtnPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 28px rgba(139, 92, 246, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.2), 0 0 40px rgba(139, 92, 246, 0.4);
        transform: scale(1.05);
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

/* Aurora Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: auroraMove 15s ease-in-out infinite;
}

@keyframes auroraMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 2%) rotate(5deg); }
    66% { transform: translate(-2%, -1%) rotate(-3deg); }
}

/* Floating Orbs */
.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

/* Hero Content */
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 60px 0;
}

/* Hero Text Content */
.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    animation: badgePulse 3s ease-in-out infinite;
}

/* Add extra space before the badge to separate it from top content */
.hero-text .hero-badge { margin-top: 16px; }

/* Hide numeric counters in hero (keep labels) */
.hero .stat-number { display: none; }

/* Keep the typed text area stable by reserving fixed inline space */
#typedText, .typed-text { display: inline-block; min-width: 16ch; max-width: 28ch; width: 20ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-title span {
    display: block;
}

.hero-title .gradient-text {
    background: var(--gradient-text);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.typed-text {
    color: var(--accent);
    position: relative;
}

.typed-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: cursorBlink 1s step-end infinite;
    color: var(--accent-hot);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Scroll Down Button */
.scroll-down-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 92, 246, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.scroll-down-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.scroll-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.5);
    animation: pulse-ring 2s ease-out infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--gradient-hot);
    color: white;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--glow-purple);
}

.btn-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-white {
    background: white;
    color: var(--bg-dark);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-float);
    animation: cardFloat 4s ease-in-out infinite;
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--glow-purple);
    border-color: var(--primary);
}

.card-1 {
    top: 5%;
    right: 15%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 0%;
    animation-delay: 1s;
}

.card-3 {
    top: 75%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Central Holographic Element */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-aurora);
    filter: blur(40px);
    opacity: 0.4;
    animation: holoPulse 4s ease-in-out infinite;
}

@keyframes holoPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* ============ SECTIONS COMMON ============ */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title .highlight {
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* ============ MISSION SECTION ============ */
.mission {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hot);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.mission-card:hover::before {
    opacity: 0.1;
}

.mission-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--glow-purple);
}

.mission-icon {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    animation: iconBounce 3s ease-in-out infinite;
}

.mission-card:nth-child(2) .mission-icon { animation-delay: 0.5s; }
.mission-card:nth-child(3) .mission-icon { animation-delay: 1s; }

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

.mission-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============ CATEGORIES SECTION ============ */
.categories {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-hot);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    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.5s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:nth-child(1) { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%); }
.category-card:nth-child(2) { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.05) 100%); }
.category-card:nth-child(3) { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%); }
.category-card:nth-child(4) { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%); }

.category-card:hover {
    transform: translateY(-15px) scale(1.05);
}

.category-card:nth-child(1):hover { box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4); }
.category-card:nth-child(2):hover { box-shadow: 0 20px 60px rgba(236, 72, 153, 0.4); }
.category-card:nth-child(3):hover { box-shadow: 0 20px 60px rgba(6, 182, 212, 0.4); }
.category-card:nth-child(4):hover { box-shadow: 0 20px 60px rgba(34, 197, 94, 0.4); }

.cat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    font-weight: 600;
}

/* ============ COURSES SECTION ============ */
.courses {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

/* Two-Layer Filter System */
.filter-layer-1 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-layer-2 {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-type-tab {
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    font-family: 'RB Bold', inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-type-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-type-tab:hover::before {
    left: 100%;
}

.filter-type-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.filter-type-tab.active {
    background: var(--gradient-hot);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

.filter-status-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'RB Regular', inherit;
    transition: all 0.3s ease;
}

.filter-status-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-status-tab.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.course-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-float);
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--neon-green);
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.course-badge.bootcamp {
    background: var(--neon-orange);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.course-badge.upcoming {
    background: var(--neon-cyan);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.course-upcoming-tag {
    position: absolute;
    top: 4rem;
    left: 1rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.course-upcoming-tag span {
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(245, 158, 11, 0.7);
    }
}

.course-icon {
    font-size: 4rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
}

.course-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.course-card > p {
    color: var(--text-secondary);
    padding: 0 1.5rem;
    flex: 1;
    line-height: 1.7;
}

/* Description Truncation Styles */
.description-container {
    padding: 0 1.5rem;
    flex: 1;
}

.description-text {
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.description-text.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--primary-light);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.show-more-btn:hover {
    color: var(--neon-purple);
    transform: translateX(-5px);
}

.show-more-btn.show-less {
    text-decoration: underline;
}

.course-meta {
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.course-meta span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    font-weight: 600;
    color: #fbbf24;
    transition: all 0.3s ease;
}

.course-meta span:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateX(5px);
}

.course-price {
    padding: 0 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-price .new {
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-price .old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.course-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* ============ MENTORSHIP SECTION ============ */
.mentorship {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.mentorship::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.mentorship-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mentorship-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.mentorship-info > p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.mentorship-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.mentorship-benefits li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.mentorship-benefits li:hover {
    color: var(--text-primary);
    transform: translateX(-10px);
}

.mentorship-benefits li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-hot);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

/* Mentorship Form */
.mentorship-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: 'RB Regular', inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 48px;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* ============ EVENTS SECTION ============ */
.events {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card.featured {
    border: 2px solid var(--accent-hot);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.2);
}

.event-card.featured::before {
    content: '🔥 مميز';
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 8px 16px;
    background: var(--accent-hot);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-float);
}

.event-date {
    background: var(--gradient-hot);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
}

.event-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    padding: 1.5rem 1.5rem 0.5rem;
}

.event-card > p {
    color: var(--text-secondary);
    padding: 0 1.5rem;
    line-height: 1.7;
}

.event-info {
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-attendees {
    padding: 0 1.5rem 1rem;
    color: var(--neon-green);
    font-weight: 600;
}

.event-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* ============ CTA SECTION - MODERN SKY DESIGN ============ */
.cta-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

/* Sky Background */
.sky-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sky-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #0a0a1a 0%,
        #0d1b2a 20%,
        #1b263b 40%,
        #415a77 60%,
        #778da9 80%,
        #e0e1dd 100%
    );
}

/* Animated Stars */
.stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 200px, white, transparent),
        radial-gradient(2px 2px at 420px 50px, rgba(255,255,255,0.8), transparent);
    background-size: 500px 500px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Aurora Effect */
.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 50%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.15) 25%,
        rgba(6, 182, 212, 0.1) 50%,
        rgba(236, 72, 153, 0.12) 75%,
        transparent 100%
    );
    filter: blur(60px);
    animation: aurora 15s ease-in-out infinite;
    transform: translateX(-25%);
}

@keyframes aurora {
    0%, 100% { transform: translateX(-25%) skewX(-5deg); }
    50% { transform: translateX(0%) skewX(5deg); }
}

/* Clouds */
.clouds {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.6;
}

.cloud {
    position: absolute;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    border-radius: 100px;
    filter: blur(30px);
}

.cloud-1 {
    width: 300px;
    height: 80px;
    bottom: 20%;
    left: -10%;
    animation: cloud-float 25s ease-in-out infinite;
}

.cloud-2 {
    width: 400px;
    height: 100px;
    bottom: 30%;
    right: -15%;
    animation: cloud-float 30s ease-in-out infinite reverse;
}

.cloud-3 {
    width: 250px;
    height: 60px;
    bottom: 15%;
    left: 40%;
    animation: cloud-float 20s ease-in-out infinite;
}

@keyframes cloud-float {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30px) translateY(-10px); }
    50% { transform: translateX(60px) translateY(0); }
    75% { transform: translateX(30px) translateY(10px); }
}

/* 3D Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation: float3d 8s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 25%;
    right: 15%;
    animation: float3d 10s ease-in-out infinite reverse;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 15%;
    animation: float3d 7s ease-in-out infinite 1s;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    right: 10%;
    animation: float3d 9s ease-in-out infinite 0.5s;
}

@keyframes float3d {
    0%, 100% { 
        transform: translateY(0) translateZ(0) rotateX(0) rotateY(0);
    }
    25% { 
        transform: translateY(-30px) translateZ(50px) rotateX(10deg) rotateY(10deg);
    }
    50% { 
        transform: translateY(-15px) translateZ(25px) rotateX(-5deg) rotateY(-5deg);
    }
    75% { 
        transform: translateY(-40px) translateZ(40px) rotateX(5deg) rotateY(-10deg);
    }
}

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Logo Wrapper */
.cta-logo-wrapper {
    margin-bottom: 2rem;
}

.logo-3d-container {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.cta-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: relative;
    z-index: 3;
    animation: logo-float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.4));
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(5deg); }
    50% { transform: translateY(-5px) rotateY(0deg); }
    75% { transform: translateY(-15px) rotateY(-5deg); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    filter: blur(20px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation: ring-expand 3s ease-out infinite;
}

.ring-2 {
    width: 140px;
    height: 140px;
    animation: ring-expand 3s ease-out infinite 1s;
}

.ring-3 {
    width: 140px;
    height: 140px;
    animation: ring-expand 3s ease-out infinite 2s;
}

@keyframes ring-expand {
    0% { 
        width: 100px;
        height: 100px;
        opacity: 0.8;
        border-color: rgba(139, 92, 246, 0.5);
    }
    100% { 
        width: 200px;
        height: 200px;
        opacity: 0;
        border-color: rgba(139, 92, 246, 0);
    }
}

/* Heading */
.cta-heading {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'RB Bold', sans-serif;
}

.heading-line {
    display: block;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.heading-gradient {
    display: block;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease-in-out infinite;
}

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

/* Subtext */
.cta-subtext {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: 'RB Regular', sans-serif;
}

.highlight-text {
    display: inline-block;
    margin-top: 0.5rem;
    color: #06b6d4;
    font-weight: 600;
}

/* CTA Button */
.cta-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'RB Bold', sans-serif;
    color: white;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 60px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 10px 40px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    animation: btn-gradient 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cta-main-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.5),
        0 0 0 2px rgba(255,255,255,0.2) inset;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.5rem;
    animation: rocket-shake 0.5s ease-in-out infinite;
}

@keyframes rocket-shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-2px) rotate(-5deg); }
    75% { transform: translateX(2px) rotate(5deg); }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-main-btn:hover .btn-shine {
    left: 100%;
}

.btn-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.btn-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

.cta-main-btn:hover .btn-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: particle-fly 0.6s ease-out forwards;
}

.cta-main-btn:hover .btn-particles span:nth-child(2) {
    top: 50%;
    right: 15%;
    animation: particle-fly 0.6s ease-out forwards 0.1s;
}

.cta-main-btn:hover .btn-particles span:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation: particle-fly 0.6s ease-out forwards 0.2s;
}

@keyframes particle-fly {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--x, 20px), var(--y, -30px)) scale(0); }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    font-family: 'RB Bold', sans-serif;
}

.trust-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent);
}

/* Mobile First Responsive */
@media (max-width: 480px) {
    .cta-modern {
        padding: 80px 16px;
        min-height: auto;
    }

    .cta-logo {
        width: 80px;
        height: 80px;
    }

    .logo-glow {
        width: 120px;
        height: 120px;
    }

    .cta-heading {
        font-size: 1.8rem;
    }

    .cta-subtext {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .cta-main-btn {
        padding: 16px 36px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 280px;
    }

    .trust-badges {
        gap: 1rem;
    }

    .trust-number {
        font-size: 1.2rem;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        flex: 1;
        min-width: 80px;
    }

    .shape {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .cta-modern {
        padding: 80px 24px;
    }

    .cta-logo {
        width: 90px;
        height: 90px;
    }

    .shape-1, .shape-4 {
        display: none;
    }
}

@media (min-width: 769px) {
    .cta-modern {
        padding: 100px 40px;
    }

    .cta-logo {
        width: 120px;
        height: 120px;
    }

    .logo-glow {
        width: 180px;
        height: 180px;
    }
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: var(--border-glass);
}

/* ============ AUTH PAGES (LOGIN/REGISTER) ============ */
.app-light {
    /* Scoped light theme overrides (do NOT affect landing page) */
    --bg-dark: #f5f7fb;
    --bg-darker: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);

    --text-primary: #0b1220;
    --text-secondary: rgba(11, 18, 32, 0.72);
    --text-muted: rgba(11, 18, 32, 0.52);

    --border-glass: 1px solid rgba(11, 18, 32, 0.10);
    --border-glow: 1px solid rgba(139, 92, 246, 0.25);

    --shadow-elevated: 0 25px 50px -12px rgba(11, 18, 32, 0.18);
}

.app-light {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.app-light .navbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.app-light .nav-link,
.app-light .nav-menu a {
    color: rgba(11, 18, 32, 0.85);
}

.app-light .nav-link:hover,
.app-light .nav-menu a:hover {
    color: var(--primary-dark);
}

.app-light .brand-logo {
    filter: drop-shadow(0 10px 24px rgba(11, 18, 32, 0.10));
}

.auth-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 16px 40px;
    position: relative;
    overflow: hidden;
}

.auth-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.18), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.12), transparent 42%),
        radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.10), transparent 45%);
    pointer-events: none;
}

/* Make auth pages light by default when using app-light */
.app-light.auth-page {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.auth-card {
    width: 100%;
    max-width: 560px;
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(16px);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(139, 92, 246, 0.35));
}



.auth-title {
    font-family: 'RB Bold', sans-serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-family: 'RB Regular', sans-serif;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-grid-2 {
    display: grid;
    gap: 12px;
}

.auth-label {
    display: block;
    font-family: 'RB Regular', sans-serif;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.auth-input,
.auth-select,
.auth-textarea {
    width: 100%;
    padding: 14px 14px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-family: 'RB Regular', sans-serif;
    outline: none;
    transition: all 0.25s ease;
}

/* Dropdown option text should be black */
.auth-select option,
select option {
    color: #000;
}

/* Simple status badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-family: 'RB Bold', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.badge-pending {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.25);
    background: rgba(124, 58, 237, 0.10);
}

.badge-approved {
    color: #166534;
    border-color: rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.10);
}

.badge-rejected {
    color: #9f1239;
    border-color: rgba(236, 72, 153, 0.25);
    background: rgba(236, 72, 153, 0.10);
}

.auth-input::placeholder,
.auth-textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.auth-input:focus,
.auth-select:focus,
.auth-textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.auth-textarea {
    min-height: 120px;
    resize: vertical;
}

.auth-help {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.auth-actions {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.auth-links {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-family: 'RB Bold', sans-serif;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-back {
    margin-top: 14px;
    text-align: center;
}

.auth-back a {
    color: var(--text-secondary);
    text-decoration: none;
}

.auth-back a:hover {
    color: var(--text-primary);
}

/* Alerts */
.auth-alerts { margin-bottom: 14px; }

.alert {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.alert-error {
    border-color: rgba(236, 72, 153, 0.45);
    background: rgba(236, 72, 153, 0.12);
}

.alert-success {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.12);
}

.alert-info {
    border-color: rgba(6, 182, 212, 0.45);
    background: rgba(6, 182, 212, 0.10);
}

/* Simple table styles (used by superadmin users page) */
.table-wrap {
    width: 100%;
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    background: rgba(255, 255, 255, 0.02);
}

.data-table th,
.data-table td {
    padding: 12px 12px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    vertical-align: middle;
}

.data-table th {
    color: var(--text-primary);
    font-family: 'RB Bold', sans-serif;
    background: rgba(255, 255, 255, 0.03);
}

.inline-form { display: inline; }

/* Toggle */
.toggle {
    display: inline-flex;
    align-items: center;
}

.toggle input { display: none; }

.toggle-ui {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    transition: all 0.25s ease;
}

.toggle-ui::after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.25s ease;
}

.toggle input:checked + .toggle-ui {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.35);
}

.toggle input:checked + .toggle-ui::after {
    right: 23px;
    background: rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
    .auth-card { padding: 28px 26px; }
    .auth-grid-2 { grid-template-columns: 1fr 1fr; }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border-glass);
    color: var(--text-muted);
}

/* ============ PARTICLES ============ */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* ============ SCROLL ANIMATIONS ============ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(60px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-60px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .mentorship-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .navbar {
        top: 8px;
        width: calc(100% - 24px);
        border-radius: 20px;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .nav-search {
        display: none;
    }
    
    .nav-action-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 6px;
        animation: mobileBtnPulse 2s ease-in-out infinite;
    }
    
    .nav-action-btn .btn-icon {
        font-size: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--nav-height) + 16px);
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--nav-height) - 32px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(139, 92, 246, 0.2);
        border-radius: 20px;
        margin: 0 12px;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mission-cards,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        width: calc(100% - 16px);
        border-radius: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .floating-card {
        padding: 16px 20px;
        font-size: 0.9rem;
    }
    
    .mentorship-form {
        padding: 1.5rem;
    }
    
    .course-card h3,
    .event-card h3 {
        font-size: 1.2rem;
    }
}

/* ============ UTILITIES ============ */
.text-gradient {
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-hot);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: white;
}

/* ============ COURSES EMPTY STATE ============ */
.courses-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.empty-state-title {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.empty-state-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.empty-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: 15px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.empty-feature:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-5px);
    box-shadow: var(--glow-purple);
}

.feature-icon {
    font-size: 2.5rem;
}

.empty-feature span:last-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.empty-state-social {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.empty-state-social strong {
    color: var(--text-primary);
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.empty-state-actions .btn {
    min-width: 200px;
}

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

@media (max-width: 768px) {
    .empty-state-icon {
        font-size: 4rem;
    }
    
    .empty-state-title {
        font-size: 1.5rem;
    }
    
    .empty-state-text {
        font-size: 1rem;
    }
    
    .empty-state-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .empty-feature {
        width: 100%;
    }
    
    .empty-state-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .empty-state-actions .btn {
        width: 100%;
    }
}

/* ============ ADMIN SIDE NAVIGATION ============ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-left: 1px solid rgba(139, 92, 246, 0.1);
    padding: 2rem 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.admin-sidebar-header {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 1.5rem;
}

.admin-sidebar-header .brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.admin-sidebar-header .brand-logo {
    width: 40px;
    height: auto;
}

.admin-sidebar-header .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-hot);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-sidebar-user {
    padding: 1rem 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    margin: 0 1rem 1.5rem;
    border-radius: 12px;
}

.admin-sidebar-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.admin-sidebar-user-role {
    font-size: 0.75rem;
    color: var(--text-light);
}

.admin-nav {
    padding: 0 1rem;
}

.admin-nav-section {
    margin-bottom: 2rem;
}

.admin-nav-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 0 0.5rem 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
    position: relative;
    overflow: hidden;
}

.admin-nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-hot);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.admin-nav-link:hover {
    background: rgba(139, 92, 246, 0.08);
    color: var(--primary);
    transform: translateX(-2px);
}

.admin-nav-link.active {
    background: rgba(139, 92, 246, 0.12);
    color: var(--primary);
    font-weight: 600;
}

.admin-nav-link.active::before {
    transform: scaleY(1);
}

.admin-nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.admin-nav-text {
    flex: 1;
}

.admin-nav-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    background: var(--gradient-hot);
    color: white;
    border-radius: 12px;
    font-weight: 700;
}

.admin-main {
    margin-right: 280px;
    flex: 1;
    min-height: 100vh;
    padding: 2rem;
}

.admin-header {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header-left h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.admin-header-left p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.admin-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.admin-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: var(--primary);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Compact Data Table */
.compact-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.compact-table thead th {
    background: rgba(139, 92, 246, 0.05);
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.compact-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.05);
}

.compact-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.02);
}

.compact-table tbody td {
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.compact-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon-only {
    padding: 0.5rem;
    min-width: auto;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
}

.btn-view:hover {
    background: rgba(6, 182, 212, 0.2);
}

.btn-edit {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.btn-edit:hover {
    background: rgba(139, 92, 246, 0.2);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Status Badge Improvements */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.status-inactive {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}

.status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
}

/* Mobile Responsive for Admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(100%);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-right: 0;
        padding: 1rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .admin-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .compact-table {
        font-size: 0.85rem;
    }
    
    .compact-table thead th,
    .compact-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .modal {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: flex;
    }
}

/* ============ SUBSCRIPTION MODAL - CUTTING EDGE UI ============ */
.sub-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 2rem;
}

.sub-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.sub-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(139, 92, 246, 0.15);
    transform: scale(0.9) translateY(40px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sub-modal-overlay.active .sub-modal {
    transform: scale(1) translateY(0);
}

/* Animated Background Orbs */
.sub-modal-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.sub-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 8s ease-in-out infinite;
}

.sub-bg-orb-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.sub-bg-orb-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    bottom: 30%;
    left: -40px;
    animation-delay: -2s;
}

.sub-bg-orb-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #06B6D4, #22C55E);
    bottom: -30px;
    right: 20%;
    animation-delay: -4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10px, -15px) scale(1.05); }
    50% { transform: translate(-5px, 10px) scale(0.95); }
    75% { transform: translate(-15px, -5px) scale(1.02); }
}

/* Close Button */
.sub-modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-modal-close:hover {
    background: #EF4444;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* Product Hero Section */
.sub-product-hero {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.08) 0%,
        rgba(255, 255, 255, 0) 100%);
}

.sub-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #16A34A;
    margin-bottom: 1.5rem;
}

.sub-badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.sub-product-icon-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 1rem;
}

.sub-product-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    animation: iconBounce 3s ease-in-out infinite;
}

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

.sub-icon-ring {
    position: absolute;
    inset: -15px;
    border: 3px dashed rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sub-product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-product-desc {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border-radius: 100px;
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.sub-price-currency {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.sub-price-value {
    font-size: 1.75rem;
    font-weight: 900;
}

/* Modal Content */
.sub-modal-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem 2rem;
}

/* States */
.sub-state {
    animation: fadeSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Login Required State */
.sub-state-login {
    text-align: center;
    padding: 1rem 0 1rem;
}

.sub-state-visual {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.sub-lock-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    position: relative;
    z-index: 1;
}

.sub-lock-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 32px;
    animation: lockPulse 2s ease-out infinite;
}

@keyframes lockPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.sub-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.sub-state-desc {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sub-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Buttons */
.sub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.sub-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

.sub-btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.sub-btn-secondary:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

.sub-btn-ghost {
    background: transparent;
    color: #64748B;
    padding: 1rem 1.5rem;
}

.sub-btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1E293B;
}

.sub-btn-submit {
    flex: 1;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: white;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

.sub-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
}

.sub-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.sub-btn-submit .sub-btn-arrow {
    transition: transform 0.3s ease;
}

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

.sub-btn-loader {
    display: none;
}

.sub-btn-submit.loading .sub-btn-text,
.sub-btn-submit.loading .sub-btn-arrow {
    display: none;
}

.sub-btn-submit.loading .sub-btn-loader {
    display: flex;
    gap: 4px;
}

.sub-btn-loader span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.sub-btn-loader span:nth-child(1) { animation-delay: -0.32s; }
.sub-btn-loader span:nth-child(2) { animation-delay: -0.16s; }
.sub-btn-loader span:nth-child(3) { animation-delay: 0s; }

@keyframes loaderBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Form State */
.sub-form-header {
    margin-bottom: 1.5rem;
}

.sub-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.sub-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.sub-step.active {
    opacity: 1;
}

.sub-step-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.sub-step.active .sub-step-num {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.sub-step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E293B;
}

.sub-step-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #E2E8F0);
    border-radius: 2px;
}

/* Account Info Display */
.sub-account-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.sub-account-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.sub-account-header svg {
    color: #8b5cf6;
    flex-shrink: 0;
}

.sub-account-details {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sub-account-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.sub-account-username {
    font-size: 0.9rem;
    color: #64748b;
    font-family: 'Cairo', monospace;
}

.sub-form-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Input Groups */
.sub-input-group {
    position: relative;
}

.sub-input-group .sub-input.changed {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.sub-input-group .sub-input.changed:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.sub-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.sub-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    padding-right: 3rem;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: #F8FAFC;
    color: #1E293B;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sub-input::placeholder {
    color: #94A3B8;
}

.sub-input:focus {
    outline: none;
    border-color: #8B5CF6;
    background: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.sub-input:focus + .sub-input-focus {
    opacity: 1;
}

.sub-input-group:focus-within .sub-input-icon {
    color: #8B5CF6;
}

.sub-input-focus {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.sub-form-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Success State */
.sub-state-success {
    text-align: center;
    padding: 1rem 0;
}

.sub-success-visual {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.sub-success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 16px 32px rgba(34, 197, 94, 0.4);
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.sub-success-check {
    animation: checkDraw 0.5s ease-out 0.3s forwards;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

.sub-success-confetti {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.sub-success-confetti span {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiFall 1s ease-out forwards;
}

.sub-success-confetti span:nth-child(1) { background: #8B5CF6; left: 10%; top: 50%; animation-delay: 0.1s; }
.sub-success-confetti span:nth-child(2) { background: #EC4899; left: 30%; top: 40%; animation-delay: 0.2s; }
.sub-success-confetti span:nth-child(3) { background: #06B6D4; right: 30%; top: 45%; animation-delay: 0.15s; }
.sub-success-confetti span:nth-child(4) { background: #F59E0B; right: 10%; top: 55%; animation-delay: 0.25s; }
.sub-success-confetti span:nth-child(5) { background: #22C55E; left: 20%; top: 60%; animation-delay: 0.3s; }
.sub-success-confetti span:nth-child(6) { background: #EF4444; left: 5%; top: 30%; animation-delay: 0.12s; }
.sub-success-confetti span:nth-child(7) { background: #8B5CF6; right: 20%; top: 35%; animation-delay: 0.22s; }
.sub-success-confetti span:nth-child(8) { background: #06B6D4; left: 40%; top: 65%; animation-delay: 0.18s; }
.sub-success-confetti span:nth-child(9) { background: #EC4899; right: 5%; top: 40%; animation-delay: 0.28s; }
.sub-success-confetti span:nth-child(10) { background: #F59E0B; left: 50%; top: 30%; animation-delay: 0.08s; }

@keyframes confettiFall {
    0% { 
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% { 
        transform: translateY(60px) rotate(720deg) scale(1);
        opacity: 0;
    }
}

.sub-success-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.sub-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #16A34A;
    font-weight: 500;
}

