/* ============================================================
   PRECIOS.CSS — Neon Academy Pricing
   Matches home.css design system: Fredoka + Outfit + JetBrains Mono
   Dark arcade, neon urgency, glassmorphism cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* ── Design tokens ───────────────────────────────────────── */
:root {
    --neon-purple: #7f5af0;
    --neon-blue:   #00d4ff;
    --neon-pink:   #ff0077;
    --neon-green:  #00ff88;
    --neon-gold:   #ffd700;
    --glow-purple: rgba(127, 90, 240, 0.35);
    --glow-blue:   rgba(0, 212, 255, 0.3);
    --glow-pink:   rgba(255, 0, 119, 0.3);
    --glow-green:  rgba(0, 255, 136, 0.3);
    --bg-deep:     #0a0a1a;
    --bg-card:     rgba(17, 17, 40, 0.85);
    --font-display: 'Fredoka', sans-serif;
    --font-body:    'Outfit', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
}

/* ── Base ────────────────────────────────────────────────── */
.precios-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    min-height: 100vh;
    font-family: var(--font-body);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem;
    position: relative;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 30%, var(--neon-purple) 70%, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Promotion Banner ────────────────────────────────────── */
.promotion-section {
    position: relative;
    background: linear-gradient(135deg, #0f0a2e 0%, #1a0838 40%, #0a1528 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin: 1rem 0 3.5rem;
    text-align: center;
    color: white;
    overflow: hidden;
    border: 1px solid rgba(127, 90, 240, 0.4);
    box-shadow:
        0 0 60px rgba(127, 90, 240, 0.2),
        0 0 120px rgba(0, 212, 255, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.promotion-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(127, 90, 240, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 212, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.promotion-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-blue), var(--neon-purple), transparent);
    animation: promoBorderFlow 3s linear infinite;
}

@keyframes promoBorderFlow {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.promotion-content {
    position: relative;
    z-index: 1;
}

.promotion-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(127, 90, 240, 0.6);
}

.promotion-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Countdown */
.countdown-container {
    margin: 2rem auto;
    max-width: 540px;
}

.countdown-label {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-blue);
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 212, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    min-width: 80px;
    position: relative;
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transition: box-shadow 0.3s ease;
}

.countdown-item:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
}

.countdown-value {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow:
        0 0 10px var(--neon-blue),
        0 0 20px rgba(0, 212, 255, 0.5);
    animation: countGlow 2s ease-in-out infinite;
}

@keyframes countGlow {
    0%, 100% { text-shadow: 0 0 10px var(--neon-blue), 0 0 20px rgba(0,212,255,0.4); }
    50%       { text-shadow: 0 0 15px var(--neon-blue), 0 0 35px rgba(0,212,255,0.7); }
}

.countdown-label-small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    color: rgba(0, 212, 255, 0.8);
    font-family: var(--font-mono);
}

.countdown-separator {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-purple);
    opacity: 0.8;
    animation: separatorBlink 1s step-end infinite;
    margin-bottom: 1.5rem;
}

@keyframes separatorBlink {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 0.2; }
}

/* Promotion Highlights */
.promotion-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    text-align: left;
    transition: background 0.2s;
}

.highlight:hover {
    background: rgba(127, 90, 240, 0.12);
    border-color: rgba(127, 90, 240, 0.3);
}

.highlight .icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ── Pricing Grid ─────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 5rem;
    align-items: start;
}

/* ── Base Pricing Card ───────────────────────────────────── */
.pricing-card {
    background: var(--bg-card, rgba(17, 17, 40, 0.85));
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(127, 90, 240, 0.18);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.3), transparent 50%, rgba(0, 212, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(127, 90, 240, 0.45);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(127, 90, 240, 0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* ── Featured Card ───────────────────────────────────────── */
.pricing-card.featured {
    border-color: var(--neon-purple);
    transform: scale(1.04) translateY(-4px);
    background: linear-gradient(160deg, rgba(20, 10, 50, 0.95), rgba(17, 17, 40, 0.95));
    box-shadow:
        0 0 0 1px var(--neon-purple),
        0 0 40px rgba(127, 90, 240, 0.35),
        0 0 80px rgba(127, 90, 240, 0.15),
        0 24px 60px rgba(0,0,0,0.5);
    z-index: 2;
}

.pricing-card.featured::before {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue), var(--neon-purple));
    opacity: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow:
        0 0 0 1px var(--neon-blue),
        0 0 60px rgba(127, 90, 240, 0.5),
        0 0 100px rgba(0, 212, 255, 0.2),
        0 30px 80px rgba(0,0,0,0.6);
}

/* Educational Centers special coloring */
.pricing-card.educational-centers-special .discount-star {
    background: linear-gradient(135deg, #9333ea, #7f5af0);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.6), 0 0 40px rgba(127, 90, 240, 0.3);
}

.pricing-card.educational-centers-special .discount-star::after {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.pricing-card.educational-centers-special .discounted-price {
    color: #bf7fff;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

.pricing-card.educational-centers-special .price-value-discounted {
    color: #bf7fff;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.pricing-card.educational-centers-special .final-price {
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.12), rgba(147, 51, 234, 0.08));
    border-color: rgba(127, 90, 240, 0.4);
    box-shadow: 0 0 20px rgba(127, 90, 240, 0.15);
}

/* ── Popular Badge ───────────────────────────────────────── */
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    padding: 0.45rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-body);
    box-shadow: 0 0 20px rgba(127, 90, 240, 0.7), 0 4px 12px rgba(0,0,0,0.3);
    white-space: nowrap;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(127, 90, 240, 0.7), 0 4px 12px rgba(0,0,0,0.3); }
    50%       { box-shadow: 0 0 35px rgba(127, 90, 240, 1), 0 0 15px rgba(0,212,255,0.4), 0 4px 12px rgba(0,0,0,0.3); }
}

/* ── Card Header ─────────────────────────────────────────── */
.card-header {
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary, #fff);
    letter-spacing: 0.01em;
}

/* Crossed-out original price */
.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.amount {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.period {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Discount Star */
.discount-star {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0.75rem auto;
    background: linear-gradient(135deg, #00c896, #00a8d4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px rgba(0, 200, 150, 0.5),
        0 0 40px rgba(0, 200, 150, 0.2);
    animation: starPulse 2.2s ease-in-out infinite;
    z-index: 1;
}

.discount-star::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
}

.discount-star::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00c896, #00a8d4);
    border-radius: 50%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 1;
}

.star-text {
    font-family: var(--font-mono);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1px;
    z-index: 3;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.star-percentage {
    font-family: var(--font-mono);
    color: white;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    z-index: 3;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@keyframes starPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25%       { transform: scale(1.07) rotate(-2deg); }
    75%       { transform: scale(1.07) rotate(2deg); }
}

/* Final discounted price block */
.final-price {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 14px;
    margin: 0.75rem 0;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.07);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
    opacity: 0.6;
    font-family: var(--font-mono);
}

.discounted-price {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.per-student, .total {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-left: 0.3rem;
    opacity: 0.8;
}

.min-students {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    opacity: 0.7;
}

/* ── Student Selector ────────────────────────────────────── */
.student-selector-container {
    margin: 1.25rem 0;
    text-align: center;
}

.student-selector-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.student-selector-input {
    width: 90px;
    padding: 0.65rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid rgba(127, 90, 240, 0.35);
    border-radius: 10px;
    background: rgba(127, 90, 240, 0.07);
    color: var(--text-primary, #fff);
    transition: all 0.3s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

.student-selector-input::-webkit-outer-spin-button,
.student-selector-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.student-selector-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.2), 0 0 15px rgba(127, 90, 240, 0.2);
    background: rgba(127, 90, 240, 0.1);
}

/* Discounted per-student price */
.price-per-student-discounted {
    text-align: center;
    margin: 0.75rem 0;
    padding: 0.65rem;
    background: rgba(127, 90, 240, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(127, 90, 240, 0.2);
}

.price-label-discounted {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.price-value-discounted {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon-purple);
    text-shadow: 0 0 12px rgba(127, 90, 240, 0.6);
}

/* ── Card Body ───────────────────────────────────────────── */
.card-body {
    margin-bottom: 1.75rem;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.2s;
}

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

.features li:hover {
    color: #fff;
}

.tax-note {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-style: italic;
    text-align: center;
    opacity: 0.65;
}

/* ── Card Footer & CTA ───────────────────────────────────── */
.card-footer {
    text-align: center;
}

/* Override global .btn for cards */
.pricing-card .btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    width: 100%;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, var(--neon-purple) 0%, #5a3dc0 50%, var(--neon-blue) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(127, 90, 240, 0.4);
}

.pricing-card .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(127, 90, 240, 0.6), 0 0 20px rgba(0,212,255,0.2);
}

.pricing-card .btn-primary:hover::after {
    left: 100%;
}

.pricing-card.featured .btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    box-shadow: 0 4px 24px rgba(127, 90, 240, 0.6);
    font-size: 1rem;
    padding: 1rem 2rem;
}

.pricing-card.featured .btn-primary:hover {
    box-shadow: 0 10px 40px rgba(127, 90, 240, 0.8), 0 0 30px rgba(255, 0, 119, 0.3);
}

/* ── Promotion Badge ─────────────────────────────────────── */
.promotion-badge {
    background: linear-gradient(135deg, var(--neon-pink), #ff8e53);
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 0.5rem;
    box-shadow: 0 0 15px rgba(255, 0, 119, 0.4);
}

/* ── Section Headings (shared) ───────────────────────────── */
.calculator-section h2,
.comparison-section h2,
.testimonials-section h2,
.contact-section h2,
.faq-section h2 {
    font-family: var(--font-display);
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary, #fff);
}

/* ── Calculator Section ──────────────────────────────────── */
.calculator-section {
    background: rgba(17, 17, 40, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin: 3rem 0;
    border: 1px solid rgba(127, 90, 240, 0.2);
    box-shadow: 0 0 40px rgba(127, 90, 240, 0.07);
}

.calculator-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.calculator-container {
    max-width: 760px;
    margin: 0 auto;
}

.calculator-input-group {
    margin-bottom: 2rem;
}

.calculator-input-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary, #fff);
}

.calculator-input {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    border: 2px solid rgba(127, 90, 240, 0.3);
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1rem;
    background: rgba(127, 90, 240, 0.05);
    color: var(--text-primary, #fff);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.calculator-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.15);
}

.calculator-slider {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(127, 90, 240, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    cursor: pointer;
    box-shadow: 0 0 12px rgba(127, 90, 240, 0.6);
    transition: transform 0.2s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 0 20px rgba(127, 90, 240, 0.9);
}

.calculator-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    cursor: pointer;
    border: none;
    box-shadow: 0 0 12px rgba(127, 90, 240, 0.6);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.calculator-result-card {
    background: rgba(127, 90, 240, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(127, 90, 240, 0.2);
    transition: all 0.3s ease;
}

.calculator-result-card:hover {
    border-color: var(--neon-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(127, 90, 240, 0.2);
}

.calculator-result-card h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.calculator-result-price {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0.5rem 0;
    color: var(--neon-blue);
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

[data-theme="light"] .calculator-result-price {
    color: var(--neon-purple);
    text-shadow: 0 0 8px rgba(127, 90, 240, 0.3);
}

.calculator-result-period {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.calculator-result-savings {
    font-size: 0.82rem;
    color: var(--neon-green);
    font-weight: 700;
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

/* ── Comparison Section ──────────────────────────────────── */
.comparison-section {
    margin: 4rem 0;
}

.comparison-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(127, 90, 240, 0.2);
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(17, 17, 40, 0.85);
    min-width: 720px;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(127, 90, 240, 0.3), rgba(0, 212, 255, 0.2));
}

.comparison-table th {
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(127, 90, 240, 0.06);
}

.comparison-table td {
    padding: 1.1rem 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.comparison-table .featured-column {
    background: rgba(127, 90, 240, 0.06);
    font-weight: 700;
    color: #fff;
}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq-section {
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: rgba(17, 17, 40, 0.7);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(127, 90, 240, 0.18);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(127, 90, 240, 0.4);
    box-shadow: 0 0 25px rgba(127, 90, 240, 0.1);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--neon-blue);
}

.faq-item p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 0.92rem;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section {
    margin: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(17, 17, 40, 0.7);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(127, 90, 240, 0.18);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 6rem;
    color: rgba(127, 90, 240, 0.15);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(127, 90, 240, 0.4);
    box-shadow: 0 12px 35px rgba(127, 90, 240, 0.15);
}

.testimonial-rating {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--neon-gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author strong {
    color: #fff;
    font-size: 0.92rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* ── Contact Section ─────────────────────────────────────── */
.contact-section {
    background: rgba(17, 17, 40, 0.7);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    margin: 4rem 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.05);
}

.contact-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-option {
    background: rgba(0, 212, 255, 0.04);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.07);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-option h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--neon-blue);
}

.contact-option p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.contact-link:hover {
    color: var(--neon-purple);
    text-decoration: underline;
}

.contact-btn {
    margin-top: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}

.contact-cta {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ── Payment Methods ─────────────────────────────────────── */
.payment-methods-section {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
    background: rgba(17, 17, 40, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
}

.payment-methods-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #fff);
}

.payment-methods-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.payment-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    cursor: default;
}

.payment-method-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(127, 90, 240, 0.3);
    box-shadow: 0 6px 20px rgba(127, 90, 240, 0.15);
}

.payment-method-item svg,
.payment-method-item img {
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    width: 52px;
    height: 32px;
    object-fit: contain;
}

.payment-method-item img.payment-method-icon { display: block; }
.payment-method-item svg.payment-method-fallback { display: none; }

.payment-method-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
}

[data-theme="dark"] .payment-method-item img.payment-method-icon,
.dark-theme .payment-method-item img.payment-method-icon,
body.dark .payment-method-item img.payment-method-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)) brightness(1.1);
}

.payment-security-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    opacity: 0.8;
}

/* ── Payment Loading Modal ───────────────────────────────── */
.pago-loading-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.pago-loading-content {
    background: rgba(17, 17, 40, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    color: var(--text-primary, #fff);
    border: 1px solid rgba(127, 90, 240, 0.3);
    box-shadow: 0 0 60px rgba(127, 90, 240, 0.2);
}

.pago-loading-content .spinner {
    border: 3px solid rgba(127, 90, 240, 0.2);
    border-top: 3px solid var(--neon-purple);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(127, 90, 240, 0.4);
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Form Elements ───────────────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(127, 90, 240, 0.25);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(127, 90, 240, 0.05);
    color: var(--text-primary, #fff);
    transition: border-color 0.3s ease;
    font-family: var(--font-body);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(127, 90, 240, 0.12);
}

.form-help {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Price breakdown */
.price-breakdown {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    text-align: center;
}

.price-per-student {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.price-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.original-price-per-student {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 500;
    font-family: var(--font-mono);
}

.example-pricing {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.example-pricing h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary, #fff);
    text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .precios-container {
        padding: 4.5rem 1rem 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .promotion-section {
        padding: 2rem 1.25rem;
    }

    .promotion-highlights {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        gap: 0.4rem;
    }

    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 62px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .contact-section {
        padding: 2.5rem 1.5rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .calculator-section {
        padding: 2rem 1.25rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 1.5rem 1.25rem;
    }

    .discounted-price {
        font-size: 1.7rem;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-item {
        min-width: 52px;
        padding: 0.6rem 0.75rem;
    }
}

/* ── Reduced Motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
