/* ============================================
   AI TOOL GRAPHICS (CSS-ONLY VISUALS)
   ============================================ */

.ai-graphic-container {
    width: 100%;
    height: 300px;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* 1. Gemini - Neural Network Glow */
.graphic-gemini {
    background: radial-gradient(circle at center, #1a237e 0%, #000000 100%);
}

.gemini-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4285f4, #9c27b0);
    border-radius: 50%;
    box-shadow: 0 0 40px #4285f4;
    position: relative;
    animation: pulse 3s infinite ease-in-out;
}

.gemini-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    animation-duration: 8s;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.orbit-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -5px;
    box-shadow: 0 0 10px white;
}

/* 2. NotebookLM - Document Stack */
.graphic-notebook {
    background: #f1f3f4;
}

.doc-stack {
    position: relative;
    width: 160px;
    height: 200px;
}

.doc-sheet {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 10px;
}

.doc-1 {
    transform: rotate(-5deg) translate(-10px, -5px);
    z-index: 1;
}

.doc-2 {
    transform: rotate(5deg) translate(10px, -5px);
    z-index: 2;
}

.doc-3 {
    transform: rotate(0deg);
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.doc-line {
    height: 8px;
    background: #e8eaed;
    border-radius: 4px;
    width: 100%;
}

.doc-line.short {
    width: 60%;
}

.chat-bubble {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background: white;
    padding: 15px 20px;
    border-radius: 20px 20px 20px 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 4;
    font-size: 2rem;
}

/* 3. Google Vids - Video Player */
.graphic-vids {
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
}

.video-frame {
    width: 80%;
    aspect-ratio: 16/9;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.video-screen {
    flex-grow: 1;
    background: #202124;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid white;
    margin-left: 4px;
}

/* Timeline Animation */
.timeline-bar {
    height: 40px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}

.clip {
    height: 24px;
    border-radius: 4px;
    flex-grow: 1;
}

.clip-1 {
    background: #ea4335;
    width: 30%;
}

.clip-2 {
    background: #4285f4;
    width: 40%;
}

.clip-3 {
    background: #fbbc04;
    width: 20%;
}

.clip-4 {
    background: #34a853;
    width: 10%;
}

/* 4. Code Assist - IDE */
.graphic-ide {
    background: #1e1e1e;
}

.ide-window {
    width: 90%;
    height: 80%;
    background: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #444;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: monospace;
}

.ide-header {
    height: 24px;
    background: #3c3c3c;
    display: flex;
    align-items: center;
    padding-left: 10px;
    gap: 6px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-r {
    background: #ff5f56;
}

.dot-y {
    background: #ffbd2e;
}

.dot-g {
    background: #27c93f;
}

.ide-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-line {
    height: 8px;
    border-radius: 4px;
    width: 100%;
}

.cl-1 {
    background: #569cd6;
    width: 40%;
}

.cl-2 {
    background: #ce9178;
    width: 60%;
    margin-left: 20px;
}

.cl-3 {
    background: #dcdcaa;
    width: 50%;
    margin-left: 20px;
}

.cl-4 {
    background: #c586c0;
    width: 30%;
}

.cl-suggestion {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed #4caf50;
    width: 70%;
    margin-left: 20px;
    position: relative;
    height: 20px;
    /* Taller line for suggestion */
}

.cl-suggestion::after {
    content: 'Ignite AI Suggestion...';
    color: #4caf50;
    font-size: 10px;
    position: absolute;
    top: 4px;
    left: 8px;
}

/* 5. Workspace - Graphic */
.graphic-workspace {
    background: white;
    background-image: radial-gradient(#e8f0fe 1px, transparent 1px);
    background-size: 20px 20px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    transform: rotate(-10deg) skew(5deg);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: white;
}

.app-docs {
    border-bottom: 4px solid #4285f4;
}

.app-sheets {
    border-bottom: 4px solid #34a853;
}

.app-gmail {
    border-bottom: 4px solid #ea4335;
}

.app-slides {
    border-bottom: 4px solid #fbbc04;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px #4285f4;
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px #9c27b0;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px #4285f4;
    }
}

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

    to {
        transform: rotate(360deg);
    }
}