/* ===== PRICING PAGE ===== */

/* Hero */
.pricing-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    overflow: hidden;
}

.pricing-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pricing-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.pricing-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.55) 0%,
            rgba(10, 22, 40, 0.85) 100%);
}

.pricing-hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.pricing-hero-inner {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.pricing-hero-inner h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    white-space: nowrap;
}

.pricing-hero-inner .hero-sub {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto;
}


/* ===== PRICING GRID ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pricing-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Featured card (Professional) */
.pricing-card--featured {
    border: 2px solid var(--blue);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.12);
}

.pricing-card--featured:hover {
    box-shadow: 0 16px 48px rgba(30, 144, 255, 0.18);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.pricing-card-desc {
    font-size: 13px;
    color: #6b7a8d;
    line-height: 1.5;
}

.pricing-card-price {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-prefix {
    display: block;
    font-size: 11px;
    color: #6b7a8d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.price-amount--custom {
    font-size: 28px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 14px;
    color: #6b7a8d;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #5a6577;
    line-height: 1.4;
}

.pricing-features .material-symbols-outlined {
    font-size: 16px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    font-size: 11px;
    color: #8a95a5;
    margin-top: 8px;
}

.pricing-demo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pricing-demo-link:hover {
    color: #3DA0FF;
}

.pricing-demo-link .material-symbols-outlined {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.pricing-demo-link:hover .material-symbols-outlined {
    transform: translateX(3px);
}


/* ===== EASYRATE SECTION (Modernized) ===== */
.easyrate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px auto 0;
}

.easyrate-benefit {
    text-align: center;
    padding: 36px 24px;
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.easyrate-benefit:hover {
    border-color: rgba(30, 144, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.easyrate-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.2);
}

.easyrate-benefit-icon .material-symbols-outlined {
    font-size: 26px;
    color: #fff;
}

.easyrate-benefit h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.easyrate-benefit p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA row */
.easyrate-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    padding: 32px;
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
}

.easyrate-cta-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.easyrate-cta-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.easyrate-cta-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}


/* ===== FEATURE COMPARISON TABLE ===== */
.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 48px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table thead th {
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.comparison-table td:first-child {
    color: #5a6577;
    font-weight: 400;
}

.comparison-category td {
    font-weight: 700;
    color: var(--navy);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(30, 144, 255, 0.02);
}

.featured-col {
    background: rgba(30, 144, 255, 0.03);
}

.comparison-table thead .featured-col {
    color: var(--blue);
}

.check {
    color: var(--teal);
    font-weight: 700;
    font-size: 14px;
}

.comparison-table td:not(:first-child):not(.featured-col) {
    color: #8a95a5;
}


/* ===== FAQ (dark variant) ===== */
.faq-list {
    max-width: 700px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--navy-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.faq-question:hover {
    color: var(--blue);
}

.faq-toggle {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 4px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .easyrate-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .easyrate-grid {
        grid-template-columns: 1fr;
    }

    .easyrate-cta-row {
        flex-direction: column;
        text-align: center;
    }

    .easyrate-cta-stat {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .pricing-hero-inner h1 {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 24px 20px;
    }
}
