/* Estilos para las tarjetas de planes de Titan Email */
.plans {
    padding: 60px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.plans::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 96, 254, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.plans .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.plans .section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0060fe;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.plans .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.plans .section-title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Estilos para las tarjetas de planes */
.plans .row {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 60px;
}

/* Layout horizontal para las tarjetas de Titan */
.plans .row > div {
    display: flex;
    flex: 1;
    min-width: 0;
}

.plans .row > div .plan {
    width: 100%;
    height: 100%;
}

.plans .plan {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.plans .plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

/* Estilos para el plan destacado/popular */
.plans .plan.popular-plan {
    border: 2px solid #8b5cf6;
    position: relative;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
    z-index: 2;
}

.plans .plan .popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    pointer-events: none;
    font-family: inherit;
    display: block;
}

.plans .plan.popular-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #8b5cf6;
}

.plans .plan-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
}

.plans .plan-sub {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.5;
}

.plans .plan-price {
    font-size: 56px;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1;
    margin-top: 24px;
}

.plans .plan-price-sub {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 500;
}

.plans hr {
    margin: 20px 0;
    border-color: rgba(0, 96, 254, 0.1);
}

.plans .theme-btn {
    background: #1f2937;
    color: white;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    margin: 24px auto;
    max-width: 200px;
}

.plans .theme-btn:hover {
    background: #111827;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.3);
}

.plans .theme-btn .icon {
    width: 20px;
    margin-right: 8px;
}

.plans .fea-sec {
    margin-top: 25px;
    flex-grow: 1;
}

.plans .fea-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    margin-top: 32px;
    text-align: center;
}

.plans .fea-sec .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
}

.plans .fea-sec .item img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive styles */
@media (max-width: 1199px) {
    .plans .row {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .plans .row > div {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    .plans .row {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .plans .row > div {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .plans {
        padding: 40px 0;
    }
    
    .plans .section-title h2 {
        font-size: 28px;
    }
    
    .plans .row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .plans .row > div {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .plans .plan {
        padding: 20px;
        height: 100%;
    }
    
    .plans .plan-title {
        font-size: 22px;
    }
    
    .plans .plan-price {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .plans {
        padding: 30px 0;
    }
    
    .plans .section-title h2 {
        font-size: 24px;
    }
    
    .plans .section-title h3 {
        font-size: 16px;
    }
    
    .plans .section-title p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .plans .row {
        gap: 10px;
    }
    
    .plans .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .plans .plan {
        padding: 15px;
    }
    
    .plans .plan-title {
        font-size: 20px;
    }
    
    .plans .plan-sub {
        font-size: 14px;
    }
    
    .plans .plan-price {
        font-size: 28px;
    }
    
    .plans .plan-price-sub {
        font-size: 13px;
    }
    
    .plans .theme-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}