/** 套餐体系 **/

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 900px;
    padding-top: 72px;
    overflow: hidden;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg .top-img-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Decorative Elements */
.hero-decor {
    position: absolute;
    top: -108px;
    left: -207px;
    width: 933px;
    height: 950px;
    pointer-events: none;
    z-index: 1;
    /*background: url("../images/package/package_top_img.png") no-repeat center;*/
    /*background-size: cover;*/
    /*border-radius: 50%;*/
    /*overflow: hidden;*/
}

.hero-decor-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-decor-circle.c1 {
    top: 0;
    left: 10px;
    width: 900px;
    height: 900px;
}

.hero-decor-circle.c1 .top-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-decor-circle.c2 {
    top: 0;
    left: 0;
    width: 933px;
    height: 933px;
    border: 2px dashed var(--accent-purple);
    background: transparent;
}

.hero-decor-circle.c3 {
    top: 900px;
    left: 339px;
    width: 50px;
    height: 50px;
    background: var(--yellow);
}

.hero-decor-star {
    position: absolute;
    top: 851px;
    left: 747px;
    width: 55px;
    height: 55px;
    /*background: var(--accent-purple);*/
    border-radius: 2px;
    transform: rotate(15deg);
}

/* Hero Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 36px 0 60px;
    gap: 86px;
}

/* Hero Left */
.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-title-group {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 0;
}

.hero-title-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hero-title-icon .placeholder-img {
    width: 34px;
    height: 42px;
}

.hero-title {
    font-size: 68px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.35;
    /*flex: 1;*/
    min-width: 0;
}

.hero-title .accent {
    color: var(--yellow);
}

/* Hero Cards */
.hero-cards {
    display: flex;
    gap: 24px;
    margin-top: 280px;
}

.hero-card {
    width: 302px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(96, 42, 166, 0.12);
}

.hero-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 270px;
    margin: 0 auto;
}

.hero-card-img {
    width: 200px;
    height: 200px;
    border-radius: 0;
}
.hero-card-img .great-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.hero-card-heading-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.4;
}

.hero-card-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    border: none;
    border-radius: 2px;
}

.hero-card-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.6;
}

/* Card padding variants per Figma */
.hero-card.pad-1 {
    padding: 0 16px 32px;
}

.hero-card.pad-2 {
    padding: 0 18px 86px 14px;
}

.hero-card.pad-3 {
    padding: 0 16px 86px;
}

.hero-card.pad-4 {
    padding: 0 16px 113px;
}

/* Hero Right */
.hero-right {
    width: 597px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-right-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-cta-group {
    position: relative;
    display: inline-block;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*padding: 16px 28px;*/
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    width: 290px;
    height: 68px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(96, 42, 166, 0.4);
}

.hero-cta-btn:active {
    transform: translateY(0) scale(0.97);
}

.hero-cta-arrow {
    position: absolute;
    bottom: -16px;
    left: 33px;
    width: 24px;
    height: 16px;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero-main-title {
    font-size: 88px;
    font-weight: 900;
    color: var(--primary);
    text-align: left;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 40px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
}

.hero-description {
    font-size: 22px;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Feature icons row */
.hero-features {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.hero-features-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-features-col.left-col {
    /*width: 226px;*/
}

.hero-features-col.right-col {
    /*width: 179px;*/
}

.hero-feature-item {
    position: relative;
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
}

.hero-feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-feature-icon:hover {
    transform: translateY(-4px);
}

.hero-feature-icon.purple {
    background: var(--primary);
}

.hero-feature-icon.yellow {
    background: var(--yellow);
}

.hero-feature-icon .icon-inner {
    width: 42px;
    height: 42px;
}

.hero-feature-label {
    position: absolute;
    left: 84px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-text);
    line-height: 1.4;
}

/*======Great Section=====*/
.great-section {
    background: url("../images/package/great_bg.jpg") no-repeat 0% 100%;
    background-size: cover;
}

.great-section .hero-title-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.great-section .hero-title {
    color: var(--primary);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0 120px;
    /*background: var(--white);*/
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 68px;
}

.faq-header-icon {
    width: 44px;
    height: 44px;
}

.faq-header-icon .placeholder-img {
    width: 34px;
    height: 42px;
}

.faq-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
}

.faq-list {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-top: 1px solid var(--gray-200);
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 28px;
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-icon svg {
    width: 24px;
    height: 24px;
}

.faq-answer {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 30px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 8px;
    opacity: 1;
}

/* ===== Responsive: 1200px ===== */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        width: 100%;
    }

    .hero-cards {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 60px;
    }

    .hero-card {
        width: calc(50% - 12px);
        min-width: 280px;
    }
}

/* ===== Responsive: 900px ===== */
@media (max-width: 900px) {
    .container {
        padding: 0 40px;
    }

    .hero {
        min-height: auto;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-main-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-features {
        gap: 40px;
    }

    .hero-card {
        width: calc(50% - 12px);
    }

    .hero-card-title {
        font-size: 22px;
    }

    .hero-card-desc {
        font-size: 16px;
    }

    .faq-title {
        font-size: 40px;
    }

    .faq-question-text {
        font-size: 20px;
    }

    .faq-answer {
        font-size: 16px;
    }
}

/* ===== Responsive: 600px ===== */
@media (max-width: 600px) {
    .hero-card-inner {
        width: 300px;
    }
    .hero-feature-icon {
        width: 60px;
        height: 60px;
    }
    .hero-feature-label {
        font-size: 18px;
    }
    .container {
        padding: 0 20px;
    }

    .header .container {
        padding: 12px 20px;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 24px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }

    .header-nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 16px 24px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #f0ebf8;
        width: 100%;
        opacity: 1 !important;
        font-size: 16px;
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.open a {
        transform: translateX(0);
        opacity: 0.8;
    }

    .header-nav.open a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-decor {
        display: none;
    }

    .hero-content {
        padding-top: 30px;
        gap: 32px;
    }

    .hero-title-group {
        gap: 12px;
    }

    .hero-title-icon {
        width: 32px;
        height: 32px;
    }

    .hero-title-icon .placeholder-img {
        width: 24px;
        height: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-cards {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
        gap: 16px;
    }

    .hero-card {
        width: 100%;
        max-width: 360px;
    }

    .hero-right {
        gap: 32px;
    }

    .hero-main-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        gap: 24px;
    }

    .hero-features-col, .hero-features-col.right-col {
        width: 100%;
    }

    .hero-feature-item {
        height: auto;
        min-height: 50px;
    }

    .hero-cta-btn {
        font-size: 20px;
        width: 220px;
        height: 52px;
    }

    .floating-cta .pill-btn {
        font-size: 20px;
        padding: 12px 20px;
    }

    .faq-section {
        padding: 60px 0 80px;
    }

    .faq-header {
        gap: 12px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .faq-title {
        font-size: 30px;
    }

    .faq-question-text {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-answer {
        font-size: 14px;
        line-height: 22px;
    }

    .header-actions .btn-yellow, .header-actions .btn-purple {
        display: none;
    }
}

/* ===== Responsive: 375px ===== */
@media (max-width: 375px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-main-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-card-title {
        font-size: 20px;
    }

    .hero-card-desc {
        font-size: 14px;
    }

    .hero-feature-label {
        font-size: 20px;
    }

    .faq-title {
        font-size: 26px;
    }
}