/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

html {
    scroll-behavior: smooth;
}

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

.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-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo .logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.github-link {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.github-link:hover {
    transform: translateY(-2px);
    color: white !important;
}

.github-link::after {
    display: none;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #f0f9ff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #f0f9ff 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: pulse 2s infinite;
}

.badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
}

.subtitle-main {
    display: block;
    margin-bottom: 10px;
}

.subtitle-main .highlight {
    color: #6366f1;
    font-weight: 600;
}

.subtitle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
    margin-top: 4px;
}

.subtitle-features .feature {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 2px 14px;
    color: #6366f1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

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

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: #f8fafc;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.browser-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.browser-controls span:nth-child(2) {
    background: #f59e0b;
}

.browser-controls span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.extension-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.extension-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.browser-content {
    padding: 32px;
}

.tool-grid-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tool-card-demo {
    background: var(--bg-secondary);
    padding: 24px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.tool-card-demo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tool-card-demo i {
    font-size: 24px;
    color: var(--primary-color);
}

.tool-card-demo.json i { color: #059669; }
.tool-card-demo.qr i { color: #7c3aed; }
.tool-card-demo.encode i { color: #dc2626; }
.tool-card-demo.postman i { color: #ea580c; }

.tool-card-demo span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-sub {
    font-size: 15px;
    color: #6366f1;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin-top: 8px;
}

/* Tools Section */
.tools {
    padding: 120px 0;
    background: var(--bg-primary);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.tools-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.tools-grid.active {
    display: grid;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.tool-icon {
    width: 60px;
    height: 60px;
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-right: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(59,130,246,0.10);
    transition: all 0.3s;
}

.tools-grid .tool-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tools-grid .tool-icon span {
    font-size: 36px;
    line-height: 1;
    font-family: inherit;
}

.tools-grid .tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.json-icon { background: linear-gradient(135deg, #059669, #10b981); }
.diff-icon { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.beautify-icon { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.compress-icon { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.encode-icon { background: linear-gradient(135deg, #dc2626, #f87171); }
.qr-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.api-icon { background: linear-gradient(135deg, #ea580c, #fb923c); }
.websocket-icon { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.timestamp-icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.password-icon { background: linear-gradient(135deg, #dc2626, #ef4444); }
.color-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.screenshot-icon { background: linear-gradient(135deg, #059669, #34d399); }

.tool-icon i {
    font-size: 24px;
    color: white;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-demo {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
}

.json-demo pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

.json-demo code {
    color: #34d399;
}

.diff-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.diff-left, .diff-right {
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px;
    background: white;
    border-radius: 4px;
}

.diff-line {
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    margin: 4px 0;
}

.diff-line.added {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.diff-line.removed {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.code-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.code-before, .code-after {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: 6px;
    font-weight: 500;
}

.code-demo i {
    color: var(--primary-color);
}

.compress-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: center;
}

.size-before, .size-after {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
}

.size-before {
    color: #dc2626;
}

.size-after {
    color: #059669;
}

.compress-ratio {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.encode-demo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.encode-input, .encode-output {
    flex: 1;
    background: white;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-family: monospace;
    font-size: 12px;
}

.encode-arrows {
    color: var(--primary-color);
}

.qr-demo {
    display: flex;
    justify-content: center;
}

.qr-code {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-pattern {
    width: 40px;
    height: 40px;
    background: 
        linear-gradient(90deg, #000 0%, #000 20%, transparent 20%, transparent 40%, #000 40%, #000 60%, transparent 60%, transparent 80%, #000 80%),
        linear-gradient(0deg, #000 0%, #000 20%, transparent 20%, transparent 40%, #000 40%, #000 60%, transparent 60%, transparent 80%, #000 80%);
    background-size: 10px 10px;
}

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

.request-line {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 600;
    margin-bottom: 8px;
}

.response-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.response-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

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

.ws-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.ws-status.connected {
    color: #059669;
}

.ws-status.connected i {
    color: #10b981;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 60px;
    width: 2px;
    height: calc(100% + 8px);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-year {
    background: var(--gradient-primary);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

.big-stat {
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.big-stat:last-child {
    border-bottom: none;
}

.big-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.big-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Browser Support */
.browser-support {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.browsers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.browser-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.browser-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.browser-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.browser-card.chrome .browser-icon {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.browser-card.firefox .browser-icon {
    background: linear-gradient(135deg, #ff6611, #ff9500);
}

.browser-card.edge .browser-icon {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
}

.browser-icon i {
    font-size: 32px;
    color: white;
}

.browser-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.browser-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.browser-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.rating {
    color: #f59e0b;
    font-size: 14px;
}

.users {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.browser-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.browser-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-info h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature i {
    color: #10b981;
    font-size: 16px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    color: var(--text-primary);
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.chrome-btn .btn-icon {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.firefox-btn .btn-icon {
    background: linear-gradient(135deg, #ff6611, #ff9500);
}

.edge-btn .btn-icon {
    background: linear-gradient(135deg, #0078d4, #00bcf2);
}

.github-btn .btn-icon {
    background: linear-gradient(135deg, #24292e, #586069);
}

.btn-icon i {
    font-size: 24px;
    color: white;
}

.btn-text {
    flex: 1;
    text-align: left;
}

.btn-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.btn-subtitle {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-arrow {
    font-size: 18px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.download-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    
    .subtitle-features {
        gap: 8px;
        font-size: 13px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .browsers-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .features,
    .tools,
    .browser-support,
    .download {
        padding: 80px 0;
    }
    
    .footer {
        padding: 60px 0 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .download-btn {
        padding: 16px;
    }
    
    .btn-title {
        font-size: 16px;
    }
    
    .btn-subtitle {
        font-size: 12px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling for iOS */
@supports (-webkit-overflow-scrolling: touch) {
    * {
        -webkit-overflow-scrolling: touch;
    }
}

.pro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.pro-badges img {
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(59,130,246,0.08);
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
    height: 36px;
    background: white;
}

.pro-badges img:hover {
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 6px 24px 0 rgba(59,130,246,0.18);
}

@media (max-width: 600px) {
    .pro-badges img { height: 28px; }
    .pro-badges { gap: 10px 8px; }
}

.tool-preview {
    padding: 80px 0;
    background: var(--bg-primary);
}
.preview-images {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}
.preview-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(59,130,246,0.08);
    overflow: hidden;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preview-item img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #f3f4f6;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    cursor: pointer;
}
.preview-item img:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 32px 0 rgba(59,130,246,0.18);
    z-index: 2;
}
.preview-caption {
    padding: 16px 0;
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
}
@media (max-width: 900px) {
    .preview-images { flex-direction: column; gap: 24px; align-items: center; }
    .preview-item { width: 90%; }
}
/* 放大查看弹窗样式 */
.img-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s;
}
.img-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(59,130,246,0.25);
    background: white;
}
.img-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}
.img-modal-close:hover {
    color: #f59e0b;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.old-version-link {
    background: #f3f4f6;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 500;
    font-size: 15px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    margin-left: 8px;
    box-shadow: none;
    display: inline-block;
}
.old-version-link:hover {
    border-color: #9ca3af;
    color: #4b5563 !important;
    background: #f3f4f6;
}

/* TableExporter Promo Section */
.tableexporter-promo {
    margin: 56px 0 0 0;
}
.tableexporter-promo .container {
    max-width: 1100px;
}
.tableexporter-promo .section-header {
    text-align: center;
    margin-bottom: 0;
}
.tableexporter-promo .section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.tableexporter-promo .section-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}
.tableexporter-promo .promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 40px 0 24px 0;
    flex-wrap: wrap;
}
.tableexporter-promo .promo-img-box {
    flex: 0 0 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tableexporter-promo .promo-img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 24px 0 rgba(60,60,60,0.10);
    background: #fff;
}
.tableexporter-promo .promo-info {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.tableexporter-promo .promo-list {
    margin: 0 0 28px 0;
    padding-left: 0;
    list-style: none;
    font-size: 1.08rem;
    line-height: 2;
    color: #333;
}
.tableexporter-promo .promo-list li {
    margin-bottom: 2px;
}
.tableexporter-promo .promo-list span {
    font-size: 1.2em;
    vertical-align: -2px;
}
.tableexporter-promo .promo-btns {
    display: flex;
    gap: 18px;
}
.tableexporter-promo .btn-primary {
    padding: 12px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px #e0e7ef;
}
.tableexporter-promo .btn-secondary {
    padding: 12px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
}
@media (max-width: 900px) {
    .tableexporter-promo .promo-content {
        gap: 24px;
        padding: 24px 0 12px 0;
    }
    .tableexporter-promo .promo-img {
        width: 90vw;
        max-width: 340px;
    }
}
@media (max-width: 600px) {
    .tableexporter-promo .section-header h2 {
        font-size: 1.3rem;
    }
    .tableexporter-promo .promo-img {
        width: 98vw;
        max-width: 98vw;
    }
    .tableexporter-promo .promo-info {
        min-width: 0;
    }
    .tableexporter-promo .btn-primary,
    .tableexporter-promo .btn-secondary {
        padding: 10px 12px;
        font-size: 15px;
    }
} 

