/* roulang page: index */
:root {
            --ink: #17202d;
            --muted: #6d7888;
            --soft: #f5f7fb;
            --line: #e5eaf1;
            --primary: #5b45d8;
            --primary-dark: #4030ab;
            --cyan: #16b9c5;
            --warm: #ffb84d;
            --white: #fff;
            --radius-lg: 26px;
            --radius-md: 16px;
            --shadow: 0 18px 50px rgba(31, 42, 68, .09);
        }
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            color: var(--ink);
            background: #fff;
            font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
            line-height: 1.75;
        }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }
        button, input { font: inherit; }
        .container { max-width: 1180px; }
        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(255,255,255,.92);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(229,234,241,.85);
        }
        .navbar { min-height: 76px; }
        .brand {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            font-weight: 800;
            letter-spacing: .01em;
            white-space: nowrap;
        }
        .brand-mark {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            color: #fff;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--cyan));
            box-shadow: 0 8px 18px rgba(91,69,216,.25);
        }
        .brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.2; }
        .nav-link {
            color: #596578 !important;
            font-size: 14px;
            font-weight: 600;
            padding: 9px 13px !important;
            border-radius: 10px;
            transition: .2s ease;
        }
        .nav-link:hover, .nav-link.active { color: var(--primary) !important; background: #f0efff; }
        .nav-action {
            color: #fff !important;
            background: var(--primary);
            border-radius: 11px;
            padding: 10px 17px !important;
        }
        .nav-action:hover { background: var(--primary-dark); }
        .hero {
            position: relative;
            overflow: hidden;
            padding: 54px 0 66px;
            background:
                linear-gradient(100deg, rgba(246,248,255,.98), rgba(255,255,255,.8)),
                url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1800&q=85") center/cover;
            border-bottom: 1px solid var(--line);
        }
        .hero:after {
            content: "";
            position: absolute;
            right: -110px;
            top: -170px;
            width: 430px;
            height: 430px;
            border-radius: 50%;
            background: rgba(22,185,197,.13);
        }
        .eyebrow, .section-kicker {
            color: var(--primary);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .13em;
            text-transform: uppercase;
        }
        h1, h2, h3, p { margin-top: 0; }
        h1 {
            max-width: 650px;
            margin: 14px 0 18px;
            font-size: clamp(2.35rem, 5vw, 4.6rem);
            line-height: 1.13;
            letter-spacing: -.04em;
            font-weight: 900;
        }
        h1 span { color: var(--primary); }
        .hero-copy { max-width: 650px; color: #5d6879; font-size: 16px; }
        .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
        .btn-main, .btn-ghost {
            border-radius: 12px;
            padding: 12px 20px;
            font-weight: 700;
            transition: .2s ease;
        }
        .btn-main { color: #fff; background: var(--primary); border: 1px solid var(--primary); box-shadow: 0 10px 22px rgba(91,69,216,.2); }
        .btn-main:hover { color: #fff; background: var(--primary-dark); transform: translateY(-2px); }
        .btn-ghost { color: var(--ink); background: #fff; border: 1px solid var(--line); }
        .btn-ghost:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
        .hero-strip {
            position: relative;
            z-index: 1;
            margin-top: 42px;
            padding: 15px 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
            align-items: center;
            background: rgba(255,255,255,.82);
            border: 1px solid rgba(255,255,255,.95);
            border-radius: 15px;
            box-shadow: var(--shadow);
        }
        .stat { display: flex; gap: 10px; align-items: baseline; }
        .stat strong { color: var(--primary); font-size: 23px; }
        .stat span { color: var(--muted); font-size: 13px; }
        .section { padding: 82px 0; }
        .section-soft { background: var(--soft); }
        .section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
        .section-title { margin: 8px 0 0; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25; font-weight: 850; letter-spacing: -.03em; }
        .section-desc { max-width: 590px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
        .text-link { color: var(--primary); font-size: 14px; font-weight: 750; white-space: nowrap; }
        .content-card, .resource-card, .quote-card, .category-card, .news-card {
            height: 100%;
            background: var(--white);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            box-shadow: 0 8px 25px rgba(31,42,68,.04);
            overflow: hidden;
            transition: .25s ease;
        }
        .content-card:hover, .resource-card:hover, .category-card:hover, .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4d0fb; }
        .visual {
            position: relative;
            aspect-ratio: 16/10;
            overflow: hidden;
            background: #e9edf5;
        }
        .visual img { width: 100%; height: 100%; object-fit: cover; transition: .45s ease; }
        .content-card:hover .visual img, .resource-card:hover .visual img, .news-card:hover .visual img { transform: scale(1.05); }
        .visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,20,35,.48), transparent 55%); }
        .badge-custom {
            position: absolute;
            z-index: 1;
            top: 13px;
            left: 13px;
            padding: 4px 9px;
            border-radius: 7px;
            color: #fff;
            background: rgba(25,31,52,.78);
            font-size: 11px;
            font-weight: 800;
        }
        .card-body-custom { padding: 17px 18px 18px; }
        .card-title { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
        .card-desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
        .meta-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: 12px; }
        .rating { color: #e58b26; font-weight: 800; }
        .feature-band { background: #171d32; color: #fff; }
        .feature-band .section-desc { color: #aeb6cb; }
        .feature-item { padding: 21px; height: 100%; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); background: rgba(255,255,255,.06); }
        .feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--cyan)); }
        .feature-item h3 { font-size: 17px; margin-bottom: 9px; }
        .feature-item p { margin: 0; color: #aeb6cb; font-size: 13px; }
        .category-card { padding: 23px; position: relative; }
        .category-card i { color: var(--primary); font-size: 22px; margin-bottom: 24px; }
        .category-card h3 { font-size: 18px; margin-bottom: 8px; }
        .category-card p { margin: 0; color: var(--muted); font-size: 13px; }
        .rank-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
        .rank-row { display: grid; grid-template-columns: 44px 1fr 100px 65px; gap: 14px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); transition: .2s ease; }
        .rank-row:last-child { border-bottom: 0; }
        .rank-row:hover { background: #fafaff; }
        .rank-number { color: #a6adbb; font-size: 18px; font-weight: 900; }
        .rank-row:nth-child(-n+3) .rank-number { color: var(--primary); }
        .rank-name { font-weight: 750; font-size: 14px; }
        .rank-type { color: var(--muted); font-size: 12px; }
        .heat { color: #ee6e57; font-size: 12px; font-weight: 750; }
        .rank-score { color: var(--primary); font-weight: 800; font-size: 14px; text-align: right; }
        .news-card { display: flex; align-items: center; padding: 12px; gap: 14px; }
        .news-thumb { width: 100px; aspect-ratio: 1.35; flex: 0 0 auto; overflow: hidden; border-radius: 10px; }
        .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .news-card h3 { font-size: 14px; line-height: 1.45; margin-bottom: 6px; }
        .news-date { color: var(--muted); font-size: 11px; }
        .quote-card { padding: 25px; }
        .quote-card p { color: #566174; font-size: 14px; margin-bottom: 18px; }
        .quote-user { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 750; }
        .avatar { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--primary); }
        .faq-wrap { max-width: 880px; margin: auto; }
        .accordion-item { border: 1px solid var(--line) !important; margin-bottom: 10px; border-radius: 13px !important; overflow: hidden; }
        .accordion-button { padding: 18px 20px; font-weight: 750; color: var(--ink); box-shadow: none !important; }
        .accordion-button:not(.collapsed) { color: var(--primary); background: #f7f6ff; }
        .accordion-body { color: var(--muted); font-size: 14px; padding: 0 20px 19px; }
        .closing {
            padding: 64px 0;
            background: linear-gradient(105deg, #4b39ba, #16aeb8);
            color: #fff;
        }
        .closing h2 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 850; margin-bottom: 12px; }
        .closing p { max-width: 620px; color: rgba(255,255,255,.78); margin-bottom: 23px; }
        .closing .btn-main { color: var(--primary); background: #fff; border-color: #fff; box-shadow: none; }
        .closing .btn-main:hover { color: var(--primary-dark); background: #f3f1ff; }
        footer { padding: 55px 0 25px; background: #111727; color: #fff; }
        footer .brand { color: #fff; }
        .footer-copy { color: #8993a7; font-size: 13px; max-width: 280px; margin-top: 17px; }
        .footer-title { margin-bottom: 15px; color: #fff; font-size: 14px; font-weight: 800; }
        .footer-links { display: grid; gap: 9px; color: #9ca6b9; font-size: 13px; }
        .footer-links a:hover { color: #fff; }
        .copyright { margin-top: 40px; padding-top: 19px; color: #778196; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
        :focus-visible { outline: 3px solid rgba(22,185,197,.45); outline-offset: 3px; }
        @media (max-width: 991px) {
            .navbar-collapse { padding: 15px 0; }
            .nav-action { display: inline-block; margin-top: 8px; }
            .section { padding: 64px 0; }
        }
        @media (max-width: 767px) {
            .hero { padding: 42px 0 48px; }
            h1 { font-size: 2.55rem; }
            .section-head { display: block; }
            .section-head .text-link { display: inline-block; margin-top: 15px; }
            .hero-strip { gap: 13px; }
            .stat { width: calc(50% - 8px); }
            .rank-row { grid-template-columns: 31px 1fr 57px; gap: 8px; padding: 13px 12px; }
            .rank-type, .heat { display: none; }
            .rank-score { font-size: 13px; }
            .news-thumb { width: 82px; }
        }
        @media (max-width: 520px) {
            .brand { font-size: 14px; }
            .brand-mark { width: 34px; height: 34px; }
            h1 { font-size: 2.15rem; }
            .hero-copy { font-size: 14px; }
            .hero-buttons .btn-main, .hero-buttons .btn-ghost { width: 100%; text-align: center; }
            .stat strong { font-size: 19px; }
            .stat span { font-size: 11px; }
        }
