* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --primary-hover: #c0392b;
    --secondary-color: #333333;
    --accent-color: #e74c3c;
    --light-bg: #ffffff;
    --dark-bg: #1a1a2e;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    padding: 1rem 0;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.brand-logo {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    vertical-align: middle;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.hero-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    padding: 2rem 0;
    animation: fadeInUp 1s ease;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-cta-wrapper {
    margin-top: 1rem;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-btn {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    animation: pulse 2s infinite;
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: none !important;
    cursor: pointer;
}

.qr-container-inline {
    background: var(--white);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 150px;
}

.qr-container-inline .qr-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-container-inline .qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-container-inline .qr-text {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    font-size: 0.875rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

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

.qr-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 300px;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-text {
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.app-showcase {
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease 0.3s both;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.app-showcase img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
}

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

.guide-section {
    background: var(--light-bg);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.guide-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.guide-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.guide-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.guide-desc {
    color: var(--text-light);
    margin: 0;
}

.stats-section {
    background: var(--white);
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.advantages-section {
    background: var(--light-bg);
}

.advantage-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.advantage-desc {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.tasks-section {
    background: var(--white);
}

.task-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.task-category {
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.task-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.task-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 48px;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-spots {
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn-task {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-task:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: scale(1.05);
}

.testimonials-section {
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.user-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.user-income {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.download-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.download-features {
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-download {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-download:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-icon {
    font-size: 2rem;
}

.download-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.download-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

.download-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.download-qr {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.download-qr img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    object-fit: contain;
}

.download-qr p {
    margin: 0.75rem 0 0;
    color: var(--text-color);
    font-weight: 600;
}

.download-hint {
    margin-top: 0.5rem !important;
    color: var(--text-light) !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

.accordion-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--light-bg);
}

.accordion-button {
    background: var(--white);
    color: var(--text-color);
    font-weight: 600;
    padding: 1.25rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .brand-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white) !important;
    background: none;
    -webkit-text-fill-color: var(--white);
    display: inline-block;
    margin-bottom: 1rem;
    vertical-align: middle;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: inline-block;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    font-style: normal;
    font-size: 1.1rem;
}

.footer-links-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-contact-info .contact-icon {
    font-style: normal;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-icp {
    text-align: center;
    margin-top: 1.5rem;
}

.footer-icp p {
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 0;
        align-items: center !important;
    }
    
    .hero-cta-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-top: -1.5rem !important;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-qr {
        margin-top: -1.5rem;
    }
    
    .app-showcase {
        margin-top: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .guide-card,
    .task-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .qr-container {
        padding: 1.5rem;
        max-width: 250px;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-brand,
    .footer-links-section {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-info li {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .download-title {
        font-size: 1.75rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}