/* Advanced Visual Components for Product Pages */

/* Abstract Dashboard Visual (CSS Only) */
.visual-dashboard {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.dash-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-dot.red { background: #ff5f56; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #27c93f; }

.dash-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: monospace;
    font-size: 12px;
    color: var(--gray);
}

.dash-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    width: 100%;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}

.dash-fill {
    height: 100%;
    background: var(--green);
    border-radius: 3px;
}

/* Zig-Zag Sections */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse > * {
    direction: ltr;
}

.feature-text h3 {
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.feature-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cost Chart Visual */
.cost-chart {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border-bottom: 2px solid var(--border);
    border-left: 2px solid var(--border);
}

.chart-bar {
    flex: 1;
    background: var(--red);
    opacity: 0.3;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease;
}

.chart-bar.optimized {
    background: var(--green);
    opacity: 0.8;
}

/* Security Shield Visual */
.security-shield {
    width: 200px;
    height: 240px;
    border: 4px solid var(--green);
    border-radius: 0 0 100px 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0,98,51,0.2);
}

.shield-icon {
    font-size: 80px;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--green);
    top: 0;
    animation: scanShield 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes scanShield {
    0% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Testimonial / Quote Box */
.product-quote {
    text-align: center;
    max-width: 900px;
    margin: 100px auto;
    padding: 60px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid var(--border);
    border-radius: 32px;
}

.quote-text {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 32px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 1024px) {
    .feature-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-split.reverse {
        direction: ltr;
    }
    
    .feature-visual {
        height: 300px;
    }
}
