/* ===== PLATFORM PAGE ===== */

/* Hero */
.platform-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    overflow: hidden;
}



.platform-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.platform-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.platform-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.55) 0%,
            rgba(10, 22, 40, 0.85) 100%);
}

.platform-hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.platform-hero-inner {
    max-width: 840px;
    text-align: center;
    margin: 0 auto;
}

.platform-hero-inner h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.platform-hero-inner h1 .highlight-blue {
    display: block;
}

.platform-hero-inner .hero-sub {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.platform-hero-inner .hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.platform-hero-inner .hero-ctas .btn {
    min-width: 220px;
    justify-content: center;
}


/* ===== CAPABILITIES GRID ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.capability-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(30, 144, 255, 0.15);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 144, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.capability-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--blue);
}

.capability-icon--teal {
    background: rgba(0, 212, 170, 0.08);
}

.capability-icon--teal .material-symbols-outlined {
    color: var(--teal);
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.capability-card > p {
    font-size: 14px;
    color: #5a6577;
    line-height: 1.7;
    margin-bottom: 16px;
}

.capability-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.capability-highlights li {
    font-size: 12px;
    color: #6b7a8d;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.capability-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
    font-size: 11px;
}


/* ===== INSTANT ANALYSIS FLOW ===== */
.ia-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 48px 0 40px;
}

.ia-step {
    text-align: center;
    max-width: 220px;
    position: relative;
}

.ia-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.ia-step-icon {
    font-size: 28px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ia-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ia-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ia-step-connector {
    display: flex;
    align-items: center;
    padding-top: 24px;
    color: var(--text-muted);
    opacity: 0.4;
}

.ia-step-connector .material-symbols-outlined {
    font-size: 20px;
}

/* IAD Preview (reuse from homepage base) */
.iad-wrapper {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.preview-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--navy-surface);
    border-bottom: 1px solid var(--navy-border);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:nth-child(3) { background: #28C840; }

.preview-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--navy);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.preview-url .material-symbols-outlined {
    font-size: 14px;
    color: var(--teal);
}

.iad-content {
    padding: 32px;
}

.iad-headline {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.iad-headline em {
    font-style: normal;
    color: var(--teal);
}

.iad-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.savings-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.savings-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.savings-card .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.savings-card .amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.savings-card .sub {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.savings-card--highlight .amount {
    color: var(--teal);
}

.annualized-bar {
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.annualized-bar strong {
    color: var(--blue);
    font-weight: 700;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}


/* Wider header for AI section */
#ai-assistant .section-header p {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.ai-workflow-hz {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px auto 0;
    position: relative;
}

.ai-step-hz {
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    transition: all 0.3s ease;
    position: relative;
}

.ai-step-hz:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(30, 144, 255, 0.15);
    transform: translateY(-4px);
}

.ai-step-hz-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.ai-step-hz h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.ai-step-hz p {
    font-size: 13px;
    color: #5a6577;
    line-height: 1.6;
    margin-bottom: 14px;
}

.ai-step-hz .ai-output {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--teal);
    background: rgba(0, 212, 170, 0.06);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}

.ai-step-hz .ai-output .material-symbols-outlined {
    font-size: 14px;
}


/* ===== CARRIER CATEGORIES ===== */
.carrier-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px auto 40px;
}

.carrier-category {
    text-align: center;
    padding: 28px 20px;
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.carrier-category:hover {
    border-color: rgba(30, 144, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carrier-category > .material-symbols-outlined {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 12px;
}

.carrier-category h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.carrier-category p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CARRIER MATRIX ===== */
.carrier-matrix {
    max-width: 700px;
    margin: 48px auto 32px;
    overflow-x: auto;
}

.carrier-matrix table {
    width: 100%;
    border-collapse: collapse;
}

.carrier-matrix th,
.carrier-matrix td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--navy-border);
    font-size: 14px;
}

.carrier-matrix th {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}

.carrier-matrix td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.carrier-matrix td:not(:first-child) {
    color: var(--text-secondary);
}

.status-full {
    color: var(--teal);
    font-weight: 700;
}

.status-partial {
    color: #FFBD2E;
    font-weight: 700;
}

.carrier-logos {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.carrier-badge {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .platform-hero {
        padding: 120px 0 60px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ia-flow {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .ia-step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .savings-row {
        grid-template-columns: 1fr;
    }

    .carrier-categories {
        grid-template-columns: 1fr;
    }

    .ai-workflow-hz {
        grid-template-columns: repeat(2, 1fr);
    }

    .carrier-matrix th,
    .carrier-matrix td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .platform-hero-inner h1 {
        font-size: 1.8rem;
    }

    .capability-card {
        padding: 24px 20px;
    }
}
