/* Page styles extracted from pricing/index.php. */

.pricing-clean {
    padding: 40px 0 64px;
}

.pricing-hero,
.pricing-card,
.pricing-compare,
.pricing-faq-item,
.pricing-cta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.pricing-hero {
    padding: 38px;
    margin-bottom: 28px;
    background:
        linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.97)),
        url('/assets/images/hero-grid-pattern.svg'),
        url('/assets/images/hero-trust-bg.svg');
    background-repeat: no-repeat, repeat, no-repeat;
    background-position: center, center, right center;
    background-size: cover, 180px, 520px;
}

.pricing-hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 680px;
}

.pricing-hero p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.pricing-subnote {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.pricing-section {
    margin-bottom: 28px;
}

.pricing-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}

.pricing-section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.pricing-section-head p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pricing-card {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    position: relative;
}

.pricing-card.featured {
    border-color: #bfdbfe;
    box-shadow: 0 20px 42px rgba(37,99,235,0.10);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-card h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.pricing-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.pricing-price {
    margin: 18px 0 10px;
    display: flex;
    align-items: end;
    gap: 8px;
}

.pricing-price strong {
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.pricing-price span {
    color: var(--muted);
}

.pricing-feature-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.pricing-feature-list div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pricing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pricing-compare {
    padding: 24px;
    overflow-x: auto;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: top;
}

.pricing-table th {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.pricing-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pricing-faq-item {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.pricing-faq-item h3 {
    margin-bottom: 10px;
}

.pricing-faq-item p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.pricing-cta {
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(125,180,255,0.18), transparent 28%),
        linear-gradient(135deg, #111827, #1e3a8a 68%, #2563eb);
    color: white;
    border: none;
}

.pricing-cta p {
    max-width: 760px;
    color: rgba(255,255,255,0.84);
    line-height: 1.75;
}

.pricing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}


.pricing-compare {
    padding: 0;
    overflow-x: auto;
    background: #fff;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    text-align: left;
}

.compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
    text-align: center;
    border-left: 1px solid #edf2f7;
}

.compare-table tbody tr:hover td {
    background: #fbfdff;
}

.compare-section-row td {
    padding: 11px 16px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.compare-feature-title {
    display: block;
    color: #0f172a;
    font-weight: 760;
    margin-bottom: 2px;
}

.compare-feature-note {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.compare-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    font-size: 0.86rem;
}

.compare-mark.yes {
    background: #ecfdf5;
    color: #047857;
}

.compare-mark.no {
    background: #f8fafc;
    color: #94a3b8;
}

.compare-mark.gold {
    background: #fef3c7;
    color: #92400e;
}

.compare-business-col {
    background: rgba(254, 243, 199, 0.22);
}

@media (max-width: 760px) {
    .compare-table {
        min-width: 720px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
    }
}
@media (max-width: 980px) {
    .pricing-grid,
    .pricing-faq-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-actions .btn-plan-free {
    background: linear-gradient(135deg, #16a34a, #059669) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.28) !important;
}

.pricing-actions .btn-plan-gold {
    background: linear-gradient(135deg, #9a640f, #d99a18 48%, #f3c451) !important;
    color: #111827 !important;
    border-color: rgba(154, 100, 15, 0.28) !important;
    box-shadow: 0 16px 32px rgba(184, 134, 11, 0.34) !important;
}

.pricing-actions .btn-plan-gold:hover {
    background: linear-gradient(135deg, #86540d, #e3aa2d 48%, #ffd978) !important;
    color: #111827 !important;
}
