/* roulang page: index */
:root {
    --bg-dark: #0B2B26;
    --bg-light: #F5F1E8;
    --accent-lime: #C8FF16;
    --accent-gold: #E8A33D;
    --text-primary: #1C1F1E;
    --text-secondary: #5A625F;
    --card-bg: #FFFDF8;
    --border-color: #D8D2C4;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-num: "DIN Alternate", Impact, "Arial Narrow", sans-serif;
    --container: 1200px;
    --spacing-section: 80px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-sans); color:var(--text-primary); background:var(--bg-light); line-height:1.7; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
input, textarea, select { font-family:inherit; }

.container { max-width:var(--container); margin:0 auto; padding:0 24px; }

/* Header */
.site-header {
    position:fixed; top:0; left:0; width:100%; z-index:1000;
    background:rgba(11,43,38,0.92); backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.06);
    transition:background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { background:rgba(11,43,38,0.97); box-shadow:0 4px 20px rgba(0,0,0,0.3); }
.header-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo { font-size:22px; font-weight:800; color:#fff; letter-spacing:0.5px; display:flex; align-items:center; gap:6px; }
.logo::before { content:''; width:28px; height:28px; background:var(--accent-lime); clip-path:polygon(0 0,100% 0,80% 100%,0 100%); }
.main-nav { display:flex; gap:32px; }
.main-nav a.nav-link { color:rgba(255,255,255,0.85); font-size:15px; font-weight:500; padding:8px 0; position:relative; transition:color 0.25s; }
.main-nav a.nav-link::after { content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--accent-lime); transition:width 0.3s; }
.main-nav a.nav-link:hover { color:var(--accent-lime); }
.main-nav a.nav-link:hover::after { width:100%; }
.main-nav a.nav-link.active { color:var(--accent-gold); }
.main-nav a.nav-link.active::after { width:100%; background:var(--accent-gold); }
.btn-header { margin-left:20px; }

/* Buttons */
.btn {
    display:inline-block; padding:10px 24px; border-radius:var(--radius-sm);
    font-size:15px; font-weight:600; text-align:center; transition:all 0.3s ease;
    border:2px solid transparent; line-height:1.4;
}
.btn-primary { background:var(--accent-lime); color:#0B2B26; border-color:var(--accent-lime); }
.btn-primary:hover { background:#b8f010; border-color:#b8f010; transform:translateY(-2px); box-shadow:0 6px 20px rgba(200,255,22,0.3); }
.btn-outline { background:transparent; color:#fff; border-color:rgba(255,255,255,0.5); }
.btn-outline:hover { border-color:var(--accent-lime); color:var(--accent-lime); transform:translateY(-2px); }
.btn-lg { padding:14px 36px; font-size:16px; border-radius:6px; }

/* Hero */
.hero {
    position:relative; background:var(--bg-dark); color:#fff;
    padding:180px 0 100px; overflow:hidden;
}
.hero-bg {
    position:absolute; inset:0; background-image:url('/assets/images/backpic/back-1.webp');
    background-size:cover; background-position:center; opacity:0.25;
}
.hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(11,43,38,0.92) 40%, rgba(11,43,38,0.65) 100%); }
.hero::before {
    content:''; position:absolute; top:-30%; left:-15%; width:80%; height:160%;
    background:linear-gradient(105deg, transparent 40%, rgba(200,255,22,0.07) 50%, transparent 60%);
    transform:rotate(20deg); z-index:1;
}
.hero-content { position:relative; z-index:2; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(200,255,22,0.12); border:1px solid rgba(200,255,22,0.3);
    color:var(--accent-lime); padding:6px 16px; border-radius:50px; font-size:13px; font-weight:500;
    margin-bottom:24px; letter-spacing:0.5px;
}
.hero h1 {
    font-size:48px; font-weight:900; font-style:italic; line-height:1.2;
    max-width:760px; margin-bottom:20px; letter-spacing:-0.5px;
}
.hero h1 .hl { color:var(--accent-lime); }
.hero-sub {
    font-size:19px; color:rgba(255,255,255,0.8); max-width:620px; line-height:1.7; margin-bottom:36px;
}
.hero-cta { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px; }
.hero-tags {
    display:flex; gap:12px; flex-wrap:wrap; padding-top:8px; border-top:1px solid rgba(255,255,255,0.1);
}
.hero-tags span {
    background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12);
    padding:6px 14px; border-radius:50px; font-size:13px; color:rgba(255,255,255,0.85); transition:all 0.25s;
}
.hero-tags span:hover { background:var(--accent-lime); color:#0B2B26; border-color:var(--accent-lime); }

/* Section general */
.section { padding:var(--spacing-section) 0; }
.section-head { max-width:720px; margin-bottom:48px; }
.section-head .section-kicker {
    display:inline-block; font-size:13px; font-weight:600; color:var(--accent-gold);
    text-transform:uppercase; letter-spacing:2px; margin-bottom:12px;
}
.section-head h2 { font-size:32px; font-weight:800; line-height:1.25; margin-bottom:14px; }
.section-head p { font-size:16px; color:var(--text-secondary); line-height:1.7; }

/* Compare (Pain point) */
.compare-section { background:var(--bg-light); }
.compare-grid { display:grid; grid-template-columns:1fr 48px 1fr; gap:0; }
.compare-col { padding:40px 36px; position:relative; }
.compare-col-left { background:var(--card-bg); border:2px solid var(--border-color); border-radius:var(--radius-lg); }
.compare-col-right { background:var(--bg-dark); border-radius:var(--radius-lg); color:#fff; }
.compare-vs {
    display:flex; align-items:center; justify-content:center;
    font-family:var(--font-num); font-size:24px; font-weight:800; color:var(--accent-gold);
}
.compare-col-list { list-style:none; margin-top:20px; }
.compare-col-list li { padding:16px 0; border-bottom:1px solid rgba(0,0,0,0.06); font-size:15px; line-height:1.6; display:flex; gap:10px; align-items:flex-start; }
.compare-col-list li:last-child { border-bottom:none; }
.compare-col-right .compare-col-list li { border-bottom-color:rgba(255,255,255,0.1); }
.compare-col-list li::before { content:'×'; flex-shrink:0; font-family:var(--font-num); font-size:18px; font-weight:700; color:#e05b4a; line-height:1.4; }
.compare-col-right .compare-col-list li::before { content:'✓'; color:var(--accent-lime); }
.compare-col-title { font-size:18px; font-weight:700; margin-bottom:4px; }
.compare-col-sub { font-size:13px; color:var(--text-secondary); }
.compare-col-right .compare-col-sub { color:rgba(255,255,255,0.6); }

/* Solution */
.solution-section { background:var(--card-bg); }
.solution-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.card { background:var(--card-bg); border:1px solid var(--border-color); border-radius:var(--radius-lg); overflow:hidden; transition:all 0.3s ease; box-shadow:var(--shadow-sm); }
.card:hover { box-shadow:var(--shadow-hover); transform:translateY(-4px); border-color:rgba(200,255,22,0.6); }
.card-img { position:relative; overflow:hidden; aspect-ratio:16/9; background:#e8e4dc; }
.card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.card:hover .card-img img { transform:scale(1.05); }
.card-badge {
    position:absolute; top:14px; left:14px; background:var(--accent-gold); color:#fff;
    padding:4px 12px; border-radius:50px; font-size:12px; font-weight:600; z-index:2;
}
.card-body { padding:22px 24px 26px; }
.card-body h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.card-body p { font-size:14px; color:var(--text-secondary); line-height:1.65; margin-bottom:14px; }
.card-meta { display:flex; justify-content:space-between; align-items:center; font-size:13px; color:var(--text-secondary); }
.card-meta .count { font-family:var(--font-num); font-size:15px; color:var(--accent-gold); font-weight:700; }
.card-link { font-size:14px; color:var(--text-primary); font-weight:500; text-decoration:underline; text-underline-offset:4px; transition:color 0.25s; }
.card-link:hover { color:#0B2B26; background:var(--accent-lime); }

.card-featured { grid-column:1 / -1; display:grid; grid-template-columns:1.2fr 1fr; }
.card-featured .card-img { aspect-ratio:auto; min-height:320px; }
.card-featured .card-body { display:flex; flex-direction:column; justify-content:center; padding:36px 40px; }
.card-featured .card-body h3 { font-size:26px; }
.card-featured .card-body p { font-size:16px; }

/* Stats */
.stats-section { background:var(--bg-dark); color:#fff; position:relative; overflow:hidden; }
.stats-section::before { content:''; position:absolute; top:0; left:0; width:100%; height:1px; background:linear-gradient(90deg, transparent, var(--accent-lime), transparent); }
.stats-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:40px; text-align:center; }
.stat-num { font-family:var(--font-num); font-size:60px; font-weight:800; color:var(--accent-lime); line-height:1; display:block; transition:transform 0.3s; }
.stat-item:hover .stat-num { transform:scale(1.08); color:var(--accent-gold); }
.stat-label { font-size:13px; color:rgba(255,255,255,0.6); margin-top:10px; letter-spacing:1px; }
.stat-divider { width:1px; height:60px; background:rgba(255,255,255,0.12); margin:auto; }
.stats-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; }
.stat-item { position:relative; }
.stat-item+.stat-item::before {
    content:''; position:absolute; left:-16px; top:10px; width:1px; height:60px; background:rgba(255,255,255,0.1);
}

/* News */
.news-section { background:var(--bg-light); }
.news-layout { display:grid; grid-template-columns:1fr 340px; gap:48px; }
.news-list { list-style:none; }
.news-list li { border-bottom:1px solid var(--border-color); transition:background 0.25s; }
.news-list li:last-child { border-bottom:none; }
.news-list a { display:block; padding:18px 12px; border-radius:8px; transition:background 0.25s; }
.news-list a:hover { background:var(--card-bg); }
.news-title { font-size:16px; font-weight:600; line-height:1.5; }
.news-date { font-size:13px; color:var(--text-secondary); margin-top:4px; }
.news-tag { display:inline-block; font-size:12px; color:var(--accent-gold); margin-right:8px; font-weight:600; }
.news-sidebar { background:var(--bg-dark); border-radius:var(--radius-lg); padding:28px; color:#fff; }
.news-sidebar h3 { font-size:18px; margin-bottom:20px; color:var(--accent-lime); }
.rank-list { list-style:none; }
.rank-list li { padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.08); }
.rank-list li:last-child { border-bottom:none; }
.rank-list .rank-num { font-family:var(--font-num); font-size:18px; font-weight:700; color:var(--accent-gold); margin-right:10px; }
.rank-list .rank-name { font-size:15px; font-weight:500; }
.rank-list .rank-meta { font-size:13px; color:rgba(255,255,255,0.55); margin-top:4px; }
.sidebar-cta { margin-top:20px; text-align:center; }

/* Guideline (Newbie) */
.guide-section { background:var(--card-bg); }
.guide-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; counter-reset:guide; }
.guide-step { position:relative; padding:32px 24px; background:var(--bg-light); border-radius:var(--radius-lg); border:1px solid var(--border-color); transition:all 0.3s; }
.guide-step:hover { border-color:var(--accent-lime); box-shadow:var(--shadow-hover); transform:translateY(-4px); }
.guide-step .step-num {
    font-family:var(--font-num); font-size:40px; font-weight:800; color:var(--accent-gold); line-height:1; display:block; margin-bottom:16px;
}
.guide-step h3 { font-size:17px; font-weight:700; margin-bottom:8px; }
.guide-step p { font-size:14px; color:var(--text-secondary); line-height:1.65; }

/* Testimonials */
.testi-section { background:var(--bg-light); }
.testi-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.testi-card { background:var(--card-bg); border-radius:var(--radius-lg); padding:32px; border:1px solid var(--border-color); border-top:4px solid var(--accent-lime); transition:all 0.3s; }
.testi-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-4px); }
.testi-avatar { width:52px; height:52px; border-radius:50%; background:var(--bg-dark); display:flex; align-items:center; justify-content:center; color:var(--accent-lime); font-size:20px; font-weight:700; margin-bottom:16px; }
.testi-text { font-size:15px; line-height:1.7; color:var(--text-primary); margin-bottom:16px; }
.testi-author { font-size:14px; font-weight:600; }
.testi-area { font-size:13px; color:var(--text-secondary); }

/* FAQ */
.faq-section { background:var(--card-bg); }
.faq-list { max-width:820px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border-color); }
.faq-item:first-child { border-top:1px solid var(--border-color); }
.faq-q { display:flex; gap:20px; align-items:flex-start; padding:22px 0; cursor:pointer; }
.faq-q .faq-num {
    font-family:var(--font-num); font-size:24px; font-weight:800; color:var(--accent-gold); line-height:1.2; flex-shrink:0;
    min-width:40px;
}
.faq-q h3 { font-size:16px; font-weight:600; flex:1; line-height:1.5; padding-top:2px; }
.faq-toggle {
    width:28px; height:28px; border-radius:50%; border:2px solid var(--border-color);
    display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--text-secondary);
    transition:all 0.3s; flex-shrink:0;
}
.faq-item.active .faq-toggle { border-color:var(--accent-lime); color:var(--accent-lime); transform:rotate(45deg); }
.faq-a {
    max-height:0; overflow:hidden; transition:max-height 0.4s ease; padding-left:60px;
}
.faq-item.active .faq-a { max-height:400px; padding-bottom:22px; }
.faq-a p { font-size:15px; color:var(--text-secondary); line-height:1.75; }

/* CTA */
.cta-section { background:var(--bg-dark); color:#fff; position:relative; overflow:hidden; padding:90px 0; }
.cta-section::before,
.cta-section::after {
    content:''; position:absolute; width:250px; height:250px; opacity:0.06;
    background:var(--accent-lime); clip-path:polygon(0 0, 100% 0, 100% 100%);
}
.cta-section::before { top:-50px; right:-80px; transform:rotate(12deg); }
.cta-section::after { bottom:-50px; left:-80px; transform:rotate(-12deg); z-index:0; }
.cta-inner { text-align:center; position:relative; z-index:2; }
.cta-inner h2 { font-size:34px; font-weight:800; margin-bottom:16px; }
.cta-inner p { font-size:17px; color:rgba(255,255,255,0.75); max-width:500px; margin:0 auto 32px; }

/* Footer */
.site-footer { background:var(--bg-dark); color:rgba(255,255,255,0.8); padding:60px 0 100px; border-top:1px solid rgba(255,255,255,0.06); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:48px; }
.footer-brand .logo { font-size:20px; margin-bottom:14px; }
.footer-brand p { font-size:14px; line-height:1.7; color:rgba(255,255,255,0.6); max-width:380px; }
.footer-col h4 { font-size:15px; color:#fff; margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a { font-size:14px; color:rgba(255,255,255,0.65); transition:color 0.25s; }
.footer-col ul a:hover { color:var(--accent-lime); }
.footer-bottom { margin-top:40px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.08); font-size:13px; color:rgba(255,255,255,0.4); display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; }

/* Mobile Tab */
.mobile-tab {
    display:none; position:fixed; bottom:0; left:0; width:100%; height:60px;
    background:var(--bg-dark); border-top:1px solid rgba(255,255,255,0.1);
    z-index:2000; justify-content:space-around; align-items:center;
    padding:0 env(safe-area-inset-bottom);
}
.mobile-tab a {
    display:flex; flex-direction:column; align-items:center; gap:4px;
    color:rgba(255,255,255,0.5); font-size:11px; padding:6px 12px; transition:color 0.25s;
}
.mobile-tab a.active { color:var(--accent-lime); }
.mobile-tab a .tab-icon { font-size:20px; line-height:1; }

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns:repeat(2, 1fr); gap:32px; }
    .stat-item+.stat-item::before { display:none; }
    .guide-grid { grid-template-columns:repeat(2, 1fr); }
    .testi-grid { grid-template-columns:repeat(2, 1fr); }
    .news-layout { grid-template-columns:1fr; }
    .compare-grid { grid-template-columns:1fr; }
    .compare-vs { padding:16px 0; }
    .card-featured { grid-template-columns:1fr; }
    .card-featured .card-body { padding:28px; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}

@media (max-width: 767px) {
    .site-header { display:none; }
    .mobile-tab { display:flex; }
    body { padding-bottom:60px; }
    :root { --spacing-section:48px; }
    .container { padding:0 16px; }
    .hero { padding:120px 0 64px; }
    .hero h1 { font-size:32px; }
    .hero-sub { font-size:17px; }
    .hero-cta { flex-direction:column; gap:12px; }
    .btn-lg { width:100%; }
    .hero-tags { gap:8px; }
    .hero-tags span { font-size:12px; padding:4px 10px; }

    .section-head h2 { font-size:26px; }
    .stats-grid { grid-template-columns:repeat(2, 1fr); gap:24px; }
    .stat-num { font-size:44px; }
    .guide-grid { grid-template-columns:1fr; gap:16px; }
    .testi-grid { grid-template-columns:1fr; }
    .news-layout { grid-template-columns:1fr; gap:32px; }
    .solution-grid { grid-template-columns:1fr; }
    .card-featured .card-body { padding:24px; }
    .compare-col { padding:24px 20px; }
    .footer-grid { grid-template-columns:1fr; gap:32px; }
    .site-footer { padding-bottom:80px; }
    .cta-section { padding:60px 0; }
    .cta-inner h2 { font-size:26px; }
    .faq-q .faq-num { font-size:20px; min-width:32px; }
    .faq-a { padding-left:52px; }
}

@media (max-width: 520px) {
    .hero h1 { font-size:28px; }
    .hero-tags { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; }
    .hero-tags span { flex-shrink:0; }
    .stat-num { font-size:36px; }
    .compare-col { padding:20px 16px; }
    .card-body { padding:18px 20px 22px; }
}
