/* ============================================================
   PRICING — White base + dark featured card
   ============================================================ */

.price-section {
    position: relative;
    width: 100%;
    background: var(--white);
    padding: 6rem 0;
    overflow: hidden;
}

/* Subtle decorative element top-right */
.price-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Container ─────────────────────────────────────────── */
.price-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
}

/* ── Section header ────────────────────────────────────── */
.price-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent-border);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.price-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.price-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================================
   GRID
   ============================================================ */
.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

/* ============================================================
   BASE CARD
   ============================================================ */
.price-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 2.25rem;
    border: 1.5px solid var(--border);
    position: relative;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    /* Reset old animations */
    animation: none;
    opacity: 1;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-border);
}

/* ── FEATURED card — dark navy ────────────────────────── */
.price-card--featured {
    background: var(--ink);
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(7, 13, 27, 0.35);
}

.price-card--featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(7, 13, 27, 0.45);
    border-color: rgba(79, 70, 229, 0.30);
}

/* "Más popular" badge */
.price-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Card header ─────────────────────────────────────── */
.price-card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-card--featured .price-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

.price-plan-name {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.price-card--featured .price-plan-name {
    color: var(--gold);
}

/* Price number */
.price-amount-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.price-card--featured .price-currency { color: #fff; }

.price-number {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-card--featured .price-number { color: #fff; }

.price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-card--featured .price-period { color: rgba(255,255,255,0.45); }

.price-plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.price-card--featured .price-plan-desc { color: rgba(255,255,255,0.55); }

/* ── Feature list ────────────────────────────────────── */
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.4;
}

.price-card--featured .price-feature { color: rgba(255,255,255,0.75); }

.price-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-card--featured .price-feature-icon {
    background: rgba(79, 70, 229, 0.25);
}

.price-feature-icon i {
    font-size: 0.62rem;
    color: var(--accent);
}

.price-card--featured .price-feature-icon i { color: #a5b4fc; }

/* Disabled feature */
.price-feature--disabled { opacity: 0.35; }

/* ── CTA button ──────────────────────────────────────── */
.price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--t);
}

.price-btn i { font-size: 0.8rem; transition: transform 0.2s ease; }
.price-btn:hover i { transform: translateX(4px); }

/* Outline (base plan) */
.price-btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.price-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* Primary gold (featured plan) */
.price-btn--primary {
    background: var(--gold);
    color: #000;
    border: none;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.35);
}

.price-btn--primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 204, 0, 0.45);
}

/* ── Guarantee note ──────────────────────────────────── */
.price-guarantee {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.price-guarantee i { color: var(--accent); font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .price-section { padding: 5rem 0; }
    .price-container { padding: 0 2rem; }
    .price-card { padding: 1.75rem; }
}

@media (max-width: 640px) {
    .price-section { padding: 4rem 0; }
    .price-container { padding: 0 1.25rem; }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .price-card--featured { order: -1; }
    .price-card { padding: 1.5rem; }
    .price-number { font-size: 2.8rem; }
}

@media (min-width: 1200px) {
    .price-container { max-width: 1120px; }
}

@media (prefers-reduced-motion: reduce) {
    .price-card,
    .price-btn { transition: none; animation: none; }
}
