/* EquipLog Pricing Page */

.elp-pricing-page {
    --elp-red: #e30614;
    --elp-ink: #1a1a1a;
    --elp-muted: #5c5c5c;
    --elp-line: #e8e8e8;
    --elp-soft: #f7f7f7;
    --elp-card: #ffffff;

    min-height: 100vh;
    padding: 48px 20px 64px;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(227, 6, 20, 0.08), transparent 55%),
        radial-gradient(900px 420px at 90% 0%, rgba(36, 36, 36, 0.06), transparent 50%),
        linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
    font-family: "General Sans", sans-serif;
    color: var(--elp-ink);
}

.elp-pricing-page * {
    box-sizing: border-box;
}

.elp-pricing-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.elp-pricing-brand {
    text-align: center;
    margin-bottom: 18px;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.elp-pricing-brand span {
    color: var(--elp-red);
}

.elp-pricing-hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.elp-pricing-hero h1 {
    font-family: "Sora", sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--elp-ink);
}

.elp-pricing-hero p {
    margin: 0;
    color: var(--elp-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.elp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.elp-plan-card {
    position: relative;
    background: var(--elp-card);
    border: 1px solid var(--elp-line);
    border-radius: 16px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.elp-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 6, 20, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.elp-plan-card.is-featured {
    border-color: var(--elp-red);
    box-shadow: 0 18px 44px rgba(227, 6, 20, 0.12);
}

.elp-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--elp-red);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.elp-plan-name {
    font-family: "Sora", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 8px 0 6px;
    color: var(--elp-ink);
}

.elp-plan-period {
    color: var(--elp-muted);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.elp-plan-price {
    margin-bottom: 22px;
}

.elp-plan-price .amount,
.elp-plan-price .woocommerce-Price-amount,
.elp-plan-price bdi {
    font-family: "Sora", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--elp-ink);
    line-height: 1.1;
}

.elp-plan-price del {
    opacity: 0.55;
    font-size: 0.9rem;
}

.elp-plan-price ins {
    text-decoration: none;
}

.elp-plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.elp-plan-features li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.elp-plan-features li:last-child {
    border-bottom: none;
}

.elp-plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(227, 6, 20, 0.12);
    box-shadow: inset 0 0 0 1px rgba(227, 6, 20, 0.25);
}

.elp-plan-features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 18px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--elp-red);
    border-bottom: 2px solid var(--elp-red);
    transform: rotate(-45deg);
}

.elp-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--elp-ink);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.98rem;
    transition: background 0.2s ease, transform 0.15s ease;
}

.elp-plan-cta:hover {
    background: var(--elp-red);
    transform: translateY(-1px);
}

.elp-plan-card.is-featured .elp-plan-cta {
    background: var(--elp-red);
}

.elp-plan-card.is-featured .elp-plan-cta:hover {
    background: #c10512;
}

.elp-pricing-footer {
    margin-top: 36px;
    text-align: center;
    color: var(--elp-muted);
}

.elp-pricing-footer a {
    color: var(--elp-red);
    font-weight: 600;
    text-decoration: none;
}

.elp-pricing-footer a:hover {
    text-decoration: underline;
}

.elp-pricing-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #777;
}

.elp-pricing-empty {
    background: #fff;
    border: 1px solid var(--elp-line);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    color: var(--elp-muted);
}

@media (max-width: 900px) {
    .elp-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .elp-plan-card.is-featured {
        order: -1;
    }
}

@media (max-width: 600px) {
    .elp-pricing-page {
        padding: 28px 16px 48px;
    }

    .elp-pricing-hero h1 {
        font-size: 1.75rem;
    }
}
