/*
Theme Name: FB Agent Theme
Theme URI: https://fbagent.ai
Author: Your Name
Author URI: https://yourdomain.com
Description: A high-performance, AI-inspired landing page theme for FB Agent.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: fbagent
*/

/* 1. 核心变量定义 */
:root {
    --brand-blue: #0066FF;
    --brand-dark: #001A41;
}

/* 2. 基础布局修复 */
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* 3. 自定义组件样式 */
.btn-cta {
    background-color: var(--brand-blue);
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.btn-cta:hover {
    background-color: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.feature-grid-card {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid #f1f5f9;
}

.feature-grid-card:hover {
    border-color: #e2e8f0;
    background-color: #fafafa;
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
}

/* 调整后的全局模块上下间距 */
.section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-gradient {
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
}

.avatar-container {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 9999px;
    background-color: #f1f5f9;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 24px;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-blue);
}

#lang-dropdown {
    display: none;
    animation: slideIn 0.2s ease-out;
}
#lang-dropdown.active {
    display: block;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}