/* General Styles */
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #6c757d; /* Gray */
    --accent-color: #0056b3; /* Darker Blue */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --background-color: #f8f9fa;
    --card-background: #fff;
    --border-color: #e9ecef;
    --gradient-start: #007bff;
    --gradient-end: #00c6ff;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 1em;
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--secondary-color);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.btn-primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--accent-color), #00aaff);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--card-background);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

header nav ul li .btn-primary {
    margin-left: 10px;
    padding: 8px 20px;
    font-size: 0.9em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--light-text-color);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.hero-section h1 {
    color: var(--light-text-color);
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-section .subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    margin: 0 15px;
    font-size: 1.1em;
    padding: 15px 35px;
}

.hero-buttons .btn-secondary {
    border-color: var(--light-text-color);
    color: var(--light-text-color);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--light-text-color);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background-color: rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item h3 {
    color: var(--light-text-color);
    font-size: 2.5em;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 1em;
    margin: 0;
}

/* Specific Hero Sections for Subpages */
.hero-tech-section {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
}

.hero-download-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%); /* Greenish for download */
}

.hero-faq-section {
    background: linear-gradient(135deg, #6f42c1 0%, #885df1 100%); /* Purplish for FAQ */
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-of-type(even) {
    background-color: #f2f4f6;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-item .icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.95em;
    color: var(--secondary-color);
}

/* Technology Detail Section */
.tech-detail-section .tech-block {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tech-detail-section .tech-block .tech-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-detail-section .tech-block h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-detail-section .tech-block p {
    font-size: 1.05em;
    color: var(--text-color);
    margin-bottom: 15px;
}

.tech-detail-section .tech-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.tech-detail-section .tech-block ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23007bff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Comparison Table */
.tech-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.tech-comparison-table th,
.tech-comparison-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
}

.tech-comparison-table th {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    font-weight: bold;
    font-size: 1.1em;
}

.tech-comparison-table tr:nth-child(even) {
    background-color: #f2f4f6;
}

.tech-comparison-table td {
    color: var(--text-color);
}

/* Use Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.case-item p {
    font-size: 0.95em;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-item blockquote {
    font-style: italic;
    color: var(--text-color);
    margin: 0 0 20px 0;
    padding: 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.testimonial-item p {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
    margin: 0;
}

/* FAQ Section */
.faq-list details {
    background-color: var(--card-background);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.faq-list summary {
    font-size: 1.1em;
    font-weight: bold;
    padding: 20px 25px;
    cursor: pointer;
    outline: none;
    color: var(--text-color);
    position: relative;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-list details p {
    padding: 15px 25px 20px 25px;
    margin: 0;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
}

/* Download Section */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.download-item {
    background-color: var(--card-background);
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-decoration: none;
}

.download-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.download-item h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.download-item p {
    font-size: 0.9em;
    color: var(--secondary-color);
    margin: 0;
}

/* Installation Guide */
.installation-guide-section .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.installation-guide-section .step-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.installation-guide-section .step-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.installation-guide-section .step-item p {
    color: var(--secondary-color);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.installation-guide-section .step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.small-text {
    font-size: 0.85em;
    color: var(--secondary-color);
    margin-top: 10px;
}

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

.platform-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.platform-item .icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.platform-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.platform-item p {
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.platform-item .btn-primary {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.tip-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.tip-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.tip-item p {
    font-size: 0.95em;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #343a40;
    color: var(--light-text-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .footer-links {
    margin-bottom: 20px;
}

footer .footer-links a {
    color: rgba(255,255,255,0.7);
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

footer p {
    margin: 0;
    color: rgba(255,255,255,0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5em;
    }
    .hero-section .subtitle {
        font-size: 1.1em;
    }
    .hero-buttons .btn {
        font-size: 1em;
        padding: 12px 25px;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.5em;
    }
    header nav ul li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header nav ul li {
        margin: 5px 10px;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section .subtitle {
        font-size: 1em;
    }
    .hero-buttons .btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    .stat-item {
        width: 80%;
        margin: 0 auto;
    }
    .feature-grid, .tech-grid, .case-grid, .testimonial-grid, .download-grid, .guide-steps, .platform-grid, .tips-grid {
        grid-template-columns: 1fr;
    }
    .tech-detail-section .tech-block {
        padding: 30px;
    }
    .tech-comparison-table th, .tech-comparison-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    .faq-list summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .faq-list summary::after {
        right: 20px;
    }
    .faq-list details p {
        padding: 10px 20px 15px 20px;
    }
    footer .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-section .subtitle {
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }
    .logo {
        font-size: 1.5em;
    }
    header nav ul li .btn-primary {
        padding: 6px 15px;
        font-size: 0.8em;
    }
    .stat-item h3 {
        font-size: 2em;
    }
    .stat-item p {
        font-size: 0.9em;
    }
    .feature-item, .case-item, .testimonial-item, .download-item, .step-item, .platform-item, .tip-item {
        padding: 20px;
    }
    .tech-detail-section .tech-block h3 {
        font-size: 1.6em;
    }
    .tech-detail-section .tech-block ul li {
        padding-left: 25px;
        background-size: 16px;
    }
    .tech-comparison-table th, .tech-comparison-table td {
        font-size: 0.8em;
    }
    .download-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}
/* 强制修复背景遮挡，确保按钮在最上层 */
.hero {
    position: relative !important;
    z-index: 1 !important;
}

./* 强制修复背景遮挡，确保按钮在最上层 */
.hero {
    position: relative !important;
    z-index: 1 !important;
}

.hero::before, .hero::after {
    z-index: -1 !important; /* 强制背景沉底 */
    pointer-events: none !important; /* 强制背景不拦截鼠标 */
}

.hero-content, .hero-container {
    position: relative !important;
    z-index: 10 !important; /* 确保内容层级高于背景 */
}

.hero-buttons, .hero-btns {
    position: relative !important;
    z-index: 20 !important; /* 确保按钮容器在更高层 */
}

.btn {
    position: relative !important;
    z-index: 30 !important; /* 确保按钮本身在最高层 */
    cursor: pointer !important;
    pointer-events: auto !important; /* 强制开启鼠标点击事件 */
}


