/* 技术支持页样式 - 完全对齐 privacy.css 的结构，使用紫色主题 */

/* ==================== 页面头部（对齐 privacy-hero）==================== */
.support-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

.support-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.support-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.support-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease;
}

.support-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.support-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.support-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.support-hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-alt);
    transform: skewY(-2deg);
    z-index: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .support-hero {
        padding: 6rem 0 4rem;
        margin-top: 70px;
    }
    
    .support-hero-title {
        font-size: 2.5rem;
    }
    
    .support-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .support-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================== 内容区域（对齐 privacy-content）==================== */
.support-content {
    padding: 4rem 0 6rem;
    background: var(--bg-alt);
    position: relative;
}

.support-main-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== 引言卡片（对齐 privacy-intro-card）==================== */
.support-intro-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.support-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
}

.intro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.intro-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(108, 101, 242, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 1rem;
    border-left: 4px solid #6C65F2;
}

.intro-highlight i {
    font-size: 1.5rem;
    color: #6C65F2;
    flex-shrink: 0;
}

.intro-highlight strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.intro-highlight p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .support-intro-card {
        padding: 2rem;
    }
    
    .intro-title {
        font-size: 1.75rem;
    }
}

/* ==================== 章节样式（复用 privacy-section）==================== */
.support-section-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.support-section-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-header-modern {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.section-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.section-title-wrapper {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.section-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .support-section-card {
        padding: 2rem;
    }
    
    .section-header-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ==================== 快速帮助（对齐 use-grid）==================== */
.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-help-item {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-help-item:hover {
    border-color: #6C65F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 101, 242, 0.15);
}

.quick-help-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.quick-help-item:hover .quick-help-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-help-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.quick-help-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.btn-quick-help {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-quick-help:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 101, 242, 0.3);
    color: var(--white);
}

/* ==================== FAQ（对齐 privacy-section + 搜索和分类）==================== */
.faq-search-modern {
    margin-bottom: 2rem;
}

.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-wrapper i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    z-index: 1;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--gray-lighter);
    border-radius: 1rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-search-input:focus {
    outline: none;
    border-color: #6C65F2;
    box-shadow: 0 0 0 3px rgba(108, 101, 242, 0.1);
}

.faq-categories-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-lighter);
    background: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
}

.faq-category-btn:hover {
    border-color: #6C65F2;
    color: #6C65F2;
}

.faq-category-btn.active {
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-color: transparent;
    color: var(--white);
}

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

.faq-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 联系支持（对齐 contact-cards）==================== */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-channel-card {
    padding: 2.5rem;
    background: var(--bg-alt);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-lighter);
}

.contact-channel-card:hover {
    border-color: #6C65F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 101, 242, 0.15);
}

.contact-channel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.contact-channel-card:hover .contact-channel-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-channel-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-channel-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-channel-card a {
    color: #6C65F2;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-channel-card a:hover {
    color: #6366f1;
    text-decoration: underline;
}

.contact-form-modern {
    margin-top: 3rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-form-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-input-modern {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-lighter);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
}

.form-input-modern:focus {
    outline: none;
    border-color: #6C65F2;
    box-shadow: 0 0 0 3px rgba(108, 101, 242, 0.1);
}

.form-input-modern::placeholder {
    color: var(--gray);
}

.btn-submit-modern {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    color: var(--white);
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 101, 242, 0.3);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

/* ==================== 文档资源（对齐 use-grid）==================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-item {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-item:hover {
    border-color: #6C65F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 101, 242, 0.15);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.resource-item:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
}

.resource-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.resource-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.btn-resource {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6C65F2 0%, #8b5cf6 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-resource:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 101, 242, 0.3);
    color: var(--white);
}

/* ==================== 响应式优化（对齐 privacy.css）==================== */
@media (max-width: 768px) {
    .quick-help-grid,
    .contact-channels-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
