/* roulang page: index */
:root {
      --primary-deep: #0B1A1A;
      --accent-cyan: #00E5A0;
      --accent-gold: #C9A96E;
      --bg-warm: #F7F5F0;
      --text-dark: #1a1a1a;
      --text-muted: #5a5a5a;
      --text-light: #8a8a8a;
      --white: #ffffff;
      --border-light: rgba(0,0,0,0.04);
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', '苹方', system-ui, -apple-system, sans-serif;
      --max-width: 1280px;
      --nav-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--white);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 16px;
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
    }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: transparent;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 40px;
    }

    /* 导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(255,255,255,0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--border-light);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--max-width);
      padding: 0 40px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 24px;
      color: var(--primary-deep);
    }
    .logo-dot {
      width: 10px;
      height: 10px;
      background: var(--accent-cyan);
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 8px var(--accent-cyan);
    }

    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
      list-style: none;
    }
    .nav-menu a {
      font-weight: 500;
      font-size: 16px;
      color: var(--text-dark);
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-cyan);
      transition: width 0.25s ease;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--accent-cyan);
    }
    .nav-menu a:hover::after,
    .nav-menu a.active::after {
      width: 100%;
    }

    /* 移动端导航隐藏，使用底部胶囊 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary-deep);
      backdrop-filter: blur(20px);
      border-radius: 40px;
      padding: 10px 24px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      z-index: 1100;
      gap: 20px;
      align-items: center;
    }
    .mobile-nav a {
      color: var(--white);
      font-size: 14px;
      font-weight: 500;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      opacity: 0.7;
    }
    .mobile-nav a i {
      font-size: 18px;
    }
    .mobile-nav a.active {
      opacity: 1;
      color: var(--accent-cyan);
    }

    /* 首屏 Hero */
    #hero {
      padding: calc(var(--nav-height) + 60px) 0 80px;
      background-color: var(--bg-warm);
      min-height: 90vh;
      display: flex;
      align-items: center;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .hero-left h1 {
      font-size: 56px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--primary-deep);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-left .subtitle {
      font-size: 18px;
      color: var(--accent-gold);
      margin-bottom: 40px;
      font-weight: 400;
    }
    .hero-btns {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent-cyan);
      color: var(--white);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      transition: all 0.2s ease;
      display: inline-block;
      font-size: 16px;
    }
    .btn-primary:hover {
      filter: brightness(1.1);
      transform: scale(1.02);
    }
    .btn-outline {
      border: 1.5px solid var(--accent-gold);
      color: var(--accent-gold);
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      background: var(--accent-gold);
      color: white;
    }
    .hero-right {
      position: relative;
    }
    .hero-img {
      width: 100%;
      border-radius: 20px;
      animation: floatScale 6s infinite alternate ease-in-out;
      box-shadow: var(--shadow-md);
    }
    @keyframes floatScale {
      0% { transform: scale(1); }
      100% { transform: scale(1.03); }
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 36px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--primary-deep);
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 18px;
      margin-bottom: 60px;
    }

    /* 亮点网格 */
    #advantages {
      background: var(--white);
    }
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 48px;
    }
    .adv-item {
      text-align: left;
    }
    .adv-icon {
      font-size: 32px;
      color: var(--accent-cyan);
      margin-bottom: 16px;
    }
    .adv-item h3 {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 8px;
    }
    .adv-item p {
      color: var(--text-muted);
    }

    /* 服务瀑布流 */
    #services {
      background: var(--bg-warm);
    }
    .services-masonry {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: var(--white);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .service-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }
    .service-content {
      padding: 20px;
    }
    .service-tag {
      display: inline-block;
      background: rgba(201, 169, 110, 0.15);
      color: var(--accent-gold);
      font-size: 13px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 8px;
    }
    .service-content h3 {
      font-size: 20px;
      font-weight: 500;
      margin: 8px 0;
    }

    /* 流程对比 */
    #process {
      background: var(--white);
    }
    .compare-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      position: relative;
    }
    .compare-col {
      padding: 30px;
      border-radius: var(--radius-card);
    }
    .old-way {
      background: #f0f0f0;
      color: #6b6b6b;
    }
    .fanya-way {
      background: #e6faf3;
      border: 1px solid var(--accent-cyan);
    }
    .compare-col h3 {
      font-size: 24px;
      margin-bottom: 20px;
    }
    .compare-list {
      list-style: none;
    }
    .compare-list li {
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .divider {
      width: 2px;
      background: var(--accent-gold);
      margin: 0 10px;
    }

    /* 案例数据 */
    #cases {
      background: var(--bg-warm);
    }
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 20px;
      scroll-snap-type: x mandatory;
    }
    .case-card {
      min-width: 280px;
      background: white;
      border-radius: var(--radius-card);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      scroll-snap-align: start;
      flex-shrink: 0;
    }
    .case-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--accent-cyan);
    }

    /* FAQ */
    #faq {
      background: var(--white);
    }
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    details {
      border-left: 4px solid var(--accent-cyan);
      background: #f9f9f9;
      margin-bottom: 16px;
      border-radius: 0 8px 8px 0;
      padding: 16px 24px;
      transition: background 0.2s;
    }
    details[open] {
      background: #f0faf6;
    }
    summary {
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
    }

    /* CTA 横幅 */
    #cta {
      background: var(--primary-deep);
      color: white;
      text-align: center;
      background-image: radial-gradient(circle at 20% 30%, #1e3a3a 0%, #0b1a1a 90%);
    }
    .cta-title {
      font-size: 40px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    /* 页脚 */
    .main-footer {
      background: var(--primary-deep);
      color: #ccc;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .hero-grid, .compare-row { grid-template-columns: 1fr; }
      .advantages-grid { grid-template-columns: repeat(2,1fr); }
      .services-masonry { grid-template-columns: repeat(2,1fr); }
      .footer-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .nav-menu { display: none; }
      .mobile-nav { display: flex; }
      .hero-left h1 { font-size: 36px; }
      .section-title { font-size: 28px; }
      .advantages-grid, .services-masonry { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }
