:root {
    --primary-color: #4285f4;
    --primary-dark: #3367d6;
    --secondary-color: #7e57c2;
    --secondary-dark: #5e35b1;
    --accent-color: #00c9a7;
    --dark-color: #1a202c;
    --darker-color: #111827;
    --light-color: #f8fafc;
    --light-gray: #e2e8f0;
    --gray-color: #94a3b8;
    --dark-gray: #475569;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--darker-color));
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--light-color);
    background: var(--dark-color);
    min-height: 100vh;
}

.presentation-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-color);
    position: relative;
    padding-bottom: 0.75rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: var(--accent-color);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.5;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* Navigation */
.main-nav {
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav li {
    padding: 4px;
    margin: 6px;
}

.main-nav a {
    padding: 12px 20px;
    font-weight: 500;
    color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.main-nav a:hover {
    color: white;
    background-color: rgba(126, 87, 194, 0.15);
    transform: translateY(-2px);
}

.main-nav a.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    margin-right: 16px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
    border: none;
}

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Slide Content */
.slide {
    display: none;
    min-height: 70vh;
    animation: slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 4rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    z-index: 1;
}

.slide.active {
    display: block;
}

.content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Card Layout */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 2.5rem 0;
}

.card {
    background-color: rgba(17, 24, 39, 0.5);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(30, 41, 59, 0.6);
}

.card-icon {
    color: var(--accent-color);
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    background: rgba(0, 201, 167, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: rgba(17, 24, 39, 0.4);
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
    background-color: rgba(30, 41, 59, 0.8);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: rgba(30, 41, 59, 0.8);
}

/* Architecture Diagram */
.architecture-diagram {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.architecture-diagram:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.diagram-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding: 30px 0;
    color: var(--gray-color);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
}

/* Slide indicator */
.slide-indicator {
    margin-top: 2.5rem;
    color: var(--gray-color);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.slide-indicator .current {
    background: var(--accent-color);
    color: var(--dark-color);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 8px;
    font-weight: 600;
}

.slide-indicator .total {
    opacity: 0.7;
}

/* Animations */
@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav li {
        padding: 4px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .slide {
        padding: 2rem;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
}

/* Feature List */
.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Process Steps */
.process-steps {
    margin: 2.5rem 0;
    counter-reset: step;
}

.step {
    margin-bottom: 2.5rem;
    padding-left: 4rem;
    position: relative;
    background-color: rgba(17, 24, 39, 0.3);
    padding: 1.5rem 1.5rem 1.5rem 5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step:hover {
    background-color: rgba(30, 41, 59, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: var(--shadow-sm);
}

/* Code block */
pre {
    background-color: rgba(17, 24, 39, 0.8);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    line-height: 1.6;
}

code {
    font-family: 'Fira Code', 'Courier New', monospace;
}

/* Colored blocks */
.info-block {
    background-color: rgba(66, 133, 244, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.info-block::before {
    content: 'ℹ️';
    position: absolute;
    left: -2px;
    top: -10px;
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transform: translateX(-50%);
}

.warning-block {
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 10px 10px 0;
}

/* Hero Section Elements */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(126, 87, 194, 0.2), transparent 80%),
                radial-gradient(circle at bottom left, rgba(66, 133, 244, 0.15), transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

/* Section dividers */
.section-divider {
    height: 2px;
    background: var(--gradient-primary);
    margin: 4rem 0;
    border-radius: 1px;
    width: 100%;
    opacity: 0.5;
}

/* Tags and badges */
.tag {
    display: inline-block;
    background-color: rgba(0, 201, 167, 0.15);
    color: var(--accent-color);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Image styling */
.img-container {
    text-align: center;
    margin: 2.5rem 0;
}

.img-container img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stat blocks */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2.5rem 0;
}

.stat-block {
    background-color: rgba(17, 24, 39, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-block:hover {
    background-color: rgba(30, 41, 59, 0.7);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 单页面滚动布局 */
.full-page-container {
    height: 100%;
    width: 100%;
    overflow: visible;
    position: relative;
}

.full-page-section {
    min-height: 100vh;
    padding: 120px 40px 80px;
    position: relative;
    display: none;
    scroll-margin-top: 80px;
}

.full-page-section.active {
    display: block;
    animation: fadeInSection 0.8s ease-out;
}

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

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

/* 固定导航栏 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-color);
}

.logo-icon {
    background: var(--gradient-primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航栏样式修改 */
.main-nav {
    position: static;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.main-nav ul {
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* 页面指示器 */
.page-indicator {
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator-dot.active {
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* 全屏英雄区域 */
.hero-fullscreen {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    margin-top: -120px;
    margin-bottom: 3rem;
}

.hero-fullscreen .hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 2;
}

.hero-bg.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(126, 87, 194, 0.2), transparent 60%),
        radial-gradient(circle at bottom left, rgba(66, 133, 244, 0.15), transparent 60%),
        radial-gradient(circle at center, rgba(0, 201, 167, 0.1), transparent 70%);
    z-index: 1;
    animation: gradientMove 15s ease infinite alternate;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 0%, 0% 100%, 70% 30%;
    }
    100% {
        background-position: 0% 100%, 100% 0%, 30% 70%;
    }
}

/* 悬浮粒子背景 */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* 滚动指示器 */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.scroll-indicator i {
    margin-top: 1rem;
    font-size: 1.5rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }
}

/* 信息卡片样式 */
.info-card {
    background-color: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.info-card h3 {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.info-card h3 i {
    margin-right: 0.75rem;
}

.info-card h3::after {
    display: none;
}

/* 两列布局 */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.two-column-layout .column {
    background-color: rgba(17, 24, 39, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 表格和步骤改进 */
.step:last-child {
    margin-bottom: 0;
}

/* 页脚样式 */
.main-footer {
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 特大标题 */
.mega-title {
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(66, 133, 244, 0.3);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .mega-title {
        font-size: 4rem;
    }
    
    .full-page-section {
        padding: 120px 30px 60px;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .page-indicator {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .mega-title {
        font-size: 3rem;
    }
    
    .main-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    .main-nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
    }
    
    .main-nav li {
        padding: 0;
        margin: 0 2px;
    }
    
    .main-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .full-page-section {
        padding: 100px 20px 50px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .mega-title {
        font-size: 2.5rem;
    }
    
    .hero-fullscreen {
        padding: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
