/*
Theme Name: 环目客隆体AI
Theme URI: https://consumerclone.com
Author: 环目科技
Author URI: https://consumerclone.com
Description: AI数字分身驱动的自动化营销系统 - 完全可自定义WordPress主题
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: consumerclone
*/

/* ==================== 基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 16px rgba(255,255,255,0.15);
}

.hidden {
    display: none !important;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 12px 0;
    transition: all 0.5s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 80%;
}

/* 右侧按钮区域 */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 渐变边框按钮 - 在线交流 */
.btn-gradient-border {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 1px;
    border-radius: 8px;
    height: 36px;
    min-width: 92px;
    display: inline-flex;
}

.btn-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(to right, #0ea5e9, #8b5cf6);
    opacity: 0.8;
}

.btn-gradient-inner {
    position: relative;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.btn-gradient-border:hover .btn-gradient-inner {
    background: rgba(0, 0, 0, 0.9);
}

/* 轮廓按钮 - 预约咨询 */
.btn-outline {
    height: 36px;
    padding: 0 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 语言切换 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.lang-switcher:hover {
    color: #fff;
}

.lang-switcher svg {
    width: 20px;
    height: 20px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    background: #000;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== Hero区域 ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    filter: blur(150px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ==================== 特性区域 ==================== */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.feature-card:hover .feature-title {
    color: #a78bfa;
}

.feature-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ==================== 内容区块 ==================== */
.section {
    padding: 80px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.section-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.point-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.point-icon svg {
    width: 12px;
    height: 12px;
    color: #a78bfa;
}

.point-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.section-image img {
    width: 100%;
    border-radius: 12px;
}

/* ==================== 行业展示 ==================== */
.showcase {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.industry-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}

.industry-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

/* ==================== CTA区域 ==================== */
.cta {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    filter: blur(200px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #7c3aed;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #6d28d9;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* ==================== 页脚 ==================== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
}

.footer-brand span {
    font-size: 18px;
    font-weight: 700;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== 弹出框 ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.08);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .navbar-right .btn-gradient-border,
    .navbar-right .btn-outline,
    .navbar-right .lang-switcher {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-desc {
        margin: 0 auto;
    }
    
    .hero-image {
        order: -1;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .section-grid.reverse {
        direction: ltr;
    }
    
    .section-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 24px;
    }
}

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

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

/* ==================== WordPress编辑器兼容 ==================== */
.wp-block {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    text-align: left;
}

.alignright {
    text-align: right;
}
