/* =========================================
   Pricing Page Styles
   ========================================= */

/* ---- Hero ---- */
.pricing-hero {
    padding: 150px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect x='10' y='10' width='80' height='80' rx='20' fill='none' stroke='%23f1f3f9' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
}

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

.pricing-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 16px 0 20px;
}

.pricing-hero-sub {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.6;
}




/* ---- Comparison Table ---- */
.comparison-section {
    padding: 80px 0 120px;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.table-container {
    background: white;
    border-radius: 24px;
    border: 1.5px solid #e8edf5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 24px 32px;
    text-align: left;
    border-bottom: 1.5px solid #f1f4f9;
}

th {
    background: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-navy);
}

.feature-col { width: 40%; }
.tier-col { width: 30%; text-align: center; }

/* Align table data with headers */
td:nth-child(n+2) {
    text-align: center;
}

tr:last-child td { border-bottom: none; }

td.feature-name {
    font-weight: 600;
    color: var(--text-navy);
}

td.feature-desc {
    display: block;
    font-size: 0.82rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 2px;
}

td:nth-child(2) {
    color: var(--text-gray);
    font-size: 0.95rem;
}

td:nth-child(3) {
    color: var(--text-navy);
    font-weight: 700;
    font-size: 0.95rem;
}

td:nth-child(3)::before {
    content: "✓ ";
    color: var(--brand-orange);
    margin-right: 4px;
}

/* ---- FAQ Section ---- */
.faq-section {
    padding: 100px 0 120px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item {
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 24px 30px;
}

.faq-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-navy);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .pricing-hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .pricing-hero { padding: 110px 0 40px; }
    .faq-grid { grid-template-columns: 1fr; }
    .feature-col { width: 40%; }
    th, td { padding: 16px 20px; }
    .pricing-hero-title { font-size: 2rem; }
    .pricing-hero-sub { font-size: 1rem; }
    
    table {
        min-width: 850px;
    }
}
