/* Base Styles */
:root {
    --primary-color: #ff4400;
    --secondary-color: #ff7733;
    --dark-color: #333333;
    --light-color: #f8f8f8;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e03d00;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #fff8f6;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--light-color);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
}

.step p {
    margin-bottom: 20px;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-grid, .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Download Options */
.download-options {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.download-card {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.device-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.download-card > p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.steps-list {
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    margin-bottom: 25px;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 10px;
}

.step-content p {
    margin-bottom: 10px;
    color: #666;
}

.step-content img {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 10px;
}

.download-card .btn {
    display: block;
    text-align: center;
}

/* QR Download Section */
.qr-download {
    padding: 60px 0;
    background-color: var(--light-color);
}

.qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.qr-code {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.qr-code img {
    max-width: 200px;
}

.qr-instructions {
    max-width: 400px;
}

.qr-instructions h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.qr-instructions .note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Troubleshooting Section */
.troubleshooting {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .qr-container {
        flex-direction: column;
        text-align: center;
    }
    
    .download-card {
        padding: 30px 20px;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-selector a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 4px;
    min-width: 120px;
    display: none;
    z-index: 10;
}

.language-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-color);
    transition: background-color 0.3s ease;
}

.language-dropdown a:hover {
    background-color: var(--light-color);
}

.language-selector:hover .language-dropdown {
    display: block;
}

/* Getting Started Section */
.getting-started {
    padding: 80px 0;
    background-color: var(--light-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-card p {
    margin-bottom: 20px;
    color: #666;
}

.step-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive adjustments for Getting Started section */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Registration Page Styles */
.register-guide, .register-verification {
    padding: 60px 0;
}

.register-verification {
    background-color: var(--light-color);
}

.next-steps {
    padding: 80px 0;
    text-align: center;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.next-step-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.next-step-card:hover {
    transform: translateY(-5px);
}

.next-step-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.next-step-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.next-step-card p {
    margin-bottom: 20px;
    color: #666;
}

@media (max-width: 992px) {
    .next-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-name a:hover {
    color: var(--secondary-color);
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-primary {
    color: #FF4400; /* 淘宝橙色 */
}

.brand-secondary {
    color: #333;
    margin-left: 5px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: var(--primary-color);
}

/* 页脚中的品牌名称样式调整 */
.footer-logo .brand-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo .brand-name a {
    color: white;
}

.footer-logo .brand-name a:hover {
    color: var(--primary-color);
}

/* Guide TOC Styles */
.guide-toc {
    padding: 60px 0;
    background-color: var(--light-color);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.toc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-color);
}

.toc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.toc-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.toc-item span {
    font-weight: 500;
}

/* Guide Section Styles */
.guide-section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--light-color);
}

.guide-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.guide-text {
    flex: 1;
}

.guide-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.guide-text h3:first-child {
    margin-top: 0;
}

.guide-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.guide-image {
    flex: 1;
}

.guide-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 100%;
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 992px) {
    .toc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guide-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .toc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* FAQ Page Styles */
.faq-categories {
    padding: 60px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.category-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.category-tab:hover {
    color: var(--primary-color);
}

.category-tab.active {
    color: var(--primary-color);
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-answer p {
    padding: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

.still-have-questions {
    padding: 60px 0;
    text-align: center;
    background-color: var(--light-color);
}

.still-have-questions h2 {
    margin-bottom: 15px;
}

.still-have-questions p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-options {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-card p {
    margin-bottom: 20px;
    color: #666;
}

.contact-card a {
    display: block;
    margin-bottom: 15px;
}

.response-time {
    font-size: 0.9rem;
    color: #888;
    margin-top: 15px;
}

.contact-form-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.success-message p {
    margin-bottom: 30px;
    color: #666;
}

.follow-us {
    padding: 60px 0;
    text-align: center;
}

.follow-us p {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-color);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.social-card i.fa-facebook {
    color: #3b5998;
}

.social-card i.fa-twitter {
    color: #1da1f2;
}

.social-card i.fa-instagram {
    color: #e1306c;
}

.social-card i.fa-youtube {
    color: #ff0000;
}

.social-card span {
    font-weight: 500;
}

/* Responsive Styles for FAQ and Contact Pages */
@media (max-width: 992px) {
    .contact-grid,
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .category-tab.active::after {
        width: 50%;
        left: 25%;
    }
} 