/* ── Dark section text overrides ──────────────────────────────────────────
 * Since main.css now defaults to white bg + dark text, sections with dark
 * backgrounds need explicit light text colors.
 * ─────────────────────────────────────────────────────────────────────── */

/* Section header text on dark backgrounds */
.problem-section .section-header h2 {
    color: #091f27;
}

.problem-section .section-header p {
    color: #25505e;
}

.use-cases-section .section-header,
.specs-section .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.use-cases-section .section-header h2,
.specs-section .section-header h2 {
    color: #e1ddd1;
}

.use-cases-section .section-header p,
.specs-section .section-header p {
    color: rgba(225, 221, 209, 0.8);
}

/* Solutions Pages CSS - SecureStorage & Product Pages */

/* Problem Section */
.problem-section {
    padding: 8rem 3rem;
    background: #ffffff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    padding: 3rem;
    background: #fff8f0;
    border: 1px solid rgba(243, 143, 30, 0.2);
    border-left: 4px solid var(--brand-orange);
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(243, 143, 30, 0.2);
    border-color: var(--brand-orange);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--brand-orange);
    margin-bottom: 1rem;
    font-weight: 700;
}

.problem-card p {
    color: #25505e;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cost-stat {
    font-size: 1rem;
    font-weight: 700;
    color: #c47010;
    padding: 1rem;
    background: rgba(243, 143, 30, 0.08);
    border-left: 3px solid var(--brand-orange);
    margin-top: 1.5rem;
}

/* Solution Section */
.solution-section {
    padding: 8rem 3rem;
    background: #091f27;
    width: 100%;
}

.solution-section .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-section .section-header h2 {
    color: #e1ddd1;
}

.solution-section .section-header p {
    color: rgba(225, 221, 209, 0.8);
}

.solution-section .section-label {
    color: #f38f1e;
}

.architecture-visual {
    margin: 4rem 0;
    text-align: center;
}

.solution-principles {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.principle {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(82, 183, 185, 0.15);
    transition: all 0.3s;
}

.principle:hover {
    border-color: var(--support-teal-bright);
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(82, 183, 185, 0.2);
}

.principle-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-orange);
    font-family: 'Poppins', sans-serif;
}

.principle-content h3 {
    font-size: 1.75rem;
    color: var(--support-teal-bright);
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle-content p {
    color: rgba(225, 221, 209, 0.75);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Use Cases Section */
.use-cases-section {
    padding: 8rem 3rem;
    background: #091f27;
    width: 100%;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.use-case-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(82, 183, 185, 0.2);
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--support-teal-bright);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(82, 183, 185, 0.2);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.use-case-icon {
    font-size: 2.5rem;
}

.use-case-header h3 {
    font-size: 1.5rem;
    color: var(--support-teal-bright);
    font-weight: 700;
}

.use-case-description {
    color: rgba(225, 221, 209, 0.75);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.use-case-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.benefit {
    color: rgba(225, 221, 209, 0.85);
    font-size: 0.95rem;
}

.use-case-outcome {
    padding: 1.5rem;
    background: rgba(82, 183, 185, 0.08);
    border-left: 3px solid var(--support-teal-bright);
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(225, 221, 209, 0.75);
}

.use-case-outcome strong {
    color: var(--support-teal-bright);
}

.roi-section .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.roi-section .section-header h2 {
    color: #091f27;
}

/* Integration Section */
.integration-section {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.integration-category {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #52b7b9;
}

.integration-category h3 {
    font-size: 1.5rem;
    color: var(--brand-orange);
    margin-bottom: 2rem;
    font-weight: 700;
}

.integration-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.integration-item {
    padding: 0.75rem 1.25rem;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #091f27;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-category > p {
    color: #25505e;
    font-style: italic;
    font-size: 0.9rem;
}

/* Specs Section */
.specs-section {
    padding: 8rem 3rem;
    background: var(--bg-section);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.spec-card {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(82, 183, 185, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.spec-card:hover {
    border-color: var(--support-teal-bright);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(82, 183, 185, 0.2);
}

.spec-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.spec-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--support-teal-bright);
    margin-bottom: 1rem;
}

.spec-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ROI Section */
.roi-section {
    padding: 8rem 3rem;
    background: #ffffff;
    width: 100%;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.roi-card {
    padding: 2.5rem;
    background: #f6f6f6;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #52b7b9;
}

.roi-card h3 {
    font-size: 1.4rem;
    color: #091f27;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.roi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.roi-item span:first-child {
    color: #25505e;
    font-size: 0.9rem;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-left: 3px solid #52b7b9;
    gap: 1rem;
}

.roi-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f38f1e;
    white-space: nowrap;
}

.roi-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: #f6f6f6;
    border-top: 3px solid #f38f1e;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.roi-cta p {
    font-size: 1.1rem;
    color: #25505e;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.roi-cta strong {
    color: var(--brand-orange);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .principle {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }
    
    .principle-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .problem-grid,
    .use-cases-grid,
    .integration-grid,
    .specs-grid,
    .roi-grid {
        grid-template-columns: 1fr;
    }
    
    .principle {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .principle-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
