/* 首页样式 */
:root {
    --hero-height: 100vh;
    --section-spacing: 120px;
}

/* Hero 部分 */
.hero {
    min-height: var(--hero-height);
    align-items: normal;
}

.hero .hero-content {
    padding-top: 7rem;
}

.hero .hero-title {
    background: transparent !important;
    color: var(--text-primary) !important;
    margin-bottom: 3rem;
    -webkit-text-fill-color: unset;
}

body {
    position: relative;
}
/* 背景图片和渐变 */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../images/home/home-hero.webp') center / cover no-repeat;
    z-index: -1;
}


.section-title {
    text-align: center;
    margin-bottom: var(--space-6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-3);
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-light) 30%, var(--pink-primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-2);
    letter-spacing: -0.022em;
}

.section-title p {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.47059;
    letter-spacing: -0.016em;
}

.section-title p a {
    color: var(--pink-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--ease-1);
}

.section-title p a:hover {
    text-decoration: underline;
    color: var(--pink-dark);
}


/* 响应式设计 - iPad */
@media (max-width: 1068px) {
    :root {
        --section-spacing: 100px;
    }
}

/* 响应式设计 - iPhone */
@media (max-width: 734px) {
    :root {
        --section-spacing: 80px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 15px;
    }
}


/* FAQ部分 */
.faq {
    padding: var(--section-spacing) 0;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left, rgba(255, 105, 180, 0.1), transparent 60%);
    z-index: -1;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit) * 4;
    max-width: 1200px;
    margin: 0 auto var(--spacing-unit) * 8;
    padding: 0 var(--spacing-unit) * 3;
}

.faq-item {
    background: var(--dark-secondary);
    border-radius: 16px;
    padding: var(--spacing-unit) * 4;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-unit) * 2;
}

.faq-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-unit) * 2;
}

.read-more {
    color: var(--pink-primary);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--pink-dark);
}

.faq-more {
    text-align: center;
}

.faq-more p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-unit) * 3;
}

/* 响应式设计补充 */
@media (max-width: 1200px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-section {
    min-height: 100vh;
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    position: relative;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255, 105, 180, 0.06),
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 1200px;
    padding: 0;
}

.faq-grid .faq-item {
    background: rgba(45, 45, 45, 0.5);
    border-radius: 20px;
    padding: 1.75rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    will-change: transform;
    transform: translateZ(0);
}

.faq-item:hover {
    transform: translateY(-4px) translateZ(0);
    border-color: rgba(255, 105, 180, 0.3);
    box-shadow: 
        0 8px 32px rgba(255, 105, 180, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(45, 45, 45, 0.6);
}

.faq-item[data-type="question-card"] {
    min-height: unset;
}

.faq-item h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-light) 70%, var(--pink-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
    transition: color 0.3s ease;
    letter-spacing: -0.016em;
}

.faq-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.faq-item .read-more {
    color: var(--pink-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.016em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0;
    margin-top: auto;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.faq-item .read-more:hover {
    color: var(--pink-dark);
    gap: 0.5rem;
}

.faq-more {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 105, 180, 0.1);
}

.faq-more p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    letter-spacing: -0.022em;
}

.faq-more .contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-dark));
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.016em;
    padding: 0.875rem 1.75rem;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2);
    -webkit-tap-highlight-color: transparent;
}

.faq-more .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.3);
    background: linear-gradient(135deg, var(--pink-dark), var(--pink-primary));
}

/* 响应式设计 - iPad */
@media (max-width: 1068px) {
    .faq-section {
        padding: 4rem 3rem;
    }

    .faq-grid {
        gap: 1.25rem;
    }

    .faq-grid .faq-item {
        padding: 1.5rem;
        min-height: 200px;
    }
}

/* 响应式设计 - iPhone */
@media (max-width: 734px) {
    .faq-section {
        padding: 3rem 1.5rem;
        height: auto;
        align-items: flex-start;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .faq-grid .faq-item {
        padding: 1.25rem;
        min-height: auto;
    }

    .faq-item h3 {
        font-size: 17px;
        margin-bottom: 0.75rem;
    }

    .faq-item p {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .faq-item .read-more {
        font-size: 14px;
        padding: 0.5rem 0;
    }

    .faq-more {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .faq-more p {
        font-size: 15px;
    }

    .faq-more .contact-btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
}

/* 响应式设计 - 小型iPhone */
@media (max-width: 374px) {
    .faq-section {
        padding: 2.5rem 1rem;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 13px;
    }

    .faq-more p {
        font-size: 14px;
    }

    .faq-more .contact-btn {
        font-size: 14px;
        padding: 0.875rem 1.25rem;
    }
}