/* static/css/pricing.css */

.pricing-wrap {
    max-width: 900px;
    width: 92%;
    margin: calc(10vh + 3rem) auto 6rem;
    color: #e8eaf0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pricing-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    transition: color 0.15s;
}

.pricing-back:hover { color: rgba(255,255,255,0.85); }

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.pricing-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin: 0;
}

/* ── Cards ── */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 600px) {
    .pricing-cards { grid-template-columns: 1fr; }
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1.1rem;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.card-highlighted {
    border-color: rgba(74,144,217,0.55);
    background: rgba(74,144,217,0.07);
    box-shadow: 0 0 0 1px rgba(74,144,217,0.25);
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    align-self: flex-start;
}

.free-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.pro-badge {
    background: rgba(74,144,217,0.25);
    color: #7ab4f5;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.price-unit {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}

.plan-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.55;
}

.plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5ca1e1;
    font-weight: 700;
}

.plan-features li.feat-limit {
    color: rgba(255,255,255,0.4);
}

.plan-features li.feat-limit::before {
    content: '·';
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    top: -0.05rem;
}

.plan-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
    margin-top: auto;
}

.plan-cta:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.cta-primary {
    background: #4a90d9;
    color: #fff;
}

.cta-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ── How it works ── */
.pricing-how {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 2rem 2rem 1.75rem;
    margin-bottom: 2rem;
}

.pricing-how h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.how-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(74,144,217,0.2);
    border: 1px solid rgba(74,144,217,0.4);
    color: #7ab4f5;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text strong {
    font-size: 0.93rem;
    color: #dce4f5;
    display: block;
    margin-bottom: 0.2rem;
}

.step-text p {
    margin: 0;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
}

/* ── FAQ link ── */
.pricing-faq-link {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
}

.pricing-faq-link a {
    color: #7aa3e5;
    text-decoration: none;
}

.pricing-faq-link a:hover {
    text-decoration: underline;
}
