/* Reset and Base Styles */
:root {
    /* Enhanced Interface Variables */
    --primary-color: #6366f1;
    --secondary-color: #10b981;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --surface-color: #1e293b;
    --input-bg: #334155;
    --border-color: #475569;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
}

/* Enhanced Chat Interface Animations */
@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Enhanced Interface Scrollbar Styling */
.chat-messages::-webkit-scrollbar,
.console-output::-webkit-scrollbar,
.file-tree::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.console-output::-webkit-scrollbar-track,
.file-tree::-webkit-scrollbar-track {
    background: var(--surface-color);
}

.chat-messages::-webkit-scrollbar-thumb,
.console-output::-webkit-scrollbar-thumb,
.file-tree::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.console-output::-webkit-scrollbar-thumb:hover,
.file-tree::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Enhanced Interface Hover Effects */
.file-item:hover {
    background: var(--surface-color) !important;
    transform: translateX(4px);
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    transition: all 0.2s ease;
}

.send-btn:hover {
    background: var(--primary-color) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Enhanced Interface Focus States */
#chatInput:focus,
#codeEditor:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced Interface Responsive Design */
@media (max-width: 768px) {
    .dev-app-interface {
        height: 70vh !important;
        min-height: 500px !important;
    }
    
    .sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
    
    .app-container {
        flex-direction: column !important;
    }
    
    .main-content {
        height: 300px;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-logo i {
    margin-right: 10px;
    color: #00d4ff;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #0099cc, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Agent Network Visualization */
.hero-visual {
    position: relative;
    height: 400px;
}

.agent-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.agent-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agent-node:hover {
    transform: scale(1.1);
}

.agent-node i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.cybersecurity {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.software-engineer {
    background: linear-gradient(135deg, #4834d4, #686de0);
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.product-manager {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.data-analyst {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.finance {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.marketing {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    top: 60%;
    right: 30%;
    animation-delay: 2.5s;
}

.call-center {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
    top: 40%;
    left: 20%;
    animation-delay: 3s;
}

.content-manager {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    top: 40%;
    right: 20%;
    animation-delay: 3.5s;
}

.accountant {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #111;
}

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

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.about-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Agents Section */
.agents {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

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

.agent-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.agent-avatar.cybersecurity {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.agent-avatar.software-engineer {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

.agent-avatar.product-manager {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
}

.agent-avatar.data-analyst {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.agent-avatar.finance {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.agent-avatar.hr {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.agent-avatar.marketing {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.agent-avatar.operations {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.agent-avatar.sales {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.agent-avatar.support {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.agent-avatar.call-center {
    background: linear-gradient(135deg, #ff7675, #fd79a8);
}

.agent-avatar.content-manager {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.agent-avatar.accountant {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.agent-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.agent-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.agent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Downloads Section */
.downloads {
    padding: 100px 0;
    background: #111;
}

.downloads-container {
    max-width: 1000px;
    margin: 0 auto;
}

.download-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    color: #b0b0b0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #00d4ff;
    color: #0a0a0a;
    border-color: #00d4ff;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.download-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.download-item:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.download-info h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.download-info .version {
    color: #00d4ff;
    font-size: 0.9rem;
}

.download-description {
    color: #b0b0b0;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.download-meta span {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.download-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.no-downloads, .error-message {
    text-align: center;
    padding: 3rem;
    color: #b0b0b0;
    grid-column: 1 / -1;
}

.no-downloads h3, .error-message h3 {
    margin: 0 0 1rem 0;
    color: #fff;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

.modal-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #b0b0b0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
}

.software-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-row strong {
    color: #fff;
    font-weight: 600;
}

.detail-row span, .detail-row p {
    color: #b0b0b0;
    margin: 0;
}

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

/* Admin Link */
.admin-link {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

.admin-link:hover {
    background: linear-gradient(135deg, #00b8e6, #0088b3);
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.admin-link i {
    font-size: 1.2rem;
}



/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: #b0b0b0;
    margin: 0;
}

/* Chat Interface */
.chat-interface {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    height: 900px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.chat-controls button {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chat-controls button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 80%;
}

.agent-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #666, #888);
}

.message-content {
    flex: 1;
}

.message-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.user-message .message-text {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.message-time {
    font-size: 0.75rem;
    color: #888;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Model Selector Styles */
.model-selector-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.model-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.model-selector-header i {
    color: #00d4ff;
    margin-right: 0.5rem;
}

.model-selector-header span {
    font-weight: 500;
    color: #fff;
    font-size: 0.9rem;
}

.model-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.model-status .status-text {
    font-size: 0.8rem;
    color: #888;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.model-status.connected .status-text {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.model-selector-controls {
    display: flex;
    gap: 0.75rem;
    align-items: end;
    flex-wrap: wrap;
}

.provider-selector,
.model-selector,
.agent-selector {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
    flex: 1;
}

.provider-selector label,
.model-selector label,
.agent-selector label {
    font-size: 0.8rem;
    color: #ccc;
    font-weight: 500;
}

.provider-selector select,
.model-selector select,
.agent-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.provider-selector select:focus,
.model-selector select:focus,
.agent-selector select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.provider-selector select:disabled,
.model-selector select:disabled,
.agent-selector select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.provider-selector option,
.model-selector option,
.agent-selector option {
    background: #1a1a1a;
    color: #fff;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

#chatInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.9rem;
}

#chatInput::placeholder {
    color: #888;
}

#chatInput:focus {
    outline: none;
    border-color: #00d4ff;
}

.send-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Agent Selection Bottom Styles */
.agent-selection-bottom {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
}

.agent-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.agent-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
}

.agent-group label {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

#ai-agent-select {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    min-width: 180px;
}

#ai-agent-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

#ai-agent-select option {
    background: #1a1a1a;
    color: #fff;
}

#select-agent-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#select-agent-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #00ff88;
    white-space: nowrap;
}

.agent-status .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

.agent-status .status-text {
    font-weight: 500;
}

/* Model Selection Bottom Styles */
.model-selection-bottom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.model-selection-bottom .model-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.model-selection-bottom .model-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.model-selection-bottom .model-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.model-selection-bottom select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 0.85rem;
    min-width: 180px;
    transition: all 0.3s ease;
}

.model-selection-bottom select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.model-selection-bottom select option {
    background: #1a1a2e;
    color: #fff;
}

.model-selection-bottom .model-btn-compact {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.model-selection-bottom .model-btn-compact:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.model-selection-bottom .model-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #888;
    margin-left: auto;
}

.model-selection-bottom .model-status .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
}

.model-selection-bottom .model-status.connected .status-indicator {
    background: #00ff88;
    animation: pulse 2s infinite;
}

.model-selection-bottom .model-status.connected .status-text {
    color: #00ff88;
}

/* Responsive Design for Agent Selection */
@media (max-width: 768px) {
    .agent-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .agent-group {
        min-width: auto;
        width: 100%;
    }
    
    .agent-status {
        width: 100%;
        justify-content: center;
    }
    
    .agent-selection-bottom {
        padding: 0.5rem;
    }
    
    .model-selection-bottom .model-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .model-selection-bottom .model-group {
        min-width: auto;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .model-selection-bottom .model-status {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .model-selection-bottom select {
        min-width: auto;
        width: 100%;
    }
}

/* Agent Transfer Buttons */
.agent-transfer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transfer-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.transfer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

/* Transfer Suggestion Styling */
.transfer-suggestion {
    margin: 15px 0;
    padding: 0;
    background: transparent;
}

.suggestion-content {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
}

.suggestion-content p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.suggestion-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.suggestion-buttons .transfer-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #1a1a1a;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
}

.suggestion-buttons .transfer-btn:hover {
    background: linear-gradient(135deg, #ffca28 0%, #ffa726 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.dismiss-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Chat Widget Toggle */
.chat-widget-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: #00d4ff;
    font-size: 1.8rem;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00d4ff;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-filters {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .chat-interface {
        height: 400px;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.visible { display: block; }
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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