/* Investment Plans Section Redesign */
#plans {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Background elements */
#plans::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

#plans::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.plan-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* glass border */
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure full height */
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 40px -10px rgba(56, 189, 248, 0.2);
}

/* Popular Badge */
.plan-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.plan-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(56, 189, 248, 0.2);
}

.plan-card:hover .plan-icon-wrapper {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.plan-icon {
    font-size: 2.5rem;
    color: #38bdf8;
    transition: all 0.3s ease;
}

.plan-card:hover .plan-icon {
    transform: rotate(10deg);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(120deg, #e2e8f0, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.plan-price small {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
}

.plan-features {
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 1rem;
}

.plan-features li {
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.plan-features li i {
    color: #38bdf8;
    margin-right: 10px;
    font-size: 1.1rem;
    background: rgba(56, 189, 248, 0.1);
    padding: 5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-invest {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    /* Push to bottom */
}

.btn-invest::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-invest:hover::before {
    left: 100%;
}

/* Featured cards highlighting */
.plan-card.featured {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.plan-card.featured:hover {
    border-color: #10b981;
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.2);
}

.plan-card.featured .plan-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.plan-card.featured .plan-icon {
    color: #10b981;
}

.plan-card.featured .plan-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.plan-card.featured .btn-invest {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.plan-card.featured .btn-invest:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}