/* 全局样式 */
:root {
    --primary-color: #007AFF;
    --secondary-color: #0051D5;
    --accent-color: #3B82F6;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HarmonyOS Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* 英雄区域样式 */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn-primary:first-child {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.hero-buttons .btn-primary:first-child:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:last-of-type {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.hero-buttons .btn-primary:last-of-type:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

/* Placeholder 样式 */
.hero-placeholder {
    padding: 3rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-placeholder {
    padding: 3rem 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.download-placeholder {
    padding: 3rem 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 小屏幕导航栏品牌文字 */
.navbar-brand-text {
    display: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 1rem;
    flex: 1;
    text-align: center;
}

.navbar-brand-text:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 991.98px) {
    .navbar .container {
        flex-wrap: nowrap;
    }
    
    .navbar-brand-text {
        display: inline-block;
        order: 2;
        margin: 0;
    }
    
    .navbar-toggler {
        order: 3;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .hero-buttons .row {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 30px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-section {
        padding-top: 60px;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-placeholder,
    .about-placeholder,
    .download-placeholder {
        padding: 2rem 1rem;
    }
    
    .avatar-placeholder {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn-primary {
        font-size: 0.85rem;
    }
}

/* 功能特色区域样式 */
.features-section {
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 公司简介区域样式 */
.about-section {
    background: var(--light-bg);
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

/* 用户评价区域样式 */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 注册流程区域样式 */
.process-section {
    background: var(--light-bg);
}

.process-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .testimonial-avatar {
        margin: 0 auto;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .process-card {
        padding: 1.5rem 1rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .process-card h3 {
        font-size: 1.1rem;
    }
    
    .process-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-text p {
        font-size: 0.9rem;
    }
}

/* 下载区域样式 */
.download-section {
    background: var(--white);
}

.download-content {
    padding-right: 2rem;
}

.download-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-main-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.download-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: var(--white);
    text-decoration: none;
}

.download-section-title {
    text-align: center;
}

.download-section-title h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.android-btn {
    border-color: var(--primary-color);
}

.android-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.android-btn:hover i {
    color: var(--white);
}

.ios-btn {
    border-color: var(--primary-color);
}

.ios-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.ios-btn:hover i {
    color: var(--white);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: var(--text-dark);
    text-decoration: none;
}

.download-btn i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.android-btn i {
    color: var(--primary-color);
}

.ios-btn i {
    color: var(--primary-color);
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

.download-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 帮助中心区域样式 */
.help-section {
    background: var(--white);
}

.help-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.help-card:hover::before {
    transform: scaleX(1);
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.help-card:hover .help-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.help-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.help-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(5px);
}

/* 联系我们区域样式 */
.contact-section {
    background: var(--light-bg);
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer 样式 */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
}

.footer-top {
    background: var(--gradient-primary);
}

.footer-widget {
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white) !important;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .download-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .download-buttons {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .download-section-title h4 {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .download-btn {
        padding: 0.75rem 1rem;
    }
    
    .download-section-title h4 {
        font-size: 0.9rem;
    }
    
    .download-btn i {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }
    
    .btn-title {
        font-size: 1rem;
    }
    
    .btn-subtitle {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .download-text {
        font-size: 1rem;
    }
    
    .contact-text {
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .help-card {
        padding: 1.5rem 1rem;
    }
    
    .help-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .help-card h3 {
        font-size: 1.1rem;
    }
    
    .help-card p {
        font-size: 0.9rem;
    }
}
