/* Solutions Page Specific Styles */

.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(10, 10, 10, 1) 50%);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #b3b3b3;
    max-width: 600px;
    margin: 0 auto;
}

/* Active nav link */
.nav-link.active {
    color: #007bff;
    font-weight: 500;
}

/* Solution Sections */
.solution-section {
    padding: 5rem 0;
    position: relative;
}

.solution-section.alt {
    background: #0f0f0f;
}

.solution-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-content.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.solution-content.reverse .solution-text {
    order: 2;
}

.solution-content.reverse .solution-visual {
    order: 1;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.solution-description {
    font-size: 1.1rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.solution-features {
    margin-bottom: 2rem;
}

.feature {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

.feature h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin: 0;
}

.solution-benefits {
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333333;
}

.solution-benefits h4 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.solution-benefits ul {
    list-style: none;
    padding: 0;
}

.solution-benefits li {
    color: #b3b3b3;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.solution-benefits li::before {
    content: "✓";
    color: #00ff88;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Visual Components */
.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Chart Container */
.chart-container {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333333;
    width: 100%;
    max-width: 300px;
}

.chart-title {
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.chart {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 200px;
    position: relative;
}

.chart-bar {
    width: 60px;
    background: linear-gradient(to top, #007bff, #00ff88);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.8s ease;
    display: flex;
    align-items: end;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
}

.chart-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Security Dashboard */
.security-dashboard {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333333;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.dashboard-header {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.metric {
    margin-bottom: 1.5rem;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.status-indicator {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #00ff88;
    color: #000000;
}

/* Retail Metrics */
.retail-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 250px;
}

.metric-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.metric-text {
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* eCommerce Flow */
.ecommerce-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    min-width: 300px;
}

.flow-step {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: center;
    min-width: 80px;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.step-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-arrow {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Sentiment Gauge */
.sentiment-gauge {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333333;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.gauge-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.gauge {
    width: 100%;
    height: 20px;
    background: #333333;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(to right, #007bff, #00ff88);
    transition: width 1s ease;
}

.gauge-label {
    color: #00ff88;
    font-weight: 600;
}

/* Automation Pipeline */
.automation-pipeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: bold;
}

.step-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.1rem;
    color: #b3b3b3;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .solution-content,
    .solution-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-content.reverse .solution-text,
    .solution-content.reverse .solution-visual {
        order: initial;
    }

    .solution-title {
        font-size: 2rem;
    }

    .ecommerce-flow {
        flex-direction: column;
        gap: 0.5rem;
        min-width: auto;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .automation-pipeline {
        flex-direction: column;
        gap: 1rem;
    }

    .retail-metrics {
        flex-direction: row;
        justify-content: space-around;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .solution-section {
        padding: 3rem 0;
    }

    .solution-title {
        font-size: 1.5rem;
    }

    .retail-metrics {
        flex-direction: column;
    }

    .chart-container,
    .security-dashboard,
    .sentiment-gauge {
        max-width: 100%;
    }
}

/* Animation Effects */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.solution-text {
    animation: slideInFromLeft 0.8s ease forwards;
}

.solution-visual {
    animation: slideInFromRight 0.8s ease forwards;
}

.solution-content.reverse .solution-text {
    animation: slideInFromRight 0.8s ease forwards;
}

.solution-content.reverse .solution-visual {
    animation: slideInFromLeft 0.8s ease forwards;
}