/* roulang page: index */
:root {
      --primary: #1A5FDC;
      --primary-dark: #0F3D8C;
      --accent: #FF4D2E;
      --bg: #F7F9FC;
      --text: #1E293B;
      --text-secondary: #64748B;
      --border: #E2E8F0;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --shadow-card: 0 4px 16px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.02);
      --shadow-hover: 0 12px 28px rgba(0,0,0,0.08);
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
      --max-width: 1280px;
      --dock-bg: rgba(255,255,255,0.85);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      padding-top: 0;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 32px;
    }

    /* 浮动Dock导航 */
    .dock-nav {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 32px);
      max-width: 1100px;
      background: var(--dock-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 60px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.06);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 24px;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary-dark);
      letter-spacing: 0.5px;
      white-space: nowrap;
    }
    .logo span {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--text);
      padding: 6px 4px;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-links a:hover {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .btn-primary-nav {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.5px;
      transition: background 0.2s, box-shadow 0.2s;
      white-space: nowrap;
      box-shadow: 0 4px 10px rgba(26,95,220,0.25);
    }

    .btn-primary-nav:hover {
      background: var(--primary-dark);
      box-shadow: 0 6px 16px rgba(15,61,140,0.3);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 8px;
      z-index: 1001;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text);
      border-radius: 4px;
      transition: all 0.3s;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(20px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 36px;
      z-index: 999;
      transform: translateY(-100%);
      transition: transform 0.4s ease;
    }
    .mobile-menu.active {
      transform: translateY(0);
    }
    .mobile-menu a {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--text);
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
      scroll-margin-top: 90px;
    }

    h1 {
      font-family: var(--font-title);
      font-size: 44px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--text);
    }
    h2 {
      font-family: var(--font-title);
      font-size: 32px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text);
    }
    h3 {
      font-family: var(--font-title);
      font-size: 20px;
      font-weight: 500;
      color: var(--text);
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title p {
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    /* 按钮 */
    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 0.5px;
      transition: all 0.25s;
      cursor: pointer;
      border: none;
      background: transparent;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 12px rgba(26,95,220,0.2);
    }
    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15,61,140,0.25);
    }
    .btn-outline {
      border: 2px solid var(--primary);
      color: var(--primary);
      background: transparent;
    }
    .btn-outline:hover {
      background: rgba(26,95,220,0.08);
      border-color: var(--primary-dark);
      color: var(--primary-dark);
    }
    .btn-accent {
      background: var(--accent);
      color: white;
      box-shadow: 0 4px 12px rgba(255,77,46,0.2);
    }
    .btn-accent:hover {
      background: #e0442a;
      transform: translateY(-2px);
    }

    /* Hero */
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .hero-content h1 {
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-secondary);
      margin-bottom: 24px;
    }
    .hero-desc {
      margin-bottom: 32px;
      color: var(--text-secondary);
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image img {
      border-radius: 24px;
      box-shadow: 0 20px 35px rgba(0,0,0,0.08);
    }

    /* 优势网格 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .advantage-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px 28px;
      box-shadow: var(--shadow-card);
      transition: all 0.3s;
    }
    .advantage-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-6px);
    }
    .advantage-icon {
      width: 48px;
      height: 48px;
      background: rgba(26,95,220,0.08);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
      font-size: 1.6rem;
    }
    .advantage-card h3 {
      margin-bottom: 10px;
    }

    /* 案例瀑布流 */
    .cases-masonry {
      column-count: 3;
      column-gap: 24px;
    }
    .case-card {
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      margin-bottom: 24px;
      break-inside: avoid;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      display: inline-block;
      width: 100%;
    }
    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .case-img img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: auto;
    }
    .case-info {
      padding: 20px;
    }
    .case-tag {
      background: #EEF2FF;
      color: var(--primary);
      font-size: 0.8rem;
      padding: 4px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 8px;
    }

    /* 方案对比 */
    .compare-row {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      align-items: start;
    }
    .plan-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 40px 32px;
      box-shadow: var(--shadow-card);
    }
    .plan-premium {
      border: 2px solid var(--primary);
    }
    .vs-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--text-secondary);
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
    }
    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      padding: 24px 8px;
      font-size: 1.2rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--text);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #F1F5F9;
      border-radius: 8px;
      margin-bottom: 8px;
    }
    .faq-answer p {
      padding: 20px;
      color: var(--text-secondary);
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
    }

    /* 联系表单 */
    .contact-form {
      max-width: 640px;
      margin: 0 auto;
      background: white;
      border-radius: 24px;
      padding: 48px;
      box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    }
    .input-group {
      margin-bottom: 24px;
    }
    .input-group label {
      display: block;
      font-weight: 500;
      margin-bottom: 8px;
    }
    .input-group input,
    .input-group textarea {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-input);
      font-family: var(--font-body);
      transition: border 0.2s, box-shadow 0.2s;
    }
    .input-group input:focus,
    .input-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(26,95,220,0.1);
    }

    /* 页脚 */
    .footer {
      background: var(--primary-dark);
      color: #CBD5E1;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 3fr 2fr 2fr 3fr;
      gap: 40px;
    }
    .footer a {
      color: #CBD5E1;
    }
    .footer a:hover {
      color: white;
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .advantages-grid { grid-template-columns: repeat(2,1fr); }
      .cases-masonry { column-count: 2; }
      .compare-row { grid-template-columns: 1fr; }
      .vs-badge { margin: 20px 0; }
    }
    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .advantages-grid { grid-template-columns: 1fr; }
      .cases-masonry { column-count: 1; }
      .footer-grid { grid-template-columns: 1fr; }
      h1 { font-size: 32px; }
      section { padding: 70px 0; }
    }
