/* roulang page: index */
:root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --primary-dark: #1e3a8a;
            --accent: #d946ef;
            --accent-light: #f0abfc;
            --bg-body: #f8fafc;
            --bg-alt: #f1f5f9;
            --text-body: #0f172a;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --radius: 0.75rem;
            --radius-lg: 1rem;
            --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
        }
        * { margin:0; padding:0; box-sizing:border-box; }
        html { scroll-behavior: smooth; }
        body { font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; background:var(--bg-body); color:var(--text-body); line-height:1.6; -webkit-font-smoothing:antialiased; }
        a { color:inherit; text-decoration:none; transition:color 0.2s, background 0.2s, box-shadow 0.2s; }
        img { max-width:100%; height:auto; display:block; }
        button { cursor:pointer; font-family:inherit; border:none; background:none; transition:all 0.2s; }
        input, textarea { font-family:inherit; outline:none; transition:border-color 0.2s, box-shadow 0.2s; }
        .container { max-width:1200px; margin:0 auto; padding:0 1.25rem; }
        .section-title { font-size:1.75rem; font-weight:700; color:var(--text-body); letter-spacing:-0.02em; }
        .section-subtitle { font-size:1rem; color:var(--text-muted); margin-top:0.5rem; }
        .card-base { background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); transition:transform 0.25s, box-shadow 0.25s; overflow:hidden; }
        .card-base:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
        .btn-primary { display:inline-flex; align-items:center; gap:0.5rem; background:var(--primary); color:#fff; padding:0.75rem 2rem; border-radius:9999px; font-weight:600; font-size:1rem; transition:all 0.25s; }
        .btn-primary:hover { background:var(--primary-dark); transform:translateY(-1px); box-shadow:0 8px 24px rgba(30,64,175,0.35); }
        .btn-primary:active { transform:translateY(0); }
        .btn-primary:focus-visible { outline:2px solid var(--primary-light); outline-offset:2px; }
        .btn-secondary { display:inline-flex; align-items:center; gap:0.5rem; background:#fff; color:var(--primary); border:2px solid var(--border); padding:0.7rem 2rem; border-radius:9999px; font-weight:600; font-size:1rem; transition:all 0.25s; }
        .btn-secondary:hover { border-color:var(--primary-light); color:var(--primary); background:#f8fafc; transform:translateY(-1px); box-shadow:0 4px 12px rgba(30,64,175,0.10); }
        .btn-accent { display:inline-flex; align-items:center; gap:0.5rem; background:var(--accent); color:#fff; padding:0.75rem 2rem; border-radius:9999px; font-weight:600; font-size:1rem; transition:all 0.25s; }
        .btn-accent:hover { background:#c026d3; transform:translateY(-1px); box-shadow:0 8px 24px rgba(217,70,239,0.35); }
        .badge { display:inline-block; background:var(--bg-alt); color:var(--text-muted); padding:0.2rem 0.75rem; border-radius:9999px; font-size:0.8rem; font-weight:500; }
        .badge-primary { background:var(--primary); color:#fff; }
        .badge-accent { background:var(--accent); color:#fff; }
        .tag { display:inline-block; background:var(--bg-alt); color:var(--text-muted); padding:0.15rem 0.6rem; border-radius:0.375rem; font-size:0.75rem; transition:background 0.2s, color 0.2s; }
        .tag:hover { background:var(--primary); color:#fff; }
        .text-muted { color:var(--text-muted); }
        .bg-alt { background:var(--bg-alt); }
        .border-line { border-color:var(--border); }
        .section-pad { padding:4.5rem 0; }
        @media (max-width:768px) { .section-pad { padding:3rem 0; } .section-title { font-size:1.4rem; } }
        @media (max-width:520px) { .container { padding:0 1rem; } .section-title { font-size:1.25rem; } }

        /* Nav */
        .site-header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,0.96); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid rgba(226,232,240,0.6); box-shadow:var(--shadow-sm); transition:background 0.3s; }
        .nav-link { position:relative; font-weight:500; font-size:0.95rem; color:var(--text-muted); padding:0.5rem 0; transition:color 0.2s; }
        .nav-link::after { content:''; position:absolute; left:0; bottom:-1px; width:0; height:2px; background:var(--primary); transition:width 0.25s; border-radius:2px; }
        .nav-link:hover { color:var(--primary); }
        .nav-link:hover::after { width:100%; }
        .nav-link.active { color:var(--primary); }
        .nav-link.active::after { width:100%; }
        .nav-cta { background:var(--primary); color:#fff; padding:0.45rem 1.4rem; border-radius:9999px; font-weight:600; font-size:0.9rem; transition:all 0.25s; }
        .nav-cta:hover { background:var(--primary-dark); transform:translateY(-1px); box-shadow:0 4px 16px rgba(30,64,175,0.3); }
        .mobile-menu-btn { display:none; background:none; border:none; font-size:1.5rem; color:var(--text-body); padding:0.25rem; }
        @media (max-width:768px) {
            .mobile-menu-btn { display:block; }
            .nav-desktop { display:none; }
            .nav-mobile-open .nav-desktop { display:flex; flex-direction:column; gap:0.75rem; padding:1rem 0 1.5rem; }
            .nav-desktop { position:absolute; top:100%; left:0; right:0; background:rgba(255,255,255,0.98); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); padding:0 1.25rem; display:none; flex-direction:column; }
            .nav-desktop a { padding:0.6rem 0; }
            .nav-cta { align-self:flex-start; }
        }

        /* Hero */
        .hero-section { position:relative; min-height:85vh; display:flex; align-items:center; overflow:hidden; background:linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%); }
        .hero-bg { position:absolute; inset:0; background:url('/assets/images/backpic/back-1.webp') center/cover no-repeat; opacity:0.25; mix-blend-mode:overlay; }
        .hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,64,175,0.6) 100%); }
        .hero-content { position:relative; z-index:2; max-width:800px; }
        .hero-title { font-size:3rem; font-weight:800; line-height:1.2; color:#fff; letter-spacing:-0.02em; text-shadow:0 2px 20px rgba(0,0,0,0.3); }
        .hero-sub { font-size:1.15rem; color:rgba(255,255,255,0.85); margin-top:1.25rem; max-width:640px; line-height:1.7; }
        .hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-top:2rem; }
        .hero-stat { display:flex; gap:2.5rem; margin-top:3rem; flex-wrap:wrap; }
        .hero-stat-item { text-align:center; }
        .hero-stat-num { font-size:2rem; font-weight:700; color:#fff; }
        .hero-stat-label { font-size:0.85rem; color:rgba(255,255,255,0.7); margin-top:0.2rem; }
        @media (max-width:768px) {
            .hero-section { min-height:70vh; }
            .hero-title { font-size:2rem; }
            .hero-sub { font-size:1rem; }
            .hero-stat { gap:1.5rem; }
            .hero-stat-num { font-size:1.5rem; }
        }
        @media (max-width:520px) {
            .hero-title { font-size:1.65rem; }
            .hero-actions { flex-direction:column; align-items:stretch; }
            .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content:center; }
        }

        /* Features */
        .feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
        .feature-card { background:#fff; border-radius:var(--radius-lg); padding:1.75rem 1.5rem; box-shadow:var(--shadow-md); transition:transform 0.25s, box-shadow 0.25s; text-align:center; border:1px solid rgba(226,232,240,0.5); }
        .feature-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
        .feature-icon { width:3.5rem; height:3.5rem; border-radius:1rem; display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:1.5rem; color:#fff; }
        .feature-title { font-size:1.1rem; font-weight:600; margin-bottom:0.4rem; }
        .feature-desc { font-size:0.9rem; color:var(--text-muted); line-height:1.6; }
        @media (max-width:1024px) { .feature-grid { grid-template-columns:repeat(2,1fr); } }
        @media (max-width:520px) { .feature-grid { grid-template-columns:1fr; } }

        /* Games */
        .game-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
        .game-card { position:relative; border-radius:var(--radius-lg); overflow:hidden; background:#fff; box-shadow:var(--shadow-md); transition:transform 0.25s, box-shadow 0.25s; }
        .game-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
        .game-card-img { width:100%; aspect-ratio:16/9; object-fit:cover; }
        .game-card-body { padding:1rem 1.25rem 1.25rem; }
        .game-card-title { font-weight:600; font-size:1rem; }
        .game-card-meta { display:flex; align-items:center; gap:0.75rem; margin-top:0.4rem; font-size:0.85rem; color:var(--text-muted); }
        .game-card-tag { background:var(--bg-alt); padding:0.15rem 0.6rem; border-radius:0.375rem; font-size:0.75rem; }
        @media (max-width:768px) { .game-grid { grid-template-columns:repeat(2,1fr); } }
        @media (max-width:520px) { .game-grid { grid-template-columns:1fr; } }

        /* News / CMS */
        .news-list { display:flex; flex-direction:column; gap:1rem; }
        .news-item { display:flex; align-items:flex-start; gap:1.25rem; background:#fff; border-radius:var(--radius-lg); padding:1.25rem 1.5rem; box-shadow:var(--shadow-sm); transition:transform 0.2s, box-shadow 0.2s; border:1px solid rgba(226,232,240,0.4); }
        .news-item:hover { transform:translateX(4px); box-shadow:var(--shadow-md); }
        .news-item-icon { flex-shrink:0; width:2.5rem; height:2.5rem; border-radius:0.75rem; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.1rem; }
        .news-item-content { flex:1; min-width:0; }
        .news-item-title { font-weight:600; font-size:1rem; color:var(--text-body); transition:color 0.2s; }
        .news-item:hover .news-item-title { color:var(--primary); }
        .news-item-meta { display:flex; gap:1rem; margin-top:0.3rem; font-size:0.8rem; color:var(--text-muted); }
        .news-item-cat { display:inline-block; background:var(--bg-alt); padding:0.1rem 0.5rem; border-radius:0.25rem; font-size:0.75rem; }
        .news-empty { text-align:center; padding:2.5rem 1rem; color:var(--text-muted); background:#fff; border-radius:var(--radius-lg); border:1px dashed var(--border); }
        @media (max-width:520px) { .news-item { flex-direction:column; gap:0.75rem; padding:1rem; } }

        /* Stats */
        .stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
        .stat-card { background:#fff; border-radius:var(--radius-lg); padding:2rem 1rem; text-align:center; box-shadow:var(--shadow-sm); border:1px solid rgba(226,232,240,0.5); }
        .stat-card-num { font-size:2.25rem; font-weight:800; color:var(--primary); line-height:1.2; }
        .stat-card-label { font-size:0.95rem; color:var(--text-muted); margin-top:0.3rem; }
        @media (max-width:768px) { .stats-grid { grid-template-columns:repeat(2,1fr); } }
        @media (max-width:520px) { .stats-grid { grid-template-columns:1fr; } }

        /* Steps */
        .steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; position:relative; }
        .steps-grid::before { content:''; position:absolute; top:2.5rem; left:15%; right:15%; height:2px; background:linear-gradient(to right, var(--primary-light), var(--accent)); opacity:0.3; z-index:0; }
        .step-card { position:relative; z-index:1; text-align:center; background:#fff; border-radius:var(--radius-lg); padding:2rem 1.5rem; box-shadow:var(--shadow-sm); border:1px solid rgba(226,232,240,0.5); transition:transform 0.25s; }
        .step-card:hover { transform:translateY(-4px); }
        .step-num { width:3rem; height:3rem; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.2rem; font-weight:700; margin:0 auto 1rem; }
        .step-title { font-weight:600; font-size:1.05rem; }
        .step-desc { font-size:0.9rem; color:var(--text-muted); margin-top:0.4rem; }
        @media (max-width:768px) { .steps-grid { grid-template-columns:1fr; gap:1.5rem; } .steps-grid::before { display:none; } }

        /* FAQ */
        .faq-list { max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:0.75rem; }
        .faq-item { background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); border:1px solid rgba(226,232,240,0.5); overflow:hidden; transition:box-shadow 0.2s; }
        .faq-item:hover { box-shadow:var(--shadow-md); }
        .faq-question { display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.5rem; font-weight:600; font-size:1rem; cursor:pointer; transition:background 0.2s; background:#fff; }
        .faq-question:hover { background:var(--bg-alt); }
        .faq-question i { transition:transform 0.3s; color:var(--text-muted); font-size:0.9rem; }
        .faq-item.active .faq-question i { transform:rotate(180deg); }
        .faq-answer { padding:0 1.5rem 1.1rem; font-size:0.95rem; color:var(--text-muted); line-height:1.7; display:none; }
        .faq-item.active .faq-answer { display:block; }
        @media (max-width:520px) { .faq-question { padding:0.9rem 1.2rem; font-size:0.95rem; } .faq-answer { padding:0 1.2rem 0.9rem; } }

        /* CTA */
        .cta-section { background:linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #3b82f6 100%); position:relative; overflow:hidden; }
        .cta-section::before { content:''; position:absolute; inset:0; background:url('/assets/images/backpic/back-2.png') center/cover no-repeat; opacity:0.08; }
        .cta-content { position:relative; z-index:2; text-align:center; padding:3.5rem 1rem; }
        .cta-title { font-size:2rem; font-weight:700; color:#fff; }
        .cta-sub { color:rgba(255,255,255,0.85); margin-top:0.75rem; max-width:600px; margin-left:auto; margin-right:auto; }
        .cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:2rem; }
        .cta-btn-primary { background:#fff; color:var(--primary); padding:0.8rem 2.5rem; border-radius:9999px; font-weight:600; font-size:1rem; transition:all 0.25s; }
        .cta-btn-primary:hover { background:var(--bg-alt); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.15); }
        .cta-btn-outline { border:2px solid rgba(255,255,255,0.7); color:#fff; padding:0.76rem 2.5rem; border-radius:9999px; font-weight:600; font-size:1rem; transition:all 0.25s; }
        .cta-btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); transform:translateY(-2px); }
        @media (max-width:520px) { .cta-title { font-size:1.5rem; } .cta-actions { flex-direction:column; align-items:stretch; } .cta-btn-primary, .cta-btn-outline { text-align:center; } }

        /* Footer */
        .site-footer { background:#0f172a; color:rgba(255,255,255,0.7); padding:3.5rem 0 2rem; }
        .footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; }
        .footer-brand .logo-text { font-size:1.3rem; font-weight:700; color:#fff; }
        .footer-brand p { font-size:0.9rem; margin-top:0.75rem; max-width:320px; line-height:1.7; }
        .footer-social { display:flex; gap:0.75rem; margin-top:1.25rem; }
        .footer-social a { width:2.25rem; height:2.25rem; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.6); transition:all 0.25s; font-size:0.95rem; }
        .footer-social a:hover { background:var(--primary); color:#fff; transform:translateY(-2px); }
        .footer-col-title { font-weight:600; color:#fff; margin-bottom:0.75rem; font-size:1rem; }
        .footer-col a { display:block; font-size:0.9rem; color:rgba(255,255,255,0.6); padding:0.25rem 0; transition:color 0.2s; }
        .footer-col a:hover { color:#fff; }
        .footer-bottom { border-top:1px solid rgba(255,255,255,0.08); margin-top:2.5rem; padding-top:1.5rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.75rem; font-size:0.85rem; color:rgba(255,255,255,0.5); }
        @media (max-width:768px) { .footer-grid { grid-template-columns:1fr 1fr; } }
        @media (max-width:520px) { .footer-grid { grid-template-columns:1fr; } .footer-bottom { flex-direction:column; text-align:center; } }

        /* Accessibility */
        a:focus-visible, button:focus-visible, input:focus-visible { outline:2px solid var(--primary-light); outline-offset:2px; }
        .skip-link { position:absolute; top:-100px; left:1rem; background:var(--primary); color:#fff; padding:0.5rem 1rem; border-radius:0.375rem; z-index:100; transition:top 0.3s; }
        .skip-link:focus { top:0.5rem; }

/* roulang page: article */
:root {
            --primary: #6366f1;
            --primary-light: #818cf8;
            --primary-dark: #4f46e5;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --bg-main: #ffffff;
            --bg-alt: #f1f5f9;
            --bg-dark: #0f172a;
            --text-main: #1e293b;
            --text-soft: #475569;
            --text-muted: #94a3b8;
            --border-light: #e2e8f0;
            --border-medium: #cbd5e1;
            --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
            --radius-sm: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.5rem;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            background: var(--bg-main);
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button, input, textarea {
            font-family: inherit;
            outline: none;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        .bg-alt { background: var(--bg-alt); }
        .text-soft { color: var(--text-soft); }
        .text-muted { color: var(--text-muted); }
        .border-light { border-color: var(--border-light); }

        /* ===== Header / Nav ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255,255,255,0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition);
        }
        .site-header.scrolled {
            box-shadow: var(--shadow-md);
        }
        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 64px;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }
        .logo-text {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.02em;
        }
        .logo-text i {
            font-size: 1.6rem;
            color: var(--primary);
        }
        .nav-desktop {
            display: flex;
            align-items: center;
            gap: 2rem;
        }
        .nav-link {
            position: relative;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-soft);
            padding: 0.25rem 0;
            transition: color var(--transition);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2.5px;
            background: var(--primary);
            border-radius: 4px;
            transition: width var(--transition);
        }
        .nav-link:hover { color: var(--primary); }
        .nav-link:hover::after { width: 100%; }
        .nav-link.active { color: var(--primary); font-weight: 600; }
        .nav-link.active::after { width: 100%; }
        .nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.5rem 1.4rem;
            border-radius: 9999px;
            transition: transform var(--transition), box-shadow var(--transition);
            box-shadow: 0 4px 12px rgba(99,102,241,0.3);
        }
        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99,102,241,0.4);
            color: #fff;
        }
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-main);
            cursor: pointer;
            padding: 0.25rem;
        }
        .nav-mobile {
            display: none;
            flex-direction: column;
            gap: 0.75rem;
            padding: 1rem 1.5rem 1.5rem;
            background: var(--bg-main);
            border-top: 1px solid var(--border-light);
        }
        .nav-mobile a {
            font-size: 1rem;
            font-weight: 500;
            padding: 0.5rem 0;
            color: var(--text-soft);
            border-bottom: 1px solid var(--border-light);
        }
        .nav-mobile a:last-child { border-bottom: none; }
        .nav-mobile a.active { color: var(--primary); font-weight: 600; }
        .nav-mobile .nav-cta-mobile {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-weight: 600;
            padding: 0.7rem 1.5rem;
            border-radius: 9999px;
            margin-top: 0.5rem;
            border: none;
            cursor: pointer;
        }
        .search-mobile {
            width: 100%;
            padding: 0.65rem 1rem 0.65rem 2.5rem;
            border-radius: 9999px;
            border: 1px solid var(--border-light);
            background: var(--bg-alt);
            font-size: 0.9rem;
        }
        .search-mobile-wrap { position: relative; }
        .search-mobile-wrap i {
            position: absolute;
            left: 0.9rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }

        /* ===== Article Hero ===== */
        .article-hero {
            position: relative;
            padding: 4rem 0 3.5rem;
            background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 40%, #fef3c7 100%);
            overflow: hidden;
        }
        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.webp') center/cover no-repeat;
            opacity: 0.08;
            pointer-events: none;
        }
        .article-hero .container {
            position: relative;
            z-index: 1;
        }
        .article-breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        .article-breadcrumb a {
            color: var(--primary);
            font-weight: 500;
        }
        .article-breadcrumb a:hover { text-decoration: underline; }
        .article-breadcrumb .sep { color: var(--border-medium); }
        .article-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--dark);
            max-width: 840px;
            margin-bottom: 1rem;
            letter-spacing: -0.01em;
        }
        .article-meta {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: var(--text-soft);
        }
        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .article-meta i { color: var(--primary-light); }
        .article-category-badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 1rem;
            border-radius: 9999px;
        }

        /* ===== Article Content ===== */
        .article-section {
            padding: 3.5rem 0 4.5rem;
        }
        .article-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 3rem;
            align-items: start;
        }
        .article-body {
            background: var(--bg-main);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }
        .article-body h2 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--dark);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-light);
        }
        .article-body h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--dark-soft);
        }
        .article-body p {
            margin-bottom: 1.25rem;
            color: var(--text-soft);
            line-height: 1.85;
        }
        .article-body ul, .article-body ol {
            margin-bottom: 1.25rem;
            padding-left: 1.75rem;
            color: var(--text-soft);
        }
        .article-body li { margin-bottom: 0.4rem; }
        .article-body img {
            border-radius: var(--radius-md);
            margin: 1.5rem 0;
            box-shadow: var(--shadow-md);
        }
        .article-body blockquote {
            border-left: 4px solid var(--primary);
            background: var(--bg-alt);
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-soft);
            font-style: italic;
        }
        .article-body a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-body a:hover { color: var(--primary-dark); }

        /* ===== Sidebar ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-card {
            background: var(--bg-main);
            border-radius: var(--radius-lg);
            padding: 1.75rem;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
        }
        .sidebar-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .sidebar-card h3 i { color: var(--primary); }
        .sidebar-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .sidebar-list a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem 0.75rem;
            border-radius: var(--radius-sm);
            background: var(--bg-alt);
            transition: all var(--transition);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-soft);
        }
        .sidebar-list a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateX(4px);
        }
        .sidebar-list a i {
            width: 1.2rem;
            color: var(--primary);
            transition: color var(--transition);
        }
        .sidebar-list a:hover i { color: #fff; }
        .sidebar-cta {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border-radius: var(--radius-lg);
            padding: 2rem 1.75rem;
            text-align: center;
        }
        .sidebar-cta h4 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .sidebar-cta p {
            font-size: 0.9rem;
            opacity: 0.85;
            margin-bottom: 1.25rem;
        }
        .sidebar-cta .btn {
            display: inline-block;
            background: #fff;
            color: var(--primary);
            font-weight: 700;
            padding: 0.6rem 2rem;
            border-radius: 9999px;
            transition: all var(--transition);
        }
        .sidebar-cta .btn:hover {
            transform: scale(1.04);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }
        .sidebar-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .sidebar-tags a {
            display: inline-block;
            background: var(--bg-alt);
            border: 1px solid var(--border-light);
            padding: 0.3rem 1rem;
            border-radius: 9999px;
            font-size: 0.8rem;
            color: var(--text-soft);
            transition: all var(--transition);
        }
        .sidebar-tags a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        /* ===== Related Section ===== */
        .related-section {
            padding: 3rem 0 4rem;
            background: var(--bg-alt);
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        .related-card {
            background: var(--bg-main);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
        }
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-light);
        }
        .related-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .related-card-body {
            padding: 1.25rem 1.25rem 1.5rem;
        }
        .related-card-body h4 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
            line-height: 1.4;
        }
        .related-card-body h4 a:hover { color: var(--primary); }
        .related-card-body p {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== Not Found ===== */
        .not-found-box {
            text-align: center;
            padding: 4rem 2rem;
            background: var(--bg-alt);
            border-radius: var(--radius-lg);
        }
        .not-found-box i {
            font-size: 3rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }
        .not-found-box h2 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
        .not-found-box p { color: var(--text-soft); margin-bottom: 1.5rem; }
        .not-found-box .btn-home {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 0.65rem 2rem;
            border-radius: 9999px;
            font-weight: 600;
            transition: all var(--transition);
        }
        .not-found-box .btn-home:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(99,102,241,0.35);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.85);
            padding: 4rem 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer-brand .logo-text {
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }
        .footer-brand .logo-text i { color: var(--primary-light); }
        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            opacity: 0.7;
            max-width: 340px;
        }
        .footer-social {
            display: flex;
            gap: 1rem;
            margin-top: 1.25rem;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            color: rgba(255,255,255,0.6);
            font-size: 1.1rem;
            transition: all var(--transition);
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }
        .footer-col-title {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1rem;
        }
        .footer-col {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        .footer-col a {
            font-size: 0.9rem;
            opacity: 0.65;
            transition: all var(--transition);
        }
        .footer-col a:hover { opacity: 1; color: var(--primary-light); padding-left: 4px; }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            padding: 1.5rem 0;
            font-size: 0.82rem;
            opacity: 0.5;
        }
        .footer-bottom span:last-child { text-align: right; }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; }
            .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .nav-desktop { display: none; }
            .mobile-menu-btn { display: block; }
            .nav-mobile.open { display: flex; }
            .article-hero h1 { font-size: 1.6rem; }
            .article-body { padding: 1.5rem; }
            .article-meta { gap: 0.75rem; font-size: 0.8rem; }
            .article-sidebar { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .footer-bottom span:last-child { text-align: center; }
        }
        @media (max-width: 520px) {
            .container { padding: 0 1rem; }
            .article-hero { padding: 2.5rem 0 2rem; }
            .article-hero h1 { font-size: 1.35rem; }
            .article-body { padding: 1.25rem; }
            .related-grid { grid-template-columns: 1fr; }
            .logo-text { font-size: 1.1rem; }
            .logo-text i { font-size: 1.3rem; }
        }

        /* ===== Article Content Images ===== */
        .article-body .content-img-wrap {
            margin: 1.5rem 0;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        .article-body .content-img-wrap img {
            margin: 0;
            border-radius: 0;
            box-shadow: none;
        }
        .article-body .content-img-caption {
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-muted);
            padding: 0.5rem 1rem 0.75rem;
            background: var(--bg-alt);
        }

        /* ===== Structured Data ===== */
        .breadcrumb-list {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .breadcrumb-list a { color: var(--primary); }
        .breadcrumb-list .sep { color: var(--text-muted); }

/* roulang page: category1 */
:root {
            --primary: #e74c3c;
            --primary-dark: #c0392b;
            --primary-light: #fadbd8;
            --primary-50: #fef5f3;
            --primary-100: #fde8e4;
            --primary-200: #fad1c9;
            --primary-300: #f5a89a;
            --primary-400: #ef7a6b;
            --primary-500: #e74c3c;
            --primary-600: #c0392b;
            --primary-700: #9e2e22;
            --secondary: #2c3e50;
            --secondary-light: #34495e;
            --accent: #f39c12;
            --accent-light: #fef5e7;
            --bg: #ffffff;
            --bg-alt: #f8f5f2;
            --bg-dark: #1a1a2e;
            --text: #2d2d2d;
            --text-light: #6b7280;
            --text-white: #ffffff;
            --border: #e5e7eb;
            --border-light: #f3f0ec;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary-dark);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 12px;
            }
        }

        /* ===== Header & Navigation ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
            box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
            transition: var(--transition);
        }

        .site-header.scrolled {
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        }

        .nav-link {
            position: relative;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text);
            padding: 0.5rem 0;
            transition: var(--transition);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2.5px;
            background: var(--primary);
            border-radius: 4px;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }

        .nav-link.active::after {
            width: 100%;
        }

        .nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff !important;
            padding: 0.5rem 1.4rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: 0 4px 14px rgba(231, 76, 60, 0.30);
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(231, 76, 60, 0.40);
            color: #fff !important;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.6rem;
            color: var(--text);
            cursor: pointer;
            padding: 4px 8px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }

        .mobile-menu-btn:hover {
            background: var(--bg-alt);
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-desktop {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                flex-direction: column;
                padding: 1rem 1.5rem 1.5rem;
                gap: 0.8rem;
                border-bottom: 2px solid var(--border-light);
                box-shadow: var(--shadow-md);
            }

            .nav-desktop.open {
                display: flex;
            }

            .nav-desktop .relative {
                width: 100%;
            }

            .nav-desktop input[type="text"] {
                width: 100% !important;
            }

            .nav-desktop .nav-cta {
                width: 100%;
                justify-content: center;
                margin-top: 0.4rem;
            }
        }

        /* ===== Hero ===== */
        .hero-section {
            position: relative;
            min-height: 520px;
            display: flex;
            align-items: center;
            background: var(--bg-dark);
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.45;
            transform: scale(1.05);
            transition: transform 8s ease;
        }

        .hero-section:hover .hero-bg {
            transform: scale(1.0);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(26, 26, 46, 0.60) 50%, rgba(231, 76, 60, 0.25) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            padding: 5rem 0 4rem;
            max-width: 780px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(231, 76, 60, 0.20);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(231, 76, 60, 0.30);
            color: var(--primary-200);
            padding: 0.35rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
            color: var(--text-white);
            margin-bottom: 1.2rem;
            letter-spacing: -0.02em;
        }

        .hero-title span {
            background: linear-gradient(135deg, #f5a89a, #e74c3c, #c0392b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-desc {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.80);
            line-height: 1.8;
            margin-bottom: 2rem;
            max-width: 640px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff !important;
            padding: 0.85rem 2.2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(231, 76, 60, 0.45);
            color: #fff !important;
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: #fff !important;
            padding: 0.85rem 2.2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.30);
            cursor: pointer;
            transition: var(--transition);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            background: rgba(231, 76, 60, 0.12);
            color: #fff !important;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .hero-section {
                min-height: 420px;
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .hero-desc {
                font-size: 1rem;
            }

            .hero-content {
                padding: 3.5rem 0 2.5rem;
            }
        }

        @media (max-width: 520px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .hero-actions {
                flex-direction: column;
                width: 100%;
            }

            .hero-actions .btn-primary,
            .hero-actions .btn-outline {
                width: 100%;
                justify-content: center;
            }
        }

        /* ===== Section common ===== */
        .section-padding {
            padding: 5rem 0;
        }

        .section-padding-sm {
            padding: 3rem 0;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.6rem;
            letter-spacing: -0.01em;
        }

        .section-subtitle {
            font-size: 1.05rem;
            color: var(--text-light);
            max-width: 640px;
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--primary-100);
            color: var(--primary);
            padding: 0.25rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            letter-spacing: 0.5px;
        }

        .text-center .section-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width: 768px) {
            .section-padding {
                padding: 3rem 0;
            }

            .section-title {
                font-size: 1.7rem;
            }

            .section-subtitle {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 520px) {
            .section-title {
                font-size: 1.4rem;
            }
        }

        /* ===== Cards ===== */
        .card {
            background: var(--bg);
            border-radius: var(--radius);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow);
            transition: var(--transition);
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-200);
        }

        .card-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }

        .card:hover .card-img {
            transform: scale(1.04);
        }

        .card-body {
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .card-text {
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        .card-tag {
            display: inline-block;
            background: var(--primary-50);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            margin-bottom: 0.6rem;
            border: 1px solid var(--primary-100);
        }

        /* ===== Grid ===== */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.8rem;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.8rem;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        @media (max-width: 1024px) {
            .grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .grid-3,
            .grid-2 {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.2rem;
            }

            .grid-4 {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
        }

        @media (max-width: 520px) {
            .grid-3,
            .grid-2,
            .grid-4 {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* ===== Feature blocks ===== */
        .feature-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius);
            background: var(--primary-50);
            color: var(--primary);
            font-size: 1.4rem;
            transition: var(--transition);
            flex-shrink: 0;
        }

        .card:hover .feature-icon {
            background: var(--primary);
            color: #fff;
            transform: scale(1.06);
        }

        /* ===== Steps ===== */
        .step-item {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--border-light);
        }

        .step-item:last-child {
            border-bottom: none;
        }

        .step-number {
            width: 44px;
            height: 44px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-weight: 700;
            font-size: 1.1rem;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
        }

        /* ===== FAQ ===== */
        .faq-item {
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            margin-bottom: 0.8rem;
            overflow: hidden;
            transition: var(--transition);
            background: var(--bg);
        }

        .faq-item:hover {
            border-color: var(--primary-200);
            box-shadow: var(--shadow);
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.2rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text);
            transition: var(--transition);
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            gap: 1rem;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question .fa-chevron-down {
            transition: var(--transition);
            color: var(--text-light);
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .faq-item.active .faq-question .fa-chevron-down {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 1.5rem;
        }

        .faq-item.active .faq-answer {
            max-height: 400px;
            padding: 0 1.5rem 1.3rem;
        }

        .faq-answer p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
            padding: 4.5rem 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(52, 73, 94, 0.20) 0%, transparent 50%);
            pointer-events: none;
        }

        /* ===== Stats ===== */
        .stat-number {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-light);
            font-weight: 500;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--secondary);
            color: rgba(255, 255, 255, 0.85);
            padding: 4rem 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-brand .logo-text {
            font-size: 1.4rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1rem;
        }

        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            opacity: 0.75;
            margin-bottom: 1.2rem;
        }

        .footer-social {
            display: flex;
            gap: 0.8rem;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.70);
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        .footer-col-title {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 1rem;
        }

        .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.60);
            font-size: 0.9rem;
            padding: 0.35rem 0;
            transition: var(--transition);
        }

        .footer-col a:hover {
            color: var(--primary-300);
            padding-left: 4px;
        }

        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            font-size: 0.85rem;
            opacity: 0.60;
            gap: 0.8rem;
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

        /* ===== Badge & tag ===== */
        .badge-hot {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.15rem 0.7rem;
            border-radius: 50px;
            letter-spacing: 0.3px;
        }

        .badge-new {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.15rem 0.7rem;
            border-radius: 50px;
            letter-spacing: 0.3px;
        }

        /* ===== Responsive tweaks ===== */
        @media (max-width: 520px) {
            .hero-title {
                font-size: 1.6rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .faq-question {
                padding: 1rem 1.2rem;
                font-size: 0.9rem;
            }

            .faq-answer {
                padding: 0 1.2rem;
            }

            .faq-item.active .faq-answer {
                padding: 0 1.2rem 1rem;
            }
        }

        /* ===== Image card overlay ===== */
        .img-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            aspect-ratio: 16/10;
        }

        .img-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .img-card:hover img {
            transform: scale(1.06);
        }

        .img-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.5rem;
            color: #fff;
        }

        .img-card-overlay h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }

        .img-card-overlay p {
            font-size: 0.85rem;
            opacity: 0.85;
            line-height: 1.5;
        }

        /* ===== Scroll animation helper ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }
