/* ═══════════════════════════════════════════════════════════════
   👑 BOTÃO DE LICENÇA NO MENU - DESTAQUE
   ═══════════════════════════════════════════════════════════════ */

.btn-license-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a1a !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4),
                0 0 30px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn-license-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s linear infinite;
}

.btn-license-highlight i {
    margin-right: 6px;
    animation: bounce 2s ease-in-out infinite;
}

.btn-license-highlight:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6),
                0 0 50px rgba(255, 215, 0, 0.4);
}

.btn-license-highlight:active {
    transform: translateY(0) scale(1);
}

/* Mobile */
.btn-license-mobile {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #0a0a1a !important;
    padding: 14px 20px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px !important;
    text-align: center;
    display: block;
    margin: 12px 0 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    animation: pulseGlow 2s ease-in-out infinite;
    border: 2px solid #FFA500 !important;
}

.btn-license-mobile i {
    margin-right: 6px;
    color: #0a0a1a;
}

.btn-license-mobile:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%) !important;
    transform: scale(1.02);
}

/* Animações */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4),
                    0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6),
                    0 0 40px rgba(255, 215, 0, 0.4);
    }
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* ═══════════════════════════════════════════════════════════════
   💳 PRICING SECTION - Landing Page
   ═══════════════════════════════════════════════════════════════ */

.pricing-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
    animation: rotateBg 30s linear infinite;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(90, 82, 213, 0.05) 100%);
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(108, 99, 255, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-price .amount {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pricing-price .period {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: #4ade80;
    font-size: 18px;
}

.referral-info {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.referral-info i {
    font-size: 24px;
    color: #ffc107;
}

.referral-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.referral-input-group {
    margin: 20px 0;
}

.referral-input-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
}

.referral-input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.referral-input-group input:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

.referral-input-group input.filled {
    background: rgba(76, 222, 128, 0.1);
    border-color: #4ade80;
}

.referral-input-group small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.btn-buy-license {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-buy-license::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-buy-license:hover::before {
    width: 300px;
    height: 300px;
}

.btn-buy-license:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(108, 99, 255, 0.5);
}

.btn-buy-license:active {
    transform: translateY(0);
}

.btn-buy-license:disabled {
    background: rgba(108, 99, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-buy-license:disabled:hover {
    transform: none;
    box-shadow: none;
}

.commission-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(76, 222, 128, 0.1);
    border: 2px solid rgba(76, 222, 128, 0.3);
    border-radius: 12px;
    text-align: center;
}

.commission-info h4 {
    margin: 0 0 10px 0;
    color: #4ade80;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.commission-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.commission-info strong {
    color: #4ade80;
    font-size: 16px;
}

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

/* Responsivo */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 15px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-price .amount {
        font-size: 56px;
    }

    .btn-buy-license {
        font-size: 16px;
    }

    .referral-input-group input {
        font-size: 14px;
        padding: 12px;
    }

    .pricing-features li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 40px 10px;
    }

    .pricing-card {
        padding: 25px 15px;
    }

    .pricing-header h3 {
        font-size: 22px;
    }

    .pricing-price .amount {
        font-size: 48px;
    }

    .pricing-price .currency {
        font-size: 20px;
    }

    .pricing-price .period {
        font-size: 16px;
    }

    .pricing-features li {
        font-size: 13px;
        padding: 10px 0;
    }

    .btn-buy-license {
        font-size: 15px;
        padding: 16px 20px;
    }

    .referral-info {
        padding: 12px;
    }

    .referral-info p {
        font-size: 13px;
    }

    .commission-info {
        padding: 15px;
    }

    .commission-info h4 {
        font-size: 16px;
    }

    .commission-info p {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🎯 LAYOUT COMPACTO - Tudo em uma tela
   ═══════════════════════════════════════════════════════════════ */

.pricing-section {
    padding: 50px 20px !important;
}

/* Input de Referral Compacto - PRIMEIRO */
.referral-input-section-compact {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.referral-compact-box {
    background: rgba(255, 193, 7, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 16px;
    padding: 20px 25px;
    text-align: center;
}

.referral-compact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.referral-compact-header i {
    font-size: 24px;
    color: #ffc107;
}

.referral-compact-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffc107;
    margin: 0;
}

/* Grid de Planos Compacto */
.pricing-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-compact {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(90, 82, 213, 0.04) 100%);
    border: 2px solid rgba(108, 99, 255, 0.25);
    border-radius: 18px;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.pricing-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(108, 99, 255, 0.3);
    border-color: rgba(108, 99, 255, 0.5);
}

.pricing-card-compact.featured {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(108, 99, 255, 0.08) 100%);
}

.pricing-card-compact.featured:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25);
}

.pricing-card-compact .pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-card-compact .pricing-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-card-compact .pricing-price .amount {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card-compact.featured .pricing-price .amount {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card-compact .plan-billing {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.pricing-card-compact .plan-billing-small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    font-weight: 400;
}

/* Features Compactas */
.pricing-features-compact {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-features-compact li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features-compact li i {
    color: #4ade80;
    font-size: 14px;
    flex-shrink: 0;
}

/* Botão Compacto */
.btn-buy-license-compact {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #6c63ff 0%, #5a52d5 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy-license-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.btn-buy-license-compact.featured {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a1a;
}

.btn-buy-license-compact.featured:hover {
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Informação de Afiliado Compacta */
.affiliate-info-compact {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(74, 222, 128, 0.08);
    border: 2px solid rgba(74, 222, 128, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.affiliate-info-compact i {
    font-size: 28px;
    color: #4ade80;
    flex-shrink: 0;
}

.affiliate-info-compact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

.affiliate-info-compact strong {
    color: #4ade80;
    font-weight: 700;
}

/* Responsivo Compacto */
@media (max-width: 768px) {
    .pricing-grid-compact {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
    }

    .pricing-card-compact {
        padding: 20px 16px;
    }

    .pricing-card-compact .pricing-price .amount {
        font-size: 48px;
    }

    .pricing-features-compact li {
        font-size: 13px;
        padding: 6px 0;
    }

    .referral-compact-box {
        padding: 16px 18px;
    }

    .referral-compact-header h4 {
        font-size: 16px;
    }

    .referral-compact-header i {
        font-size: 20px;
    }

    .affiliate-info-compact {
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }

    .affiliate-info-compact p {
        font-size: 13px;
    }

    .referral-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-apply-referral {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   🎯 NOVO GRID DE PLANOS - Mensal e Trimestral
   ═══════════════════════════════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.plan-billing {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    font-weight: 500;
}

.savings {
    display: inline-block;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.referral-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.referral-info-box,
.commission-info-box {
    background: rgba(15, 18, 36, 0.6);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.referral-info-box:hover,
.commission-info-box:hover {
    transform: translateY(-5px);
    border-color: var(--electric-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.referral-info-box i,
.commission-info-box i {
    font-size: 48px;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.referral-info-box h4,
.commission-info-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.referral-info-box p,
.commission-info-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.commission-info-box strong {
    color: var(--primary-gold);
    font-weight: 700;
}

.example {
    background: rgba(74, 222, 128, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 4px solid #4ade80;
    color: #4ade80 !important;
    font-size: 14px !important;
    font-weight: 600;
    margin-top: 15px;
}

/* ✅ NOVO: Input Manual de Código de Referral */
.referral-input-section {
    margin-top: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.referral-input-box {
    background: rgba(15, 18, 36, 0.6);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
}

.referral-input-box:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.referral-input-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.referral-input-header i {
    font-size: 36px;
    color: var(--primary-gold);
}

.referral-input-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
}

.referral-input-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

.referral-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
    max-width: 500px;
    margin: 0 auto 20px;
}

.referral-input-group input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
    text-align: center;
    transition: all 0.3s ease;
}

.referral-input-group input:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.referral-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.btn-apply-referral {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-gold), #d4af37);
    border: none;
    border-radius: 12px;
    color: #0a0e1a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-apply-referral:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffd700, var(--primary-gold));
}

.btn-apply-referral:active {
    transform: translateY(0);
}

.referral-status {
    min-height: 30px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.referral-status.success {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.referral-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

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

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .referral-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .referral-info-box,
    .commission-info-box {
        padding: 25px 20px;
    }

    .referral-info-box h4,
    .commission-info-box h4 {
        font-size: 18px;
    }

    .referral-info-box p,
    .commission-info-box p {
        font-size: 14px;
    }

    .referral-input-section {
        margin-top: 40px;
    }

    .referral-input-box {
        padding: 30px 20px;
    }

    .referral-input-header {
        flex-direction: column;
        gap: 10px;
    }

    .referral-input-header i {
        font-size: 32px;
    }

    .referral-input-header h4 {
        font-size: 20px;
    }

    .referral-input-subtitle {
        font-size: 14px;
    }

    .referral-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .referral-input-group input {
        font-size: 16px;
        padding: 14px 20px;
    }

    .btn-apply-referral {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .example {
        font-size: 13px !important;
        padding: 10px 15px;
    }
}
