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

/* CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #64748b;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.125rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    text-align: center;
    color: white;
    z-index: 2;
}

.overlay-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.overlay-text {
    font-size: 1.25rem;
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}

/* 界面演示部分样式 */
.demo-showcase {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-item {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.demo-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.demo-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.demo-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.demo-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.demo-content {
    padding: 2rem;
}

.demo-image-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.demo-image-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.demo-image-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.demo-image-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.demo-image-text ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.demo-image-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Products Section */
.products {
    background: var(--surface);
}

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

.product-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

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

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-tag {
    background: var(--surface);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-link:hover {
    color: var(--primary-dark);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Use Cases Section */
.use-cases {
    background: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Database Structure Section */
.database {
    background: var(--surface);
    padding: 4rem 0;
}

.database-content {
    max-width: 1000px;
    margin: 0 auto;
}

.table-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.table-card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.table-item {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.table-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.table-item h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.table-item p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.table-item ul {
    margin: 0;
    padding-left: 1.25rem;
}

.table-item li {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
    line-height: 1.5;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* About Section */
.about {
    background: var(--surface);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
}

/* Architecture Section */
.architecture {
    background: var(--surface);
}

.architecture-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.architecture-overview {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.architecture-overview .architecture-card {
    max-width: 700px;
    width: 100%;
    border-radius: 12px;
    border-top: 4px solid #8b5cf6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.architecture-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

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

.architecture-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.architecture-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.architecture-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.architecture-body {
    flex: 1;
}

.architecture-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.architecture-body ul {
    list-style: none;
    padding: 0;
    color: var(--text-secondary);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.architecture-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.architecture-body li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.architecture-body li {
    margin-bottom: 0.5rem;
}

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

/* Architecture Layer Stack */
.arch-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.arch-layer {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.arch-layer h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arch-layer.frontend {
    border-top-color: #3b82f6; /* 蓝色 */
}

.arch-layer.backend {
    border-top-color: #10b981; /* 绿色 */
}

.arch-layer.ai {
    border-top-color: #8b5cf6; /* 紫色 */
}

.arch-layer.data {
    border-top-color: #f59e0b; /* 橙色 */
}

/* Security Section */
.security {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.security .section-header h2 {
    color: white;
}

.security .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.security-item {
    display: flex;
    justify-content: center;
}

.security-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    width: 100%;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.security-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.security-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.security-body {
    color: rgba(255, 255, 255, 0.9);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-feature h4 {
    margin: 0 0 0.5rem 0;
    color: white;
    font-size: 1.125rem;
}

.security-feature p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.security-flow {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.flow-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    max-width: 100%;
    width: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flow-card h3 {
    margin: 0 0 1rem 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.flow-steps {
    display: flex;
    flex-direction: row;
    gap: 0;
    position: relative;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0.5rem 1rem;
    min-width: 100px;
}

.flow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    z-index: 3;
}

.flow-step .step-number {
    width: 32px;
    height: 32px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.flow-step .step-content {
    text-align: center;
    padding: 0;
}

.flow-step h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.flow-step p {
    margin: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
}

/* Installation Section */
.installation {
    background: var(--surface);
}

.installation-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Install Tabs */
.install-tabs {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.install-tab {
    cursor: pointer;
    transition: all 0.3s ease;
}

.install-tab:not(.active) {
    opacity: 0.7;
}

.install-tab:not(.active):hover {
    opacity: 0.9;
}

.tab-header {
    padding: 1.5rem 2rem;
    background: var(--surface);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.install-tab.active .tab-header {
    background: white;
    border-bottom-color: var(--primary-color);
}

.tab-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.tab-content {
    padding: 2rem;
    background: white;
}

/* Install Steps */
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item,
.step-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.step-item:hover,
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-item h3,
.step-item h4,
.step-card h3,
.step-card h4 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-item .step-number,
.step-card .step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-item .code-block,
.step-card .code-block {
    margin-bottom: 0.5rem;
}

.step-item p,
.step-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Requirements */
.requirements {
    margin-bottom: 3rem;
}

.requirements-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.requirements-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.requirement-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.requirement-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.requirement-item h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.requirement-item .version {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;

    margin-bottom: 1.5rem;
    position: relative;
}

.code-block pre {
    margin: 0;
    white-space: pre;
}

.code-block code {
    background: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
}

/* Project Structure Styles */
.project-structure {
    margin: 2rem 0;
}

.structure-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

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

.structure-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.structure-section .code-block {
    margin: 0;
}

.structure-tree {
    margin-top: 1rem;
}

.structure-tree pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre;
}

.structure-tree code {
    background: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
}

.install-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.install-option {
    flex: 1;
    min-width: 250px;
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.install-option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.install-option h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.install-option p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.install-option code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.launch-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.launch-option {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.launch-option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.launch-option h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.option-button {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.option-button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Tech Support Section */
.tech-stack {
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.tech-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

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

.tech-item:hover {
    color: var(--primary-color);
}

.tech-name {
    font-weight: 500;
}

.tech-version {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Workflow Section */
.workflow {
    background: var(--surface);
}

.workflow-content {
    margin-top: 3rem;
}

/* Workflow Flow (for llm-agent-resume.html) */
.workflow-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.flow-step::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -2rem;
    width: 2px;
    background: var(--border-color);
}

.flow-step:last-child::before {
    display: none;
}

.flow-step .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
    flex-shrink: 0;
    z-index: 1;
}

.flow-step .step-content {
    flex: 1;
}

.flow-step h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.flow-step p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.flow-arrow {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 1rem 0;
}

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

/* Tablet Layout (768px+) */
@media (min-width: 768px) {
    .workflow-flow {
        flex-direction: column;
    }
    
    .flow-step {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    
    .flow-step .step-content {
        flex: 1;
    }
    
    .flow-arrow {
        margin: 0;
        padding: 1rem 0;
    }
}

/* Desktop Layout (1024px+) */
@media (min-width: 1024px) {
    .workflow-flow {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0;
        padding: 0 2rem;
    }
    
    .flow-step {
        flex: 1;
        min-width: 0;
        margin: 0;
        flex-direction: column;
        text-align: center;
        position: relative;
        padding: 2rem 1.5rem;
    }
    
    .flow-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin: 0;
        padding: 0;
        width: 30px;
        flex-shrink: 0;
    }
}

/* Large Desktop Layout (1400px+) */
@media (min-width: 1400px) {
    .flow-step {
        min-width: calc(16.666% - 1.5rem);
        margin: 0 0.5rem;
    }
    
    .flow-arrow {
        width: 40px;
        flex-shrink: 0;
    }
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.workflow-step {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex: 1;
    min-width: 250px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

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

.workflow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin: 1rem 0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-content h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-icon {
    font-size: 1.2rem;
}

.step-details {
    margin-top: 1rem;
    background: var(--surface);
    padding: 1rem;
    border-radius: var(--radius);
}

.step-details ul {
    margin: 0;
    padding-left: 1.5rem;
}

.step-details li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.workflow-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-card h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.benefit-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* API Section */
.api {
    background: white;
}

.api-content {
    margin-top: 3rem;
}

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

.api-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

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

.api-method {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    background: var(--primary-color);
    color: white;
}

.api-endpoint {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;
    color: var(--text-primary);
}

.api-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-body h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.api-body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.api-response {
    margin-top: 3rem;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.response-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.response-card h3 {
    margin: 0;
    color: var(--text-primary);
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.api-category {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.api-category h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.api-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.api-endpoint {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.api-endpoint:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.api-endpoint h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.endpoint {
    font-family: 'Courier New', Courier, monospace;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Installation Methods */
.install-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.install-method {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

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

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

.method-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* AI Providers Section */
.ai-providers {
    margin-top: 4rem;
    text-align: center;
}

.providers-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.providers-card h3 {
    margin: 0 0 2rem 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.provider-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.provider-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.provider-card h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.provider-card p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.provider-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.provider-card ul li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-card ul li:first-child {
    border-top: none;
}

.provider-card ul li::before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.step-item {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-item .step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-item h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Recommendations Section */
.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recommendation-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.recommendation-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.recommendation-item:hover {
    background: rgba(59, 130, 246, 0.05);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.recommendation-label {
    font-weight: 500;
    color: var(--text-primary);
}

.recommendation-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.recommendation-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.recommendation-content p {
    margin-bottom: 1rem;
}

.recommendation-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.recommendation-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1;
    top: 0.25rem;
}

/* Future Plans Section */
.future-plans {
    background: var(--surface);
}

.plans-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.plan-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.plan-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-feature {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.plan-feature:hover {
    transform: translateX(5px);
}

.plan-feature h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-feature h4::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
}

.plan-feature p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--text-secondary);
}

.form-description {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 修改为3列，更适合内容布局 */
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.125rem 0;
}

.footer-section a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* 修正移动端footer布局 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* 移动端单列布局 */
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        margin-bottom: 1rem;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }
}
/* ===== 全局悬浮二维码挂件 ===== */
.qr-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: transform 0.3s, box-shadow 0.3s;
}
.qr-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.5);
}
.qr-panel {
    position: fixed;
    bottom: 92px;
    right: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 18px;
    display: none;
    gap: 16px;
    z-index: 9999;
    max-width: 360px;
}
.qr-panel.qr-open { display: flex; }
.qr-item {
    flex: 1;
    text-align: center;
    min-width: 140px;
}
.qr-item img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
    display: block;
    margin: 0 auto 8px;
}
.qr-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 2px;
}
.qr-item-desc {
    font-size: 12px;
    color: #6b7280;
}
.qr-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
}
.qr-close:hover { color: #374151; }
@media (max-width: 480px) {
    .qr-panel {
        right: 12px;
        left: 12px;
        max-width: none;
        flex-direction: column;
        gap: 12px;
    }
    .qr-item img { width: 160px; height: 160px; }
    .qr-float { bottom: 16px; right: 16px; }
}
