/* roulang page: index */
:root {
            --primary: #2E7DA6;
            --primary-light: #EAF4F9;
            --primary-hover: #DDEAF2;
            --accent: #FF8A3D;
            --accent-hover: #ff9c5c;
            --bg: #F7FAFC;
            --card: #FFFFFF;
            --footer: #16324A;
            --text: #1F2A3D;
            --text-muted: #5B6E80;
            --text-weak: #8AA0AE;
            --border: #E3EDF5;
            --radius-sm: 8px;
            --radius: 16px;
            --radius-lg: 24px;
            --shadow-sm: 0 2px 12px rgba(22, 50, 74, .06);
            --shadow-md: 0 4px 16px rgba(22, 50, 74, .08);
            --shadow-lg: 0 8px 24px rgba(22, 50, 74, .1);
            --transition: .3s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            font-size: 1rem;
            overflow-x: hidden;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition);
        }

        button,
        input {
            font-family: inherit;
        }

        .container {
            max-width: 1240px;
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #fff;
            border-bottom: 1px solid var(--border);
            height: 72px;
        }

        .header-inner {
            display: flex;
            align-items: center;
            height: 72px;
            gap: 24px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            flex-shrink: 0;
            line-height: 1.2;
        }

        .logo:hover {
            color: var(--primary);
        }

        .logo svg {
            flex-shrink: 0;
        }

        .nav-search {
            flex: 1;
            display: flex;
            align-items: center;
            background: #F0F5F8;
            border-radius: 24px;
            height: 44px;
            padding: 0 8px 0 18px;
            border: 1px solid transparent;
            transition: border-color .3s, box-shadow .3s, background .3s;
            max-width: 620px;
            margin: 0 auto;
        }

        .nav-search:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(46, 125, 166, .15);
            background: #fff;
        }

        .nav-search .search-icon {
            flex-shrink: 0;
        }

        .nav-search input {
            flex: 1;
            height: 40px;
            border: none;
            background: transparent;
            outline: none;
            font-size: 14px;
            color: var(--text);
            padding: 0 12px;
            min-width: 0;
        }

        .nav-search input::placeholder {
            color: var(--text-weak);
        }

        .nav-search button {
            height: 38px;
            padding: 0 22px;
            border: none;
            background: var(--accent);
            color: #fff;
            border-radius: 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background .3s, box-shadow .3s;
            flex-shrink: 0;
        }

        .nav-search button:hover {
            background: var(--accent-hover);
            box-shadow: 0 4px 12px rgba(255, 138, 61, .3);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .nav-link {
            display: inline-block;
            padding: 8px 12px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text);
            border-radius: var(--radius-sm);
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 12px;
            right: 12px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        .nav-toggle {
            display: none;
            border: none;
            background: none;
            cursor: pointer;
            padding: 6px;
            border-radius: var(--radius-sm);
            color: var(--text);
            flex-shrink: 0;
        }

        .nav-toggle:hover {
            background: var(--primary-light);
        }

        /* ===== Hero ===== */
        .hero-section {
            min-height: 92vh;
            background: var(--bg);
            display: flex;
            align-items: center;
            padding: 80px 0 64px;
            position: relative;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 55% 45%;
            gap: 48px;
            align-items: center;
        }

        .hero-title {
            font-size: clamp(2rem, 4vw, 3.25rem);
            font-weight: 700;
            line-height: 1.25;
            color: var(--text);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .hero-title .highlight {
            color: var(--accent);
        }

        .hero-subtitle {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 32px;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            height: 48px;
            padding: 0 28px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: all .3s;
            text-align: center;
        }

        .btn-cta-primary {
            background: var(--accent);
            color: #fff;
        }

        .btn-cta-primary:hover {
            background: var(--accent-hover);
            box-shadow: 0 8px 20px rgba(255, 138, 61, .25);
            transform: translateY(-2px);
            color: #fff;
        }

        .btn-cta-secondary {
            background: var(--primary-light);
            color: var(--primary);
        }

        .btn-cta-secondary:hover {
            background: var(--primary-hover);
            color: var(--primary);
        }

        .hero-stats {
            display: flex;
            gap: 36px;
            border-top: 1px solid var(--border);
            padding-top: 24px;
            flex-wrap: wrap;
        }

        .hero-stat {
            display: flex;
            flex-direction: column;
        }

        .hero-stat-num {
            font-size: 26px;
            font-weight: 700;
            color: var(--text);
            line-height: 1.2;
        }

        .hero-stat-label {
            font-size: 14px;
            color: var(--text-weak);
            margin-top: 2px;
        }

        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-card {
            width: 300px;
            max-width: 300px;
            background: var(--card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(22, 50, 74, .15);
            border: 1px solid var(--border);
        }

        .hero-card-media {
            position: relative;
            aspect-ratio: 9 / 16;
            overflow: hidden;
            background: #e8f0f4;
        }

        .hero-card-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-card-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            background: var(--accent);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 999px;
            box-shadow: 0 4px 12px rgba(255, 138, 61, .4);
            letter-spacing: .5px;
            z-index: 2;
        }

        .hero-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 22px 16px 14px;
            background: linear-gradient(transparent, rgba(22, 50, 74, .82));
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hero-card-play {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .94);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
        }

        .hero-card-progress {
            flex: 1;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, .3);
            overflow: hidden;
        }

        .hero-card-progress span {
            display: block;
            height: 100%;
            width: 60%;
            background: var(--accent);
            border-radius: 2px;
        }

        .hero-card-heat {
            font-size: 12px;
            color: rgba(255, 255, 255, .95);
            flex-shrink: 0;
        }

        /* ===== Section ===== */
        .section {
            padding: 96px 0;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 40px;
            gap: 16px;
            flex-wrap: wrap;
        }

        .section-title {
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 700;
            color: var(--text);
            margin: 0;
            line-height: 1.3;
        }

        .section-sub {
            font-size: 13px;
            color: var(--text-weak);
            margin: 0 0 4px;
        }

        .section-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--primary);
            white-space: nowrap;
            margin-bottom: 4px;
        }

        .section-link:hover {
            color: var(--accent);
        }

        /* ===== Popular Cards ===== */
        .popular-section {
            background: #fff;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .card-popular {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform .3s, box-shadow .3s;
            display: flex;
            flex-direction: column;
        }

        .card-popular:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }

        .card-popular .media {
            position: relative;
            aspect-ratio: 9 / 14;
            overflow: hidden;
            background: #eef3f6;
        }

        .card-popular .media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .3s;
        }

        .card-popular:hover .media img {
            transform: scale(1.03);
        }

        .duration-badge {
            position: absolute;
            right: 10px;
            bottom: 10px;
            background: rgba(22, 50, 74, .75);
            color: #fff;
            font-size: 12px;
            padding: 2px 8px;
            border-radius: var(--radius-sm);
            letter-spacing: .3px;
        }

        .card-popular .body {
            padding: 14px 16px 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title-sm {
            font-size: 15px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 42px;
            color: var(--text);
        }

        .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-top: auto;
        }

        .card-views {
            font-size: 13px;
            color: var(--text-weak);
        }

        .tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 999px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 12px;
            font-weight: 500;
            user-select: none;
        }

        /* ===== Seed List ===== */
        .seed-section {
            background: var(--primary-light);
        }

        .seed-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .seed-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: 0 2px 10px rgba(22, 50, 74, .05);
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
            min-height: 160px;
            transition: border-color .3s, box-shadow .3s;
        }

        .seed-card:hover {
            border-color: rgba(46, 125, 166, .3);
            box-shadow: var(--shadow-md);
        }

        .seed-num {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            width: 60px;
            text-align: center;
            flex-shrink: 0;
            transition: background .3s, color .3s;
            border-radius: 12px;
            height: 48px;
            line-height: 48px;
        }

        .seed-card:hover .seed-num {
            background: var(--accent);
            color: #fff;
        }

        .seed-img {
            width: 112px;
            height: 112px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            background: #eef3f6;
        }

        .seed-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .3s;
        }

        .seed-card:hover .seed-img img {
            transform: scale(1.05);
        }

        .seed-info {
            flex: 1;
            min-width: 0;
        }

        .seed-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text);
            line-height: 1.45;
        }

        .seed-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .seed-actions {
            display: flex;
            gap: 8px;
        }

        .btn-mini {
            height: 36px;
            padding: 0 16px;
            border-radius: 9px;
            font-size: 13px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: background .3s, box-shadow .3s, border-color .3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-fav {
            background: var(--primary-light);
            color: var(--primary);
        }

        .btn-fav:hover {
            background: var(--primary-hover);
        }

        .btn-buy {
            background: #fff;
            color: var(--primary);
            border: 1px solid var(--primary);
        }

        .btn-buy:hover {
            background: var(--primary-light);
            box-shadow: 0 2px 8px rgba(46, 125, 166, .2);
        }

        /* ===== Reviews ===== */
        .review-section {
            background: #fff;
        }

        .review-header-right {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 4px;
        }

        .review-rate {
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            line-height: 1;
        }

        .review-stars {
            font-size: 16px;
            color: #FFB400;
            letter-spacing: 2px;
            line-height: 1;
        }

        .review-track {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding-bottom: 10px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: #C6D6E3 #F0F5F8;
        }

        .review-track::-webkit-scrollbar {
            height: 4px;
        }

        .review-track::-webkit-scrollbar-track {
            background: #F0F5F8;
            border-radius: 2px;
        }

        .review-track::-webkit-scrollbar-thumb {
            background: #C6D6E3;
            border-radius: 2px;
        }

        .review-card {
            flex: 0 0 320px;
            scroll-snap-align: start;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow .3s;
        }

        .review-card:hover {
            box-shadow: var(--shadow-md);
        }

        .review-user {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #E0E8EE;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8AA0AE;
        }

        .review-user-meta {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .nickname {
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
        }

        .stars {
            font-size: 13px;
            color: #FFB400;
            letter-spacing: 1.5px;
        }

        .review-text {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-muted);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
        }

        /* ===== News / CMS ===== */
        .news-section {
            background: var(--bg);
        }

        .news-list {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 8px 16px;
            box-shadow: var(--shadow-sm);
        }

        .news-row {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 13px 10px;
            border-bottom: 1px solid var(--border);
            border-radius: 12px;
            transition: background .3s;
            min-height: 72px;
        }

        .news-row:last-child {
            border-bottom: none;
        }

        .news-row:hover {
            background: #F5F8FC;
        }

        .news-cat {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 999px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .news-body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .news-title {
            font-size: 15px;
            font-weight: 500;
            color: var(--text);
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            line-height: 1.4;
        }

        .news-snippet {
            font-size: 13px;
            color: var(--text-weak);
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .news-date {
            font-size: 13px;
            color: var(--text-weak);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .news-empty {
            border: 1.5px dashed #C6D6E3;
            border-radius: var(--radius);
            padding: 48px 0;
            text-align: center;
            color: var(--text-weak);
            background: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .news-empty p {
            font-size: 14px;
            margin: 0;
        }

        /* ===== FAQ ===== */
        .faq-section {
            background: #fff;
        }

        .faq-wrap {
            max-width: 760px;
            margin: 0 auto;
        }

        .faq-heading {
            text-align: center;
            margin-bottom: 40px;
        }

        .accordion-item {
            border: 1px solid var(--border) !important;
            border-radius: 12px !important;
            margin-bottom: 16px;
            overflow: hidden;
            background: #fff;
            box-shadow: var(--shadow-sm);
        }

        .accordion-button {
            background: #fff !important;
            color: var(--text) !important;
            font-size: 16px;
            font-weight: 600;
            padding: 20px 24px;
            box-shadow: none !important;
            outline: none !important;
            gap: 12px;
            line-height: 1.4;
        }

        .accordion-button:not(.collapsed) {
            color: var(--primary) !important;
            border-bottom: 1px solid var(--border);
        }

        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E7DA6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
            background-size: 20px;
            background-position: center;
            transition: transform .3s;
            width: 24px;
            height: 24px;
        }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232E7DA6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
            transform: none;
        }

        .accordion-body {
            padding: 18px 24px;
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(rgba(22, 50, 74, .85), rgba(22, 50, 74, .85)), url('/assets/images/backpic/back-1.webp') center / cover no-repeat;
            position: relative;
        }

        .cta-inner {
            max-width: 680px;
            margin: 0 auto;
            text-align: center;
            padding: 88px 0;
        }

        .cta-inner h2 {
            color: #fff;
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .cta-inner p {
            color: rgba(255, 255, 255, .8);
            font-size: 16px;
            margin-bottom: 32px;
            line-height: 1.6;
        }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 52px;
            padding: 0 36px;
            border-radius: 13px;
            background: var(--accent);
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: background .3s, box-shadow .3s, transform .3s;
            text-decoration: none;
        }

        .btn-cta:hover {
            background: var(--accent-hover);
            box-shadow: 0 8px 20px rgba(255, 138, 61, .25);
            transform: translateY(-2px);
            color: #fff;
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--footer);
            color: rgba(255, 255, 255, .85);
            padding: 64px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, .1);
        }

        .footer h4 {
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.2;
        }

        .footer-logo svg {
            flex-shrink: 0;
        }

        .footer-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, .6);
            line-height: 1.6;
            margin: 0;
        }

        .footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer ul li {
            margin-bottom: 10px;
        }

        .footer ul a {
            color: rgba(255, 255, 255, .7);
            font-size: 14px;
            transition: color .3s;
        }

        .footer ul a:hover {
            color: var(--accent);
        }

        .footer-info {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-info li {
            color: rgba(255, 255, 255, .6);
            font-size: 14px;
            margin-bottom: 8px;
        }

        .footer-bottom {
            padding: 24px 0;
            text-align: center;
            color: rgba(255, 255, 255, .45);
            font-size: 14px;
        }

        .footer-bottom p {
            margin: 0;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1199px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .header-inner {
                gap: 16px;
            }

            .nav-search {
                max-width: 420px;
            }
        }

        @media (max-width: 991px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .hero-content {
                order: 2;
            }

            .hero-visual {
                order: 1;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-stats {
                justify-content: center;
            }

            .hero-card {
                width: 220px;
            }

            .cards-grid {
                grid-template-columns: 1fr 1fr;
            }

            .seed-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            .site-header {
                height: auto;
                border-bottom: 1px solid var(--border);
            }

            .header-inner {
                flex-wrap: wrap;
                height: auto;
                padding: 12px 0;
                gap: 0;
            }

            .logo {
                flex: 1;
            }

            .nav-toggle {
                display: inline-flex;
            }

            .nav-search {
                order: 3;
                width: 100%;
                max-width: none;
                height: 40px;
                margin-top: 12px;
                display: none;
            }

            .nav-search input {
                height: 36px;
            }

            .nav-search button {
                height: 36px;
                padding: 0 18px;
            }

            .nav-links {
                order: 4;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                display: none;
                padding-top: 8px;
            }

            .nav-link {
                padding: 10px 4px;
                border-bottom: 1px solid var(--border);
                border-radius: 0;
            }

            .nav-link.active::after {
                display: none;
            }

            .nav-link.active {
                background: var(--primary-light);
                border-radius: 10px;
            }

            .site-header.open .nav-search,
            .site-header.open .nav-links {
                display: flex;
            }

            .section {
                padding: 56px 0;
            }

            .seed-card {
                min-height: 0;
            }

            .seed-img {
                width: 84px;
                height: 84px;
            }

            .seed-num {
                width: 40px;
                font-size: 20px;
                height: 40px;
                line-height: 40px;
            }
        }

        @media (max-width: 576px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

            .review-card {
                flex-basis: 280px;
            }

            .hero-card {
                width: 180px;
            }

            .hero-section {
                padding: 40px 0;
            }

            .hero-stat-num {
                font-size: 20px;
            }

            .hero-stats {
                gap: 20px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .seed-card {
                padding: 14px;
                gap: 12px;
            }

            .seed-img {
                width: 72px;
                height: 72px;
            }

            .seed-num {
                width: 32px;
                font-size: 17px;
                height: 36px;
                line-height: 36px;
            }

            .seed-actions .btn-mini {
                padding: 0 10px;
                font-size: 12px;
                height: 32px;
            }

            .news-row {
                flex-wrap: wrap;
                gap: 8px;
                padding: 12px 8px;
            }

            .news-cat {
                font-size: 11px;
                padding: 3px 10px;
            }

            .news-date {
                font-size: 12px;
                margin-left: auto;
            }

            .news-snippet {
                display: none;
            }

            .cta-inner {
                padding: 60px 0;
            }

            .btn-cta {
                width: 100%;
                max-width: 260px;
            }
        }

        @media (min-width: 1400px) {
            .container {
                max-width: 1320px;
            }
        }

/* roulang page: category1 */
:root {
            --primary: #2E7DA6;
            --primary-light: #EAF4F9;
            --accent: #FF8A3D;
            --bg: #F7FAFC;
            --card: #FFFFFF;
            --footer: #16324A;
            --text: #1F2A3D;
            --text-muted: #5B6E80;
            --text-weak: #8AA0AE;
            --border: #E3EDF5;
            --radius: 16px;
            --shadow: 0 2px 12px rgba(22, 50, 74, .06);
            --shadow-hover: 0 8px 24px rgba(22, 50, 74, .1);
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
            font-size: 1rem;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: color .2s;
        }
        a:hover {
            color: var(--primary);
        }
        img {
            max-width: 100%;
            display: block;
        }
        .container {
            max-width: 1200px;
            padding-left: 24px;
            padding-right: 24px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            transition: all .25s ease;
            font-size: 1rem;
            line-height: 1.2;
        }
        .btn-primary-custom {
            background: var(--accent);
            color: #fff;
            padding: 14px 28px;
            height: 48px;
        }
        .btn-primary-custom:hover {
            background: var(--accent);
            color: #fff;
            filter: brightness(1.08);
            box-shadow: 0 8px 20px rgba(255, 138, 61, .25);
            transform: translateY(-1px);
        }
        .btn-secondary-custom {
            background: var(--primary-light);
            color: var(--primary);
            padding: 14px 28px;
            height: 48px;
        }
        .btn-secondary-custom:hover {
            background: #DDEAF2;
            color: var(--primary);
        }
        .btn-sm {
            height: 36px;
            padding: 0 16px;
            font-size: .875rem;
            border-radius: 10px;
        }
        .section-title {
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
            letter-spacing: -.02em;
        }
        .section-subtitle {
            color: var(--text-muted);
            font-size: .9375rem;
            margin-bottom: 32px;
        }
        .bg-section {
            background: var(--bg);
        }
        .white-section {
            background: #fff;
        }

        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #fff;
            border-bottom: 1px solid var(--border);
            box-shadow: 0 1px 4px rgba(22, 50, 74, .04);
        }
        .header-inner {
            display: flex;
            align-items: center;
            gap: 24px;
            height: 72px;
            flex-wrap: nowrap;
        }
        .logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -.02em;
        }
        .logo:hover {
            color: var(--primary);
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            cursor: pointer;
            padding: 4px;
            margin-left: auto;
        }
        .nav-search {
            flex: 1;
            max-width: 480px;
            display: flex;
            align-items: center;
            background: #F0F5F8;
            border-radius: 24px;
            height: 44px;
            padding: 0 4px 0 14px;
            border: 1px solid transparent;
            transition: border-color .2s, box-shadow .2s;
            position: relative;
            margin: 0 auto;
        }
        .nav-search:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(46, 125, 166, .15);
            background: #fff;
        }
        .nav-search .search-icon {
            flex-shrink: 0;
            margin-right: 8px;
        }
        .nav-search input {
            flex: 1;
            border: none;
            background: transparent;
            height: 40px;
            font-size: .9375rem;
            color: var(--text);
            outline: none;
            min-width: 60px;
        }
        .nav-search input::placeholder {
            color: #9AAAB7;
        }
        .nav-search button {
            background: var(--accent);
            color: #fff;
            border: none;
            height: 36px;
            border-radius: 16px;
            padding: 0 20px;
            font-size: .875rem;
            font-weight: 600;
            cursor: pointer;
            transition: background .2s, box-shadow .2s;
            flex-shrink: 0;
        }
        .nav-search button:hover {
            background: #ff7a24;
            box-shadow: 0 4px 12px rgba(255, 138, 61, .3);
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .nav-link {
            font-size: .9375rem;
            font-weight: 500;
            color: var(--text-muted);
            padding: 8px 12px;
            border-radius: 8px;
            position: relative;
            transition: color .2s;
            white-space: nowrap;
        }
        .nav-link:hover {
            color: var(--primary);
        }
        .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }
        .nav-link.active::after {
            content: "";
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 2px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* ===== Category Hero ===== */
        .category-hero {
            background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
            position: relative;
            padding: 80px 0 88px;
            isolation: isolate;
        }
        .category-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(247, 250, 252, .96) 46%, rgba(247, 250, 252, .72) 70%, rgba(247, 250, 252, .35));
            z-index: -1;
        }
        .hero-inner {
            display: grid;
            grid-template-columns: 1.1fr .9fr;
            gap: 48px;
            align-items: center;
        }
        .hero-badge {
            display: inline-block;
            background: var(--primary-light);
            border: 1px solid rgba(46, 125, 166, .2);
            color: var(--primary);
            border-radius: 999px;
            padding: 4px 14px;
            font-size: .8125rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .category-hero h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            color: var(--text);
            line-height: 1.25;
            letter-spacing: -.02em;
            margin-bottom: 8px;
        }
        .hero-sub {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .hero-text {
            font-size: 1rem;
            color: var(--text-muted);
            max-width: 460px;
            margin-bottom: 28px;
            line-height: 1.75;
        }
        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .hero-visual {
            display: flex;
            justify-content: center;
        }
        .hero-card {
            width: 260px;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(22, 50, 74, .15);
            background: #fff;
            position: relative;
            aspect-ratio: 3/4;
        }
        .hero-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .hero-card-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            background: var(--accent);
            color: #fff;
            font-size: .75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 999px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
        }
        .hero-card-meta {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent, rgba(22, 50, 74, .85));
            padding: 36px 16px 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .play-icon {
            width: 28px;
            height: 28px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .625rem;
            color: var(--primary);
            flex-shrink: 0;
            padding-left: 2px;
        }
        .progress-bar {
            flex: 1;
            height: 4px;
            background: rgba(255, 255, 255, .3);
            border-radius: 4px;
            overflow: hidden;
        }
        .progress-bar i {
            display: block;
            height: 100%;
            background: var(--accent);
            border-radius: 4px;
            width: 60%;
        }
        .hot-count {
            color: #fff;
            font-size: .75rem;
            white-space: nowrap;
            opacity: .9;
        }

        /* ===== Intro ===== */
        .category-intro {
            background: var(--bg);
            padding: 40px 0 8px;
        }
        .intro-card {
            background: #fff;
            border-left: 4px solid var(--primary);
            border-radius: var(--radius);
            padding: 28px 32px;
            box-shadow: var(--shadow);
            max-width: 960px;
            margin: 0 auto;
        }
        .intro-card p {
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 0;
        }

        /* ===== Content Grid ===== */
        .category-content {
            padding: 64px 0 48px;
            background: var(--bg);
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }
        .content-card {
            display: flex;
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: box-shadow .3s, transform .3s;
        }
        .content-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .content-card-img {
            width: 40%;
            min-width: 140px;
            aspect-ratio: 4/3;
            object-fit: cover;
            transition: transform .3s;
        }
        .content-card:hover .content-card-img {
            transform: scale(1.02);
        }
        .content-card-body {
            padding: 20px 20px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 1;
            min-width: 0;
        }
        .content-card-tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: 999px;
            font-size: .75rem;
            font-weight: 600;
            padding: 2px 10px;
            margin-bottom: 8px;
            align-self: flex-start;
        }
        .content-card-body h3 {
            font-size: 1.0625rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
            line-height: 1.4;
        }
        .content-card-body p {
            font-size: .8125rem;
            color: var(--text-muted);
            line-height: 1.65;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 10px;
            flex: 1;
        }
        .card-link {
            font-size: .875rem;
            font-weight: 600;
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .card-link:hover {
            color: var(--accent);
        }

        /* ===== Steps ===== */
        .category-steps {
            background: #fff;
            padding: 72px 0;
        }
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .step-card {
            text-align: center;
            padding: 32px 20px;
            border-radius: var(--radius);
            background: var(--bg);
            border: 1px solid var(--border);
            transition: transform .3s, box-shadow .3s;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: var(--primary-light);
            color: var(--primary);
            font-weight: 700;
            font-size: 1.125rem;
            margin-bottom: 14px;
            transition: background .3s, color .3s;
        }
        .step-card:hover .step-num {
            background: var(--accent);
            color: #fff;
        }
        .step-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 6px;
        }
        .step-card p {
            font-size: .8125rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 0;
        }

        /* ===== Reviews ===== */
        .category-reviews {
            background: var(--primary-light);
            padding: 64px 0;
        }
        .review-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-bottom: 40px;
        }
        .stat-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 24px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid transparent;
        }
        .stat-num {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
        }
        .stat-label {
            font-size: .875rem;
            color: var(--text-muted);
            margin-top: 4px;
        }
        .review-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding: 8px 4px 12px;
            scroll-snap-type: x mandatory;
        }
        .review-scroll::-webkit-scrollbar {
            height: 4px;
        }
        .review-scroll::-webkit-scrollbar-thumb {
            background: #C6D6E3;
            border-radius: 4px;
        }
        .review-item {
            flex: 0 0 320px;
            background: #fff;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(22, 50, 74, .05);
            scroll-snap-align: start;
        }
        .review-head {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }
        .review-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #C6D6E3;
            flex-shrink: 0;
        }
        .review-name {
            font-size: .875rem;
            font-weight: 600;
            color: var(--text);
        }
        .review-stars {
            display: flex;
            gap: 2px;
            font-size: .75rem;
            color: #FFB400;
            margin-top: 2px;
        }
        .review-stars .empty {
            color: #C6D6E3;
        }
        .review-text {
            font-size: .8125rem;
            color: var(--text-muted);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== FAQ ===== */
        .category-faq {
            background: var(--bg);
            padding: 72px 0;
        }
        .faq-wrap {
            max-width: 760px;
            margin: 0 auto;
        }
        .accordion-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px !important;
            overflow: hidden;
            margin-bottom: 12px;
            box-shadow: 0 2px 8px rgba(22, 50, 74, .03);
        }
        .accordion-button {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            background: #fff;
            padding: 20px 24px;
            box-shadow: none;
            border: none;
            border-radius: 0;
            transition: color .2s;
        }
        .accordion-button:not(.collapsed) {
            color: var(--primary);
            background: var(--primary-light);
            box-shadow: none;
        }
        .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(46, 125, 166, .12);
            border-radius: 0;
        }
        .accordion-button::after {
            background-image: none;
            content: "+";
            font-size: 1.5rem;
            font-weight: 400;
            line-height: 1;
            color: var(--primary);
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform .2s;
        }
        .accordion-button:not(.collapsed)::after {
            transform: rotate(45deg);
            color: var(--primary);
            background-image: none;
        }
        .accordion-body {
            padding: 0 24px 20px;
            color: var(--text-muted);
            font-size: .9375rem;
            line-height: 1.75;
            background: #fff;
        }
        .accordion-button:not(.collapsed)+.accordion-collapse .accordion-body {
            background: #fff;
        }

        /* ===== CTA ===== */
        .category-cta {
            background: var(--footer);
            padding: 64px 0;
            text-align: center;
        }
        .cta-title {
            color: #fff;
            font-size: clamp(1.5rem, 2.5vw, 2.125rem);
            font-weight: 700;
            margin-bottom: 8px;
        }
        .cta-text {
            color: #AFc3D4;
            max-width: 520px;
            margin: 0 auto 28px;
            font-size: .9375rem;
            line-height: 1.7;
        }
        .cta-btn {
            background: var(--accent);
            color: #fff;
            padding: 14px 36px;
            border-radius: 12px;
            font-weight: 600;
            display: inline-block;
            transition: background .2s, box-shadow .2s, transform .2s;
        }
        .cta-btn:hover {
            background: #ff7a24;
            color: #fff;
            box-shadow: 0 8px 24px rgba(255, 138, 61, .3);
            transform: translateY(-2px);
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--footer);
            color: #AFc3D4;
            padding: 56px 0 0;
            font-size: .875rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }
        .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .footer-logo:hover {
            color: #fff;
        }
        .footer-desc {
            font-size: .8125rem;
            line-height: 1.6;
            color: #8AA3B8;
            max-width: 240px;
        }
        .footer h4 {
            color: #fff;
            font-size: .9375rem;
            font-weight: 600;
            margin-bottom: 14px;
        }
        .footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer ul li {
            margin-bottom: 8px;
        }
        .footer ul a {
            color: #AFc3D4;
            transition: color .2s;
        }
        .footer ul a:hover {
            color: #fff;
        }
        .footer-info {
            line-height: 1.7;
        }
        .footer-bottom {
            padding: 20px 0;
            text-align: center;
            font-size: .8125rem;
            color: #7E96AA;
        }
        .footer-bottom p {
            margin: 0;
        }

        /* ===== Responsive ===== */
        @media (max-width: 992px) {
            .header-inner {
                height: 68px;
            }
            .nav-search {
                max-width: 360px;
            }
            .nav-links {
                gap: 2px;
            }
            .nav-link {
                padding: 8px 8px;
                font-size: .875rem;
            }
            .hero-inner {
                grid-template-columns: 1fr;
                gap: 36px;
                text-align: center;
            }
            .hero-text {
                margin-left: auto;
                margin-right: auto;
            }
            .hero-actions {
                justify-content: center;
            }
            .hero-card {
                width: 220px;
                aspect-ratio: 3/4;
            }
            .content-grid {
                grid-template-columns: 1fr 1fr;
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .review-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }
        @media (max-width: 768px) {
            .site-header {
                position: sticky;
            }
            .header-inner {
                flex-wrap: wrap;
                height: auto;
                padding: 12px 0;
                gap: 10px;
                position: relative;
            }
            .logo {
                font-size: 20px;
            }
            .nav-toggle {
                display: flex;
                margin-left: auto;
            }
            .nav-search {
                order: 3;
                flex: 0 0 100%;
                max-width: 100%;
                height: 40px;
            }
            .nav-search input {
                height: 36px;
            }
            .nav-search button {
                height: 32px;
                padding: 0 14px;
                font-size: .8125rem;
            }
            .nav-links {
                order: 4;
                flex: 0 0 100%;
                display: none;
                flex-direction: column;
                align-items: stretch;
                background: #fff;
                border: 1px solid var(--border);
                border-radius: 12px;
                padding: 8px;
                margin-top: 4px;
                box-shadow: var(--shadow);
            }
            .nav-links.open {
                display: flex;
            }
            .nav-link {
                padding: 12px 16px;
                border-radius: 8px;
                font-size: .9375rem;
            }
            .nav-link.active::after {
                display: none;
            }
            .nav-link.active {
                background: var(--primary-light);
            }
            .category-hero {
                padding: 56px 0 56px;
            }
            .content-grid {
                grid-template-columns: 1fr;
            }
            .content-card-img {
                min-width: 110px;
            }
            .content-card-body {
                padding: 16px;
            }
            .steps-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .step-card {
                padding: 24px 12px;
            }
            .review-stats {
                grid-template-columns: 1fr 1fr;
            }
            .review-stats .stat-card:last-child {
                grid-column: 1 / -1;
            }
            .review-item {
                flex-basis: 280px;
            }
        }
        @media (max-width: 576px) {
            .container {
                padding-left: 16px;
                padding-right: 16px;
            }
            .category-hero h1 {
                font-size: 2rem;
            }
            .hero-sub {
                font-size: 1rem;
            }
            .hero-actions .btn {
                padding: 12px 20px;
                height: 44px;
                font-size: .9375rem;
            }
            .intro-card {
                padding: 20px;
            }
            .content-grid {
                grid-template-columns: 1fr;
            }
            .content-card {
                flex-direction: column;
            }
            .content-card-img {
                width: 100%;
                aspect-ratio: 16/9;
            }
            .content-card-body {
                padding: 16px;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .review-stats {
                grid-template-columns: 1fr;
            }
            .review-stats .stat-card:last-child {
                grid-column: auto;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
                padding-bottom: 24px;
            }
            .category-cta {
                padding: 48px 0;
            }
            .cta-title {
                font-size: 1.5rem;
            }
        }

/* roulang page: article */
:root {
    --primary: #2E7DA6;
    --primary-light: #EAF4F9;
    --accent: #FF8A3D;
    --bg: #F7FAFC;
    --card: #FFFFFF;
    --footer: #16324A;
    --text: #1F2A3D;
    --text-muted: #5B6E80;
    --text-weak: #8AA0AE;
    --border: #E3EDF5;
    --shadow-sm: 0 2px 12px rgba(22, 50, 74, 0.06);
    --shadow-lg: 0 8px 24px rgba(22, 50, 74, 0.1);
    --radius: 16px;
    --radius-lg: 24px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #23688D;
}
img {
    max-width: 100%;
    display: block;
}
button, input {
    font-family: inherit;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}
.section-head h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--text);
}
.section-head p {
    margin: 0;
    font-size: 13px;
    color: var(--text-weak);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(255, 138, 61, 0.25);
    color: #fff;
}
.btn-secondary {
    background: var(--primary-light);
    color: var(--primary);
}
.btn-secondary:hover {
    background: #DDEAF2;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(46, 125, 166, 0.15);
}
.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-ghost:hover {
    background: var(--primary-light);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    flex-wrap: nowrap;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}
.logo:hover {
    color: var(--primary);
}
.logo svg {
    display: block;
}
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    margin-left: auto;
}
.nav-search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 6px 0 18px;
    background: #F0F5F8;
    border: 1px solid transparent;
    border-radius: 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 166, 0.15);
    background: #fff;
}
.nav-search .search-icon {
    flex-shrink: 0;
}
.nav-search input {
    flex: 1;
    border: none;
    background: transparent;
    height: 100%;
    padding: 0 10px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    min-width: 0;
}
.nav-search input::placeholder {
    color: #9AAAB7;
}
.nav-search button {
    height: 38px;
    padding: 0 22px;
    border: none;
    border-radius: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-search button:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(255, 138, 61, 0.3);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 2px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* ---------- Article Page ---------- */
.article-page {
    padding: 48px 0 40px;
}
.breadcrumb-nav {
    font-size: 13px;
    color: var(--text-weak);
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.breadcrumb-nav a {
    color: var(--primary);
}
.breadcrumb-nav a:hover {
    color: #23688D;
    text-decoration: underline;
}
.breadcrumb-nav .current {
    color: var(--text-weak);
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px 64px;
    box-shadow: 0 8px 32px rgba(22, 50, 74, 0.06);
}
.article-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.article-meta {
    font-size: 13px;
    color: var(--text-weak);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 36px;
}
.article-meta a {
    color: var(--primary);
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    max-width: 760px;
}
.article-content p {
    margin: 0 0 1.5rem;
}
.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 2rem 0 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.article-content h2 {
    font-size: 1.5rem;
}
.article-content h3 {
    font-size: 1.25rem;
}
.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    width: auto;
    height: auto;
}
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: #F0F5F8;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 1.5rem 0;
    color: var(--text-muted);
}
.article-content blockquote p:last-child {
    margin-bottom: 0;
}
.article-content code {
    background: #F0F5F8;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.article-content pre {
    background: #F0F5F8;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 0 0 1.5rem;
}
.article-content pre code {
    background: transparent;
    padding: 0;
}
.article-content ul,
.article-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}
.article-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover {
    text-decoration-thickness: 2px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}
.tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
}
.article-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.article-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    padding: 8px 0;
    transition: color 0.2s ease;
}
.article-nav-links a:hover {
    color: #23688D;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 32px;
    transition: gap 0.2s ease, color 0.2s ease;
}
.back-link:hover {
    gap: 12px;
    color: #23688D;
}

/* ---------- Related ---------- */
.related-section {
    background: var(--primary-light);
    padding: 72px 0;
    margin-top: 48px;
}
.related-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.related-img {
    aspect-ratio: 9 / 14;
    overflow: hidden;
    background: #EAF0F4;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-card:hover .related-img img {
    transform: scale(1.05);
}
.related-body {
    padding: 20px;
}
.related-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.4;
}
.related-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta-section {
    padding: 72px 0;
}
.cta-card {
    background: linear-gradient(135deg, #16324A 0%, #1D3F5C 100%);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    color: #F0F5F8;
}
.cta-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.cta-card p {
    font-size: 15px;
    color: #A8C4D8;
    margin: 0 0 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.cta-card .btn-primary {
    background: var(--accent);
}
.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}

/* ---------- Not Found ---------- */
.not-found {
    text-align: center;
    padding: 80px 24px;
    max-width: 560px;
    margin: 0 auto;
}
.not-found .nf-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}
.not-found h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}
.not-found p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 0 24px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--footer);
    color: #A8C4D8;
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer-logo:hover {
    color: #fff;
}
.footer-desc {
    font-size: 14px;
    color: #7C9AB0;
    margin: 12px 0 0;
    max-width: 280px;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-col a {
    color: #7C9AB0;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: #fff;
}
.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #7C9AB0;
    line-height: 1.8;
}
.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #60809A;
}
.footer-bottom p {
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .header-inner {
        gap: 12px;
    }
    .nav-links {
        gap: 16px;
    }
    .article-wrap {
        padding: 40px 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        min-height: 0;
        padding: 12px 0;
        gap: 10px;
    }
    .logo {
        font-size: 20px;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .nav-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0;
        flex-basis: 100%;
        height: 42px;
    }
    .nav-search input {
        font-size: 15px;
    }
    .nav-search button {
        height: 34px;
        padding: 0 18px;
    }
    .nav-links {
        display: none;
        order: 4;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        padding: 12px 0 4px;
        margin: 0;
        border-top: 1px solid var(--border);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-link {
        padding: 12px 8px;
        font-size: 15px;
        border-bottom: 1px solid #F0F5F8;
    }
    .nav-link::after {
        display: none;
    }
    .nav-link.active {
        background: var(--primary-light);
        border-radius: 10px;
        padding-left: 12px;
    }
    .article-page {
        padding: 32px 0 24px;
    }
    .article-wrap {
        padding: 28px 24px;
    }
    .related-section {
        padding: 48px 0;
    }
    .cta-section {
        padding: 48px 0;
    }
    .cta-card {
        padding: 40px 24px;
        border-radius: var(--radius);
    }
    .footer {
        padding-top: 48px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    .header-inner {
        padding: 10px 0;
    }
    .nav-search button {
        padding: 0 16px;
        font-size: 13px;
    }
    .article-title {
        font-size: 1.5rem;
    }
    .article-wrap {
        padding: 24px 18px;
        border-radius: var(--radius);
    }
    .article-meta {
        font-size: 12px;
        gap: 6px;
    }
    .article-content {
        font-size: 15px;
        line-height: 1.75;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px;
    }
    .cta-card h2 {
        font-size: 1.4rem;
    }
    .cta-card p {
        font-size: 14px;
    }
}
