/* @plugin: system_org_layer */

@import './mindmap.css';

.sorg-layer-page-hero {
    margin-bottom: 28px;
}

/* --- 英雄区（与 system_dashboard .senv-hero 同规格） ----------------------- */

.senv-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border, rgba(20, 184, 166, 0.18));
    box-shadow:
        var(--card-shadow, 0 4px 24px rgba(15, 23, 42, 0.06)),
        0 0 0 1px rgba(20, 184, 166, 0.06);
    animation: senv-hero-rise 0.55s ease both;
}

@keyframes senv-hero-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.senv-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 148, 136, 0.14) 0%,
        rgba(20, 184, 166, 0.08) 38%,
        rgba(45, 212, 191, 0.06) 72%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
}

[data-mantine-color-scheme="dark"] .senv-hero-bg {
    background: linear-gradient(
        135deg,
        rgba(13, 148, 136, 0.22) 0%,
        rgba(20, 184, 166, 0.12) 40%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

.senv-hero-gridlines {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
    pointer-events: none;
}

.senv-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.senv-hero-orb--a {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -40px;
    background: rgba(20, 184, 166, 0.28);
}

.senv-hero-orb--b {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: 12%;
    background: rgba(13, 148, 136, 0.22);
}

.senv-hero-content {
    position: relative;
    z-index: 1;
    padding: 24px 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.senv-hero-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.senv-hero-eyebrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.senv-hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
    animation: senv-hero-pulse 2.2s ease-in-out infinite;
}

@keyframes senv-hero-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.92);
    }
}

.senv-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand0, #0d9488);
}

.senv-hero-title {
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e293b 0%, #0d9488 55%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-mantine-color-scheme="dark"] .senv-hero-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #5eead4 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.senv-hero-subtitle {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted2, #64748b);
    line-height: 1.45;
    max-width: 36rem;
}

.senv-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.senv-hero-live-badge {
    backdrop-filter: blur(6px);
}

@media (max-width: 520px) {
    .senv-hero-content {
        padding: 18px 16px;
    }
}
