/* ==============================================
   SOLUTIONS PAGES — Shared Styles
   Reusable across all /solutions/* pages.
   ============================================== */

/* ---------------------------------------------
   HERO
   Centered headline + subtitle + CTAs.
   Dark background with ambient glow.
---------------------------------------------- */

.sol-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0a0e1a 100%);
    padding: 100px 40px 80px;
    text-align: center;
}

.sol-hero::before,
.sol-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.sol-hero::before {
    width: 600px;
    height: 450px;
    background: radial-gradient(ellipse, #00d4ff 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.sol-hero::after {
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, #00ff88 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
}

.sol-hero .container {
    position: relative;
    z-index: 1;
}

.sol-hero h1 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sol-hero-sub {
    font-size: 20px;
    line-height: 30px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 18px;
}

.sol-hero-sub + .sol-hero-sub {
    margin-top: 0;
}

/* Second-line accent: slightly tighter color, italic weight,
   reads as the payoff to the descriptive first line. */
.sol-hero-sub-accent {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 40px;
}

.sol-hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.sol-hero .cta-buttons .btn {
    padding: 16px 36px;
    font-size: 18px;
}

/* Compensate for .btn-secondary's 2px border so both buttons match in size.
   Adding a transparent border on .btn-primary instead would cause the
   gradient to bleed into the border area and create edge artifacts. */
.sol-hero .cta-buttons .btn-primary {
    padding: 18px 38px;
}

/* ---------------------------------------------
   SHARED CITATION PILL
   Used by the .sol-proof social proof section;
   kept generic so per-page problem sections can
   reuse it if needed.
---------------------------------------------- */

.sol-proof .citation-pill {
    display: inline-block;
    background: rgba(160, 174, 192, 0.1);
    color: var(--text-link-subtle);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(160, 174, 192, 0.25);
    vertical-align: middle;
    white-space: nowrap;
}

.sol-proof .citation-pill:hover {
    background: rgba(160, 174, 192, 0.2);
    color: var(--text-secondary);
    border-color: rgba(160, 174, 192, 0.4);
}

/* ---------------------------------------------
   SOLUTION FEATURE GRID
   Adapted from the "Automated Guardrails" section
   on the homepage (feature-grid / feature-item).
---------------------------------------------- */

.sol-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
    column-gap: 40px;
    max-width: 1016px;
    margin: 0 auto;
}

.sol-feature-item {
    display: flex;
    gap: 20px;
}

.sol-feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.sol-feature-icon img {
    width: 56px;
    height: 56px;
}

.sol-feature-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--el-cyan);
}

.sol-feature-content p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text-secondary);
    margin: 0;
}

/* ---------------------------------------------
   GUARDRAIL CARDS
   Adapted from the "100+ Guardrails Included"
   section on the homepage (policy-grid / policy-card).
---------------------------------------------- */

.sol-guardrail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1016px;
    margin: 0 auto;
}

.sol-guardrail-card {
    background: rgba(10, 14, 26, 0.6);
    border: 2px solid var(--glow-cyan-15);
    border-radius: 12px;
    padding: 22px;
    transition: all 0.3s ease;
}

.sol-guardrail-card:hover {
    border-color: var(--glow-cyan-30);
}

.sol-guardrail-card img {
    width: 40px;
    height: 40px;
}

.sol-guardrail-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0;
}

.sol-guardrail-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sol-guardrail-more {
    grid-column: 1 / -1;
    background: rgba(10, 14, 26, 0.6);
    border: 2px dashed var(--shadow-button-hover);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.sol-guardrail-more .more-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.sol-guardrail-more .more-text a {
    color: var(--el-cyan);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 212, 255, 0.35);
    transition: border-color 0.2s ease;
}

.sol-guardrail-more .more-text a:hover {
    border-bottom-color: var(--el-cyan);
}

/* ---------------------------------------------
   FRAMEWORK MAPPING TABLE
   Used on compliance-oriented solution pages
   to show guardrail-to-framework control
   mappings (CMMC, NIST, STIG, etc.).
---------------------------------------------- */

.sol-framework-mapping {
    max-width: 1016px;
    margin: 72px auto 0;
}

.sol-framework-header {
    font-size: 26px;
    line-height: 34px;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.sol-framework-subtitle {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.sol-framework-table-wrap {
    background: rgba(10, 14, 26, 0.6);
    border: 2px solid var(--glow-cyan-15);
    border-radius: 12px;
    overflow: hidden;
}

.sol-framework-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: var(--text-secondary);
}

.sol-framework-table thead {
    background: rgba(0, 212, 255, 0.08);
}

.sol-framework-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--el-cyan);
    border-bottom: 1px solid var(--glow-cyan-15);
}

.sol-framework-table td {
    padding: 18px 20px;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 22px;
}

.sol-framework-table tbody tr:last-child td {
    border-bottom: none;
}

.sol-framework-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.04);
}

.sol-framework-control-area {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.sol-framework-guardrail {
    color: var(--text-primary);
    font-weight: 600;
}

.sol-framework-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sol-framework-pill {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(52, 248, 182, 0.08);
    color: var(--el-green);
    border: 1px solid rgba(52, 248, 182, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.sol-framework-footnote {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 20px;
}

.sol-framework-footnote a {
    color: var(--el-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    transition: border-color 0.2s ease;
}

.sol-framework-footnote a:hover {
    border-bottom-color: var(--el-cyan);
}

/* ---------------------------------------------
   SOCIAL PROOF
   Testimonials + stats, adapted from homepage.
---------------------------------------------- */

.sol-proof {
    text-align: center;
}

.sol-proof .section-title {
    margin-bottom: 48px;
}

.sol-testimonial-container {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
}

.sol-testimonial-box {
    flex: 1;
    padding: 48px;
    border-radius: 20px;
    box-shadow:
        inset 0px 2px 0px 0px var(--glass-white-20),
        0px 2px 8px 0px rgba(0, 214, 255, 0.15),
        0px 1px 4px 0px rgba(0, 214, 255, 0.04);
    text-align: left;
}

.sol-testimonial-quote-icon {
    font-size: 68px;
    font-weight: 600;
    line-height: 22px;
    color: var(--el-cyan);
}

.sol-testimonial-quote {
    font-size: 20px;
    line-height: 28px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.sol-testimonial-author {
    font-size: 14px;
    line-height: 20px;
    color: var(--el-cyan);
    font-weight: 800;
}

.sol-testimonial-author a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
    transition: border-color 0.2s ease;
}

.sol-testimonial-author a:hover {
    border-bottom-color: var(--el-cyan);
}

.sol-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.sol-stat {
    text-align: center;
    max-width: 220px;
    margin: 0 auto;
}

.sol-stat-number {
    font-size: 48px;
    line-height: 40px;
    font-weight: 700;
    color: var(--el-green);
    margin-bottom: 8px;
    display: flex;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
}

.sol-stat-number > span {
    font-size: 32px;
    line-height: 32px;
}

.sol-stat-label {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ---------------------------------------------
   RESPONSIVE
---------------------------------------------- */

@media (max-width: 1024px) {
    .sol-hero {
        padding: 80px 40px 60px;
    }

    .sol-hero h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .sol-feature-grid {
        row-gap: 36px;
        column-gap: 32px;
    }
}

@media (max-width: 768px) {
    .sol-hero {
        padding: 60px 20px 50px;
    }

    .sol-hero h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .sol-hero-sub {
        font-size: 18px;
        line-height: 26px;
    }

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

    .sol-hero .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .sol-feature-grid,
    .sol-guardrail-grid {
        grid-template-columns: 1fr;
    }

    .sol-testimonial-container {
        flex-direction: column;
    }

    .sol-testimonial-box {
        padding: 36px 24px;
    }

    .sol-stats {
        gap: 24px;
    }

    .sol-framework-mapping {
        margin-top: 56px;
    }

    .sol-framework-table th,
    .sol-framework-table td {
        padding: 14px 16px;
    }

    .sol-framework-header {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width: 500px) {
    .sol-hero h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .sol-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sol-framework-table th:first-child,
    .sol-framework-table td:first-child {
        display: none;
    }

    .sol-framework-table th,
    .sol-framework-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .sol-framework-pill {
        font-size: 11px;
        padding: 3px 8px;
    }
}
