.plans-section-red {
    padding: 40px 0 60px;
    background-color: #f4f6f8;
    position: relative;
}

.container-fluid-plans {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.plans-top-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 800;
}

.section-title span {
    color: #e60000;
}

.section-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.plans-toggle-container {
    display: inline-flex;
    background: #e5e7eb;
    border-radius: 50px;
    padding: 5px;
    margin: 20px auto 40px;
}

.plan-toggle-btn {
    background: transparent;
    border: none;
    padding: 6px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #4b5563;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-toggle-btn.active {
    background: #ffffff;
    color: #e60000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.plans-grid-staggered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 25px;
    width: 100%;
    margin-top: -10px;
}

.plan-card-white {
    width: 320px;
    background: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s ease, filter 0.4s ease;
    position: relative;
    clip-path: inset(-150px 0px 0px -50px round 24px);
    z-index: 1;
}

.plan-card-white:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 20px 25px rgba(230, 0, 0, 0.15));
    z-index: 5;
}

.size-small {
    height: 500px;
}

.size-medium {
    height: 580px;
}

.size-large {
    height: 640px;
}

.plano-img {
    position: absolute;
    top: -40px;
    right: -5%;
    width: 50%;
    height: auto;
    z-index: 1;
    transition: transform 0.6s ease;
    object-fit: contain;
    pointer-events: none;
}

.plan-card-white:hover .plano-img {
    transform: scale(1.05);
}

.badge-campeao {
    position: absolute;
    top: -15px;
    left: -15px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    border-radius: 50px;
    padding: 8px 12px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
    z-index: 20;
    cursor: pointer;
    animation: bounceStar 2s infinite ease-in-out;
}

.badge-campeao:hover {
    animation: none;
}

.badge-icon {
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, margin 0.4s ease;
    pointer-events: none;
}

.badge-campeao:hover .badge-text {
    max-width: 200px;
    opacity: 1;
    margin-left: 8px;
    margin-right: 4px;
}

@keyframes bounceStar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.plan-content-wrapper {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 70%;
    padding: 30px 20px 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    z-index: 10;
    transform: scale(0.95);
    transform-origin: bottom center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.plan-top-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-bottom-content {
    margin-top: auto;
}

.plan-title-area {
    text-align: left;
    margin-bottom: 15px;
}

.plan-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 6px;
}

.vip-badge {
    color: #e60000;
}

.plan-mega-title {
    font-size: 2.1rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.apps-display-area {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.app-display-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    gap: 12px;
}

.app-display-item:last-child {
    border-bottom: none;
}

.app-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.clickable-app {
    cursor: pointer;
}

.clickable-app:hover {
    transform: scale(1.15);
}

.swap-icon {
    opacity: 1;
}

.app-text-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-display-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #333;
    line-height: 1.1;
}

.app-display-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin-top: 3px;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.add-left {
    font-weight: 800;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-left i {
    color: #e60000;
    font-size: 1rem;
}

.add-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.addon-price {
    font-weight: 800;
    font-size: 0.85rem;
    color: #666;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: #e60000;
}

input:checked + .slider:before {
    transform: translateX(16px);
}

.total-area {
    text-align: left;
    margin-bottom: 15px;
}

.total-price {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #1a1a1a;
}

.dyn-price {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.5px;
}

.month-lbl {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
}

.discount-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 4px 0 0;
    color: #888;
}

.btn-eu-quero {
    background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
    color: #ffffff;
    border: none;
    padding: 15px 0;
    width: 100%;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-eu-quero:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ff3333 0%, #e60000 100%);
}

.dropdown-info-container {
    width: 100%;
    margin-top: 5px;
}

.btn-mais-info {
    background: transparent;
    border: none;
    color: #e60000;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 5px;
    margin: 0 auto;
    display: block;
    transition: color 0.2s ease;
}

.btn-mais-info:hover {
    color: #990000;
}

.btn-mais-info.toggle-dropdown {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 0;
}

.btn-mais-info.toggle-dropdown i {
    transition: transform 0.3s ease;
}

.dropdown-info-container.active .btn-mais-info.toggle-dropdown i {
    transform: rotate(180deg);
}

.info-dropdown-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.dropdown-info-container.active .info-dropdown-content {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.dropdown-docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-docs-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 10px;
    border-left: 3px solid #e60000;
    transition: all 0.3s ease;
}

.dropdown-docs-list li a:hover {
    background: #ffe6e6;
    color: #e60000;
    transform: translateX(5px);
}

.dropdown-docs-list li a i {
    color: #e60000;
    font-size: 1.1rem;
}

.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-modal.active {
    opacity: 1;
    visibility: visible;
}

.info-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.2));
    color: #333;
}

.apps-modal-content {
    max-width: 500px;
    text-align: center;
}

.info-modal.active .info-modal-content {
    transform: translateY(0);
}

.close-info-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-info-modal:hover {
    color: #e60000;
}

.info-modal-content h4 {
    color: #e60000;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
}

.info-docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-docs-list li a {
    display: block;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    border-left: 4px solid #e60000;
    transition: all 0.3s;
}

.info-docs-list li a:hover {
    background: #ffe6e6;
    color: #e60000;
    transform: translateX(5px);
}

.apps-grid-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.apps-grid-display img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
    object-fit: contain;
    border: 1px solid #f0f0f0;
    padding: 4px;
}

.assistente-cta-box-red {
    margin: 60px auto 0;
    max-width: 900px;
    background: linear-gradient(135deg, #e60000 0%, #990000 100%);
    border-radius: 20px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    filter: drop-shadow(0 15px 35px rgba(230, 0, 0, 0.2));
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.assistente-cta-box-red::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: astRotateBgRed 15s linear infinite;
    pointer-events: none;
}

@keyframes astRotateBgRed {
    100% { transform: rotate(360deg); }
}

.ast-cta-icon-red {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: #ffffff;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.ast-cta-text-red {
    flex-grow: 1;
    z-index: 2;
}

.ast-cta-text-red h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.ast-cta-text-red p {
    font-size: 0.95rem;
    color: #ffe6e6;
    margin: 0;
    line-height: 1.5;
}

.btn-ia-cta-red {
    background: #ffffff;
    color: #cc0000;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 2;
}

.btn-ia-cta-red:hover {
    background: #f8f9fa;
    color: #e60000;
    transform: translateY(-3px);
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.3));
}

@media (max-width: 992px) {
    .plans-grid-staggered {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-end;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 120px 20px 40px 20px;
        margin: -20px -20px 0 -20px;
        width: auto;
        gap: 25px;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    
    .plans-grid-staggered::-webkit-scrollbar {
        display: none;
    }
    
    .plan-card-white {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: center;
        transform: scale(1) !important;
        margin-top: 0;
    }

    .plan-card-white:hover {
        transform: translateY(-8px) scale(1) !important;
    }
}

@media (max-width: 768px) {
    .assistente-cta-box-red {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}