/* ═══════════════════════════════════════
   ESTILOS EXCLUSIVOS PARA PLANES.PHP
═══════════════════════════════════════ */
:root {
    --bg-planes: #03060a;
    --card-planes: rgba(14, 18, 25, 0.7);
    --card-hover-planes: rgba(20, 25, 35, 0.9);
    --border-planes: rgba(0, 200, 255, 0.12);
    --text-planes: #dde4ee;
    --muted-planes: #6b7a90;
    --c-planes: 0, 200, 255;      
    --p-planes: 200, 80, 255;     
    --g-planes: 50, 215, 120;     
    --cyan-planes: rgb(var(--c-planes));
    --purple-planes: rgb(var(--p-planes));
    --green-planes: rgb(var(--g-planes));
    --grad-planes: linear-gradient(135deg, var(--cyan-planes), var(--purple-planes));
    --grad-text-planes: linear-gradient(135deg, #00c8ff, #c850ff);
    --mono-planes: 'JetBrains Mono', monospace;
}

body.page-planes { 
    margin: 0; 
    background-color: var(--bg-planes); 
    color: var(--text-planes); 
    font-family: 'Outfit', sans-serif; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}
.page-planes * { box-sizing: border-box; }

.ambient-orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.35; animation: orbFloat 20s infinite alternate ease-in-out; pointer-events: none; }
.orb-1 { width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: rgba(var(--c-planes), 0.15); top: -10%; left: -10%; }
.orb-2 { width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; background: rgba(var(--p-planes), 0.12); bottom: -20%; right: -10%; animation-delay: -5s; animation-direction: alternate-reverse; }

@keyframes orbFloat { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, 60px) scale(1.2); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseGlow { 0% { opacity: 0.3; transform: scale(0.95) rotate(0deg); } 100% { opacity: 0.6; transform: scale(1.05) rotate(5deg); } }
@keyframes shimmer { 0% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(200%) skewX(-20deg); } }
@keyframes gradFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shake { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(15deg); } 75% { transform: rotate(-15deg); } }

.reveal { opacity: 0; transform: translateY(50px) scale(0.95); transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.grad-text { background: var(--grad-text-planes); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-planes { position: relative; padding: 7rem 1.5rem 3rem; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 120vw; height: 120vw; max-width: 1200px; max-height: 1200px; background: radial-gradient(circle, rgba(var(--p-planes), 0.15) 0%, rgba(var(--c-planes), 0.08) 30%, transparent 65%); z-index: 0; pointer-events: none; animation: pulseGlow 8s infinite alternate; }
.hero-content { position: relative; z-index: 1; max-width: 850px; margin: 0 auto; }

.tag-pro { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--p-planes), 0.15); border: 1px solid rgba(var(--p-planes), 0.4); color: var(--purple-planes); padding: 0.4rem 1.2rem; border-radius: 50px; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; box-shadow: 0 0 25px rgba(var(--p-planes), 0.3); backdrop-filter: blur(10px); animation: float 4s ease-in-out infinite; }
.tag-pro svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; }

.hero-planes h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; margin: 0 0 1.2rem; line-height: 1.05; letter-spacing: -1.5px; color: #fff; }
.hero-planes p { font-size: clamp(1.1rem, 2.5vw, 1.25rem); color: var(--muted-planes); max-width: 680px; margin: 0 auto 3rem; line-height: 1.6; }

.trust-strip { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-bottom: 4rem; opacity: 0.7; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--text-planes); text-transform: uppercase; letter-spacing: 1px; }
.trust-item svg { width: 18px; height: 18px; stroke: var(--cyan-planes); fill: none; }

.billing-toggle { display: inline-flex; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 50px; padding: 6px; position: relative; margin-bottom: 4rem; width: 100%; max-width: 360px; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.toggle-btn { flex: 1; padding: 1rem 1.2rem; border-radius: 50px; border: none; background: transparent; color: var(--muted-planes); font-family: inherit; font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: 0.3s; position: relative; z-index: 2; }
.toggle-btn.active { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.6); }
.toggle-slider { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); background: var(--grad-planes); background-size: 200%; animation: gradFlow 5s ease infinite; border-radius: 50px; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1; box-shadow: 0 4px 20px rgba(var(--p-planes), 0.5); }
.save-badge { position: absolute; top: -18px; right: -20px; background: var(--green-planes); color: #000; font-size: 0.75rem; font-weight: 900; padding: 4px 12px; border-radius: 12px; transform: rotate(12deg); box-shadow: 0 4px 15px rgba(var(--g-planes), 0.4); border: 2px solid var(--bg-planes); z-index: 3; animation: float 3s ease-in-out infinite reverse; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; max-width: 1050px; margin: 0 auto 5rem; padding: 0 1.5rem; position: relative; z-index: 10; }

.price-card { background: var(--card-planes); border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; padding: 3rem 2.5rem; display: flex; flex-direction: column; position: relative; transition: 0.4s ease; backdrop-filter: blur(12px); opacity: 0.85; }
.price-card:hover { opacity: 1; border-color: rgba(255,255,255,0.15); background: var(--card-hover-planes); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }

.price-card.pro { background: linear-gradient(180deg, rgba(20, 15, 35, 0.95) 0%, rgba(10, 12, 20, 0.95) 100%); border: 1px solid rgba(var(--p-planes), 0.6); transform: scale(1.05); box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(var(--c-planes), 0.3) inset; opacity: 1; z-index: 2; }
.price-card.pro::before { content: ''; position: absolute; inset: -2px; border-radius: 26px; background: linear-gradient(135deg, var(--cyan-planes), var(--purple-planes), transparent, transparent); z-index: -1; opacity: 0.5; filter: blur(12px); animation: pulseGlow 4s infinite alternate; }
.price-card.pro:hover { transform: scale(1.06) translateY(-8px); box-shadow: 0 40px 80px rgba(var(--p-planes), 0.3), 0 0 0 1px rgba(var(--c-planes), 0.5) inset; }

.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-planes); background-size: 200%; animation: gradFlow 5s ease infinite; color: #fff; font-size: 0.75rem; font-weight: 900; padding: 6px 20px; border-radius: 50px; letter-spacing: 1.5px; box-shadow: 0 4px 20px rgba(var(--p-planes), 0.5); text-transform: uppercase; white-space: nowrap;}
.price-card.pro.active-plan { border-color: var(--green-planes); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--g-planes), 0.2) inset; }
.price-card.pro.active-plan .ribbon { background: var(--green-planes); color: #000; box-shadow: 0 4px 15px rgba(var(--g-planes), 0.4); animation: none; }

.plan-name { font-size: 1.8rem; font-weight: 900; margin: 0 0 0.5rem; color: #fff; }
.price-card.pro .plan-name { background: var(--grad-text-planes); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.price-card.pro.active-plan .plan-name { background: none; color: var(--green-planes); -webkit-text-fill-color: var(--green-planes); }

.plan-desc { color: var(--muted-planes); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; min-height: 50px; }

.plan-price { font-size: 4rem; font-weight: 900; color: #fff; margin-bottom: 2.5rem; display: flex; align-items: flex-start; gap: 5px; line-height: 1; font-family: var(--mono-planes); letter-spacing: -2.5px; }
.plan-price span { font-size: 1.2rem; color: var(--muted-planes); font-weight: 600; margin-top: 12px; font-family: 'Outfit', sans-serif; letter-spacing: 0; }

.plan-features { list-style: none; padding: 0; margin: 0 0 3rem; display: flex; flex-direction: column; gap: 1.2rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-planes); line-height: 1.4; font-weight: 500; }
.feat-icon { color: var(--cyan-planes); font-weight: bold; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: rgba(var(--c-planes), 0.1); border-radius: 50%; font-size: 0.75rem; }
.price-card.pro .feat-icon { color: var(--purple-planes); background: rgba(var(--p-planes), 0.15); }
.feat-icon.x { color: var(--muted-planes); background: rgba(255,255,255,0.05); }
.feat-disabled { color: var(--muted-planes); opacity: 0.5; }

.btn-plan { padding: 1.2rem; border-radius: 14px; font-size: 1.1rem; font-weight: 800; text-align: center; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; font-family: inherit; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.btn-basic { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-basic:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.btn-pro { background: var(--grad-planes); background-size: 200%; animation: gradFlow 5s ease infinite; color: #fff; box-shadow: 0 10px 30px rgba(var(--p-planes), 0.4); border: 1px solid rgba(255,255,255,0.2); }
.btn-pro::after { content: ''; position: absolute; top: 0; left: 0; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg) translateX(-150%); animation: shimmer 3s infinite; }
.btn-pro:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(var(--p-planes), 0.6); filter: brightness(1.1); }

.btn-disabled { background: transparent; color: var(--muted-planes); border: 1px dashed rgba(255,255,255,0.15); cursor: not-allowed; }
.btn-disabled:hover { transform: none; background: transparent; }
.btn-active-plan { background: rgba(var(--g-planes), 0.1); color: var(--green-planes); border: 1px solid rgba(var(--g-planes), 0.3); cursor: default; }

.features-section { max-width: 1100px; margin: 0 auto 6rem; padding: 0 1.5rem; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; color: #fff; letter-spacing: -0.5px;}
.section-subtitle { text-align: center; color: var(--muted-planes); font-size: 1.15rem; margin-bottom: 4rem; max-width: 650px; margin-inline: auto; line-height: 1.6;}

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-card { background: rgba(14, 18, 25, 0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); backdrop-filter: blur(10px); display: flex; flex-direction: column;}
.bento-card:hover { border-color: rgba(var(--c-planes), 0.4); background: var(--card-hover-planes); transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 10px 20px rgba(var(--c-planes), 0.1); }
.bento-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad-planes); opacity: 0; transition: 0.4s; }
.bento-card:hover::before { opacity: 1; }

.bento-large { grid-column: span 2; }
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } .bento-large { grid-column: span 1; } }

.bento-icon { width: 56px; height: 56px; background: rgba(var(--c-planes), 0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; color: var(--cyan-planes); transition: 0.4s; border: 1px solid rgba(var(--c-planes), 0.2);}
.bento-card:hover .bento-icon { transform: scale(1.1) rotate(5deg); background: var(--cyan-planes); color: #000; box-shadow: 0 0 20px rgba(var(--c-planes), 0.4); }
.bento-card:nth-child(2n) .bento-icon { background: rgba(var(--p-planes), 0.1); color: var(--purple-planes); border-color: rgba(var(--p-planes), 0.2); }
.bento-card:nth-child(2n):hover .bento-icon { background: var(--purple-planes); color: #fff; box-shadow: 0 0 20px rgba(var(--p-planes), 0.4); }
.bento-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.bento-card h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 1rem; }
.bento-card p { color: var(--muted-planes); font-size: 1rem; line-height: 1.6; margin: 0; flex: 1;}

.compare-section { max-width: 1050px; margin: 0 auto 6rem; padding: 0 1.5rem; }
.compare-wrapper { display: flex; flex-direction: column; background: rgba(14, 18, 25, 0.6); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.8); backdrop-filter: blur(12px); overflow: hidden; position: relative; }
.compare-header { display: flex; background: rgba(0,0,0,0.5); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.compare-row { display: flex; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(255,255,255,0.04); }

.col-feat { flex: 2; padding: 1.5rem; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-planes); font-size: 1.05rem; }
.col-feat svg { width: 22px; height: 22px; stroke: var(--muted-planes); fill: none; stroke-width: 2; transition: 0.3s; }
.compare-row:hover .col-feat svg { stroke: var(--cyan-planes); transform: scale(1.1); }

.col-free { flex: 1; padding: 1.5rem; text-align: center; display: flex; align-items: center; justify-content: center; color: var(--muted-planes); font-size: 0.95rem; border-left: 1px solid rgba(255,255,255,0.05); }
.col-pro { flex: 1; padding: 1.5rem; text-align: center; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: rgba(var(--p-planes), 0.05); border-left: 1px solid rgba(var(--p-planes), 0.2); position: relative; transition: 0.3s; font-size: 1rem;}

.compare-header .col-feat { color: #fff; font-size: 1.1rem; }
.compare-header .col-pro { background: rgba(var(--p-planes), 0.15); border-top: 3px solid var(--purple-planes); color: var(--purple-planes); font-size: 1.2rem; flex-direction: column; gap: 4px; justify-content: center; }
.compare-header .col-pro svg { width: 24px; height: 24px; stroke: currentColor; fill: none; animation: float 3s ease-in-out infinite; }

.compare-row:hover .col-pro { background: rgba(var(--p-planes), 0.15); box-shadow: 0 0 30px rgba(var(--p-planes), 0.1) inset; color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.5); }

.svg-check { width: 24px; height: 24px; stroke: var(--cyan-planes); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.compare-row:hover .svg-check { stroke-dashoffset: 0; stroke: var(--purple-planes); filter: drop-shadow(0 0 8px var(--purple-planes)); }

.svg-cross { width: 20px; height: 20px; stroke: rgba(255,255,255,0.15); stroke-width: 3; fill: none; transition: 0.3s; }
.compare-row:hover .svg-cross { stroke: rgba(255,80,80,0.5); animation: shake 0.4s ease-in-out; }

.final-cta { text-align: center; margin-top: 4rem; }

.pro-disclaimer {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
}

.pro-disclaimer-inner {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.pro-disclaimer-inner strong {
    color: #fff;
}

@media(max-width: 768px) {
    .price-card.pro { transform: none; box-shadow: 0 15px 40px rgba(0,0,0,0.6); margin-top: 1rem; }
    .price-card.pro:hover { transform: translateY(-5px); }
    .compare-header { font-size: 0.8rem; }
    .col-feat { flex: 1.5; padding: 1rem; font-size: 0.85rem; flex-direction: column; align-items: flex-start; gap: 4px; }
    .col-feat svg { display: none; }
    .col-free, .col-pro { padding: 1rem; font-size: 0.85rem; }
    .plan-price { font-size: 3.2rem; }
    .trust-strip { gap: 1rem; flex-direction: column; }
}
/* =========================================
   VARIABLES Y RESET
   ========================================= */
:root {
    --bg-dark: #090a0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8f9fa;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-planes {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================
   ANIMACIONES BÁSICAS Y ORBES (FONDO)
   ========================================= */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.orb-1 {
    top: -10%; left: -10%; width: 40vw; height: 40vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.orb-2 {
    bottom: 20%; right: -10%; width: 35vw; height: 35vw;
    background: radial-gradient(circle, var(--accent), transparent 70%);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tag-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-pro svg { width: 16px; height: 16px; fill: currentColor; }

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Escalado automático fluido */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.grad-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Trust Strip (Estadísticas) */
.trust-strip {
    display: flex;
    flex-wrap: wrap; /* Permite que salten de línea en móviles */
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.trust-item svg {
    width: 20px; height: 20px;
    fill: none; stroke: var(--success); stroke-width: 2;
}

/* Toggle Mensual/Anual */
.billing-toggle {
    position: relative;
    display: inline-flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 4rem;
}

.toggle-slider {
    position: absolute;
    top: 6px; left: 6px;
    width: calc(50% - 6px); height: calc(100% - 12px);
    background: var(--primary);
    border-radius: 50px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.toggle-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.3s;
}

.save-badge {
    position: absolute;
    top: -12px; right: 0;
    background: var(--success);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}

/* =========================================
   GRID DE PRECIOS
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet/PC: 2 columnas */
    }
}

.price-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.price-card:hover { transform: translateY(-5px); }

.price-card.pro {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
}

.ribbon {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; min-height: 45px; }
.plan-price { font-size: 3rem; font-weight: 800; margin-bottom: 2rem; transition: opacity 0.2s; }
.plan-price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; }

.plan-features { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; font-size: 0.95rem; }
.feat-icon { color: var(--success); font-weight: bold; }
.feat-icon.x { color: var(--danger); font-size: 0.8rem; margin-top: 3px; }
.feat-disabled { opacity: 0.5; }

/* Botones */
.btn-plan {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-basic {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}
.btn-basic:hover { background: rgba(255,255,255,0.05); }

.btn-pro {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-pro:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-active-plan { background: rgba(255,255,255,0.1); color: #fff; cursor: default; }

/* =========================================
   SECCIÓN CARACTERÍSTICAS (BENTO GRID)
   ========================================= */
.features-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title { text-align: center; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 4rem; }

.bento-grid {
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-large { grid-column: span 2; } /* Ocupa 2 columnas en PC */
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s;
}
.bento-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }

.bento-icon {
    width: 48px; height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.bento-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 2; }

.bento-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.bento-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================
   TABLA DE COMPARACIÓN (COMPARE SECTION)
   ========================================= */
.compare-section {
    padding: 4rem 1.5rem 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.compare-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-top: 3rem;
}

/* Diseño de tabla con Grid */
.compare-header, .compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Escritorio: Característica ancha, dos columnas iguales */
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--card-border);
}

.compare-header { background: rgba(255,255,255,0.02); font-weight: 700; font-size: 1.1rem; }
.compare-row:last-child { border-bottom: none; }

.col-feat { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.col-feat svg { width: 18px; height: 18px; fill: none; stroke: var(--text-muted); stroke-width: 2; }
.col-free { text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.col-pro { text-align: center; color: var(--primary); font-weight: 600; display: flex; justify-content: center; }

/* SVG Check Animado */
.svg-check { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.6s ease; }
.svg-cross { width: 20px; height: 20px; fill: none; stroke: var(--danger); stroke-width: 2; opacity: 0.5; }

/* Adaptación Extrema Móvil para la Tabla */
@media (max-width: 768px) {
    .compare-header { display: none; } /* Ocultamos la cabecera en móvil */
    .compare-row {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 4px solid var(--bg-dark); /* Separación clara entre bloques */
    }
    
    .col-feat { font-size: 1.1rem; color: #fff; justify-content: center; text-align: center; }
    
    /* Recreamos los títulos "Básico vs Pro" antes del contenido usando ::before */
    .col-free::before { content: "Básico: "; font-weight: 600; color: #fff; }
    .col-pro::before { content: "PRO: "; font-weight: 600; color: var(--primary); }
    
    .col-free, .col-pro { 
        text-align: left; 
        display: flex; 
        align-items: center; 
        justify-content: flex-start;
        gap: 8px;
        background: rgba(0,0,0,0.2);
        padding: 10px 15px;
        border-radius: 8px;
    }
}

.final-cta { text-align: center; margin-top: 4rem; }
