/* Thinkbot 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.nav-link:hover { color: #fff; }
.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(102,126,234,0.4); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger .bar { width: 25px; height: 2px; background: #fff; transition: all 0.3s; }

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 2rem; }
.hero-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    display: block;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

/* 搜索框 */
.search-container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; }
.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.search-box:focus-within { border-color: rgba(102,126,234,0.6); box-shadow: 0 8px 32px rgba(102,126,234,0.25); }
.search-input {
    width: calc(100% - 50px);
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    padding: 12px 20px;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}
.search-button:hover { transform: translateY(-50%) scale(1.05); }
.search-button:disabled { opacity: 0.6; cursor: not-allowed; }

/* AI 响应区域 */
.ai-response-container {
    width: 100%;
    max-width: 700px;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.ai-response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ai-status { display: flex; align-items: center; gap: 10px; }
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: pulse 1.5s infinite;
}
.status-indicator.done { background: #4ade80; animation: none; }
.status-indicator.error { background: #ef4444; animation: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.status-text { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.close-response-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}
.close-response-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

.ai-response-content {
    padding: 20px 24px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #667eea;
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.ai-response-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(102,126,234,0.1);
    transition: all 0.3s;
}
.view-more-btn:hover { background: rgba(102,126,234,0.2); }

/* 背景 */
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.starburst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(102,126,234,0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    transition: all 1s;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } }

/* 产品区域 */
.products { padding: 80px 0; background: linear-gradient(180deg, #0a0a0a, #0f0f0f); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 60px; display: flex; justify-content: space-between; align-items: center; }
.section-header h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    transition: all 0.3s;
}
.product-card:hover { transform: translateY(-10px); border-color: rgba(102,126,234,0.3); }
.card-content { padding: 2rem; }
.card-content h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.card-content p { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 1.5rem; }
.card-visual { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.card-button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.card-button:hover { background: rgba(255,255,255,0.1); }

/* 视觉效果 */
.mockup-window { width: 180px; background: rgba(30,30,35,0.8); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.window-controls { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.window-controls span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.window-content { padding: 15px; }
.code-lines { display: flex; flex-direction: column; gap: 8px; }
.code-line { height: 8px; background: rgba(102,126,234,0.3); border-radius: 4px; }
.code-line.short { width: 50%; }
.code-line.medium { width: 75%; }
.data-mockup { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.data-flow { display: flex; align-items: center; gap: 10px; }
.data-node { width: 20px; height: 20px; background: rgba(102,126,234,0.4); border-radius: 50%; }
.data-connection { width: 30px; height: 2px; background: linear-gradient(90deg, rgba(102,126,234,0.4), rgba(118,75,162,0.4)); }
.data-chart { display: flex; align-items: flex-end; gap: 8px; height: 60px; }
.chart-bar { width: 20px; background: linear-gradient(180deg, #667eea, #764ba2); border-radius: 4px 4px 0 0; }
.docs-mockup { width: 180px; background: rgba(30,30,35,0.8); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.docs-header { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.docs-nav { display: flex; gap: 8px; }
.docs-nav .nav-item { width: 30px; height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.docs-nav .nav-item.active { background: #667eea; }
.docs-content { padding: 15px; display: flex; flex-direction: column; gap: 8px; }
.docs-line { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.docs-line.long { width: 100%; }
.docs-line.medium { width: 80%; }
.docs-line.short { width: 60%; }

/* 新闻 */
.news { padding: 80px 0; }
.more-link { color: #667eea; text-decoration: none; }
.news-grid { display: grid; gap: 1.5rem; }
.news-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}
.news-card:hover { transform: translateY(-5px); }
.news-date { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.8rem; }
.news-card h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.news-link { color: #667eea; text-decoration: none; }

/* 页脚 */
.footer { padding: 40px 0; background: #050505; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }

/* 响应式 */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .hero-title { font-size: 2.5rem; } }
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,10,10,0.98); flex-direction: column; padding: 1rem 2rem; }
    .nav-menu.active { display: flex; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero-title { font-size: 2rem; }
    .search-box, .ai-response-container { max-width: 90%; }
    .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .hero-title { font-size: 1.6rem; } .search-button { width: 38px; height: 38px; } }
