@charset "UTF-8";

/**
 * AI少年团 · 现代 SaaS 视觉系统
 * ============================================
 * 风格参考：Linear, Vercel, Apple
 * 核心原则：克制、精密、丝滑、专业
 */

 :root {
    /* 品牌核心色 */
    --brand: #D4451A;
    --brand-hover: #B83815;
    --brand-light: rgba(212, 69, 26, 0.1);
    
    /* 灰度阶梯 (Slate) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* 功能色 */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* 投影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-brand: 0 10px 15px -3px rgba(212, 69, 26, 0.2);

    /* 动效 */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 基础样式 --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.625;
    letter-spacing: -0.011em;
    color: var(--slate-800);
    background-color: #fff;
}

/* --- 现代组件 --- */

/* 1. 按钮系统 */
.btn-brand {
    background-color: var(--brand);
    color: white;
    transition: all 0.2s var(--ease-in-out);
}
.btn-brand:hover {
    background-color: var(--brand-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-600);
    border: 1px solid var(--slate-200);
    transition: all 0.2s var(--ease-in-out);
}
.btn-ghost:hover {
    background: var(--slate-50);
    color: var(--slate-900);
    border-color: var(--slate-300);
}

/* 2. 卡片系统 */
.card-saas {
    transition: all 0.3s var(--ease-in-out);
}
.card-saas:hover {
    border-color: var(--slate-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

/* 3. 导航样式 */
.nav-glass {
    transition: all 0.3s var(--ease-in-out);
}
.nav-glass.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--slate-100);
}

/* 4. 模式切换按钮 */
.mode-switch .mode-btn {
    color: var(--slate-500);
    transition: all 0.2s var(--ease-in-out);
}
.mode-switch .mode-btn.active {
    background: white;
    color: var(--slate-900);
    box-shadow: var(--shadow-sm);
}

/* --- 模式显示控制 --- */
body:not(.mode-internal) .internal-only {
    display: none !important;
}

body.mode-internal .external-only {
    display: none !important;
}

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

.anim-up { animation: fadeInUp 0.6s var(--ease-out) forwards; opacity: 0; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.5s; }
.d6 { animation-delay: 0.6s; }
.d7 { animation-delay: 0.7s; }

/* --- 文字修饰 --- */
.text-brand { color: var(--brand); }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

/* 响应式调整 */
@media (max-width: 640px) {
    .text-5xl { font-size: 2.5rem; }
}
