:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Space Grotesk', sans-serif;
}

/* 3D Cylinder Styles */
.scene {
    perspective: 1000px;
    width: 300px;
    height: 200px;
    margin: 0 auto;
}

.cylinder {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

.cylinder-face {
    position: absolute;
    width: 280px;
    height: 180px;
    left: 10px;
    top: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backface-visibility: visible;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.cylinder-face:hover {
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.8);
    border-color: var(--secondary);
}

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

/* Chat Interface */
.chat-container {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.message-bubble {
    max-width: 80%;
    animation: slideIn 0.3s ease-out;
}

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

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin-left: auto;
}

.bot-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.industry-card.active {
    border-color: var(--secondary);
    background: rgba(236, 72, 153, 0.1);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow {
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.3);
}

/* Typing Indicator */
.typing-dot {
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .scene {
        width: 250px;
        height: 170px;
    }
    
    .cylinder-face {
        width: 230px;
        height: 150px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}