/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    
    /* Brand Colors - Modern palette */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --discord-color: #5865f2;
    --discord-hover: #4752c4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #0891b2);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-hero: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    
    /* Spacing */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-hover: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Colors - Enhanced Modern Dark */
body.dark-mode {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #262626;
    --shadow-light: rgba(0, 0, 0, 0.5);
    --shadow-medium: rgba(0, 0, 0, 0.7);
    --shadow-strong: rgba(0, 0, 0, 0.9);
    --card-glow: rgba(99, 102, 241, 0.1);
    --hover-glow: rgba(99, 102, 241, 0.2);
}

/* Light Theme Enhanced */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --card-bg: #ffffff;
    --card-border: rgba(226, 232, 240, 0.8);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Continuous Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    z-index: -2;
    animation: gradientMove 20s ease-in-out infinite;
}

body.light-mode::before {
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.10) 0%, transparent 60%);
    animation: gradientMoveLight 20s ease-in-out infinite;
}

/* Animated Grid Pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    animation: gridMove 25s linear infinite;
}

body.light-mode::after {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.10) 1px, transparent 1px);
}

@keyframes gradientMove {
    0%, 100% { 
        background: 
            radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    }
    50% { 
        background: 
            radial-gradient(circle at 70% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 60%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 20% 40%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    }
}

@keyframes gradientMoveLight {
    0%, 100% { 
        background: 
            radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
            radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
            radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
            radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.10) 0%, transparent 60%);
    }
    50% { 
        background: 
            radial-gradient(circle at 70% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
            radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
            radial-gradient(circle at 80% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
            radial-gradient(circle at 20% 40%, rgba(245, 158, 11, 0.10) 0%, transparent 60%);
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Add subtle texture to dark mode */
body.dark-mode {
    background: var(--bg-primary);
}

/* Light mode background */
body.light-mode {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 25%, #e2e8f0 50%, #f1f5f9 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main content wrapper */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Navigation - Enhanced Modern Glass */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1000px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 76px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .navbar {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.light-mode .navbar {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dark-mode .navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-left {
    display: flex;
    align-items: center;
    min-width: 200px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    justify-content: center;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    justify-content: flex-end;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.accent {
    color: var(--primary-color);
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 12px 0;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Enhanced hover effects */
.nav-link:hover {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px;
}

.theme-toggle:hover::before {
    opacity: 0.1;
}

.theme-toggle:hover {
    color: var(--text-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.theme-toggle i {
    position: relative;
    z-index: 1;
}

.light-mode .theme-toggle {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.light-mode .theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--discord-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.login-btn:hover::before {
    opacity: 1;
}

.login-btn:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.user-info {
    display: none;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.username {
    color: var(--text-primary);
    font-weight: 500;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.logout-btn:hover {
    color: var(--error-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Enhanced Modern Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.06;
    z-index: -1;
}

.hero-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 600px;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: relative;
    z-index: 2;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    width: 140px;
    height: 140px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 
        0 10px 30px var(--shadow-light),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-hover);
    animation: float 3s ease-in-out infinite;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-hover);
    border-radius: var(--border-radius-lg);
}

.card:hover::before {
    opacity: 0.05;
}

.dark-mode .card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 20px 40px var(--shadow-medium),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark-mode .card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(99, 102, 241, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Light Mode Card Styles */
.light-mode .card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.light-mode .card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 20px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Light Mode Hero and Section Styles */
.light-mode .hero-title {
    color: var(--text-primary);
    text-shadow: none;
}

.light-mode .hero-subtitle {
    color: var(--text-secondary);
}

.light-mode .section-title {
    color: var(--text-primary);
}

.light-mode .section-subtitle {
    color: var(--text-secondary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

.plugin-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease-out;
}

.dark-mode .plugin-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.8s ease;
}

.plugin-card:hover::before {
    left: 100%;
}

.plugin-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.plugin-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.plugin-icon i {
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
}

.plugin-card:hover .plugin-icon {
    transform: scale(1.1) rotate(5deg);
    animation: pulseGlow 2s ease-in-out infinite;
}

.plugin-card:hover .plugin-icon i {
    transform: scale(1.1);
}

.plugin-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.plugin-card:hover .plugin-title {
    color: var(--primary-color);
}

.plugin-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.plugin-card:hover .plugin-description {
    color: var(--text-primary);
}

.feature-tag {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 8px 8px 0;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.dark-mode .feature-tag {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plugin-card:hover .feature-tag {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced About Section */
.about-content {
    animation: fadeInUp 0.8s ease-out;
}

.about-text h2 {
    animation: slideInLeft 0.6s ease-out;
}

.about-text p {
    animation: fadeInUp 0.8s ease-out;
}

.about-list li {
    animation: slideInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.about-list li:nth-child(1) { animation-delay: 0.1s; }
.about-list li:nth-child(2) { animation-delay: 0.2s; }
.about-list li:nth-child(3) { animation-delay: 0.3s; }
.about-list li:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Contact Section */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    animation: fadeInScale 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.dark-mode .contact-method {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.8s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.2);
}

.contact-method i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-method:hover i {
    transform: scale(1.2);
    color: var(--primary-hover);
}

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    }
}

/* Modern Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced Interaction Effects */
.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(20);
        opacity: 0;
    }
}

/* Enhanced Hover States */
.hover-active {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.2);
}

.hover-active::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    left: var(--mouse-x);
    top: var(--mouse-y);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Keyboard Navigation Enhancement */
.keyboard-nav *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Page Header */
.page-header {
    padding: 180px 0 60px;
    text-align: center;
    background: transparent;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar {
        width: calc(100% - 1rem);
        top: 1rem;
        border-radius: 20px;
        height: 64px;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 64px;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .plugin-card {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Modern Dark Mode Refinements */
.dark-mode {
    --custom-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    --custom-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.dark-mode .plugin-card:hover,
.dark-mode .contact-method:hover {
    box-shadow: var(--custom-shadow), var(--custom-glow);
}

.dark-mode .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.dark-mode .navbar {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Enhanced Typography Hierarchy */
.text-hero {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-display {
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-heading {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.text-body {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
}

.text-caption {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
}

/* Modern Grid Layouts */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Enhanced Utility Classes */
.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .glass {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.transform-gpu {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

/* Service Notice */
.service-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.notice-content i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.notice-content span {
    flex: 1;
    min-width: 200px;
    color: var(--text-color);
}

.notice-content .btn {
    margin-left: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .notice-content {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-content .btn {
        margin-left: 0;
        width: 100%;
    }
}

/* Custom Request Section */
.custom-request-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.custom-request-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.request-header {
    margin-bottom: 2rem;
}

.request-header .section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.request-notice {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.notice-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.notice-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.notice-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.notice-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .request-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-actions {
        justify-content: center;
    }
    
    .notice-actions .btn {
        flex: 1;
        min-width: 200px;
    }
}

/* Plugin Modal Enhancements */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.plugin-details h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.plugin-details h4:first-child {
    margin-top: 0;
}

.plugin-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plugin-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.plugin-details li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.plugin-details li:last-child {
    border-bottom: none;
}

.plugin-details ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plugin-details ol li {
    counter-increment: step-counter;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.plugin-details ol li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    background: var(--primary-color);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.command-list {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

.command-list code {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Premium Single Plugin Layout */
.main-plugin {
    max-width: 800px;
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 2px solid transparent;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dark-mode .main-plugin {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main-plugin::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.8s ease;
}

.main-plugin:hover::before {
    transform: scale(1);
}

.main-plugin:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.dark-mode .main-plugin:hover {
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-plugin .plugin-image {
    height: 140px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-plugin .plugin-icon {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: var(--transition);
}

.main-plugin .plugin-icon:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 20px 45px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.main-plugin .plugin-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.main-plugin .plugin-description {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.main-plugin .plugin-features {
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.main-plugin .feature-tag {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.main-plugin .feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.main-plugin .plugin-stats {
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.main-plugin .plugin-stats .stat {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-width: 120px;
}

.dark-mode .main-plugin .plugin-stats .stat {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-plugin .plugin-stats .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.main-plugin .plugin-stats .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.main-plugin .plugin-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.main-plugin .plugin-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.main-plugin .plugin-actions .btn {
    min-width: 160px;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.main-plugin .plugin-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.main-plugin .plugin-actions .btn:hover::before {
    left: 100%;
}

.main-plugin .plugin-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.main-plugin .plugin-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.main-plugin .plugin-actions .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.dark-mode .main-plugin .plugin-actions .btn-secondary {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.main-plugin .plugin-actions .btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for premium layout */
@media (max-width: 768px) {
    .main-plugin {
        margin: 2rem 1rem;
        padding: 2rem;
        max-width: calc(100% - 2rem);
    }
    
    .main-plugin .plugin-title {
        font-size: 2rem;
    }
    
    .main-plugin .plugin-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .main-plugin .plugin-description {
        font-size: 1.1rem;
    }
    
    .main-plugin .plugin-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .main-plugin .feature-tag {
        text-align: center;
        min-width: 120px;
    }
    
    .main-plugin .plugin-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .main-plugin .plugin-stats .stat {
        min-width: 140px;
    }
    
    .main-plugin .plugin-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .main-plugin .plugin-actions .btn {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }
}

/* Single Plugin Page Improvements */
.plugins-grid {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    margin: 0;
}

.plugins-grid.single-plugin {
    max-width: none;
    padding: 2rem 1rem;
    background: transparent;
}

.plugins-section {
    padding: 3rem 0;
    background: transparent;
}

.plugins-page .hero {
    padding: 4rem 0;
    text-align: center;
    background: transparent;
}

.plugins-page .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.plugins-page .hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.custom-request-notice {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.custom-request-notice .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.custom-request-notice h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.custom-request-notice p {
    color: var(--text-secondary);
    margin: 0;
}

/* Light mode fixes for single plugin layout */
.light-mode .main-plugin {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-color: var(--primary-color);
}

.light-mode .main-plugin .plugin-title {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light-mode .main-plugin .plugin-icon {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
}

.light-mode .main-plugin .feature-tag {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
}

.light-mode .custom-request-notice {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

/* Enhanced Modern Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.dark-mode .footer {
    background: var(--bg-secondary);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
}

.footer-notice {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.dark-mode .footer-notice {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-notice .notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

.footer-notice .notice-content i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    padding: 8px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
}

.footer-notice .notice-content span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-notice .notice-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3.footer-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo .footer-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-section h4.footer-heading {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-description a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-description a:hover {
    color: var(--primary-hover);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-hover);
}

.footer-disclaimer {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

/* Light mode footer fixes */
.light-mode .footer {
    background: var(--bg-secondary);
    border-top-color: var(--border-color);
}

.light-mode .footer-notice {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.light-mode .social-links a {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.light-mode .social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-notice .notice-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-notice {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-notice .notice-content span {
        font-size: 0.9rem;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    max-width: none;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.about-list span {
    color: var(--text-secondary);
    font-size: 1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow-light);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-section {
    padding: 4rem 0;
    background: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow-light);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 3rem;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.member-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.member-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    max-width: none;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
    border-color: var(--primary-color);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info {
    flex: 1;
}

.method-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.method-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.method-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.method-link:hover {
    color: var(--primary-hover);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.faq-section {
    padding: 4rem 0;
    background: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animation Classes for JavaScript */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Staggered Animation Delays */
.animate-in:nth-child(1) { transition-delay: 0.1s; }
.animate-in:nth-child(2) { transition-delay: 0.2s; }
.animate-in:nth-child(3) { transition-delay: 0.3s; }
.animate-in:nth-child(4) { transition-delay: 0.4s; }
.animate-in:nth-child(5) { transition-delay: 0.5s; }

/* Enhanced Page Loading Animation */
.page-loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Gradient Text Effects */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-discord {
    background: var(--discord-color);
    color: white;
}

.btn-discord:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* Light mode button fixes */
.light-mode .btn-secondary {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--text-primary);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.light-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.light-mode .btn-outline {
    background: transparent;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--text-primary);
}

.light-mode .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

/* Enhanced Button Animation States */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-discord {
    background: var(--discord-color);
    color: white;
}

.btn-discord:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Modern Form Focus States */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--bg-primary);
    padding: 0 0.5rem;
}

/* Enhanced Mobile Menu Animation */
.nav-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        margin: 1rem;
        padding: 2rem;
        opacity: 0;
        transform: translateY(-20px);
        flex-direction: column;
        gap: 1.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* Modern Tooltip System */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Enhanced Card Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-grid .card {
    transition: var(--transition-hover);
}

.card-grid .card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

/* Modern Badge System */
.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-error {
    background: var(--error-color);
    color: white;
}

/* Smooth Page Transitions */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gradient-primary) 50%, 
        transparent 100%);
    animation: slideTransition 0.8s ease-out;
}

@keyframes slideTransition {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Page Content Animation - Only apply during transitions */
.main-content.page-transitioning {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.page-exit {
    opacity: 0;
    transform: translateY(-20px);
}

.main-content.page-enter {
    opacity: 0;
    transform: translateY(20px);
}

.main-content.page-enter-active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Navigation Link Transitions */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.1) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Page Load Animation */
@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    animation: pageLoad 0.8s ease-out;
}

/* Staggered Content Animation - Only when specifically enabled */
.animate-on-scroll.animation-enabled {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animation-enabled.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animation-enabled:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll.animation-enabled:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll.animation-enabled:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll.animation-enabled:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll.animation-enabled:nth-child(5) { transition-delay: 0.5s; }

/* Continuous Background Sync */
.background-sync {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -3;
    background: inherit;
    transition: all 0.6s ease;
}

/* Error Pages Styles */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: transparent;
}

.error-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.error-content {
    text-align: left;
    z-index: 2;
}

.error-number {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.error-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 400px;
}

/* Responsive Error Pages */
@media (max-width: 768px) {
    .error-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-content {
        text-align: center;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1.1rem;
    }
    
    .error-visual {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Light Mode Error Pages */
.light-mode .error-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .error-title {
    color: var(--text-primary);
}

.light-mode .error-description {
    color: var(--text-secondary);
}