/* Page Wrapper */
.page-wrapper {
    background: #f7f7f7;
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Page Content */
.page-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    line-height: 1.8;
    color: #374151;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content h1 { font-size: 2rem; }
.page-content h2 { font-size: 1.75rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content h4 { font-size: 1.25rem; }

.page-content p {
    margin-bottom: 1.25rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--primary-color, #FF5A5F);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.page-content blockquote {
    border-left: 4px solid var(--primary-color, #FF5A5F);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content table th,
.page-content table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: left;
}

.page-content table th {
    background: #f8fafc;
    font-weight: 600;
}

.page-content pre,
.page-content code {
    background: #f1f5f9;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
}

.page-content pre {
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.page-content code {
    padding: 0.2rem 0.4rem;
}

/* FAQ Styles */
.faq-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section h3 {
    color: var(--primary-color, #FF5A5F);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
}

.faq-item h4 {
    color: #1a202c;
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #4a5568;
}

/* Terms & Privacy Styles */
.terms-content .last-updated,
.privacy-content .last-updated {
    color: #64748b;
    font-style: italic;
    margin-bottom: 2rem;
}

.terms-section,
.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.terms-section:last-child,
.privacy-section:last-child {
    border-bottom: none;
}

.terms-section h3,
.privacy-section h3 {
    color: var(--primary-color, #FF5A5F);
}

.terms-section ul,
.privacy-section ul {
    background: #f8fafc;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    border-radius: 8px;
}

/* How It Works Styles */
.how-it-works-content .intro {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.steps-container {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #FF5A5F) 0%, var(--primary-light, #ff8a8d) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.step-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.step-content li {
    color: #64748b;
    font-size: 0.95rem;
}

/* Insurance Styles */
.insurance-content .intro {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.insurance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.insurance-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.insurance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.insurance-card.premium {
    border-color: var(--primary-color, #FF5A5F);
}

.insurance-card .card-header {
    padding: 1.25rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.insurance-card .card-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.insurance-card .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.insurance-card .badge.popular {
    background: var(--primary-color, #FF5A5F);
}

.insurance-card .price {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #FF5A5F);
    margin-top: 0.5rem;
}

.insurance-card .card-body {
    padding: 1.25rem;
}

.insurance-card .description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.insurance-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.insurance-card .features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.insurance-card .features li:last-child {
    border-bottom: none;
}

.insurance-card .features li i.fa-check {
    color: #10b981;
}

.insurance-card .features li i.fa-times {
    color: #ef4444;
}

.insurance-card .deductible {
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insurance-card .deductible span {
    color: #64748b;
    font-size: 0.9rem;
}

.insurance-card .deductible strong {
    color: #1a202c;
}

.insurance-faqs {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.insurance-faqs h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* CTA Section (used in multiple pages) */
.cta-section {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 12px;
    margin-top: 2.5rem;
}

.cta-section h3 {
    color: white;
    margin: 0 0 0.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.5rem;
}

.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--primary-color, #FF5A5F);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

.cta-section .btn-primary:hover {
    background: var(--primary-hover, #e04e52);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .page-content {
        padding: 1.5rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content ul {
        text-align: left;
    }

    .insurance-cards {
        grid-template-columns: 1fr;
    }
}
