:root {
    /* Dark Theme Colors */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --text-primary: #e4e6eb;
    --text-secondary: #b0b3b8;
    --color-blue: #4a9eff;
    --color-green: #2ecc71;
    --color-red: #e74c3c;
    --color-orange: #f39c12;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

/* ==========================================
   9. SOLUTION PAGE (formerly Product Page)
   ========================================== */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Solution Hero */
.product-hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.product-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Solution Sections */
.product-section {
    background-color: rgba(26, 31, 46, 0.6);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 40px;
    margin-right: 20px;
    margin-left: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.1);
    transition: all var(--transition-speed);
}

.product-section:hover {
    border-color: rgba(74, 158, 255, 0.3);
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-primary);
    text-align: justify;
}

/* Integration Diagram */
.integrations-section {
    min-height: 700px;
}

.integration-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 60px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
}

.integration-box {
    position: absolute;
    width: 180px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.2), rgba(46, 204, 113, 0.2));
    border: 2px solid rgba(74, 158, 255, 0.4);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    z-index: 10;
}

.integration-box:hover {
    border-color: var(--color-blue);
    box-shadow: 0 10px 40px rgba(74, 158, 255, 0.4);
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.3), rgba(46, 204, 113, 0.3));
}

.integration-top {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}

.integration-bottom {
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.integration-left {
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(-110%);
}

.integration-right {
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(110%);
}

.box-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    padding: 12px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-blue);
}

.integration-box h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.integration-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.integration-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: pointer;
}

.center-circle {
    width: 160px;
    height: 160px;
    background-color: rgba(26, 31, 46, 0.95);
    border: 4px solid var(--color-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(74, 158, 255, 0.5);
    transition: all var(--transition-speed);
    position: relative;
    z-index: 10;
}

.integration-center:hover .center-circle {
    border-color: var(--color-green);
    box-shadow: 0 0 60px rgba(74, 158, 255, 0.8);
}

.logo-icon {
    width: 100%;
    height: 100%;
}

.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 2;
}

.connection-lines line {
    stroke-opacity: 1;
}

/* Strategy Flow */
.strategy-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 50px;
    gap: 0;
    flex-wrap: wrap;
}

.strategy-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.step-arrow {
    background: linear-gradient(135deg, #09478f, var(--color-green));
    padding: 30px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.3);
    transition: all var(--transition-speed);
    flex-shrink: 0;
}

.step-arrow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.5);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background-color: var(--accent-blue);
    color: #1b222b;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow h3 {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.strategy-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
    flex-grow: 1;
}

.strategy-arrow-connector {
    font-size: 3rem;
    color: var(--color-blue);
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    align-self: flex-start;
    margin-top: 60px;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(46, 204, 113, 0.05));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background-color: rgba(15, 20, 25, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid rgba(74, 158, 255, 0.2);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue);
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.3);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-blue);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--color-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Benefits Stats */
.benefits-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(46, 204, 113, 0.15));
    border-radius: 16px;
    border: 2px solid rgba(74, 158, 255, 0.3);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-source {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.stat-divider {
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--color-blue), transparent);
    margin: 0 20px;
}

/* Solution CTA */
.product-cta {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.2), rgba(46, 204, 113, 0.2));
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.product-cta h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-cta p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* solution-modal Styles */
.solution-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-modal.hidden {
    display: none;
}

.solution-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.solution-modal-content {
    position: relative;
    background-color: #1a1f2e;
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #4a9eff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    border-radius: 50%;
    color: #e74c3c;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}

.solution-modal-close:hover {
    background-color: #e74c3c;
    color: #0f1419;
    transform: rotate(90deg);
}

.solution-modal-title {
    font-size: 2rem;
    color: #4a9eff;
    margin-bottom: 20px;
    text-align: center;
}

.solution-modal-description {
    font-size: 1.1rem;
    color: #b0b3b8;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.7;
}

.solution-modal-image {
    width: 100%;
    height: 330px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-modal-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
    border-radius: 10px;
}

.solution-modal-features {
    list-style: none;
    padding: 0;
}

.solution-modal-features li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: rgba(15, 20, 25, 0.6);
    border-radius: 8px;
    border-left: 4px solid #4a9eff;
    transition: all 0.3s;
    color: #e4e6eb;
    font-size: 1.05rem;
}

.solution-modal-features li:hover {
    border-left-color: #2ecc71;
    background-color: rgba(15, 20, 25, 0.8);
    transform: translateX(5px);
}

.solution-modal-features li::before {
    content: "▸";
    color: #4a9eff;
    font-size: 1.3rem;
    margin-right: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .box-icon {
        width: 40px;
        height: 40px;
    }
    .integration-box h3 {
        font-size: .9rem;
    }
    .integration-box p {
        font-size: 0.7rem;
    }
    .integration-right {
        transform: translateY(-50%) translateX(140%);
    }
    .integration-left {
        transform: translateY(-50%) translateX(-140%);
    }
    .integration-bottom {
        bottom: -20px;
    }
    .integration-top {
        top: -20px;
    }
    .integration-box {
        width: 110px;
    }
    .connection-lines {
        width: 480px;
        height: 480px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    #solutions {
        overflow: auto;
    }
    
    .solution-modal-image {
        height: 195px;
    }
    
    .integration-box {
        width: 95px;
    }
    
    .connection-lines {
        width: 350px;
        height: 350px;
    }
    .center-circle {
        width: 120px;
        height: 120px;
    }
    integration-box {
        width: 100px;
    }
    .integration-right {
        transform: translateY(-50%) translateX(90%);
    }
    .integration-left {
        transform: translateY(-50%) translateX(-90%);
    }
    .integration-bottom {
        bottom: 20px;
    }
    .integration-top {
        top: 20px;
    }
    .solution-modal-content {
        padding: 20px;
        max-width: 400px;
        width: 65%;
        max-height: 70vh;
    }
}