/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4, #10b981);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.subtitle {
    font-size: 1.2rem;
    color: #9ca3af;
    margin-bottom: 30px;
}

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

/* Glow Text Effect */
.glow-text {
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.5),
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2);
}

/* Section Styles */
.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Widget Grid */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.widget-card {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.widget-card:hover {
    transform: translateY(-5px);
}

/* Glow Effects for Widget Cards */
.purple-glow {
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(139, 92, 246, 0.2);
}

.purple-glow:hover {
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(139, 92, 246, 0.3);
}

.green-glow {
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 0.3),
        0 0 40px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(16, 185, 129, 0.2);
}

.green-glow:hover {
    box-shadow: 
        0 0 30px rgba(16, 185, 129, 0.5),
        0 0 60px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(16, 185, 129, 0.3);
}

.orange-glow {
    box-shadow: 
        0 0 20px rgba(251, 146, 60, 0.3),
        0 0 40px rgba(251, 146, 60, 0.1),
        inset 0 1px 0 rgba(251, 146, 60, 0.2);
}

.orange-glow:hover {
    box-shadow: 
        0 0 30px rgba(251, 146, 60, 0.5),
        0 0 60px rgba(251, 146, 60, 0.2),
        inset 0 1px 0 rgba(251, 146, 60, 0.3);
}

.blue-glow {
    box-shadow: 
        0 0 20px rgba(6, 182, 212, 0.3),
        0 0 40px rgba(6, 182, 212, 0.1),
        inset 0 1px 0 rgba(6, 182, 212, 0.2);
}

.blue-glow:hover {
    box-shadow: 
        0 0 30px rgba(6, 182, 212, 0.5),
        0 0 60px rgba(6, 182, 212, 0.2),
        inset 0 1px 0 rgba(6, 182, 212, 0.3);
}

/* Widget Card Content */
.widget-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.widget-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f9fafb;
}

.widget-card p {
    color: #9ca3af;
    margin-bottom: 20px;
}

/* Glow Buttons */
.glow-button {
    background: transparent;
    border: 1px solid;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.glow-button::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;
}

.glow-button:hover::before {
    left: 100%;
}

.glow-button.purple {
    border-color: #8b5cf6;
    color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.glow-button.purple:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.glow-button.green {
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.glow-button.green:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.glow-button.orange {
    border-color: #fb923c;
    color: #fb923c;
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.3);
}

.glow-button.orange:hover {
    background: rgba(251, 146, 60, 0.1);
    box-shadow: 0 0 25px rgba(251, 146, 60, 0.5);
    transform: translateY(-2px);
}

.glow-button.red {
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.glow-button.red:hover {
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.glow-button.blue {
    border-color: #06b6d4;
    color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.glow-button.blue:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.glow-button.small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.glow-button.outline {
    background: transparent;
}

/* Glow Inputs */
.glow-input {
    width: 100%;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 8px;
    padding: 12px 16px;
    color: #f9fafb;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.glow-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.glow-input.purple-focus:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.glow-input.green-focus:focus {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.glow-input.blue-focus:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.glow-input::placeholder {
    color: #6b7280;
}

/* Interactive Grid */
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.interactive-item {
    background: rgba(17, 24, 39, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.interactive-item h4 {
    margin-bottom: 20px;
    color: #f3f4f6;
    font-size: 1.2rem;
}

/* Button Showcase */
.button-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Input Showcase */
.input-showcase {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Toggle Switches */
.toggle-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: rgba(75, 85, 99, 0.5);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .slider {
    background: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(26px);
}

.toggle-switch.green-toggle input:checked + .slider {
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.toggle-switch.blue-toggle input:checked + .slider {
    background: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.toggle-switch .label {
    color: #f3f4f6;
    font-weight: 500;
}

/* Navigation */
.glow-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.nav-item:not(.active) {
    color: #9ca3af;
}

.nav-item:hover {
    transform: translateY(-2px);
}

/* Progress Bars */
.progress-showcase {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.progress-item label {
    display: block;
    margin-bottom: 10px;
    color: #f3f4f6;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(75, 85, 99, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Removed shimmer animation */
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.purple-progress .progress-fill {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
    box-shadow: 0 0 15px 5px rgba(139, 92, 246, 0.25);
}

.green-progress .progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    box-shadow: 0 0 15px 5px rgba(16, 185, 129, 0.25);
}

.blue-progress .progress-fill {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
    box-shadow: 0 0 15px 5px rgba(6, 182, 212, 0.25);
}

/* Notifications */
.notification-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid;
    background: rgba(17, 24, 39, 0.8);
    transition: all 0.3s ease;
}

.notification:hover {
    transform: translateX(5px);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.notification-content p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.success-notification {
    border-left-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.warning-notification {
    border-left-color: #fb923c;
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.2);
}

.error-notification {
    border-left-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* Stats */
.stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #06b6d4;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    margin-top: 100px;
    padding: 40px 0;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-content p {
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .widget-grid {
        grid-template-columns: 1fr;
    }
    
    .interactive-grid {
        grid-template-columns: 1fr;
    }
    
    .button-showcase {
        justify-content: center;
    }
    
    .glow-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

/* Additional Glow Effects */
.red-glow {
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.3),
        0 0 40px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(239, 68, 68, 0.2);
}

.red-glow:hover {
    box-shadow: 
        0 0 30px rgba(239, 68, 68, 0.5),
        0 0 60px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(239, 68, 68, 0.3);
}

