/* G-Prophet 宣传页样式 */

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== 背景渐变 ==================== */
.gradient-bg {
    background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #374151 100%);
}

.gradient-bg-alt {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
}

/* ==================== 卡片效果 ==================== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== 按钮样式 ==================== */
.btn-primary {
    display: inline-block;
    background-color: #F59E0B;
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border: 2px solid white;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: #1F2937;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ==================== 语言切换器 ==================== */
.lang-switcher-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #4B5563;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lang-switcher-btn:hover {
    background: #f3f4f6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.lang-switcher-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.lang-switcher-btn.active svg {
    transform: rotate(180deg);
}

/* 全屏语言选择菜单 */
.lang-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
}



/* 语言选项网格 */
.lang-dropdown-grid {
    position: relative;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    color: #1F2937;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.lang-dropdown-item:hover {
    background: #f3f4f6;
    color: #4B5563;
    border-color: #4B5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.lang-dropdown-item.active {
    background: #EFF6FF;
    color: #4B5563;
    font-weight: 600;
    border-color: #4B5563;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lang-dropdown-item.active::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #4B5563;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}



/* ==================== 工具类 ==================== */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 0;
}

/* ==================== 颜色变量（可选，如果不用 Tailwind） ==================== */
:root {
    --color-primary: #4B5563;
    --color-secondary: #1F2937;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-gray-50: #f9fafb;
    --color-gray-800: #1F2937;
}

