/* roulang page: index */
:root {
      --primary: #C8102E;
      --primary-deep: #A00D24;
      --secondary: #1A1A1A;
      --bg: #F8F6F3;
      --accent: #D4AF37;
      --text: #1A1A1A;
      --text-soft: #5C5C5C;
      --text-light: #B0B0B0;
      --border: #E5E0D8;
      --white: #FFFFFF;
      --card-bg: #FFFFFF;
      --radius-card: 8px;
      --radius-btn: 6px;
      --radius-input: 4px;
      --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.06);
      --shadow-card-hover: 0 2px 6px rgba(0,0,0,0.06), 0 12px 28px rgba(0,0,0,0.10);
      --transition: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1.2);
      --font-serif: 'Noto Serif SC', 'Source Han Serif SC', serif;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --max-width: 1280px;
      --header-height: 92px;
      --nav-brand-height: 48px;
      --nav-channel-height: 44px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    button, input, textarea {
      font-family: var(--font-sans);
    }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      border: 0;
    }
    /* 导航吸顶结构 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid transparent;
      transition: all 0.3s ease;
      box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    }
    .header.scrolled {
      backdrop-filter: blur(12px);
      background: rgba(255,255,255,0.85);
      border-bottom: 1px solid var(--border);
    }
    .brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: var(--nav-brand-height);
      padding: 0 24px;
      max-width: var(--max-width);
      margin: 0 auto;
      transition: all 0.3s ease;
    }
    .header.scrolled .brand-row {
      height: 0;
      opacity: 0;
      overflow: hidden;
      padding-top: 0;
      padding-bottom: 0;
      margin-top: 0;
      margin-bottom: 0;
    }
    .logo {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 20px;
      color: var(--primary);
      letter-spacing: 0.5px;
      transition: var(--transition);
    }
    .brand-actions {
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--text-soft);
      font-size: 14px;
    }
    .brand-actions i {
      font-size: 18px;
      cursor: pointer;
    }
    .brand-actions .contact-link {
      color: var(--secondary);
      font-weight: 500;
    }
    .brand-actions .contact-link:hover {
      color: var(--accent);
    }
    .channel-row {
      display: flex;
      align-items: center;
      justify-content: center;
      height: var(--nav-channel-height);
      background: var(--white);
      border-top: 1px solid var(--border);
      transition: all 0.3s ease;
      position: relative;
      padding: 0 24px;
    }
    .header.scrolled .channel-row {
      height: 56px;
      border-top: none;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      font-weight: 500;
      font-size: 15px;
      color: var(--secondary);
    }
    .nav-links a {
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      transform: scaleX(0);
      transition: transform 0.2s;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      transform: scaleX(1);
    }
    .hot-tags {
      display: flex;
      gap: 8px;
      margin-left: 32px;
    }
    .tag-pill {
      background: #f0ede8;
      color: var(--text-soft);
      font-size: 13px;
      padding: 4px 12px;
      border-radius: 20px;
      font-weight: 500;
      white-space: nowrap;
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--secondary);
    }
    @media (max-width: 1023px) {
      .hot-tags {
        display: none;
      }
      .nav-links {
        gap: 20px;
        font-size: 14px;
      }
    }
    @media (max-width: 767px) {
      .brand-row {
        padding: 0 16px;
      }
      .channel-row {
        justify-content: space-between;
        padding: 0 16px;
      }
      .menu-toggle {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        box-shadow: var(--shadow-card);
        border-bottom: 1px solid var(--border);
      }
      .nav-links.open {
        display: flex;
      }
    }
    /* 区块通用 */
    section {
      padding: 100px 0;
    }
    @media (max-width: 767px) {
      section {
        padding: 60px 0;
      }
    }
    .section-title {
      font-family: var(--font-serif);
      font-size: 40px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.3px;
      margin-bottom: 24px;
      position: relative;
      padding-left: 16px;
    }
    .section-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 3px;
      height: 24px;
      background: var(--accent);
    }
    /* Hero */
    .hero {
      padding: 160px 0 100px;
      background: var(--bg);
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-left {
      flex: 0 0 55%;
    }
    .hero-right {
      flex: 0 0 45%;
      position: relative;
    }
    .hero h1 {
      font-family: var(--font-serif);
      font-size: 56px;
      line-height: 1.15;
      letter-spacing: -0.5px;
      color: var(--secondary);
      margin-bottom: 24px;
    }
    .hero-sub {
      font-size: 18px;
      line-height: 1.6;
      color: var(--text-soft);
      margin-bottom: 32px;
      max-width: 500px;
    }
    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-block;
      font-weight: 600;
      font-size: 14px;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      text-align: center;
      transition: var(--transition);
      cursor: pointer;
      border: none;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
    }
    .btn-primary:hover {
      background: var(--primary-deep);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--secondary);
      color: var(--secondary);
    }
    .btn-outline:hover {
      background: var(--secondary);
      color: white;
    }
    .hero-image-box {
      background: url('/assets/images/backpic/hero-main.webp') center/cover no-repeat;
      width: 100%;
      aspect-ratio: 16 / 12;
      border-radius: var(--radius-card);
      position: relative;
      overflow: hidden;
    }
    .geo-ring {
      position: absolute;
      border-radius: 50%;
      border: 2px solid;
      opacity: 0.15;
      animation: floatRing 6s infinite alternate ease-in-out;
    }
    .ring-red {
      width: 160px;
      height: 160px;
      top: 20px;
      right: -30px;
      border-color: var(--primary);
      animation-duration: 5s;
    }
    .ring-gold {
      width: 100px;
      height: 100px;
      bottom: 30px;
      left: -20px;
      border-color: var(--accent);
      animation-duration: 7s;
    }
    @keyframes floatRing {
      0% { transform: translateY(0) rotate(0deg); }
      100% { transform: translateY(-8px) rotate(4deg); }
    }
    @media (max-width: 1023px) {
      .hero-grid {
        flex-direction: column;
      }
      .hero-left, .hero-right {
        flex: auto;
      }
      .hero h1 {
        font-size: 48px;
      }
      .hero-image-box {
        aspect-ratio: 16/9;
      }
    }
    @media (max-width: 767px) {
      .hero h1 {
        font-size: 36px;
      }
      .hero-sub {
        font-size: 16px;
      }
    }
    /* 亮点网格 */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .highlight-card {
      padding: 32px;
      border-radius: var(--radius-card);
      transition: var(--transition);
      box-shadow: var(--shadow-card);
    }
    .highlight-card:nth-child(odd) {
      background: var(--secondary);
      color: white;
    }
    .highlight-card:nth-child(odd) .highlight-icon {
      color: var(--accent);
    }
    .highlight-card:nth-child(odd) p {
      color: var(--text-light);
    }
    .highlight-card:nth-child(even) {
      background: var(--white);
    }
    .highlight-card:nth-child(even) .highlight-icon {
      color: var(--accent);
    }
    .highlight-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-card-hover);
    }
    .highlight-icon {
      font-size: 36px;
      margin-bottom: 20px;
    }
    .highlight-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    @media (max-width: 1023px) {
      .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 767px) {
      .highlights-grid {
        grid-template-columns: 1fr;
      }
    }
    /* 案例瀑布 */
    .cases-waterfall {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .case-col {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .case-card {
      background: var(--white);
      border-radius: var(--radius-card);
      border: 1px solid var(--border);
      overflow: hidden;
      transition: var(--transition);
    }
    .case-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }
    .case-img {
      width: 100%;
      aspect-ratio: 16/10;
      object-fit: cover;
    }
    .case-body {
      padding: 20px;
    }
    .case-body h3 {
      font-size: 20px;
      margin-bottom: 8px;
    }
    .case-desc {
      font-size: 14px;
      color: var(--text-soft);
      margin-bottom: 12px;
    }
    .tag-group {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .tag {
      background: #f0ede8;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 4px;
      color: var(--text-soft);
    }
    @media (max-width: 1023px) {
      .cases-waterfall {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 767px) {
      .cases-waterfall {
        grid-template-columns: 1fr;
      }
    }
    /* 方案对比 */
    .compare-panel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      background: var(--border);
      border-radius: var(--radius-card);
      overflow: hidden;
    }
    .compare-col {
      padding: 40px 32px;
    }
    .compare-left {
      background: #F0EDE8;
    }
    .compare-right {
      background: radial-gradient(circle at 80% 20%, rgba(200,16,46,0.06) 0%, transparent 60%);
      position: relative;
    }
    .compare-col h3 {
      font-size: 24px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .compare-left h3 {
      text-decoration: line-through;
      color: var(--text-soft);
    }
    .compare-right h3 {
      color: var(--primary);
      border-bottom: 2px solid var(--accent);
      display: inline-block;
      padding-bottom: 4px;
    }
    .compare-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      font-size: 16px;
    }
    .compare-left .compare-item {
      color: var(--text-soft);
    }
    .compare-right .compare-item {
      color: var(--secondary);
      font-weight: 500;
    }
    @media (max-width: 767px) {
      .compare-panel {
        grid-template-columns: 1fr;
      }
    }
    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 24px 0;
      display: flex;
      gap: 24px;
    }
    .faq-num {
      font-family: var(--font-serif);
      font-size: 40px;
      color: var(--primary);
      opacity: 0.25;
      line-height: 1;
      width: 50px;
    }
    .faq-content {
      flex: 1;
    }
    .faq-question {
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-soft);
      padding-top: 0;
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-top: 16px;
    }
    .faq-item.open .faq-num {
      opacity: 0.8;
    }
    /* CTA */
    .cta-section {
      background: var(--secondary);
      color: white;
    }
    .cta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .cta-left h2 {
      font-family: var(--font-serif);
      font-size: 36px;
      margin-bottom: 16px;
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-input {
      width: 100%;
      padding: 14px;
      border-radius: var(--radius-input);
      border: 1px solid transparent;
      background: rgba(255,255,255,0.1);
      color: white;
      font-size: 16px;
      transition: 0.2s;
    }
    .form-input:focus {
      outline: none;
      border-color: var(--primary);
      background: rgba(255,255,255,0.15);
    }
    .cta-right .info-card {
      background: rgba(255,255,255,0.05);
      padding: 28px;
      border-radius: var(--radius-card);
    }
    .info-item {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      color: #ddd;
    }
    .info-item i {
      color: var(--accent);
    }
    @media (max-width: 767px) {
      .cta-grid {
        grid-template-columns: 1fr;
      }
    }
    footer {
      background: #111;
      color: #5C5C5C;
      padding: 24px 0;
      font-size: 14px;
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-links a {
      margin-left: 24px;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    @media (max-width: 767px) {
      .footer-inner {
        flex-direction: column;
        gap: 12px;
      }
    }
