/* roulang page: index */
:root {
      --red: #C41E3A;
      --blue: #2C3E6B;
      --deep-blue: #1A2744;
      --cream: #FDFBF7;
      --gold: #E8B042;
      --gold-hover: #D4A030;
      --gray: #6B7B8D;
      --light-gray: #E8ECF1;
      --white: #FFFFFF;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --shadow-sm: 0 4px 20px rgba(44,62,107,0.08);
      --shadow-md: 0 8px 30px rgba(44,62,107,0.15);
      --transition: 0.25s ease;
      --font-serif: 'Noto Serif SC', serif;
      --font-sans: 'Inter', 'Noto Sans SC', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.75;
      background-color: var(--cream);
      color: var(--gray);
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    h1, h2, h3 {
      font-family: var(--font-serif);
      color: var(--blue);
    }
    h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -0.5px;
    }
    h2 {
      font-size: 36px;
      line-height: 1.3;
      font-weight: 700;
      margin-bottom: 16px;
    }
    h3 {
      font-size: 22px;
      line-height: 1.4;
      font-weight: 600;
      margin-bottom: 8px;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, textarea {
      font-family: var(--font-sans);
    }
    section {
      padding: 100px 0;
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
      h1 {
        font-size: 36px;
      }
      h2 {
        font-size: 28px;
      }
      h3 {
        font-size: 20px;
      }
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--cream);
      box-shadow: 0 1px 0 rgba(0,0,0,0.05);
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
    }
    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .logo {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 24px;
      color: var(--blue);
      letter-spacing: 1px;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--gray);
      position: relative;
      padding: 4px 0;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--red);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: var(--red);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: var(--blue);
      border-radius: 2px;
      transition: 0.3s;
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 72px;
      left: 0;
      width: 100%;
      background: var(--cream);
      flex-direction: column;
      padding: 24px;
      gap: 20px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      z-index: 999;
    }
    .mobile-menu a {
      font-size: 20px;
      font-weight: 500;
      color: var(--blue);
    }
    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .mobile-menu.active {
        display: flex;
      }
    }

    /* 按钮 */
    .btn {
      display: inline-block;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.25s ease;
      cursor: pointer;
      border: none;
      text-align: center;
    }
    .btn-primary {
      background: var(--gold);
      color: var(--blue);
    }
    .btn-primary:hover {
      background: var(--gold-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--red);
      color: var(--red);
    }
    .btn-outline:hover {
      background: var(--red);
      color: white;
      transform: translateY(-2px);
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--blue) 0%, var(--deep-blue) 100%);
      padding: 140px 0 100px;
      color: white;
      display: flex;
      align-items: center;
      min-height: 90vh;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }
    .hero-text {
      flex: 1 1 55%;
    }
    .hero-text h1 {
      color: white;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 18px;
      color: #cbd5e1;
      margin-bottom: 28px;
      max-width: 500px;
    }
    .hero-badges {
      display: flex;
      gap: 32px;
      margin-bottom: 36px;
    }
    .badge-item {
      display: flex;
      flex-direction: column;
    }
    .badge-number {
      font-family: var(--font-mono);
      font-size: 32px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1.2;
    }
    .badge-label {
      font-size: 14px;
      color: #e2e8f0;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image {
      flex: 1 1 40%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-card);
      min-height: 360px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    @media (max-width: 768px) {
      .hero-grid {
        flex-direction: column;
      }
      .hero-image {
        width: 100%;
        min-height: 240px;
        order: -1;
      }
      .hero-badges {
        gap: 20px;
      }
    }

    /* 功能 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--white);
      border: 1px solid var(--light-gray);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      transition: 0.3s;
      box-shadow: var(--shadow-sm);
    }
    .feature-card:hover {
      border-color: var(--red);
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .feature-icon {
      font-size: 42px;
      color: var(--red);
      margin-bottom: 16px;
    }
    @media (max-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 520px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 场景交替 */
    .scene-row {
      display: flex;
      gap: 48px;
      align-items: center;
      margin-bottom: 64px;
    }
    .scene-row.reverse {
      flex-direction: row-reverse;
    }
    .scene-img {
      flex: 1;
      border-radius: var(--radius-card);
      height: 280px;
      object-fit: cover;
      background: var(--light-gray);
    }
    .scene-content {
      flex: 1;
    }
    .tags {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 16px;
    }
    .tag {
      background: var(--cream);
      color: var(--blue);
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
    }
    @media (max-width: 768px) {
      .scene-row, .scene-row.reverse {
        flex-direction: column;
      }
      .scene-img {
        width: 100%;
      }
    }

    /* 案例卡片 */
    .cases-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .case-card {
      background: var(--light-gray);
      border-radius: var(--radius-card);
      padding: 28px;
      transition: 0.3s;
    }
    .case-card:hover {
      background: white;
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .case-logo {
      width: 60px;
      height: 60px;
      background: #ccc;
      border-radius: 8px;
      margin-bottom: 16px;
    }
    .case-highlight {
      font-family: var(--font-mono);
      font-size: 28px;
      font-weight: 700;
      color: var(--gold);
    }
    @media (max-width: 768px) {
      .cases-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 价格 */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }
    .pricing-card {
      background: white;
      border: 1px solid var(--light-gray);
      border-radius: var(--radius-card);
      padding: 36px 24px;
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: 0.3s;
    }
    .pricing-card.featured {
      border: 2px solid var(--gold);
      position: relative;
      transform: scale(1.02);
    }
    .popular-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gold);
      color: var(--blue);
      font-weight: 700;
      padding: 4px 18px;
      border-radius: 20px;
      font-size: 13px;
    }
    .price {
      font-family: var(--font-mono);
      font-size: 48px;
      color: var(--blue);
      font-weight: 700;
      margin: 20px 0;
    }
    .feature-list {
      list-style: none;
      text-align: left;
      margin: 24px 0;
    }
    .feature-list li {
      margin-bottom: 10px;
      color: var(--gray);
    }
    .feature-list i {
      color: var(--red);
      margin-right: 8px;
    }
    @media (max-width: 768px) {
      .pricing-grid {
        grid-template-columns: 1fr;
      }
      .pricing-card.featured {
        transform: none;
      }
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--light-gray);
      margin-bottom: 8px;
    }
    .faq-question {
      background: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      color: var(--blue);
      font-size: 18px;
      cursor: pointer;
      transition: 0.3s;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s;
      background: var(--light-gray);
      padding: 0 20px;
    }
    .faq-answer.open {
      max-height: 200px;
      padding: 20px;
    }
    .faq-icon {
      transition: 0.3s;
    }
    .rotate {
      transform: rotate(180deg);
    }

    /* CTA */
    .cta-band {
      background: var(--blue);
      padding: 80px 0;
      text-align: center;
    }
    .cta-band h2 {
      color: white;
    }
    .contact-form {
      max-width: 500px;
      margin: 32px auto 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .contact-form input, .contact-form textarea {
      width: 100%;
      padding: 12px 16px;
      border-radius: var(--radius-input);
      border: 1px solid var(--light-gray);
      background: white;
      font-size: 16px;
      transition: 0.2s;
    }
    .contact-form input:focus, .contact-form textarea:focus {
      outline: none;
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(196,30,58,0.2);
    }

    /* 页脚 */
    .footer {
      background: var(--deep-blue);
      color: #cbd5e1;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    .footer-logo {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }
    .footer a {
      color: #cbd5e1;
      display: block;
      margin-bottom: 8px;
    }
    .footer a:hover {
      color: var(--gold);
    }
    .copyright {
      margin-top: 40px;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
