/* ============================================================================
 * Smart Directory Pro Theme V4, Pricing page overrides
 *
 * Loaded only on pages using template-pricing.php. Overrides the plugin's
 * default .sdp-pricing defaults to match the SDP brand (deeper navy, brand
 * cyan, on-brand typography). Pure CSS, no JS coupling.
 * ========================================================================== */

.sdt-pricing-page {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.sdt-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero -------------------------------------------------------------------- */
.sdt-pricing-hero {
    padding: 64px 0 32px;
    text-align: center;
}
.sdt-pricing-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #06b6d4;
    background: rgba(6, 182, 212, .08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.sdt-pricing-hero__title {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 auto 16px;
    max-width: 760px;
    color: #0a1733;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.sdt-pricing-hero__sub {
    font-size: 18px;
    line-height: 1.55;
    max-width: 600px;
    margin: 0 auto;
    color: #475569;
}
.sdt-pricing-hero__intro {
    max-width: 640px;
    margin: 24px auto 0;
    color: #334155;
    font-size: 15px;
}

/* Plugin shortcode body --------------------------------------------------- */
.sdt-pricing-body {
    padding: 0 0 64px;
}
.sdt-pricing-body .sdp-pricing {
    padding-top: 0; /* hero already gives top padding */
    max-width: none;
}

/* Brand-tinted overrides on plugin defaults ------------------------------- */
.sdt-pricing-body .sdp-pricing__card--pro {
    border-color: #06b6d4;
    box-shadow:
        0 1px 0 rgba(6, 182, 212, .12),
        0 20px 50px -20px rgba(10, 23, 51, .25);
    background:
        radial-gradient(circle at top right, rgba(6, 182, 212, .04), transparent 60%),
        #ffffff;
}
.sdt-pricing-body .sdp-pricing__card-flag {
    background: #06b6d4;
    color: #ffffff;
    letter-spacing: .08em;
}
.sdt-pricing-body .sdp-pricing__btn--primary {
    background: #06b6d4;
    color: #ffffff;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
}
.sdt-pricing-body .sdp-pricing__btn--primary:hover {
    background: #0891b2;
}
.sdt-pricing-body .sdp-pricing__toggle {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 1px 2px rgba(10, 23, 51, .04);
}
.sdt-pricing-body .sdp-pricing__toggle-opt.sdp-is-active {
    background: #0a1733;
}
.sdt-pricing-body .sdp-pricing__save {
    background: #facc15;
    color: #0a1733;
}
.sdt-pricing-body .sdp-pricing__amount {
    font-feature-settings: "tnum" 1; /* tabular figures so prices align nicely */
}

/* Comparison table polish */
.sdt-pricing-body .sdp-pricing__table {
    box-shadow: 0 1px 2px rgba(10, 23, 51, .04);
}
.sdt-pricing-body .sdp-pricing__table thead th {
    background: #0a1733;
    color: #ffffff;
    letter-spacing: .1em;
}
.sdt-pricing-body .sdp-pricing__yes {
    color: #06b6d4;
}

/* Trust strip ------------------------------------------------------------- */
.sdt-pricing-trust {
    padding: 32px 0 80px;
    border-top: 1px solid #e2e8f0;
}
.sdt-pricing-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 720px) {
    .sdt-pricing-trust__grid { grid-template-columns: 1fr; }
}
.sdt-pricing-trust__item {
    text-align: center;
    color: #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.sdt-pricing-trust__item i {
    font-size: 28px;
    color: #06b6d4;
    margin-bottom: 4px;
}
.sdt-pricing-trust__item strong {
    color: #0a1733;
    font-size: 15px;
}
.sdt-pricing-trust__item span {
    font-size: 13px;
}

/* Fallback box (plugin not active) --------------------------------------- */
.sdt-pricing-fallback {
    padding: 60px;
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    text-align: center;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}
