/* roulang page: index */
:root {
  --bg-primary: #0B1524;
  --bg-secondary: #101E32;
  --bg-dark: #070E1A;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
  --accent: #00D0FF;
  --accent-2: #2E7DFF;
  --text-primary: #EAF0F8;
  --text-secondary: #93A4B8;
  --text-muted: #64748B;
  --amber: #E7B45A;
  --red: #B8323C;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.4);
  --glow: 0 0 22px rgba(0, 208, 255, 0.35);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "system-ui", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-primary); color: var(--text-primary); line-height: 1.75; font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #D6E3F0; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: var(--font); font-size: 15px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head.left { margin-left: 0; }
.section-head .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); background: rgba(0, 208, 255, 0.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.3; color: var(--text-primary); margin-bottom: 10px; }
.section-head p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
/* HERO */
.hero { position: relative; min-height: clamp(600px, 90vh, 800px); display: flex; align-items: center; background: linear-gradient(to bottom, #091120 0%, rgba(9, 17, 32, 0.65) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat; padding: 120px 0 88px; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 52px); font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 20px; letter-spacing: -0.01em; }
.hero h1 .highlight { color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: var(--radius-md); padding: 12px 28px; font-size: 15px; transition: all 0.3s ease; border: none; cursor: pointer; line-height: 1.4; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07111E; box-shadow: 0 0 22px rgba(0, 208, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(0, 208, 255, 0.55); color: #07111E; }
.btn-primary:active { transform: scale(0.97); box-shadow: 0 0 14px rgba(0, 208, 255, 0.25); }
.btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-secondary:active { transform: scale(0.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid rgba(0, 208, 255, 0.6); outline-offset: 2px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; animation: fadeInUp 2s infinite; }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-muted), transparent); }
.hero-scroll .arrow { font-size: 16px; }
@keyframes fadeInUp { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(8, 16, 30, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); height: 72px; transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.scrolled { background: rgba(6, 12, 22, 0.95); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #07111E; box-shadow: 0 0 12px rgba(0, 208, 255, 0.3); }
.brand-text { font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.02em; }
.brand-text:hover { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: color 0.25s ease, background 0.25s ease; }
.main-nav > ul > li > a:hover { color: var(--accent); }
.main-nav > ul > li.active > a { color: var(--accent); }
.main-nav > ul > li.active > a::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 8px 20px; font-size: 13px; }
/* MEGA MENU */
.has-mega .mega-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); width: 640px; max-width: 90vw; background: rgba(13, 25, 42, 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); padding: 24px; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 100; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mega-left h4 { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0.05em; }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-cat-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); transition: all 0.25s ease; }
.mega-cat-item:hover { border-color: rgba(0, 208, 255, 0.35); background: rgba(0, 208, 255, 0.05); }
.mega-cat-item .icon { width: 30px; height: 30px; border-radius: 8px; background: rgba(0, 208, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--accent); flex-shrink: 0; }
.mega-cat-item .name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.mega-right h4 { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0.05em; }
.mega-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mega-links li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-secondary); transition: all 0.2s ease; }
.mega-links li a:hover { background: rgba(255, 255, 255, 0.04); color: var(--accent); }
.mega-links li a time { font-size: 12px; color: var(--text-muted); }
/* HAMBURGER */
.hamburger { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); cursor: pointer; position: relative; z-index: 1001; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text-primary); margin: 4px auto; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* MOBILE NAV */
.mobile-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(7, 14, 26, 0.98); z-index: 999; display: flex; flex-direction: column; padding: 88px 24px 32px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; }
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { margin-bottom: 4px; }
.mobile-nav ul li a { display: block; padding: 14px 12px; font-size: 17px; color: var(--text-primary); border-radius: 10px; }
.mobile-nav ul li a:hover { background: rgba(255, 255, 255, 0.05); color: var(--accent); }
.mobile-nav ul li.active a { color: var(--accent); background: rgba(0, 208, 255, 0.08); }
.mobile-nav .mega-cats { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-nav .mega-cats .mega-cat-item { background: rgba(255, 255, 255, 0.04); }
/* FEATURES */
.features { background: var(--bg-primary); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.feature-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 32px 24px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0; transition: opacity 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(0, 208, 255, 0.35); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0, 208, 255, 0.12); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; color: var(--accent); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
/* SCENARIOS */
.scenarios { background: var(--bg-secondary); }
.scenario-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.scenario-row:last-child { margin-bottom: 0; }
.scenario-row.reverse .scenario-img { order: 2; }
.scenario-row.reverse .scenario-text { order: 1; }
.scenario-img img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.scenario-text h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.scenario-text p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.7; }
.scenario-text ul { list-style: none; margin-bottom: 20px; }
.scenario-text ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--text-secondary); font-size: 14px; }
.scenario-text ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.scenario-link { color: var(--accent); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; }
.scenario-link:hover { border-bottom-color: var(--accent); }
/* CASES */
.cases { background: var(--bg-primary); }
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 30px 24px; transition: all 0.3s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255, 255, 255, 0.15); }
.case-card.highlight { border: 1px solid rgba(0, 208, 255, 0.4); box-shadow: 0 0 40px rgba(0, 208, 255, 0.15); background: rgba(0, 208, 255, 0.06); }
.case-card.highlight:hover { box-shadow: 0 0 50px rgba(0, 208, 255, 0.25); }
.case-num { font-family: "Inter", "DIN Alternate", sans-serif; font-size: clamp(36px, 4vw, 48px); font-weight: 700; line-height: 1.1; color: var(--accent); margin-bottom: 6px; }
.case-card.highlight .case-num { color: var(--amber); }
.case-label { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; font-weight: 500; }
.case-card h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
/* PRICING */
.pricing { background: var(--bg-secondary); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 36px 28px; transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.price-card.recommended { background: rgba(0, 208, 255, 0.08); border: 1px solid rgba(0, 208, 255, 0.4); box-shadow: 0 0 40px rgba(0, 208, 255, 0.15); padding: 44px 28px 40px; z-index: 2; }
.price-card.recommended:hover { box-shadow: 0 0 60px rgba(0, 208, 255, 0.25); }
.price-badge { position: absolute; top: -12px; right: 20px; background: var(--amber); color: #1a1408; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.02em; }
.price-name { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.price-num { font-family: "Inter", "DIN Alternate", sans-serif; font-size: clamp(36px, 4vw, 48px); font-weight: 700; color: var(--text-primary); margin-bottom: 4px; line-height: 1.2; }
.price-num .symbol { font-size: 20px; color: var(--text-muted); font-weight: 600; vertical-align: super; margin-right: 2px; }
.price-num .period { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.price-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.price-list { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.price-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.price-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.price-list li.disabled { color: var(--text-muted); text-decoration: line-through; }
.price-list li.disabled::before { content: '✕'; color: var(--text-muted); }
.price-card .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 24px; }
/* NEWS */
.latest { background: var(--bg-primary); }
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; margin-top: 40px; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; transition: all 0.3s ease; display: flex; gap: 20px; }
.news-card:hover { transform: translateY(-3px); border-color: rgba(0, 208, 255, 0.35); box-shadow: var(--shadow-hover); }
.news-body { flex: 1; min-width: 0; }
.news-tag { display: inline-block; background: rgba(0, 208, 255, 0.12); color: var(--accent); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card h3 a { color: var(--text-primary); }
.news-card h3 a:hover { color: var(--accent); }
.news-summary { font-size: 13px; color: var(--text-secondary); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; }
.news-time { font-size: 12px; color: var(--text-muted); }
.news-read { font-size: 13px; color: var(--accent); font-weight: 500; }
.news-read:hover { text-decoration: underline; }
.empty-state { background: var(--glass-bg); border: 1px dashed rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 60px 24px; text-align: center; color: var(--text-muted); font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-state svg { width: 48px; height: 48px; opacity: 0.3; }
.news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--glass-border); }
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links li a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-secondary); padding: 6px 0; }
.sidebar-links li a:hover { color: var(--accent); }
.sidebar-links li a span { color: var(--text-muted); font-size: 12px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tags a { display: inline-block; font-size: 12px; color: var(--text-secondary); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); padding: 4px 12px; border-radius: 999px; transition: all 0.25s ease; }
.sidebar-tags a:hover { color: var(--accent); border-color: rgba(0, 208, 255, 0.4); background: rgba(0, 208, 255, 0.05); }
/* FAQ */
.faq { background: var(--bg-secondary); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s ease; }
.faq-item.active { border-color: rgba(0, 208, 255, 0.35); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; color: var(--text-primary); font-size: 15px; font-weight: 500; padding: 16px 24px; cursor: pointer; text-align: left; transition: color 0.25s ease; }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 18px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
/* CTA */
.cta-section { background: var(--bg-dark); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.cta-text p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; max-width: 420px; }
.cta-contact { list-style: none; margin-top: 24px; }
.cta-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; margin-bottom: 10px; }
.cta-contact li svg { width: 18px; height: 18px; color: var(--accent); }
.cta-form-wrap { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: 32px; }
.cta-form-wrap h3 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-control { width: 100%; height: 48px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-md); padding: 0 14px; color: var(--text-primary); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0, 208, 255, 0.25); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.form-feedback { display: none; margin-top: 12px; font-size: 13px; padding: 10px 14px; border-radius: 8px; }
.form-feedback.success { display: block; background: rgba(0, 200, 150, 0.1); color: #00D0A0; border: 1px solid rgba(0, 200, 150, 0.2); }
.form-feedback.error { display: block; background: rgba(184, 50, 60, 0.1); color: #ff8080; border: 1px solid rgba(184, 50, 60, 0.2); }
/* FOOTER */
.site-footer { background: var(--bg-dark); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 16px; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.footer-contact li svg { width: 16px; height: 16px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
/* UTILS */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); border: none; }
.text-accent { color: var(--accent); }
/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav > ul > li > a { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 768px) {
  .site-header { height: 64px; }
  .header-inner { height: 64px; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: flex; }
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero h1 { font-size: clamp(30px, 6vw, 40px); }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .scenario-row { grid-template-columns: 1fr; gap: 24px; }
  .scenario-row.reverse .scenario-img { order: 0; }
  .scenario-row.reverse .scenario-text { order: 0; }
  .scenario-img img { height: 220px; }
  .cases-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card.recommended { padding: 36px 28px; }
  .news-layout { grid-template-columns: 1fr; gap: 24px; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-card { padding: 18px; }
  .container { padding: 0 20px; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-cats { grid-template-columns: 1fr 1fr; }
  .mega-right { display: none; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .mega-cats { grid-template-columns: 1fr; }
  .news-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .case-num { font-size: 34px; }
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer-inner { padding: 0 16px 14px; }
  .cta-form-wrap { padding: 24px 18px; }
  .btn { padding: 11px 20px; font-size: 14px; }
}

/* roulang page: category1 */
:root {
  --bg: #0B1524;
  --bg-alt: #101E32;
  --bg-deep: #070E1A;
  --card-bg: rgba(255,255,255,0.045);
  --card-border: rgba(255,255,255,0.09);
  --primary: #00D0FF;
  --secondary: #2E7DFF;
  --text: #EAF0F8;
  --text-secondary: #93A4B8;
  --text-weak: #64748B;
  --amber: #E7B45A;
  --red: #B8323C;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  --shadow-hover: 0 16px 44px rgba(0,0,0,0.4);
  --container-w: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "system-ui", sans-serif;
  --num-font: "Inter", "DIN Alternate", "PingFang SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #D6E3F0; text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary); text-decoration: underline; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid rgba(0,208,255,0.6); outline-offset: 2px; }

/* Header & Nav */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(8,16,30,0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 72px;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07111E; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--num-font); letter-spacing: -0.5px;
  box-shadow: 0 0 18px rgba(0,208,255,0.35);
}
.brand-text { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 22px 16px; font-size: 15px; font-weight: 500;
  color: #C6D2E0; position: relative; white-space: nowrap;
}
.main-nav > ul > li > a:hover { color: var(--primary); text-decoration: none; }
.main-nav > ul > li > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav > ul > li.active > a { color: var(--primary); }
.main-nav > ul > li.active > a::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; flex-shrink: 0; }

/* Mega Menu */
.mega-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  width: 680px; background: rgba(13,25,42,0.95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  padding: 28px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 200;
}
.main-nav li.has-mega:hover .mega-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mega-left h4, .mega-right h4 { font-size: 13px; font-weight: 600; color: var(--text-weak); letter-spacing: 1px; margin-bottom: 16px; }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-cat-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background .2s, border-color .2s;
}
.mega-cat-item:hover { background: rgba(0,208,255,0.08); border-color: rgba(0,208,255,0.25); text-decoration: none; }
.mega-cat-item .icon { font-size: 20px; }
.mega-cat-item .name { font-size: 14px; color: var(--text); font-weight: 500; }
.mega-links li a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mega-links li a:hover { color: var(--primary); text-decoration: none; }
.mega-links time { color: var(--text-weak); font-size: 12px; white-space: nowrap; margin-left: 12px; }

/* Nav Toggle (mobile) */
.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; border-radius: 10px; color: var(--text); position: relative; }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--text);
  margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.page-hero {
  position: relative; min-height: clamp(480px, 62vh, 640px);
  display: flex; align-items: flex-end; padding: 140px 0 72px;
  background: linear-gradient(180deg, #091120 0%, rgba(9,17,32,0.65) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,17,32,0.4) 0%, rgba(9,17,32,0.7) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,208,255,0.15); border: 1px solid rgba(0,208,255,0.35);
  color: var(--primary); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 8px; color: var(--primary); }
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 52px); font-weight: 700; line-height: 1.15;
  margin-bottom: 20px; color: var(--text);
}
.page-hero .hero-sub {
  font-size: 17px; line-height: 1.8; color: #B8C7D9; max-width: 560px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; padding: 12px 28px; font-size: 15px; font-weight: 600;
  border: none; transition: all .25s ease; line-height: 1.4; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #07111E; box-shadow: 0 0 22px rgba(0,208,255,0.35);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(0,208,255,0.55); color: #07111E; }
.btn-outline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: rgba(255,255,255,0.35); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.4); font-size: 12px; }
.hero-scroll-line { width: 1px; height: 36px; background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent); }

/* Section common */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
  background: rgba(0,208,255,0.1); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 16px; letter-spacing: 0.5px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.3; margin-bottom: 14px; }
.section-head p { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }

/* Topics Grid */
.topics-section { background: var(--bg); }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
  position: relative; overflow: hidden;
}
.topic-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(0,208,255,0.08), transparent 70%);
  border-radius: 0 0 0 80px; transition: opacity .3s;
}
.topic-card:hover {
  transform: translateY(-4px); border-color: rgba(0,208,255,0.35);
  box-shadow: var(--shadow-hover); background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.topic-card .topic-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,208,255,0.15), rgba(46,125,255,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  border: 1px solid rgba(0,208,255,0.2);
}
.topic-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.topic-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.topic-card .topic-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; color: var(--primary); margin-top: 16px;
  opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s;
}
.topic-card:hover .topic-link { opacity: 1; transform: translateX(0); }

/* Showcase */
.showcase-section { background: var(--bg-alt); }
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 32px 0;
}
.showcase-row + .showcase-row { border-top: 1px solid rgba(255,255,255,0.05); }
.showcase-row.reverse .showcase-text { order: -1; }
.showcase-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3; background: var(--bg);
}
.showcase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.showcase-img:hover img { transform: scale(1.02); }
.showcase-text h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; margin-bottom: 16px; line-height: 1.35; }
.showcase-text p.lead { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }
.showcase-text ul { margin-bottom: 24px; }
.showcase-text ul li {
  position: relative; padding-left: 24px; font-size: 14px; color: var(--text-secondary); margin-bottom: 10px;
}
.showcase-text ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 700;
}
.text-link { color: var(--primary); font-size: 14px; font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* Resources */
.resources-section { background: var(--bg); }
.resource-list { max-width: 860px; }
.resource-list li {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 8px; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s, padding .25s;
}
.resource-list li:hover { background: rgba(255,255,255,0.03); padding-left: 16px; padding-right: 16px; }
.resource-list .res-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,208,255,0.1); border: 1px solid rgba(0,208,255,0.15);
  color: var(--primary); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.resource-list .res-body { flex: 1; min-width: 0; }
.resource-list .res-body h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.resource-list .res-body h4 a { color: inherit; }
.resource-list .res-body h4 a:hover { color: var(--primary); text-decoration: none; }
.resource-list .res-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resource-list time { font-size: 13px; color: var(--text-weak); flex-shrink: 0; }
.resource-list .res-arrow { color: var(--text-weak); font-size: 16px; flex-shrink: 0; transition: color .25s, transform .25s; }
.resource-list li:hover .res-arrow { color: var(--primary); transform: translateX(4px); }

/* Stats */
.stats-section { background: linear-gradient(135deg, #0D1B30 0%, #0B1524 50%, #101E32 100%); position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,208,255,0.08), transparent 70%); border-radius: 50%;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 24px 0; position: relative; z-index: 2;
}
.stat-item { text-align: center; padding: 32px 16px; }
.stat-item strong {
  display: block; font-family: var(--num-font);
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.2; margin-bottom: 8px;
}
.stat-item span { font-size: 14px; color: var(--text-secondary); }

/* FAQ */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: rgba(0,208,255,0.2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 24px; background: none; border: none;
  font-size: 16px; font-weight: 600; color: var(--text); text-align: left;
}
.faq-q .faq-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,208,255,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  padding: 0 24px;
}
.faq-a p { padding-bottom: 18px; font-size: 14px; line-height: 1.75; color: var(--text-secondary); }

/* CTA */
.cta-section {
  background: linear-gradient(180deg, #070E1A 0%, #0A1424 100%);
  text-align: center; padding: clamp(72px, 8vw, 120px) 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,208,255,0.08), transparent 70%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 16px; max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #070E1A; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--primary); text-decoration: none; }
.footer-contact li { font-size: 14px; color: var(--text-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-weak); }

/* Responsive */
@media (min-width: 768px) and (max-width: 991px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase-row { gap: 32px; }
  .mega-panel { width: 560px; transform: translateX(-50%) translateY(8px); }
  .main-nav li.has-mega:hover .mega-panel { transform: translateX(-50%) translateY(0); }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .site-header { height: 64px; }
  .nav-wrap { height: 64px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 64px; left: 0; width: 100%;
    background: rgba(8,16,30,0.98); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .main-nav.open { max-height: calc(100vh - 64px); overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 16px 20px; }
  .main-nav > ul > li > a { padding: 14px 8px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .main-nav > ul > li > a::after { display: none; }
  .nav-cta { padding: 16px 20px 20px; margin-left: 0; }
  .mega-panel {
    position: static; width: 100%; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: none; box-shadow: none; background: transparent;
    padding: 0 8px 8px; transition: none;
  }
  .main-nav li.has-mega:hover .mega-panel { transform: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 20px; }
  .mega-cats { grid-template-columns: 1fr 1fr; }
  .mega-links { margin-bottom: 12px; }
  .page-hero { min-height: 520px; padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .topics-grid { grid-template-columns: 1fr; gap: 16px; }
  .showcase-row { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
  .showcase-row.reverse .showcase-text { order: 0; }
  .resource-list li { flex-wrap: wrap; gap: 12px; }
  .resource-list time { margin-left: 56px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom p { font-size: 12px; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 16px; }
  .brand-icon { width: 38px; height: 38px; font-size: 13px; }
}

/* roulang page: article */
/* ============ 1. Design Variables ============ */
:root {
  --bg-main: #0B1524;
  --bg-secondary: #101E32;
  --bg-deep: #070E1A;
  --bg-glass: rgba(255, 255, 255, 0.045);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);
  --bg-card-mega: rgba(13, 25, 42, 0.95);
  --border-light: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(0, 208, 255, 0.35);
  --accent: #00D0FF;
  --accent-2: #2E7DFF;
  --accent-soft: rgba(0, 208, 255, 0.08);
  --text-main: #EAF0F8;
  --text-2: #93A4B8;
  --text-3: #64748B;
  --amber: #E7B45A;
  --red: #B8323C;
  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "system-ui", sans-serif;
  --font-num: "Inter", "DIN Alternate", "Roboto", sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.42);
  --shadow-mega: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glow-main: 0 0 22px rgba(0, 208, 255, 0.35);
  --glow-strong: 0 0 36px rgba(0, 208, 255, 0.55);
  --spacing-section: clamp(64px, 8vw, 112px);
  --spacing-card: 20px;
  --container-max: 1200px;
}

/* ============ 2. Reset & Base ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.75;
  background: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #D6E3F0;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus-visible {
  outline: 2px solid rgba(0, 208, 255, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ 3. Utilities ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--spacing-section) 0;
}
.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--text-2);
  font-size: 15px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 4. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111E;
  box-shadow: var(--glow-main);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
  color: #07111E;
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 14px rgba(0, 208, 255, 0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: var(--text-main);
}
.btn-secondary:active {
  transform: scale(0.97);
}

/* ============ 5. Header & Navigation ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 16, 30, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00D0FF, #2E7DFF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 13px;
  color: #07111E;
  letter-spacing: -0.02em;
  box-shadow: 0 0 18px rgba(0, 208, 255, 0.25);
}
.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  line-height: 1.4;
}
.main-nav > ul > li > a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.2s ease;
}
.main-nav > ul > li > a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.main-nav > ul > li.active > a {
  color: var(--accent);
  background: var(--accent-soft);
}
.main-nav > ul > li.active > a::after {
  opacity: 1;
  transform: scaleX(1);
}
.main-nav svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.has-mega:hover > a svg {
  transform: rotate(180deg);
}
.nav-cta {
  margin-left: 8px;
  flex-shrink: 0;
}

/* Mega Menu */
.has-mega {
  position: static;
}
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 720px;
  background: var(--bg-card-mega);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-mega);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
}
.has-mega:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mega-left h4,
.mega-right h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.mega-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.22s ease;
}
.mega-cat-item .icon {
  font-size: 18px;
  line-height: 1;
}
.mega-cat-item .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}
.mega-cat-item:hover {
  background: var(--accent-soft);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.mega-links li + li {
  margin-top: 10px;
}
.mega-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s ease;
}
.mega-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.mega-links time {
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--bg-glass);
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--border-bright);
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ 6. Breadcrumb ============ */
.breadcrumb {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a {
  color: var(--text-2);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  color: var(--text-3);
  font-size: 12px;
  padding: 0 2px;
}
.breadcrumb li[aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ 7. Article Layout ============ */
.article-main {
  padding-top: 48px;
}
.article-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.article-detail {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}
.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}
.article-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #07111E;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  margin-bottom: 20px;
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.article-meta .meta-author {
  color: var(--text-2);
  font-weight: 500;
}
.article-meta .meta-sep {
  opacity: 0.5;
}
.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
}
.article-content p {
  margin-bottom: 22px;
}
.article-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  margin: 48px 0 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 36px 0 14px;
  line-height: 1.4;
}
.article-content ul {
  margin: 0 0 24px;
  padding: 0;
}
.article-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 208, 255, 0.4);
}
.article-content ol {
  margin: 0 0 24px;
  padding-left: 20px;
}
.article-content ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 4px;
}
.article-content ol li::marker {
  color: var(--accent);
  font-family: var(--font-num);
  font-weight: 600;
}
.article-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.article-content a:hover {
  border-bottom-color: var(--accent);
}
.article-content blockquote {
  position: relative;
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.7;
}
.article-content blockquote p {
  margin-bottom: 0;
}
.article-content img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}
.article-content pre {
  background: #0A1526;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 28px 0;
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #B8CCE0;
}
.article-content code {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  color: #8FE4FF;
  font-family: "SFMono-Regular", "Consolas", monospace;
}
.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.article-content hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.article-content th {
  background: var(--bg-glass-strong);
  color: var(--text-main);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-light);
}
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-2);
}
.article-content tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Footer of article */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.article-tags .tag-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-right: 4px;
}
.article-tags .tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-2);
  transition: all 0.2s ease;
}
.article-tags .tag:hover {
  background: var(--accent-soft);
  border-color: var(--border-bright);
  color: var(--accent);
}
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.share-row .share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
  color: var(--text-2);
}
.share-row .share-icon:hover {
  background: var(--accent-soft);
  border-color: var(--border-bright);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============ 8. Related Posts ============ */
.related-section {
  padding: var(--spacing-section) 0;
  margin-top: 24px;
}
.related-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  flex-wrap: wrap;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-card);
}
.related-card {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-hover);
}
.related-thumb {
  flex: 0 0 140px;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .related-thumb img {
  transform: scale(1.04);
}
.related-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 21, 36, 0.25), transparent);
}
.related-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.related-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}
.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}
.related-meta .read-more {
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
  transition: letter-spacing 0.2s ease;
}
.related-card:hover .read-more {
  letter-spacing: 0.03em;
}
.back-list {
  margin-top: 40px;
  text-align: center;
}
.back-list .btn-secondary {
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  font-size: 14px;
}

/* ============ 9. CTA Section ============ */
.cta-section {
  padding: var(--spacing-section) 0;
  background: linear-gradient(135deg, rgba(7, 14, 26, 0.94), rgba(9, 17, 32, 0.85)), url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.cta-inner p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 480px;
  line-height: 1.7;
}
.cta-inner .btn {
  margin-top: 12px;
  min-width: 160px;
}

/* ============ 10. NotFound ============ */
.not-found {
  text-align: center;
  padding: clamp(48px, 8vw, 88px) 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.nf-icon {
  font-size: 56px;
  margin-bottom: 24px;
  opacity: 0.8;
}
.not-found h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.not-found p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.not-found .btn {
  margin-top: 4px;
}

/* ============ 11. Footer ============ */
.site-footer {
  background: var(--bg-deep);
  padding-top: 64px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin-bottom: 18px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 3px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
  word-break: break-all;
}
.footer-contact li:first-child {
  font-family: var(--font-num);
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}

/* ============ 12. Responsive ============ */
@media (max-width: 991px) {
  .header-inner {
    height: 64px;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 16, 30, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-mega);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    margin-left: 0;
  }
  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .main-nav > ul > li > a {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
  }
  .main-nav > ul > li > a::after {
    display: none;
  }
  .has-mega .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 16px;
    margin-top: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: none;
  }
  .has-mega.open .mega-panel {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mega-cats {
    grid-template-columns: 1fr 1fr;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }
  .nav-cta .btn {
    width: 100%;
  }
  .brand-text {
    font-size: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
  .article-wrap {
    margin: 0;
  }
  .article-detail {
    padding: 24px 20px;
    border-radius: 14px;
  }
  .article-header h1 {
    font-size: 24px;
  }
  .article-content {
    font-size: 15px;
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 6px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-card {
    flex-direction: row;
    padding: 14px;
  }
  .related-thumb {
    flex-basis: 110px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .cta-inner {
    text-align: center;
    padding: 0 10px;
  }
  .back-list {
    margin-top: 28px;
  }
}

@media (max-width: 380px) {
  .brand-text {
    font-size: 16px;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }
  .related-card {
    flex-direction: column;
  }
  .related-thumb {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* ============ 13. Print-friendly ============ */
@media print {
  .site-header,
  .breadcrumb,
  .related-section,
  .cta-section,
  .site-footer,
  .article-footer,
  .share-row,
  .nav-toggle {
    display: none !important;
  }
  .article-main {
    padding-top: 0;
  }
  body {
    background: #fff;
    color: #222;
  }
  .article-detail {
    background: #fff;
    border: none;
    box-shadow: none;
  }
}
