/* --- Replacement Phone Policy Styles --- */

/* Page Hero - Global Standard */
.page-hero {
    background: radial-gradient(circle at center, #002699 0%, #000000 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Base Sections */
.block-layout {
    padding: 5rem 0;
}

.block-layout.alt-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-heading {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff4f4;
    /* Light red tint */
    border: 1px solid #fee2e2;
    border-left: 5px solid #ef4444;
    /* Red accent */
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.1);
}

.alert-icon {
    font-size: 2.5rem;
}

.alert-content h3 {
    color: #991b1b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.alert-content p {
    color: #7f1d1d;
    line-height: 1.6;
}

/* Comparison Compare Cards */
.comparison-row {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.compare-card {
    flex: 1;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.compare-header {
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.header-warranty {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    /* Green */
}

.header-loss {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    /* Orange */
}

.compare-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.compare-header span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    font-weight: 600;
}

.compare-body {
    padding: 2rem;
}

.compare-body p {
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "•";
    color: #cbd5e1;
    font-size: 1.5rem;
    line-height: 0;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Policy Table */
.table-container {
    overflow-x: auto;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
}

.policy-table th,
.policy-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.policy-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.policy-table td {
    color: #334155;
    font-weight: 500;
}

.policy-table tbody tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge.free {
    background: #dcfce7;
    color: #166534;
}

.small-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Buttons */
.button-group {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-small {
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
}

.btn-secondary-small {
    background: #eff6ff;
    color: #0066FF;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.btn-secondary-small:hover {
    background: #dbeafe;
}

.center-cta {
    text-align: center;
}

.center-cta h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.25rem;
    }

    .comparison-row {
        flex-direction: column;
    }

    .alert-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .alert-icon {
        margin: 0 auto;
    }
}