/* header section */
.plan-header {
    text-align: center;
    /*margin-bottom: 1.5rem;*/
}

.badge-premium {
    display: inline-block;
    background: #03c08c;
    backdrop-filter: blur(4px);
    color: #42624e;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.plan-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #03c08c, #2a8369);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.plan-header p {
    font-size: 1.2rem;
    color: #475569;
    max-width: 580px;
    margin: 0 auto;
}

/* billing toggle switch */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: #ffffffcc;
    backdrop-filter: blur(8px);
    width: fit-content;
    margin: 0 auto 3rem auto;
    padding: 0.5rem;
    border-radius: 60px;
    box-shadow: 0 4px 12px #03c08c, 0 1px 2px #10b981;
    border: 1px solid rgba(203, 213, 225, 0.6);
}

.toggle-option {
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #334155;
    letter-spacing: -0.2px;
}

.toggle-option.active {
    background: #01533c;
    color: white;
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.2);
}

.save-tag {
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    margin-left: 8px;
    vertical-align: middle;
}

/* cards grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* premium card */
.plan-card {
    background: linear-gradient(210deg, #2e4e84, #ca6b6b);
    color: white;
    backdrop-filter: blur(0px);
    border-radius: 2rem;
    padding: 2rem 1.8rem 2rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 20px 35px -12px #03c08c, 0 1px 2px #3cb895;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    background-color: #03673f;
    transform: translateY(-6px);
    box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e180;
}

/* popular badge */
.popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(105deg, #FFD700, #f59e0b);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    letter-spacing: 0.3px;
}

.offer-div{
    display: flex;
    gap: 8vw;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.plan-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9eef3;
    padding-bottom: 1rem;
}

.price-wrapper {
    margin: 1rem 0 0.5rem 0;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: #5f6c84;
}

.period {
    font-size: 0.9rem;
    color: #5f6c84;
    margin-left: 4px;
}

.billed-note {
    font-size: 0.7rem;
    margin-top: 5px;
    margin-bottom: 1.5rem;
}

/* features list */
.features-list {
    list-style: none;
    margin: 1.5rem 0 1.8rem 0;
    /* flex-grow: 1; */
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.features-list li i {
    width: 1.4rem;
    color: #10b981;
    font-size: 1rem;
}

.btn-plan {
    background: #f1f5f9;
    border: none;
    padding: 0.9rem 0;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.8rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.btn-plan.primary-btn {
    background: #0f172a;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-plan.primary-btn:hover {
    background: #2d3a5e;
    transform: scale(0.98);
}

.btn-plan:not(.primary-btn):hover {
    background: #e6edf4;
}

/* card accent for plus tier */
.plan-card.plus-tier {
    border-top: 3px solid #FFE200;
    background: linear-gradient(210deg, brown, rgb(144, 90, 90));
}

/* responsiveness */
@media (max-width: 780px) {
    .ve-section {
        padding: 3rem 1rem;
    }

    .plan-header h1 {
        font-size: 2.2rem;
    }

    .plans-grid {
        gap: 1.5rem;
    }

    .price {
        font-size: 2.2rem;
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card {
    animation: fadeSlide 0.4s ease backwards;
}

.plan-card:nth-child(1) {
    animation-delay: 0.05s;
}

.plan-card:nth-child(2) {
    animation-delay: 0.1s;
}

.plan-card:nth-child(3) {
    animation-delay: 0.15s;
}

.toggle-option {
    transition: all 0.2s;
    user-select: none;
}

.toggle-option:hover {
    background: #e2e8f0;
}

.toggle-option.active:hover {
    background: #1e293b;
}

.btn-plan i {
    transition: transform 0.2s;
}

.btn-plan:hover i {
    transform: translateX(4px);
}

.plan-card .features-list li i.fa-check-circle {
    color: #10b981;
    font-size: 0.9rem;
}

.save-tag {
    background: #eef2ff;
}

.ve-section {
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 245, 0.4) 0%, rgba(248, 250, 252, 1) 90%);
}

.plan-card.plus-tier .price {
    background: linear-gradient(130deg, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-card.plus-tier .price-wrapper .price {
    background: linear-gradient(130deg, #FFD700, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-card.plus-tier .btn-plan {
    background: linear-gradient(95deg, #FFD700, #C9A227);
    color: #1a1a1a;
    border: none;
}

.plan-card.plus-tier .btn-plan:hover {
    background: linear-gradient(95deg, #E6C200, #B8860B);
    transform: scale(0.98);
}

.plan-card .popular-badge {
    font-size: 0.7rem;
}

@media (max-width: 640px) {
    .billing-toggle {
        gap: 0.3rem;
        padding: 0.3rem;
    }

    .toggle-option {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .plan-card {
        padding: 1.5rem;
    }
}