/* roulang page: index */
:root {
      --primary: #1e40af;
      --primary-hover: #1d4ed8;
      --primary-light: #eff6ff;
      --secondary: #0d9488;
      --secondary-hover: #0f766e;
      --accent: #f97316;
      --accent-hover: #ea580c;
      --bg-main: #f8fafc;
      --bg-card: #ffffff;
      --bg-dark: #0f172a;
      --bg-dark-card: #1e293b;
      --text-main: #0f172a;
      --text-muted: #475569;
      --text-light: #94a3b8;
      --border-color: #e2e8f0;
      --border-dark: #334155;
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      --font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    ul, ol {
      list-style: none;
    }

    button, input, select, textarea {
      font-family: inherit;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header & Nav */
    .top-bar {
      background: #0f172a;
      color: #94a3b8;
      font-size: 0.85rem;
      padding: 8px 0;
      border-bottom: 1px solid #1e293b;
    }
    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-bar-links {
      display: flex;
      gap: 20px;
    }
    .top-bar-links span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .site-header {
      background: #ffffff;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: var(--shadow-sm);
      border-bottom: 1px solid var(--border-color);
    }
    .site-header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--primary);
    }
    .brand-logo svg {
      width: 32px;
      height: 32px;
      fill: var(--primary);
    }
    .brand-badge {
      font-size: 0.75rem;
      background: var(--primary-light);
      color: var(--primary);
      padding: 2px 8px;
      border-radius: 99px;
      font-weight: 600;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .nav-link {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-muted);
      position: relative;
      padding: 8px 0;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary);
    }
    .nav-link.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .nav-cta {
      background: var(--primary);
      color: #ffffff !important;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      font-weight: 600;
      box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25);
    }
    .nav-cta:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }
    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-main);
    }

    /* Section Styles */
    section {
      padding: 80px 0;
    }
    .section-header {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 50px auto;
    }
    .section-tag {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary);
      background: var(--primary-light);
      padding: 4px 14px;
      border-radius: 99px;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .section-title {
      font-size: 2.15rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 16px;
      line-height: 1.3;
    }
    .section-desc {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Hero Section */
    .hero-section {
      padding: 60px 0 90px 0;
      background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 50px;
      align-items: center;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #ffffff;
      border: 1px solid #bfdbfe;
      padding: 6px 14px;
      border-radius: 99px;
      font-size: 0.85rem;
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 20px;
      box-shadow: var(--shadow-sm);
    }
    .hero-title {
      font-size: 2.85rem;
      line-height: 1.25;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }
    .hero-title span {
      color: var(--primary);
      position: relative;
    }
    .hero-p {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 32px;
    }
    .hero-actions {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .btn-primary {
      background: var(--primary);
      color: #ffffff;
      padding: 14px 30px;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 600;
      box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
    }
    .btn-secondary {
      background: #ffffff;
      color: var(--text-main);
      border: 1px solid var(--border-color);
      padding: 14px 26px;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-secondary:hover {
      background: #f1f5f9;
      border-color: #cbd5e1;
    }
    .hero-cert-bar {
      display: flex;
      gap: 24px;
      border-top: 1px solid #e2e8f0;
      padding-top: 24px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .hero-cert-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .hero-media {
      position: relative;
    }
    .hero-img-box {
      background: #ffffff;
      padding: 12px;
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
      border: 1px solid #e2e8f0;
    }
    .hero-img-box img {
      border-radius: var(--radius-md);
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /* Pain Points Section */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .pain-card {
      background: #ffffff;
      padding: 30px 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      position: relative;
      transition: var(--transition);
    }
    .pain-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: #cbd5e1;
    }
    .pain-num {
      font-size: 1.8rem;
      font-weight: 800;
      color: #cbd5e1;
      margin-bottom: 12px;
    }
    .pain-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #991b1b;
    }
    .pain-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Solutions Architecture Section */
    .solutions-section {
      background: #ffffff;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .sol-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }
    .sol-content h3 {
      font-size: 1.85rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--text-main);
    }
    .sol-content p {
      font-size: 0.98rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 24px;
    }
    .sol-points {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 30px;
    }
    .sol-item {
      background: #f8fafc;
      padding: 16px;
      border-radius: var(--radius-sm);
      border-left: 4px solid var(--primary);
    }
    .sol-item h4 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--text-main);
    }
    .sol-item span {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* Features Grid (6 宫格) */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feat-card {
      background: #ffffff;
      padding: 32px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .feat-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary);
    }
    .feat-icon {
      width: 48px;
      height: 48px;
      background: var(--primary-light);
      color: var(--primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 20px;
    }
    .feat-card h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
    }
    .feat-card p {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 16px;
    }
    .feat-metric {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--secondary);
      background: #ccfbf1;
      padding: 3px 10px;
      border-radius: 4px;
    }

    /* Product Versions (会员/版本体系对比) */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: stretch;
    }
    .prod-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      position: relative;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .prod-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
    }
    .prod-card.featured {
      border: 2px solid var(--primary);
      background: #ffffff;
      box-shadow: 0 12px 25px -5px rgba(30, 64, 175, 0.15);
    }
    .featured-badge {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 4px 16px;
      border-radius: 99px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }
    .prod-title {
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-main);
    }
    .prod-desc {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 20px;
      min-height: 44px;
    }
    .prod-price {
      font-size: 1.85rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 24px;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 20px;
    }
    .prod-price span {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--text-muted);
    }
    .prod-features {
      margin-bottom: 30px;
      flex-grow: 1;
    }
    .prod-features li {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .prod-features li::before {
      content: "✓";
      color: var(--secondary);
      font-weight: bold;
    }
    .prod-btn {
      width: 100%;
      padding: 12px 0;
      text-align: center;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.95rem;
    }
    .btn-outline {
      border: 1px solid var(--primary);
      color: var(--primary);
    }
    .btn-outline:hover {
      background: var(--primary-light);
    }

    /* Scenarios Section (深色沉浸区) */
    .scenarios-section {
      background: var(--bg-dark);
      color: #ffffff;
    }
    .scenarios-section .section-title {
      color: #ffffff;
    }
    .scenarios-section .section-desc {
      color: var(--text-light);
    }
    .scenario-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .scen-card {
      background: var(--bg-dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
    }
    .scen-card:hover {
      border-color: var(--primary);
      transform: translateY(-4px);
    }
    .scen-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
    .scen-content {
      padding: 24px;
    }
    .scen-content h3 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #ffffff;
    }
    .scen-content p {
      font-size: 0.88rem;
      color: var(--text-light);
      line-height: 1.6;
    }

    /* Case Studies Section */
    .case-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }
    .case-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 32px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: center;
      box-shadow: var(--shadow-sm);
    }
    .case-info h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .case-info p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 18px;
    }
    .case-stats {
      display: flex;
      gap: 16px;
    }
    .stat-item {
      background: #f8fafc;
      padding: 8px 12px;
      border-radius: 4px;
      border-left: 3px solid var(--secondary);
    }
    .stat-val {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--secondary);
    }
    .stat-label {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* Metrics Bar */
    .metrics-section {
      background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
      color: #ffffff;
      padding: 50px 0;
    }
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      text-align: center;
    }
    .metric-item {
      border-right: 1px solid rgba(255, 255, 255, 0.15);
      padding: 0 10px;
    }
    .metric-item:last-child {
      border-right: none;
    }
    .metric-num {
      font-size: 2.75rem;
      font-weight: 800;
      color: #38bdf8;
      margin-bottom: 6px;
      line-height: 1.1;
    }
    .metric-title {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .metric-sub {
      font-size: 0.8rem;
      color: #93c5fd;
    }

    /* Testimonials Section */
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testi-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 30px;
      box-shadow: var(--shadow-sm);
    }
    .testi-stars {
      color: #f59e0b;
      font-size: 1rem;
      margin-bottom: 14px;
    }
    .testi-quote {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
      font-style: italic;
    }
    .testi-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .author-avatar {
      width: 44px;
      height: 44px;
      background: #e2e8f0;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
    }
    .author-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text-main);
    }
    .author-role {
      font-size: 0.8rem;
      color: var(--text-light);
    }

    /* Insights Section */
    .insights-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .insight-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }
    .insight-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .insight-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .insight-body {
      padding: 24px;
    }
    .insight-date {
      font-size: 0.8rem;
      color: var(--text-light);
      margin-bottom: 8px;
    }
    .insight-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--text-main);
      line-height: 1.4;
    }
    .insight-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* FAQ Section */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 14px;
      overflow: hidden;
    }
    .faq-item summary {
      padding: 18px 24px;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-main);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: var(--transition);
    }
    .faq-item summary::-webkit-details-marker {
      display: none;
    }
    .faq-item summary::after {
      content: "+";
      font-size: 1.4rem;
      color: var(--primary);
      transition: transform 0.2s ease;
    }
    .faq-item[open] summary::after {
      transform: rotate(45deg);
    }
    .faq-item[open] summary {
      background: #f8fafc;
      border-bottom: 1px solid var(--border-color);
    }
    .faq-content {
      padding: 20px 24px;
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Consultation Form Section */
    .consultation-section {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: #ffffff;
    }
    .consult-box {
      max-width: 800px;
      margin: 0 auto;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-lg);
      padding: 40px;
      backdrop-filter: blur(10px);
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 24px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-group.full {
      grid-column: span 2;
    }
    .form-label {
      font-size: 0.85rem;
      color: #cbd5e1;
      font-weight: 500;
    }
    .form-input {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid #334155;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      color: #ffffff;
      font-size: 0.95rem;
      transition: var(--transition);
    }
    .form-input:focus {
      outline: none;
      border-color: #38bdf8;
      box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    }
    .form-submit {
      background: var(--accent);
      color: #ffffff;
      border: none;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      margin-top: 10px;
      width: 100%;
    }
    .form-submit:hover {
      background: var(--accent-hover);
    }

    /* Footer */
    .site-footer {
      background: #090d16;
      color: #94a3b8;
      padding: 60px 0 30px 0;
      border-top: 1px solid #1e293b;
      font-size: 0.9rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-logo {
      font-size: 1.35rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 14px;
    }
    .footer-desc {
      line-height: 1.65;
      margin-bottom: 16px;
      color: #64748b;
    }
    .footer-col h4 {
      font-size: 1rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 16px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      border-top: 1px solid #1e293b;
      padding-top: 24px;
      text-align: center;
      font-size: 0.8rem;
      color: #64748b;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .pain-grid, .scenario-grid, .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .features-grid, .products-grid, .insights-grid, .testi-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .metric-item:nth-child(2) {
        border-right: none;
      }
      .metric-item:nth-child(n+3) {
        margin-top: 20px;
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
      }
      .nav-menu.show {
        display: flex;
      }
      .mobile-toggle {
        display: block;
      }
      .hero-grid, .sol-grid, .case-grid {
        grid-template-columns: 1fr;
      }
      .hero-title {
        font-size: 2.15rem;
      }
      .pain-grid, .scenario-grid, .features-grid, .products-grid, .testi-grid, .insights-grid, .metrics-grid, .footer-grid {
        grid-template-columns: 1fr;
      }
      .metric-item {
        border-right: none;
        margin-top: 15px;
      }
      .case-card {
        grid-template-columns: 1fr;
      }
      .form-grid {
        grid-template-columns: 1fr;
      }
      .form-group.full {
        grid-column: span 1;
      }
      section {
        padding: 50px 0;
      }
    }
