/* =========================================
   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;
}


/* ---- Pricing Grid ---- */


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.pricing-card {
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #c8d5ea;
}

.pricing-card.premium {
    border: 2px solid var(--brand-orange);
    background: linear-gradient(135deg, white 0%, #fffbf8 100%);
}

.premium-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(253, 82, 2, 0.3);
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-navy);
    margin-bottom: 8px;
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 24px;
}

.card-price {
    margin-bottom: 32px;
}

.price-value {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-navy);
}

.price-currency {
    font-size: 1.5rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

.plan-limit {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    font-weight: 600;
}

.plan-commission {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--brand-orange);
    font-weight: 700;
}

.card-btn {
    display: block;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    background: #f1f4f9;
    color: var(--text-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: all 0.2s;
}

.card-btn:hover {
    background: #e5eaf2;
}

.card-btn.primary {
    background: var(--text-navy);
    color: white;
}

.card-btn.primary:hover {
    background: #0f1e3a;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-navy);
    font-weight: 500;
}

.card-features li i {
    color: var(--brand-orange);
    font-size: 1.1rem;
}

/* ---- 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: 20%; 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;
}

.check-icon {
    color: var(--brand-orange);
    font-weight: bold;
}

.dash-icon {
    color: #cbd5e1;
}

/* ---- 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-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .pricing-hero { padding: 110px 0 40px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 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;
    }
}
