@charset "UTF-8";

/* ==========================================================================
   ZZAN Design Factory (ZDF) AI Design Tool V2 (Interactive Simulation)
   ========================================================================== */
.zdf-ai-tool-v2 {
    background: #000;
    padding: 150px 0;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.zdf-ai-tool-v2 .ai-tool-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.zdf-ai-tool-v2 .ai-tool-text {
    flex: 0 0 45%;
    text-align: left;
}

.zdf-ai-tool-v2 .tool-tag {
    font-family: var(--font-en);
    font-weight: 800;
    color: var(--electric-blue);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.zdf-ai-tool-v2 .tool-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.zdf-ai-tool-v2 .tool-title span {
    color: var(--electric-blue);
}

.zdf-ai-tool-v2 .tool-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 0;
}

.zdf-ai-tool-v2 .ai-tool-visual-v2 {
    flex: 0 0 50%;
}

.ai-sim-window {
    background: #111;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Sim Browser Header */
.sim-header {
    background: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-dots { display: flex; gap: 8px; }
.sim-dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.sim-address { flex: 1; background: #000; border-radius: 6px; padding: 4px 15px; font-size: 11px; color: #555; text-align: center; }

.sim-body {
    padding: 40px;
    min-height: 450px;
    position: relative;
    background: #0a0a0a;
}

/* Step 1: Prompt Typing */
.sim-prompt {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    color: var(--electric-blue);
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    text-align: left;
}
.prompt-cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* Step 2: Loading Overlay */
.sim-loading-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
}
.sim-loading-layer.active { opacity: 1; pointer-events: auto; }
.loading-scanner {
    width: 200px; height: 2px;
    background: var(--electric-blue);
    box-shadow: 0 0 15px var(--electric-blue);
    animation: scan 1.5s infinite ease-in-out;
}
@keyframes scan { 0% { transform: translateY(-50px); } 100% { transform: translateY(50px); } }
.loading-text { margin-top: 20px; font-size: 13px; color: var(--electric-blue); letter-spacing: 0.1em; }

@media (max-width: 991px) {
    .zdf-ai-tool-v2 { padding: 80px 0; }
    .zdf-ai-tool-v2 .ai-tool-grid { flex-direction: column; text-align: center; gap: 50px; }
    .zdf-ai-tool-v2 .ai-tool-text { flex: 0 0 100%; text-align: center; }
    .zdf-ai-tool-v2 .tool-title { font-size: 36px; }
    .zdf-ai-tool-v2 .tool-desc { font-size: 16px; }
    .zdf-ai-tool-v2 .ai-tool-visual-v2 { flex: 0 0 100%; width: 100%; }
}

/* Step 3: Result View (Mockup) */
.sim-result-view {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sim-result-view.active { opacity: 1; transform: translateY(0); }

.mockup-header { width: 100%; height: 30px; background: #222; border-radius: 4px; margin-bottom: 30px; }
.mockup-hero { text-align: center; margin-bottom: 40px; }
.m-title { width: 60%; height: 40px; background: linear-gradient(90deg, #333, #444); border-radius: 8px; margin: 0 auto 20px; }
.m-btn { width: 120px; height: 35px; background: var(--electric-blue); border-radius: 50px; margin: 0 auto; opacity: 0.8; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mockup-grid span { height: 120px; background: #1a1a1a; border-radius: 12px; border: 1px solid #222; }

/* Mouse Pointer */
.fake-pointer {
    position: absolute;
    width: 24px; height: 24px;
    top: 50%; left: 50%;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: top 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95), left 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95), opacity 0.3s;
}
.fake-pointer.active { opacity: 1; }

/* Footer & Download Button */
.sim-footer {
    background: #1a1a1a;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.sim-status { font-size: 11px; color: #555; font-weight: 800; letter-spacing: 0.1em; }
.sim-download-btn {
    padding: 12px 25px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    transition: 0.3s;
}
.sim-download-btn.clicked {
    background: var(--electric-blue);
    transform: scale(0.95);
}

/* Success Toast */
.success-toast {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #fff;
    color: #000;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 200;
}
.success-toast.active { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-icon { width: 24px; height: 24px; background: #00c853; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
