/* ===================== PACKAGES PAGE STYLES ===================== */

/* ===================== PACKAGES HERO ===================== */
.pkg-hero {
    background: linear-gradient(135deg, #000000 0%, #051508 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.pkg-hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pkg-hero-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 420px;
}

.pkg-hero-img {
    max-width: 100%;
}

/* ===================== PACKAGES GRID ===================== */
.packages-grid-section {
    background-color: var(--dark-bg);
    padding: 40px 0 60px;
}

.package-card {
    background: linear-gradient(180deg, rgba(15, 35, 15, 0.85) 0%, rgba(5, 21, 8, 0.95) 100%);
    border-radius: 16px;
    padding: 0 25px 0;
    height: 100%;
    border: 1px solid rgba(184, 215, 74, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Different border for starter (featured) */
.package-starter {
    border-color: rgba(184, 215, 74, 0.5);
    box-shadow: 0 10px 40px rgba(184, 215, 74, 0.1);
}

/* Featured Package - Highlighted */
.package-card.featured {
    border: 2px solid var(--primary-green);
    box-shadow: 0 15px 50px rgba(184, 215, 74, 0.35), 0 0 0 4px rgba(184, 215, 74, 0.08);
    transform: translateY(-15px) scale(1.03);
    background: linear-gradient(180deg, rgba(25, 50, 25, 0.95) 0%, rgba(10, 31, 10, 1) 100%);
    z-index: 2;
    position: relative;
}

.package-card.featured:hover {
    transform: translateY(-22px) scale(1.04);
    box-shadow: 0 25px 60px rgba(184, 215, 74, 0.45), 0 0 0 4px rgba(184, 215, 74, 0.12);
}

/* "Most Popular" Badge */
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #B8D74A 0%, #9BBF2F 100%);
    color: #000000;
    padding: 7px 22px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(184, 215, 74, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    animation: pulse-badge 2s ease-in-out infinite;
}

.popular-badge i {
    font-size: 12px;
    color: #ffffff;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(184, 215, 74, 0.5);
    }
    50% {
        box-shadow: 0 4px 25px rgba(184, 215, 74, 0.8);
    }
}

/* Featured card title accent */
.package-card.featured .package-title {
    color: var(--primary-green);
}

/* Ribbon */
.package-ribbon {
    margin: 0 -25px 0;
    padding: 12px 20px;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-align: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.ribbon-basic {
    background: linear-gradient(135deg, #8B5A2B 0%, #6B4423 100%);
}

.ribbon-starter {
    background: linear-gradient(135deg, #b0b0b0 0%, #808080 100%);
}

.ribbon-business {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
}

.ribbon-badge {
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.package-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 10px;
}

.package-tagline {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

.package-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 25px;
}

/* Includes List */
.package-includes h6 {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.package-includes {
    flex: 1 1 auto;
}

.package-includes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.package-includes ul li {
    color: #ffffff;
    font-size: 13px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-includes ul li i {
    color: var(--primary-green);
    font-size: 14px;
}

/* Choose Plan Button */
.btn-choose-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: auto;
    margin-bottom: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-choose-plan i {
    transition: transform 0.3s ease;
}

.btn-choose-plan:hover i {
    transform: translateX(4px);
}

/* Basic - Bronze button */
.btn-basic {
    background: linear-gradient(135deg, #8B5A2B 0%, #6B4423 100%);
    color: #ffffff;
}

.btn-basic:hover {
    background: linear-gradient(135deg, #A66D34 0%, #8B5A2B 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.4);
}

/* Starter - Green button (featured) */
.btn-starter {
    background: linear-gradient(135deg, #B8D74A 0%, #9BBF2F 100%);
    color: #000000;
}

.btn-starter:hover {
    background: linear-gradient(135deg, #C8E75A 0%, #ABCF3F 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 215, 74, 0.5);
}

/* Business - Gold button */
.btn-business {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #ffffff;
}

.btn-business:hover {
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Best For */
.package-best-for {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    margin: 20px -25px 0;
    border-top: 1px solid rgba(184, 215, 74, 0.2);
    flex-shrink: 0;
}

.best-basic {
    background: linear-gradient(90deg, rgba(139, 90, 43, 0.15) 0%, rgba(107, 68, 35, 0.15) 100%);
    border-top-color: rgba(139, 90, 43, 0.4);
}

.best-starter {
    background: linear-gradient(90deg, rgba(184, 215, 74, 0.15) 0%, rgba(155, 191, 47, 0.15) 100%);
    border-top-color: rgba(184, 215, 74, 0.4);
}

.best-business {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(184, 134, 11, 0.15) 100%);
    border-top-color: rgba(212, 175, 55, 0.4);
}

.best-for-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.best-basic .best-for-icon {
    color: #C28A4D;
}

.best-starter .best-for-icon {
    color: var(--primary-green);
}

.best-business .best-for-icon {
    color: #E5C158;
}

.package-best-for h6 {
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.best-basic h6 {
    color: #C28A4D;
}

.best-business h6 {
    color: #E5C158;
}

.package-best-for p {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* ===================== ALL PACKAGES COME WITH ===================== */
.all-packages-with {
    background-color: var(--dark-bg);
    padding: 20px 0 60px;
}

.all-packages-box {
    background: linear-gradient(180deg, rgba(15, 35, 15, 0.8) 0%, rgba(5, 21, 8, 0.9) 100%);
    border: 1px solid rgba(184, 215, 74, 0.2);
    border-radius: 18px;
    padding: 35px 25px;
}

.all-packages-title {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.all-packages-title .leaf-decor {
    color: var(--primary-green);
    margin: 0 10px;
    font-size: 16px;
}

.all-packages-icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.apw-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.apw-icon {
    width: 55px;
    height: 55px;
    border: 1.5px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary-green);
    font-size: 22px;
}

/* ===================== INVEST CTA ===================== */
.invest-cta {
    background: linear-gradient(90deg, #0a1f0a 0%, #051508 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.invest-img {
    max-width: 100%;
    max-height: 220px;
}

.invest-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1.2;
}

.invest-text {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.help-box {
    background-color: rgba(15, 35, 15, 0.6);
    border: 1px solid rgba(184, 215, 74, 0.3);
    border-radius: 14px;
    padding: 25px;
    margin-right: 20px;
}

.help-box h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.help-box p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-chat {
    background-color: var(--primary-green);
    color: #000000;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-chat:hover {
    background-color: var(--primary-green-dark);
    color: #000000;
    transform: translateY(-2px);
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 215, 74, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-green-dark);
    color: #000000;
    transform: translateY(-3px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .package-card.featured {
        transform: none;
        margin-top: 25px;
    }

    .package-card.featured:hover {
        transform: translateY(-5px);
    }

    .pkg-hero {
        padding: 120px 0 50px;
        text-align: center;
    }

    .pkg-hero-title {
        font-size: 30px;
    }

    .pkg-hero-desc {
        margin: 0 auto 30px;
    }

    .hero-features {
        justify-content: center;
    }

    .pkg-hero-img {
        margin-top: 30px;
    }

    .all-packages-icons {
        gap: 20px;
    }

    .apw-item {
        flex: 0 0 calc(25% - 20px);
    }

    .invest-cta {
        text-align: center;
    }

    .help-box {
        margin: 20px auto 0;
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .pkg-hero-title {
        font-size: 26px;
    }

    .package-title {
        font-size: 22px;
    }

    .apw-item {
        flex: 0 0 calc(50% - 20px);
    }

    .invest-title {
        font-size: 22px;
    }

    .all-packages-title {
        font-size: 16px;
    }

    .package-img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .pkg-hero-title {
        font-size: 22px;
    }

    .apw-item {
        flex: 0 0 100%;
    }

    .invest-title {
        font-size: 18px;
    }
}
