/**
 * AscendAI 公共主题 — 与首页 index.html 亮色玻璃拟态一致
 */
:root {
    --school-blue: #004098;
    --logistic-orange: #F59E0B;
    --fog-grey: #F8FAFC;
    --core-black: #1E293B;
    --cyan: #0EA5E9;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border-light: rgba(255, 255, 255, 0.8);
    --glass-border-soft: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 16px 40px rgba(0, 64, 152, 0.12);
    --radius: 16px;
    --font-ascend: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gradient-brand: linear-gradient(135deg, #004098 0%, #0b6eaf 55%, #0ea5e9 100%);
}

.ascend-bg-accent {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 45% at 10% -10%, rgba(14, 165, 233, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 40% at 95% 20%, rgba(0, 64, 152, 0.08), transparent 50%),
        linear-gradient(rgba(0, 64, 152, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 64, 152, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.ascend-top-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border-soft);
    box-shadow: var(--shadow-soft);
}

.ascend-top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ascend-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.ascend-brand-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.ascend-brand-text strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--school-blue);
}

.ascend-brand-text span {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.ascend-nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.ascend-nav-link:hover {
    color: var(--school-blue);
    background: rgba(0, 64, 152, 0.06);
}

.ascend-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.ascend-btn:active {
    transform: scale(0.98);
}

.ascend-btn-primary {
    background: var(--school-blue);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 64, 152, 0.22);
}

.ascend-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 64, 152, 0.3);
    color: #fff;
}

.ascend-btn-ghost {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-soft);
    color: var(--school-blue);
    box-shadow: var(--shadow-soft);
}

.ascend-btn-ghost:hover {
    border-color: var(--school-blue);
    color: var(--school-blue);
}

.ascend-glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

body.ascend-theme-body {
    font-family: var(--font-ascend);
    background: var(--fog-grey);
    color: var(--core-black);
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}
