/* roulang page: index */
:root {
      --primary: #0F766E;
      --primary-hover: #115E59;
      --secondary: #10B981;
      --accent: #F97316;
      --accent-hover: #EA580C;
      --bg-light: #F8FAFC;
      --bg-alt: #F1F5F9;
      --bg-dark: #0F172A;
      --text-main: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --border-color: rgba(226, 232, 240, 0.9);
      --radius: 10px;
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 20px 25px -5px rgba(15, 118, 110, 0.12);
      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * { box-sizing: border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: var(--text-body);
      background-color: var(--bg-light);
      line-height: 1.65;
      margin: 0;
      padding: 0;
      letter-spacing: -0.01em;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-main);
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    h1 { font-size: 2.4rem; line-height: 1.25; }
    h2 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 0.75rem; }
    h3 { font-size: 1.35rem; line-height: 1.4; }
    p { margin-bottom: 1rem; }
    a { color: var(--primary); text-decoration: none; transition: var(--transition); }
    a:hover { color: var(--primary-hover); }

    /* Sticky Portal Nav */
    .portal-header {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .portal-header-top {
      padding: 0.6rem 0;
      border-bottom: 1px solid rgba(241, 245, 249, 0.8);
      font-size: 0.875rem;
    }
    .brand-logo {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--primary);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .brand-logo i { color: var(--secondary); font-size: 1.4rem; }
    .portal-header-bottom {
      padding: 0.5rem 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-links {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 1.25rem;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-body);
      font-size: 0.95rem;
      font-weight: 500;
      padding: 0.35rem 0.5rem;
      border-radius: 6px;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
      background: rgba(15, 118, 110, 0.08);
    }
    .hot-capsules {
      display: flex;
      gap: 0.4rem;
      align-items: center;
    }
    .capsule-tag {
      font-size: 0.75rem;
      background: #F1F5F9;
      color: var(--text-muted);
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
      border: 1px solid #E2E8F0;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      padding: 0.65rem 1.4rem;
      border-radius: 6px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      font-size: 0.95rem;
      min-height: 44px;
    }
    .btn-primary {
      background: var(--primary);
      color: #ffffff !important;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
    }
    .btn-accent {
      background: var(--accent);
      color: #ffffff !important;
    }
    .btn-accent:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    }
    .btn-outline {
      background: transparent;
      border-color: var(--border-color);
      color: var(--text-body);
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: #ffffff;
    }

    /* Common Section */
    section {
      padding: 4.5rem 0;
      position: relative;
    }
    .section-alt {
      background-color: var(--bg-alt);
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: #F8FAFC;
    }
    .section-dark h2, .section-dark h3, .section-dark h4 {
      color: #ffffff;
    }
    .section-dark p {
      color: #94A3B8;
    }
    .section-title-wrap {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 3rem auto;
    }
    .section-badge {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 0.25rem 0.8rem;
      background: rgba(15, 118, 110, 0.1);
      color: var(--primary);
      border-radius: 20px;
      margin-bottom: 0.8rem;
    }
    .section-badge-dark {
      background: rgba(16, 185, 129, 0.2);
      color: var(--secondary);
    }
    .section-title-wrap p {
      font-size: 1.05rem;
      color: var(--text-muted);
    }

    /* Cards */
    .card-custom {
      background: #ffffff;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      padding: 1.8rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .card-custom:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
      border-color: rgba(15, 118, 110, 0.3);
    }
    .card-icon {
      width: 52px;
      height: 52px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 1.25rem;
      background: rgba(15, 118, 110, 0.08);
      color: var(--primary);
    }

    /* Hero Section (API / Developer Style) */
    .hero-section {
      background: linear-gradient(135deg, #0F172A 0%, #134E4A 100%);
      color: #ffffff;
      padding: 5rem 0 4.5rem 0;
      position: relative;
      overflow: hidden;
    }
    .hero-bg-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: url('/assets/images/39daf27e126d84d5.jpg');
      background-size: cover;
      background-position: center;
      opacity: 0.12;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-title {
      color: #ffffff;
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 1.2rem;
      line-height: 1.2;
    }
    .hero-title span {
      color: #34D399;
    }
    .hero-lead {
      color: #CBD5E1;
      font-size: 1.08rem;
      line-height: 1.7;
      margin-bottom: 1.8rem;
    }
    .code-terminal {
      background: #090D16;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(0,0,0,0.4);
      font-family: Consolas, Monaco, "Courier New", Courier, monospace;
      font-size: 0.85rem;
    }
    .terminal-header {
      background: #1E293B;
      padding: 0.5rem 0.8rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .terminal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
    .dot-red { background: #EF4444; }
    .dot-yellow { background: #F59E0B; }
    .dot-green { background: #10B981; }
    .terminal-body {
      padding: 1.2rem;
      color: #E2E8F0;
      overflow-x: auto;
    }
    .code-cyan { color: #38BDF8; }
    .code-green { color: #34D399; }
    .code-orange { color: #FB923C; }

    /* Metric Bar */
    .metric-strip {
      background: #ffffff;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 2.5rem 0;
    }
    .metric-item {
      text-align: center;
      padding: 0.5rem 1rem;
    }
    .metric-num {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 0.4rem;
      font-variant-numeric: tabular-nums;
    }
    .metric-label {
      font-size: 0.9rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Workflow Steps */
    .step-node {
      position: relative;
      background: #ffffff;
      padding: 1.5rem;
      border-radius: var(--radius);
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }
    .step-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--primary);
      opacity: 0.25;
      line-height: 1;
      margin-bottom: 0.5rem;
    }

    /* Story Card */
    .story-card {
      background: #ffffff;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      margin-bottom: 2rem;
    }
    .story-card img {
      width: 100%;
      height: 100%;
      min-height: 260px;
      object-fit: cover;
    }
    .story-card-body {
      padding: 2.2rem;
    }

    /* Testimonial Quote */
    .quote-box {
      background: #ffffff;
      border-radius: var(--radius);
      padding: 1.8rem;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
    .quote-author {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 1.2rem;
    }
    .quote-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #E2E8F0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-weight: bold;
    }

    /* Accordion FAQ */
    .accordion-title {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-main);
      padding: 1.2rem 1.5rem;
      border: 1px solid var(--border-color);
      background: #ffffff;
      margin-bottom: 0.5rem;
      border-radius: 6px;
    }
    .accordion-content {
      padding: 1.2rem 1.5rem;
      border: 1px solid var(--border-color);
      border-top: none;
      background: #FAFAFA;
      margin-top: -0.5rem;
      margin-bottom: 0.5rem;
      border-radius: 0 0 6px 6px;
      color: var(--text-body);
    }

    /* Lead Form Area */
    .lead-box {
      background: linear-gradient(135deg, #0F766E 0%, #115E59 100%);
      border-radius: 12px;
      padding: 3rem 2rem;
      color: #ffffff;
      box-shadow: 0 10px 30px rgba(15, 118, 110, 0.2);
    }
    .form-inline-wrap {
      display: flex;
      gap: 10px;
      max-width: 600px;
      margin: 1.5rem auto 0 auto;
    }
    .form-inline-wrap input {
      height: 46px;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      padding: 0 1rem;
      background: rgba(255, 255, 255, 0.95);
      font-size: 0.95rem;
      margin-bottom: 0;
    }

    /* Footer */
    .site-footer {
      background: #0B1120;
      color: #94A3B8;
      padding: 4rem 0 2rem 0;
      font-size: 0.9rem;
      border-top: 1px solid #1E293B;
    }
    .site-footer h5 {
      color: #ffffff;
      font-size: 1rem;
      margin-bottom: 1.2rem;
    }
    .footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .footer-links li {
      margin-bottom: 0.6rem;
    }
    .footer-links a {
      color: #94A3B8;
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      margin-top: 3rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.8rem;
    }

    @media (max-width: 768px) {
      .hero-title { font-size: 2rem; }
      .portal-header-bottom { flex-direction: column; gap: 0.8rem; }
      .form-inline-wrap { flex-direction: column; }
      .form-inline-wrap input, .form-inline-wrap button { width: 100%; }
      .nav-links { flex-wrap: wrap; justify-content: center; }
    }
