/* =========================================================================
   PLANES SECTION REDESIGN - ULTRA PREMIUM
   ========================================================================= */

.planes-section {
    padding: 120px 0;
    background-color: #030305;
    color: #fff;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Dynamic Animated Background Blobs */
.planes-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -100px) scale(1.2); }
}

.planes-blob-1 {
    width: 600px;
    height: 600px;
    background: #14c7ff;
    top: -100px;
    left: -200px;
}

.planes-blob-2 {
    width: 500px;
    height: 500px;
    background: #6a11cb;
    bottom: -100px;
    right: -150px;
    animation-direction: alternate-reverse;
}

.planes-blob-3 {
    width: 400px;
    height: 400px;
    background: #2575fc;
    top: 40%;
    left: 40%;
    opacity: 0.1;
    animation-duration: 25s;
}

/* Header Styling */
.planes-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 70px;
}

.planes-subtitle {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #14c7ff;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(20, 199, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(20, 199, 255, 0.2);
}

.planes-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.planes-desc {
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* Grid Layout */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
    align-items: center;
}

/* Animated Border Wrapper */
.plan-card-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 2px; /* Border thickness */
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.plan-card-wrapper:hover {
    transform: translateY(-8px);
    z-index: 10;
}

.plan-card-wrapper.popular {
    background: linear-gradient(135deg, #14c7ff, #6a11cb, #2575fc);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(20, 199, 255, 0.15);
}

.plan-card-wrapper.popular:hover {
    transform: scale(1.04) translateY(-5px);
    box-shadow: 0 20px 45px rgba(20, 199, 255, 0.25);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* The Actual Card */
.plan-card {
    background: rgba(10, 10, 12, 0.95);
    border-radius: 18px;
    padding: 35px 25px;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.plan-card.popular .plan-card {
    background: rgba(15, 15, 18, 0.98);
}

/* Popular Badge */
.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #14c7ff, #2575fc);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(20, 199, 255, 0.3);
}

/* Card Content */
.plan-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.plan-card-wrapper.popular .plan-card-title {
    background: linear-gradient(135deg, #14c7ff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-card-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Pricing */
.plan-price-wrap {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-price {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.plan-currency {
    font-size: 18px;
    margin-right: 4px;
    margin-top: 4px;
    color: #14c7ff;
}

.plan-period {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-left: 4px;
    align-self: flex-end;
    margin-bottom: 6px;
}

/* Features List */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 14.5px;
    color: #ccc;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    transition: transform 0.3s ease, color 0.3s ease;
}

.plan-features li:hover {
    transform: translateX(4px);
    color: #fff;
}

.plan-features li strong {
    color: #fff;
    font-weight: 700;
}

.plan-features li i {
    background: rgba(20, 199, 255, 0.1);
    color: #14c7ff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 9px;
    flex-shrink: 0;
    margin-top: 0;
}

/* Call To Action Buttons */
.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.plan-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.plan-btn:hover::before {
    opacity: 1;
}

.plan-btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-btn-solid {
    background: linear-gradient(135deg, #14c7ff, #0088ff);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(20, 199, 255, 0.3);
}

.plan-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(20, 199, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .plan-card-wrapper.popular {
        transform: scale(1);
    }
    .plan-card-wrapper.popular:hover {
        transform: translateY(-10px);
    }
}
