/* ===========================
   Brand Color System
   =========================== */

/* 超模学院 - 金色主题 */
.program-model .program-icon {
    background: linear-gradient(135deg, #d4af37, #e8c860);
}
.program-model {
    border-top-color: #d4af37;
}
.program-model .btn-outline {
    border-color: #d4af37;
    color: #d4af37;
}
.program-model .btn-outline:hover {
    background: #d4af37;
    color: #1a1a2e;
}
.page-header-model .section-tag {
    color: #d4af37;
}
.page-header-model {
    background: linear-gradient(135deg, #1a1a2e, #2c2c54);
}

/* 体态管理 - 蓝色主题 */
.program-posture .program-icon {
    background: linear-gradient(135deg, #3498db, #5dade2);
}
.program-posture {
    border-top-color: #3498db;
}
.program-posture .btn-outline {
    border-color: #3498db;
    color: #3498db;
}
.program-posture .btn-outline:hover {
    background: #3498db;
    color: #fff;
}
.page-header-posture .section-tag {
    color: #3498db;
}
.page-header-posture {
    background: linear-gradient(135deg, #1a1a2e, #1e3a5f);
}

/* 星一增高 - 绿色主题 */
.program-height .program-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.program-height {
    border-top-color: #27ae60;
}
.program-height .btn-outline {
    border-color: #27ae60;
    color: #27ae60;
}
.program-height .btn-outline:hover {
    background: #27ae60;
    color: #fff;
}
.page-header-height .section-tag {
    color: #27ae60;
}
.page-header-height {
    background: linear-gradient(135deg, #1a1a2e, #1e4d3a);
}

/* Hero Course Tags */
.hero-course-tag:nth-child(1) {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
}
.hero-course-tag:nth-child(2) {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}
.hero-course-tag:nth-child(3) {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.3);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav .mobile-nav-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    text-decoration: none;
    padding: 4px 12px;
    transition: 0.2s;
}
.mobile-bottom-nav a i {
    font-size: 20px;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: #d4af37;
}
.mobile-bottom-nav .mobile-nav-cta {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1a2e !important;
    border-radius: 20px;
    padding: 6px 16px;
    font-weight: 700;
}
@media (max-width: 768px) {
    .hero-showcase-real img {
        max-height: 300px;
    }
    .facilities-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================
   Hero Showcase
   =========================== */
.hero-showcase {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.hero-showcase-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hero-showcase-card i {
    font-size: 36px;
    color: #d4af37;
}
.hero-showcase-card span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.hero-showcase-card small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}
.hero-showcase-real {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero-showcase-real img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* ===========================
   Why Choose Us
   =========================== */
.why-choose-us {
    padding: 80px 0;
    background: #1a1a2e;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.why-card {
    background: #1e1e3a;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}
.why-card i {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 16px;
}
.why-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}
.why-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================
   Page Headers for New Pages
   =========================== */
.page-header-team {
    background: linear-gradient(135deg, #1a1a2e, #2c2c54);
}
.page-header-team .section-tag {
    color: #d4af37;
}
.page-header-cases {
    background: linear-gradient(135deg, #1a1a2e, #1e3a5f);
}
.page-header-cases .section-tag {
    color: #3498db;
}
.page-header-faq {
    background: linear-gradient(135deg, #1a1a2e, #1e4d3a);
}
.page-header-faq .section-tag {
    color: #27ae60;
}

/* ===========================
   Team Page
   =========================== */
.team-section {
    padding: 80px 0;
    background: #1a1a2e;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.team-card {
    background: #1e1e3a;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 3px solid rgba(212, 175, 55, 0.3);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-photo i {
    font-size: 48px;
    color: rgba(212, 175, 55, 0.6);
}
.team-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 6px;
}
.team-role {
    display: inline-block;
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}
.team-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* ===========================
   Cases Page
   =========================== */
.cases-section {
    padding: 80px 0;
    background: #1a1a2e;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.case-card {
    background: #1e1e3a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, border-color 0.3s;
}
.case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 152, 219, 0.3);
}
.case-before-after {
    display: flex;
    gap: 2px;
}
.case-before, .case-after {
    flex: 1;
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.case-before {
    background: rgba(220, 53, 69, 0.08);
}
.case-after {
    background: rgba(39, 174, 96, 0.08);
}
.case-before span, .case-after span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.case-before i, .case-after i {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.15);
}
.case-info {
    padding: 24px 20px;
}
.case-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 4px;
}
.case-age {
    color: #3498db;
    font-size: 13px;
    margin-bottom: 10px;
}
.case-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: #161635;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.testimonial-card {
    background: #1e1e3a;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.testimonial-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-author strong {
    color: #d4af37;
    font-size: 15px;
}
.testimonial-author span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ===========================
   FAQ Page
   =========================== */
.faq-section {
    padding: 80px 0;
    background: #1a1a2e;
}
.faq-category {
    margin-bottom: 48px;
}
.faq-category > h3 {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-category > h3 i {
    font-size: 22px;
}
.faq-item {
    background: #1e1e3a;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s;
}
.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
    transition: background 0.2s;
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}
.faq-question i {
    color: #d4af37;
    transition: transform 0.3s;
    font-size: 14px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}
.faq-answer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.8;
}

/* ===========================
   Section Header (shared)
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header .section-tag {
    display: inline-block;
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-header .section-title {
    font-size: 32px;
    margin-bottom: 8px;
}
.section-header .section-desc {
    font-size: 15px;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #2c2c54);
    text-align: center;
}
.cta-content h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-bottom: 28px;
}
.cta-content .btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #1a1a2e;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 24px;
    }
    .cta-content h2 {
        font-size: 24px;
    }
    .team-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 14px;
        padding: 16px 18px;
    }
    .faq-answer {
        padding: 0 18px;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 16px;
    }
}
