/* roulang page: index */
:root {
            --color-primary: #0F141C;
            --color-accent: #00D492;
            --color-accent-hover: #05E59F;
            --color-bg-light: #F4F6F9;
            --color-bg-white: #FFFFFF;
            --color-dark-lab: #0A0D13;
            --color-text-main: #0F141C;
            --color-text-muted: #5A6578;
            --color-border: rgba(15, 20, 28, 0.08);
            --radius-card: 10px;
            --shadow-card: 0 12px 24px -10px rgba(15, 20, 28, 0.06);
            --shadow-glow: 0 0 25px rgba(0, 212, 146, 0.35);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Inter, -apple-system, sans-serif;
            color: var(--color-text-main);
            background-color: var(--color-bg-white);
            line-height: 1.75;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .container-custom {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 16px;
            padding-right: 16px;
        }

        @media (min-width: 768px) {
            .container-custom {
                padding-left: 32px;
                padding-right: 32px;
            }
        }

        /* 隐藏横向滚动条但保持可滚动 */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* 卡片微圆角与极细边框悬浮动效 */
        .card-minimal {
            background: var(--color-bg-white);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-card);
            transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
        }

        .card-minimal:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-card);
            border-color: rgba(0, 212, 146, 0.45);
        }

        /* 主按钮流光与微回弹动效 */
        .btn-accent {
            position: relative;
            overflow: hidden;
            background-color: var(--color-accent);
            color: #0F141C;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-accent::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 40%;
            height: 200%;
            background: rgba(255, 255, 255, 0.45);
            transform: rotate(30deg);
            transition: left 0.55s ease;
        }

        .btn-accent:hover {
            background-color: var(--color-accent-hover);
            box-shadow: var(--shadow-glow);
            transform: translateY(-1px);
        }

        .btn-accent:hover::after {
            left: 120%;
        }

        .btn-accent:active {
            transform: scale(0.98);
        }

        .btn-accent:focus-visible {
            outline: 2px solid #0F141C;
            outline-offset: 2px;
        }

        /* 斜切色块首屏布局 */
        .hero-diagonal-bg {
            position: relative;
            background-color: var(--color-primary);
            overflow: hidden;
        }

        .hero-slash-block {
            position: absolute;
            top: 0;
            right: -8%;
            width: 58%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 212, 146, 0.16) 0%, rgba(15, 20, 28, 0.92) 70%);
            transform: skewX(-14deg);
            border-left: 2px solid rgba(0, 212, 146, 0.45);
            pointer-events: none;
            z-index: 1;
        }

        @media (max-width: 1023px) {
            .hero-slash-block {
                width: 85%;
                right: -20%;
                opacity: 0.5;
            }
        }

        /* Pill 导航激活态 */
        .pill-item {
            white-space: nowrap;
            border: 1px solid rgba(15, 20, 28, 0.12);
            background-color: #FFFFFF;
            color: #2A3241;
            transition: all 0.2s ease;
        }

        .pill-item:hover {
            border-color: var(--color-accent);
            color: #0F141C;
        }

        .pill-item.active {
            background-color: var(--color-primary);
            color: var(--color-accent);
            border-color: var(--color-primary);
            font-weight: 600;
        }

        /* 手风琴平滑高度过渡 */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
        }

        .faq-item.open .faq-answer {
            max-height: 360px;
        }

        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            color: var(--color-accent);
        }

        /* 代码高亮风格 */
        .code-window {
            background: #121721;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        /* 轮播动画过渡 */
        .hero-slide {
             display: none;
             animation: fadeIn 0.5s ease forwards;
        }
        .hero-slide.active {
            display: grid;
        }
        @keyframes fadeIn {
            from { opacity: 0.4; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }
