
/* PHOENIX AI Suite - Unified Styles */

.ai-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px;
}

.ai-layout-split {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    height: calc(100vh - 140px);
}

.sidebar-panel {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.main-panel, .canvas-area {
    background: rgba(15, 23, 42, 0.5);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

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

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 85%;
}

.ai-message.user {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    align-self: flex-end;
}

.ai-message.bot {
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-input-box {
    padding: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

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

.studio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.studio-card:hover {
    transform: translateY(-5px);
    border-color: var(--phoenix-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.feature-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

.card-icon-lg {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Thought Logger Styles */
.loading-pulse {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .ai-layout-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sidebar-panel {
        max-height: 300px;
    }
    .main-panel {
        min-height: 500px;
    }
}
/* Office Suite & Slides */
.tool-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tool-option {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-option.active {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.slides-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slide-card {
    background: #0F172A;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.slide-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.slide-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #8B5CF6;
}

.slide-card h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #FFF 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-card ul {
    list-style: none;
    padding: 0;
}

.slide-card li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    color: #94A3B8;
}

.slide-card li::before {
    content: '→';
    color: #8B5CF6;
}

.prose-invert {
    color: #CBD5E1;
    line-height: 1.8;
}

.prose-invert h1, .prose-invert h2 {
    color: white;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}

/* AI Designer Styles */
.design-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mode-btn {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.mode-btn.active {
    background: #8B5CF6;
    color: white;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.color-palette {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.canvas-area.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1E1E2E 0%, #0F0F1A 100%);
}

.designer-result-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 80%;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

