/* roulang page: index */
:root {
      --ink: #171b27;
      --muted: #707687;
      --soft: #f7f8fb;
      --paper: #ffffff;
      --line: #e7e9ef;
      --pink: #e83f72;
      --pink-deep: #bf2857;
      --violet: #5e4ad7;
      --cyan: #18a5b8;
      --gold: #f0a72b;
      --shadow: 0 16px 42px rgba(35, 38, 58, .09);
      --small-shadow: 0 8px 24px rgba(35, 38, 58, .07);
      --radius: 18px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.75;
      letter-spacing: 0;
    }
    a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease, border-color .2s ease; }
    img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
    button, input { font: inherit; }
    button { cursor: pointer; }
    :focus-visible { outline: 3px solid rgba(232,63,114,.35); outline-offset: 3px; }
    .container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
    .section { padding: 92px 0; }
    .section-soft { background: var(--soft); }
    .section-dark { background: #202638; color: #fff; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
    .section-kicker { color: var(--pink); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
    .section-title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.25; letter-spacing: 0; font-weight: 800; }
    .section-desc { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
    .section-dark .section-desc { color: #b8bfd0; }
    .text-link { color: var(--pink-deep); font-weight: 700; white-space: nowrap; }
    .text-link:hover { color: var(--violet); }

    .site-header {
      position: sticky; top: 0; z-index: 20;
      background: rgba(255,255,255,.94);
      border-bottom: 1px solid rgba(231,233,239,.9);
      backdrop-filter: blur(16px);
    }
    .nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; font-weight: 800; }
    .brand-mark {
      width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
      background: var(--pink); color: #fff; box-shadow: 0 7px 16px rgba(232,63,114,.24); font-weight: 800;
    }
    .brand-name { font-size: 1.05rem; white-space: nowrap; }
    .main-nav { display: flex; align-items: center; gap: 6px; }
    .main-nav a { padding: 9px 13px; color: #676d7d; border-radius: 10px; font-size: .91rem; font-weight: 600; }
    .main-nav a:hover, .main-nav a.active { color: var(--pink-deep); background: #fff0f4; }
    .nav-action { padding: 11px 18px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 700; font-size: .88rem; }
    .nav-action:hover { background: var(--pink); transform: translateY(-1px); }
    .menu-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 11px; }

    .hero {
      min-height: 650px; position: relative; overflow: hidden; color: #fff;
      background: #202638 url("https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&w=1900&q=88") center/cover;
    }
    .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,27,39,.92) 0%, rgba(23,27,39,.72) 47%, rgba(23,27,39,.18) 100%); }
    .hero-inner { position: relative; z-index: 1; min-height: 650px; display: flex; align-items: center; }
    .hero-copy { max-width: 720px; padding: 76px 0; }
    .hero-tag { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #ffd1df; font-size: .82rem; font-weight: 700; }
    .hero h1 { margin: 22px 0 18px; font-size: clamp(2.55rem, 5.5vw, 5rem); line-height: 1.12; letter-spacing: 0; font-weight: 800; }
    .hero h1 em { color: #ff739a; font-style: normal; }
    .hero-lead { max-width: 680px; margin: 0; color: #e4e6ee; font-size: 1.1rem; line-height: 1.9; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .button-primary, .button-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 11px; font-weight: 700; transition: .2s ease; }
    .button-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px rgba(232,63,114,.28); }
    .button-primary:hover { background: #f25a88; color: #fff; transform: translateY(-2px); }
    .button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
    .button-ghost:hover { background: #fff; color: var(--ink); }
    .hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 42px; }
    .hero-stat strong { display: block; font-size: 1.55rem; line-height: 1.2; }
    .hero-stat span { color: #bfc5d4; font-size: .83rem; }

    .signal-bar { background: #fff; border-bottom: 1px solid var(--line); }
    .signal-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
    .signal-item { display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
    .signal-item:last-child { border: 0; }
    .signal-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff0f4; color: var(--pink-deep); font-weight: 800; }
    .signal-item strong { display: block; font-size: .97rem; }
    .signal-item span { display: block; color: var(--muted); font-size: .78rem; }

    .content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .content-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--small-shadow); transition: transform .25s ease, box-shadow .25s ease; }
    .content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .content-image { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
    .content-image img { height: 100%; transition: transform .4s ease; }
    .content-card:hover .content-image img { transform: scale(1.05); }
    .card-overlay { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; align-items: center; }
    .badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 7px; font-size: .7rem; line-height: 1.2; font-weight: 800; }
    .badge-pink { color: #a31d49; background: #ffe1eb; }
    .badge-dark { color: #fff; background: rgba(23,27,39,.78); }
    .card-body { padding: 17px 17px 18px; }
    .card-body h3 { margin: 0 0 7px; font-size: 1rem; line-height: 1.45; }
    .card-body p { min-height: 50px; margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
    .card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; color: var(--muted); font-size: .77rem; }
    .rating { color: var(--gold); font-weight: 800; }

    .topic-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
    .feature-panel { position: relative; min-height: 360px; overflow: hidden; border-radius: var(--radius); background: #28304a; color: #fff; }
    .feature-panel img { height: 100%; opacity: .65; }
    .feature-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,27,39,.9), rgba(23,27,39,.02)); }
    .feature-copy { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
    .feature-copy h3 { margin: 12px 0 6px; font-size: 1.65rem; }
    .feature-copy p { margin: 0; color: #d7dbe5; font-size: .87rem; }
    .topic-list { display: grid; gap: 14px; }
    .topic-item { display: flex; gap: 16px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s ease; }
    .topic-item:hover { border-color: #f0a5b9; transform: translateX(3px); }
    .topic-item img { width: 90px; height: 72px; border-radius: 10px; }
    .topic-item h3 { margin: 0 0 3px; font-size: .96rem; }
    .topic-item p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

    .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .category-card { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: .2s ease; }
    .category-card:hover { border-color: #f0a5b9; box-shadow: var(--small-shadow); }
    .category-number { color: var(--pink); font-weight: 800; font-size: .8rem; }
    .category-card h3 { margin: 12px 0 8px; font-size: 1.1rem; }
    .category-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.75; }

    .roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .road-step { position: relative; padding: 28px 24px 12px 0; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.15); }
    .road-step:last-child { border: 0; margin: 0; }
    .road-step span { color: #ff83a3; font-size: .8rem; font-weight: 800; }
    .road-step h3 { margin: 10px 0 8px; font-size: 1.08rem; }
    .road-step p { margin: 0; color: #c1c6d5; font-size: .82rem; line-height: 1.7; }

    .ranking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
    .ranking-list { margin: 0; list-style: none; }
    .rank-row { display: grid; grid-template-columns: 42px 1fr auto auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .rank-row:first-child { padding-top: 0; }
    .rank-no { color: #b4b9c5; font-size: 1.2rem; font-weight: 800; }
    .rank-row:nth-child(-n+3) .rank-no { color: var(--pink); }
    .rank-title { font-weight: 700; font-size: .94rem; }
    .rank-type { color: var(--muted); font-size: .73rem; }
    .heat { color: var(--pink-deep); font-size: .8rem; font-weight: 700; }
    .rank-score { color: var(--gold); font-weight: 800; font-size: .82rem; }
    .quote-box { padding: 30px; background: #fff0f4; border-radius: var(--radius); }
    .quote-mark { color: var(--pink); font-size: 3.4rem; line-height: .8; font-family: Georgia, serif; }
    .quote-box blockquote { margin: 12px 0 24px; color: #3f4350; font-size: 1.12rem; line-height: 1.8; }
    .quote-user { display: flex; align-items: center; gap: 12px; }
    .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .quote-user strong { display: block; font-size: .86rem; }
    .quote-user span { display: block; color: var(--muted); font-size: .75rem; }

    .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .news-card { display: grid; grid-template-columns: 112px 1fr; gap: 15px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s ease; }
    .news-card:hover { box-shadow: var(--small-shadow); transform: translateY(-3px); }
    .news-card img { height: 92px; border-radius: 10px; }
    .news-date { color: var(--pink); font-size: .72rem; font-weight: 700; }
    .news-card h3 { margin: 5px 0 0; font-size: .91rem; line-height: 1.55; }

    .faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: start; }
    .faq-intro p { color: var(--muted); font-size: .92rem; }
    .faq-list { display: grid; gap: 10px; }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-item summary { position: relative; padding: 17px 34px 17px 0; cursor: pointer; list-style: none; font-weight: 700; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; position: absolute; right: 3px; color: var(--pink); font-size: 1.3rem; font-weight: 400; }
    .faq-item[open] summary::after { content: "−"; }
    .faq-item p { margin: -4px 0 17px; color: var(--muted); font-size: .86rem; line-height: 1.8; }

    .cta-section { padding: 76px 0; background: #f9dce5; }
    .cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    .cta-box h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
    .cta-box p { max-width: 650px; margin: 0; color: #68616a; }
    .cta-box .button-primary { flex: 0 0 auto; }

    footer { background: #181c29; color: #fff; padding: 64px 0 24px; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; padding-bottom: 48px; }
    .footer-brand p { max-width: 300px; margin: 16px 0 0; color: #9da4b7; font-size: .84rem; line-height: 1.8; }
    footer h3 { margin: 0 0 15px; font-size: .95rem; }
    footer ul { margin: 0; list-style: none; }
    footer li { margin: 8px 0; color: #9da4b7; font-size: .82rem; }
    footer a:hover { color: #ff83a3; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #81899d; font-size: .75rem; }

    @media (max-width: 1024px) {
      .container { width: min(var(--container), calc(100% - 36px)); }
      .main-nav { gap: 0; }
      .main-nav a { padding: 8px 8px; font-size: .82rem; }
      .content-grid { grid-template-columns: repeat(3, 1fr); }
      .news-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .section { padding: 68px 0; }
      .nav-wrap { min-height: 68px; }
      .brand { min-width: 0; }
      .brand-name { font-size: .9rem; }
      .menu-toggle { display: block; }
      .main-nav { display: none; position: absolute; left: 18px; right: 18px; top: 76px; padding: 10px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
      .main-nav.is-open { display: flex; }
      .main-nav a, .nav-action { display: block; text-align: center; }
      .signal-inner { grid-template-columns: repeat(2, 1fr); }
      .signal-item:nth-child(2) { border: 0; }
      .hero, .hero-inner { min-height: 590px; }
      .hero-copy { padding: 65px 0; }
      .hero-lead { font-size: 1rem; }
      .topic-layout, .ranking-layout, .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
      .category-grid { grid-template-columns: repeat(2, 1fr); }
      .roadmap { grid-template-columns: repeat(2, 1fr); gap: 18px; }
      .road-step { border-right: 0; margin: 0; padding: 18px 8px 10px 0; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 520px) {
      .container { width: min(var(--container), calc(100% - 28px)); }
      .section-head { display: block; }
      .section-head .text-link { display: inline-block; margin-top: 14px; }
      .hero h1 { font-size: 2.45rem; }
      .hero-actions { display: grid; }
      .hero-actions a { width: 100%; }
      .hero-stats { gap: 18px; }
      .signal-inner { grid-template-columns: 1fr; gap: 13px; }
      .signal-item { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
      .signal-item:last-child { border-bottom: 0; }
      .content-grid, .category-grid, .news-grid { grid-template-columns: 1fr; }
      .feature-panel { min-height: 310px; }
      .rank-row { grid-template-columns: 30px 1fr auto; gap: 8px; }
      .rank-score { display: none; }
      .cta-box { display: block; }
      .cta-box .button-primary { margin-top: 22px; width: 100%; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
      .footer-bottom { display: block; }
      .footer-bottom span { display: block; margin-top: 7px; }
    }
