/* roulang page: index */
:root {
            --color-primary-dark: #0C1017;
            --color-matrix-slate: #1E293B;
            --color-signal-green: #059669;
            --color-alert-amber: #D97706;
            --color-bg-light: #F8FAFC;
            --color-bg-white: #FFFFFF;
            --color-bg-deep: #0F172A;
            --color-text-main: #334155;
            --color-text-muted: #64748B;
            --color-border: #E2E8F0;
            --color-border-dark: #1E293B;
            --radius-container: 12px;
            --radius-card: 8px;
            --shadow-subtle: 0 1px 3px 0 rgba(12, 16, 23, 0.06), 0 1px 2px -1px rgba(12, 16, 23, 0.06);
            --shadow-elevated: 0 10px 25px -5px rgba(12, 16, 23, 0.12), 0 8px 10px -6px rgba(12, 16, 23, 0.08);
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }

        body {
            background-color: var(--color-bg-light);
            color: var(--color-text-main);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            margin: 0;
        }

        /* 斜切与几何矩阵装饰 */
        .hero-angled-bg {
            position: relative;
            background-color: var(--color-primary-dark);
            clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        }
        @media (max-width: 768px) {
            .hero-angled-bg {
                clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
            }
        }

        .radar-grid-overlay {
            background-image: 
                linear-gradient(to right, rgba(30, 41, 59, 0.35) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(30, 41, 59, 0.35) 1px, transparent 1px);
            background-size: 32px 32px;
        }

        /* 扫描线动效 */
        @keyframes scanline {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(400%); }
        }
        .scan-bar {
            height: 25%;
            background: linear-gradient(to bottom, transparent, rgba(5, 150, 105, 0.25), rgba(5, 150, 105, 0.6));
            border-bottom: 2px solid #059669;
            animation: scanline 4s linear infinite;
        }

        /* 卡片与交互状态 */
        .risk-card {
            background: var(--color-bg-white);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-subtle);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .risk-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-elevated);
            border-color: #CBD5E1;
        }

        .risk-card-dark {
            background: rgba(30, 41, 59, 0.65);
            border: 1px solid #334155;
            border-radius: var(--radius-card);
            transition: all 0.25s ease;
        }
        .risk-card-dark:hover {
            border-color: var(--color-signal-green);
            background: rgba(30, 41, 59, 0.9);
        }

        /* 按钮状态规范 */
        .btn-signal {
            background-color: var(--color-signal-green);
            color: #FFFFFF;
            font-weight: 600;
            transition: all 0.2s ease;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn-signal:hover {
            background-color: #047857;
            box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
        }
        .btn-signal:focus-visible {
            outline: 2px solid #34D399;
            outline-offset: 2px;
        }

        .btn-amber {
            background-color: var(--color-alert-amber);
            color: #FFFFFF;
            font-weight: 600;
            transition: all 0.2s ease;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .btn-amber:hover {
            background-color: #B45309;
            box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
        }

        /* 导航链接指示器 */
        .nav-item-link {
            position: relative;
            color: var(--color-text-main);
            font-weight: 500;
            transition: color 0.2s ease;
        }
        .nav-item-link:hover, .nav-item-link.active {
            color: var(--color-signal-green);
        }
        .nav-item-link::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-signal-green);
            transition: width 0.2s ease;
        }
        .nav-item-link:hover::after, .nav-item-link.active::after {
            width: 100%;
        }

        /* 原生 Details 手风琴美化 */
        details > summary {
            list-style: none;
        }
        details > summary::-webkit-details-marker {
            display: none;
        }
        details[open] summary .faq-icon {
            transform: rotate(180deg);
            color: var(--color-signal-green);
        }

        /* 定制滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0F172A;
        }
        ::-webkit-scrollbar-thumb {
            background: #334155;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #059669;
        }
