/* css/connectivity_index.css — ViaConecta 2026 Connectivity Index Visual Styles */

.index-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    padding: 120px 20px 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.index-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.index-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #ff6b00;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.index-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.25;
    letter-spacing: -1px;
}

.index-hero p {
    font-size: 19px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.index-meta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.index-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Key Metrics Grid */
.metrics-section {
    max-width: 1200px;
    margin: -40px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.metric-card {
    background: rgba(21, 28, 44, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.4);
}

.metric-number {
    font-size: 38px;
    font-weight: 800;
    color: #ff6b00;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.metric-label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.metric-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Report Content Layout */
.report-container {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.report-section {
    background: rgba(21, 28, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
}

.report-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-section h2 i {
    color: #ff6b00;
}

.report-section p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.comp-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.comp-table tr.highlight-row {
    background: rgba(255, 107, 0, 0.08);
    font-weight: 700;
}

.comp-table tr.highlight-row td {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Interactive Calculator Widget */
.calc-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #ff6b00;
    border-radius: 24px;
    padding: 36px;
    margin: 40px 0;
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
}

.calc-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.calc-sub {
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 30px;
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-select, .calc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.calc-select option {
    background: #1e293b;
    color: #ffffff;
}

.calc-select:focus, .calc-input:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.calc-res-item .label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.calc-res-item .val-old {
    font-size: 26px;
    font-weight: 800;
    color: #f87171;
    text-decoration: line-through;
}

.calc-res-item .val-new {
    font-size: 32px;
    font-weight: 800;
    color: #4ade80;
}

.calc-savings-badge {
    grid-column: 1 / -1;
    margin-top: 10px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

/* CTA Button Styles */
.index-hero-cta {
    margin-top: 28px;
}

.btn-primary-orange {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.6);
}

.btn-sm-orange {
    display: inline-block;
    background: #ff6b00;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sm-orange:hover {
    background: #ff8800;
    transform: scale(1.05);
}

.calc-buy-btn {
    grid-column: 1 / -1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    background: linear-gradient(135deg, #ff6b00, #ff8800);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    max-width: 360px;
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.35);
    transition: all 0.3s ease;
}

.calc-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .index-hero {
        padding: 110px 16px 60px 16px;
    }
    .index-hero h1 {
        font-size: 30px;
    }
    .index-hero p {
        font-size: 16px;
    }
    .report-section {
        padding: 24px 18px;
    }
    .calc-form {
        grid-template-columns: 1fr;
    }
    .calc-result-grid {
        grid-template-columns: 1fr;
    }
}
