/* ============================================
   3D Visualization Showcase Styles
   OPTINAMPOUT - AI Integration Specialists
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c12 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.showcase-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%);
    border-bottom: 3px solid #FF6B35;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #64ffda, #00b4d8, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.header-content p {
    font-size: 1.2rem;
    color: #64ffda;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ===== MAIN CONTENT ===== */
.showcase-main {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ===== VISUALIZATION CARDS ===== */
.visualization-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 52, 96, 0.85) 100%);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 50px rgba(0, 180, 216, 0.2);
    transition: all 0.4s ease;
}

.visualization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 180, 216, 0.4);
    border-color: rgba(100, 255, 218, 0.6);
}

.card-header {
    margin-bottom: 30px;
}

.card-header h2 {
    font-size: 2.2rem;
    color: #64ffda;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-header p {
    font-size: 1.1rem;
    color: #00b4d8;
    opacity: 0.9;
}

/* ===== CANVAS CONTAINER ===== */
.canvas-container {
    position: relative;
    background: linear-gradient(135deg, rgba(12, 12, 18, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 30px;
    border: 2px solid rgba(100, 255, 218, 0.2);
    box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.canvas-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    animation: rotateBg 25s linear infinite;
    pointer-events: none;
}

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

.visualization-canvas {
    width: 100%;
    height: 500px;
    display: block;
    border-radius: 15px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 180, 216, 0.05), rgba(255, 107, 53, 0.03) 70%, transparent);
    position: relative;
    z-index: 1;
}

/* ===== CARD FOOTER ===== */
.card-footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ===== CONTROLS ===== */
.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.control-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.control-btn:hover {
    background: linear-gradient(135deg, #64ffda, #00b4d8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
}

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

/* ===== CODE SAMPLES ===== */
.code-sample {
    background: rgba(12, 12, 18, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 25px;
}

.code-sample h3 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.code-sample pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
}

.code-sample code {
    color: #64ffda;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== INTEGRATION GUIDE ===== */
.integration-guide {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 50px;
    margin-top: 80px;
}

.integration-guide h2 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 2px;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.guide-section {
    background: rgba(12, 12, 18, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.guide-section:hover {
    background: rgba(12, 12, 18, 0.8);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-3px);
}

.guide-section h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-section p {
    color: #00b4d8;
    margin-bottom: 15px;
    line-height: 1.6;
}

.guide-section pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    padding: 15px;
    overflow-x: auto;
}

.guide-section code {
    color: #64ffda;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.showcase-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-top: 3px solid #FF6B35;
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

.showcase-footer p {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 1rem;
}

.showcase-footer a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    display: inline-block;
}

.showcase-footer a:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-content h1 {
        font-size: 2.5rem;
    }

    .card-header h2 {
        font-size: 1.8rem;
    }

    .visualization-canvas {
        height: 400px;
    }

    .guide-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .showcase-header {
        padding: 30px 15px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .visualization-card {
        padding: 25px;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .visualization-canvas {
        height: 300px;
    }

    .controls {
        flex-direction: column;
    }

    .control-btn {
        width: 100%;
    }

    .integration-guide {
        padding: 30px 20px;
    }

    .integration-guide h2 {
        font-size: 2rem;
    }

    .guide-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    .visualization-canvas {
        height: 250px;
    }

    .code-sample,
    .guide-section {
        padding: 15px;
    }

    .code-sample code,
    .guide-section code {
        font-size: 0.8rem;
    }
}
