/* VOKO Website Styles */

/* CSS Variables */
:root {
    --primary-orange: #FF6B35;
    --primary-dark: #E85A2D;
    --tech-blue: #4A90E2;
    --success-green: #52C41A;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-medium: #666666;
    --text-light: #999999;
    --border-color: #E8E8E8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.language-switcher {
    position: relative;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 76px;
    padding: 7px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-medium);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.language-toggle:hover,
.language-switcher.open .language-toggle {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.language-caret {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.language-switcher.open .language-caret {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1001;
    display: none;
    min-width: 112px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.language-switcher.open .language-menu {
    display: block;
}

.language-menu button {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-medium);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
    background: #FFF3E8;
    color: var(--primary-orange);
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 4s infinite;
}

.ripple:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.ripple:nth-child(2) { width: 300px; height: 300px; animation-delay: 1.3s; }
.ripple:nth-child(3) { width: 400px; height: 400px; animation-delay: 2.6s; }

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.logo-3d {
    display: flex;
    gap: 4px;
    animation: float 3s ease-in-out infinite;
}

.letter {
    font-size: 80px;
    font-weight: 900;
    color: var(--primary-orange);
    text-shadow: 
        0 1px 0 #e85a2d,
        0 2px 0 #e85a2d,
        0 3px 0 #e85a2d,
        0 4px 0 #e85a2d,
        0 5px 10px rgba(0,0,0,0.2);
    animation: letterFloat 3s ease-in-out infinite;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.status-indicator {
    position: absolute;
    bottom: -10px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(82,196,26,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(82,196,26,0); }
    100% { box-shadow: 0 0 0 0 rgba(82,196,26,0); }
}

.status-text {
    font-size: 12px;
    color: var(--text-medium);
    font-weight: 500;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.title-line {
    display: block;
}

.title-line:first-child {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 18px; }
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-medium);
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 20px 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.tab-btn:hover {
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.tab-btn.active .tab-title {
    color: var(--primary-orange);
}

.tab-icon {
    font-size: 32px;
}

.tab-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.tab-sub {
    font-size: 12px;
    color: var(--text-light);
}

.demo-display {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

/* Chat Container */
.chat-container {
    background: #f5f5f5;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.agent-avatar {
    background: #e3f2fd;
}

.user-avatar {
    background: #fff3e0;
}

.chat-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.chat-status {
    font-size: 12px;
    color: var(--success-green);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success-green);
    border-radius: 50%;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-left {
    align-self: flex-start;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.message-right {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: white;
}

.system-message {
    align-self: center;
    background: rgba(0,0,0,0.05);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text-light);
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.countdown {
    background: var(--primary-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 1s infinite;
}

.action-btn {
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.chat-input-area {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.sound-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.sound-indicator.active {
    display: flex;
    animation: soundPop 0.3s ease;
}

#wo-sound, #wo-sound-2 {
    background: #fff3e0;
    color: var(--primary-orange);
}

#ka-sound, #ka-sound-2 {
    background: #f6ffed;
    color: var(--success-green);
}

@keyframes soundPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.sound-wave {
    display: flex;
    gap: 2px;
}

.sound-wave::before,
.sound-wave::after {
    content: '';
    width: 3px;
    height: 12px;
    background: currentColor;
    animation: wave 0.5s infinite;
}

.sound-wave::after {
    animation-delay: 0.1s;
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.check-mark {
    font-size: 16px;
}

/* Demo Controls */
.demo-controls {
    padding: 20px;
    background: white;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
}

.play-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.play-btn:hover {
    background: var(--primary-dark);
}

.play-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-orange);
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 12px;
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
}

/* Cross Platform Demo */
.cross-platform {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.platform {
    width: 200px;
    height: 320px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.platform-header {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.dingtalk .platform-header {
    background: #3370ff;
    color: white;
}

.feishu .platform-header {
    background: #3370ff;
    color: white;
}

.platform-icon {
    font-size: 16px;
}

.platform-chat {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.platform-message {
    background: #f5f5f5;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    animation: messageSlide 0.3s ease;
}

.platform-user {
    font-weight: 600;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 4px;
}

.platform-placeholder {
    text-align: center;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 40px;
}

.voko-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.bridge-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

.bridge-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-orange);
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.bridge-line {
    position: absolute;
    top: 50%;
    left: -30px;
    right: -30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    z-index: -1;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-style: italic;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--primary-dark);
}

/* Architecture */
.architecture {
    text-align: center;
}

.arch-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.arch-diagram {
    max-width: 600px;
    margin: 0 auto 24px;
}

.arch-svg {
    width: 100%;
    height: auto;
}

.arch-center {
    filter: drop-shadow(0 4px 12px rgba(255,107,53,0.4));
}

.arch-line {
    stroke-dasharray: 5,5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -100; }
}

.data-packet {
    filter: drop-shadow(0 0 4px var(--primary-orange));
}

.arch-desc {
    font-size: 15px;
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
}

/* Install Section */
.install-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.install-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.install-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.install-tab {
    flex: 1;
    padding: 24px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
}

.install-tab:hover {
    background: var(--bg-light);
}

.install-tab.active {
    background: white;
}

.install-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-orange);
}

.install-tab .tab-icon {
    font-size: 32px;
}

.install-tab .tab-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.install-tab .tab-sublabel {
    font-size: 12px;
    color: var(--text-light);
}

.install-tab.active .tab-label {
    color: var(--primary-orange);
}

.install-content {
    padding: 40px;
}

.install-panel {
    display: none;
}

.install-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.install-panel h4 {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    font-weight: 500;
}

.code-block {
    background: #1e1e1e;
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

.code-block code {
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
    white-space: pre-wrap;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
}

.copy-btn.copied {
    background: var(--success-green);
    border-color: var(--success-green);
}

.install-steps {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-text {
    font-size: 14px;
    color: var(--text-medium);
    max-width: 120px;
}

.install-footer {
    padding: 24px 40px;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.install-footer a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.install-footer a:hover {
    color: var(--primary-orange);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 8px;
}

.footer-desc {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 13px;
    margin: 6px 0;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

/* Contact page */
.contact-page {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    padding: 150px 0 92px;
    background: linear-gradient(135deg, #fff 0%, #fff8f4 100%);
}

.contact-content {
    max-width: 760px;
}

.contact-kicker {
    margin-bottom: 16px;
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.contact-title {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.2;
}

.contact-desc {
    max-width: 580px;
    margin-bottom: 36px;
    color: var(--text-medium);
    font-size: 18px;
    line-height: 1.8;
}

.contact-email-card {
    display: inline-block;
    padding: 26px 32px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-email-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 13px;
}

.contact-email {
    color: var(--primary-orange);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-back {
    display: inline-block;
    margin-top: 34px;
    color: var(--text-medium);
    font-size: 15px;
    text-decoration: none;
}

.contact-back:hover {
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-actions {
        margin-left: auto;
        margin-right: 18px;
        gap: 0;
    }

    .language-toggle {
        min-width: 70px;
        padding: 6px 8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 24px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .letter {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .demo-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 280px;
    }

    .cross-platform {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
    }

    .platform {
        width: 100%;
        max-width: 280px;
        height: 240px;
    }

    .voko-bridge {
        flex-direction: row;
        padding: 20px 0;
    }

    .bridge-line {
        position: static;
        width: 60px;
        height: 2px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .install-tabs {
        flex-direction: column;
    }

    .install-steps {
        flex-direction: column;
        gap: 24px;
    }

    .step {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .letter {
        font-size: 48px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .demo-controls {
        flex-wrap: wrap;
    }

    .time-display {
        width: 100%;
        text-align: center;
    }
}

/* Utility Classes */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: #fff;
    padding: 8px 16px;
    z-index: 2000;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ 演示消息：从内联 style 抽出的语义化 class ============ */

/* 草稿消息（智能体准备发送、待用户确认） */
.message-draft {
    align-self: flex-end;
    background: rgba(255,107,53,0.1);
    border: 1px dashed var(--primary-orange);
    color: var(--text-medium);
    font-size: 13px;
}

.draft-label {
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-light);
}

/* 成功消息 */
.message-success {
    align-self: center;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: var(--success-green);
    font-size: 13px;
    animation: soundPop 0.5s ease;
}

/* 已发送消息旁的对勾 */
.message-right {
    position: relative;
}

.msg-check {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success-green);
    font-size: 16px;
    animation: soundPop 0.3s ease;
}

/* 加载省略号 */
.loading-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.loading-dots span {
    animation: bounce 0.6s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* 选项卡片消息 */
.message-options {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 16px;
}

.options-title {
    margin-bottom: 12px;
    font-size: 13px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-item:hover {
    border-color: var(--primary-orange);
}

.option-recommended {
    border-color: var(--primary-orange);
    background: #fff5f0;
    position: relative;
}

.option-tag {
    background: var(--primary-orange);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
}

.option-price {
    color: var(--primary-orange);
    font-weight: 600;
}

/* 授权按钮 */
.auth-btn {
    background: var(--primary-orange);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.auth-btn.authorized {
    background: var(--success-green);
    animation: none;
}

/* 跨平台演示：消息变体 */
.platform-message.pm-feishu-in {
    border-left: 3px solid var(--primary-orange);
}

.platform-message.pm-feishu-in .platform-user {
    color: var(--primary-orange);
}

.platform-message.pm-feishu-reply {
    margin-left: 20px;
}

.platform-message.pm-dingtalk-in {
    border-left: 3px solid #00b96b;
}

.platform-message.pm-dingtalk-in .platform-user {
    color: #00b96b;
}

.platform-ok {
    text-align: center;
    padding: 8px;
    color: var(--success-green);
    font-size: 12px;
    animation: fadeIn 0.5s ease;
}

/* ============ 使用流程 section ============ */
.howto-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.howto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.howto-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.howto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.howto-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(255,107,53,0.4);
}

.howto-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.howto-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* 架构图分层（淡入观察目标） */
.arch-layer {
    opacity: 0;
    transform: translateY(10px);
}

.arch-layer.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ============ 支持的 Agent 类型 section ============ */
.agents-section {
    padding: 100px 0;
    background: #fff;
    scroll-margin-top: 70px;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.agent-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.agent-logo:hover {
    background: #fff;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.agent-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
}

.agent-name {
    font-size: 13px;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
}

.agent-logo:hover .agent-name {
    color: var(--text-dark);
}

.agents-note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 600px) {
    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .agent-logo {
        padding: 18px 8px;
    }

    .agent-logo img {
        width: 36px;
        height: 36px;
    }

    .agent-name {
        font-size: 11px;
    }
}

/* prefers-reduced-motion：尊重用户系统设置，关闭装饰性动画 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
