/* Cyber Style Global Styles */
.cyber-glow {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5),
                 0 0 20px rgba(0, 255, 136, 0.3),
                 0 0 40px rgba(0, 255, 136, 0.1);
}

.cyber-button-primary {
    background: linear-gradient(45deg, #00ff88, #00a2ff);
    border: 1px solid #00ff88;
    color: #050508;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.cyber-button-primary:hover {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
    transform: translateY(-2px);
}

.cyber-button-secondary {
    background: transparent;
    border: 1px solid #00a2ff;
    color: #00a2ff;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.3);
}

.cyber-button-secondary:hover {
    box-shadow: 0 0 25px rgba(0, 162, 255, 0.6);
    transform: translateY(-2px);
}

.cyber-button-accent {
    background: transparent;
    border: 1px solid #ff0088;
    color: #ff0088;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 0, 136, 0.3);
}

.cyber-button-accent:hover {
    box-shadow: 0 0 25px rgba(255, 0, 136, 0.6);
    transform: translateY(-2px);
}

.cyber-card {
    background: linear-gradient(145deg, #1a1a2e, #0a0a0f);
    border: 1px solid #2a2a3e;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.cyber-card:hover::before {
    left: 100%;
}

.cyber-card:hover {
    border-color: #00ff88;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.cyber-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cyber-card-header h3 {
    background: linear-gradient(45deg, #00ff88, #00a2ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cyber-link {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cyber-link:hover {
    color: #00a2ff;
    gap: 8px;
}

.cyber-timeline {
    position: relative;
    padding-left: 30px;
}

.cyber-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00ff88, #00a2ff, #ff0088);
}

.cyber-timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 8px;
    border-left: 3px solid #00ff88;
}

.cyber-timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

/* AI Assistant Styles */
.ai-assistant-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.ai-toggle-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ff88, #00a2ff);
    border: none;
    color: #050508;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-toggle-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.ai-chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #0a0a0f;
    border: 1px solid #00ff88;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
    display: none;
    flex-direction: column;
}

.ai-chat-window.active {
    display: flex;
}

.ai-chat-header {
    padding: 16px;
    background: linear-gradient(45deg, #00ff88, #00a2ff);
    border-radius: 12px 12px 0 0;
    color: #050508;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-message {
    padding: 12px;
    border-radius: 8px;
    max-width: 80%;
    word-wrap: break-word;
}

.ai-message.user {
    align-self: flex-end;
    background: linear-gradient(45deg, #00a2ff, #00ff88);
    color: #050508;
}

.ai-message.assistant {
    align-self: flex-start;
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
}

.ai-chat-input {
    padding: 16px;
    border-top: 1px solid #2a2a3e;
    display: flex;
    gap: 8px;
}

.ai-chat-input input {
    flex: 1;
    padding: 8px 12px;
    background: #1a1a2e;
    border: 1px solid #2a2a3e;
    border-radius: 6px;
    color: white;
}

.ai-chat-input button {
    padding: 8px 16px;
    background: #00ff88;
    border: none;
    border-radius: 6px;
    color: #050508;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ai-chat-window {
        width: 300px;
        height: 400px;
        right: -50px;
    }
    
    .cyber-card {
        padding: 16px;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ff88, #00a2ff);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00a2ff, #ff0088);
}