﻿:root {
      --primary-green: #4caf50;
      --dark-green: #388e3c;
      --light-green: #c8e6c9;
      --soft-green: #edf7ee;
      --light-gray: #f5f5f5;
      --medium-gray: #e0e0e0;
      --dark-gray: #616161;
      --text: #333333;
      --white: #ffffff;
      --code-bg: #17212b;
      --shadow: 0 5px 15px rgba(0, 0, 0, .06);
      --shadow-strong: 0 10px 30px rgba(0, 0, 0, .12);
      font-family: "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: #f9f9f9;
      color: var(--text);
      line-height: 1.65;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    }

    .nav-container,
    .container,
    .footer-content {
      width: min(1200px, calc(100% - 40px));
      margin: 0 auto;
    }

    .nav-container {
      min-height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-weight: 800;
      color: var(--dark-green);
      font-size: 24px;
      letter-spacing: 0;
    }

    .logo-icon {
      width: 42px;
      height: 42px;
      display: block;
      object-fit: contain;
      padding: 4px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: inset 0 0 0 1px rgba(56, 142, 60, .18), 0 5px 14px rgba(56, 142, 60, .12);
    }

    .logo span {
      color: var(--primary-green);
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
      color: var(--dark-gray);
      font-weight: 600;
    }

    .nav-menu a {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      border-bottom: 2px solid transparent;
      transition: color .2s ease, border-color .2s ease;
    }

    .nav-menu a:hover,
    .nav-menu .active {
      color: var(--primary-green);
      border-bottom-color: var(--primary-green);
    }

    .mobile-menu-btn {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--medium-gray);
      border-radius: 8px;
      background: var(--white);
      color: var(--dark-gray);
      font-size: 22px;
      cursor: pointer;
    }

    .container {
      padding: 20px 0;
    }

    .hero-section {
      display: flex;
      align-items: center;
      gap: 40px;
      margin-bottom: 42px;
      padding: 50px;
      border: 1px solid rgba(76, 175, 80, .12);
      border-radius: 10px;
      background: linear-gradient(135deg, var(--light-green) 0%, #ffffff 100%);
      box-shadow: var(--shadow);
    }

    .hero-content {
      flex: 1;
      min-width: 0;
    }

    .hero-title {
      margin-bottom: 20px;
      color: var(--dark-green);
      font-size: clamp(32px, 4.2vw, 42px);
      line-height: 1.2;
      letter-spacing: 0;
    }

    .hero-description {
      margin-bottom: 28px;
      color: var(--dark-gray);
      font-size: 18px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 24px;
    }

    .download-btn,
    .ghost-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 28px;
      border-radius: 5px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }

    .download-btn {
      border: 1px solid var(--primary-green);
      background: var(--primary-green);
      color: var(--white);
    }

    .download-btn:hover {
      background: var(--dark-green);
      border-color: var(--dark-green);
      transform: translateY(-1px);
    }

    .ghost-btn {
      border: 1px solid var(--medium-gray);
      background: var(--white);
      color: var(--dark-green);
    }

    .ghost-btn:hover {
      border-color: var(--primary-green);
      transform: translateY(-1px);
    }

    .hero-meta {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .meta-item {
      padding: 12px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .72);
      border: 1px solid rgba(76, 175, 80, .14);
    }

    .meta-item span {
      display: block;
      color: var(--dark-gray);
      font-size: 13px;
    }

    .meta-item strong {
      display: block;
      margin-top: 4px;
      color: var(--dark-green);
      font-size: 15px;
    }

    .hero-image {
      flex: 1;
      min-width: 340px;
    }

    .hero-image img {
      width: 100%;
      border-radius: 10px;
      background: var(--white);
      box-shadow: var(--shadow-strong);
      aspect-ratio: 4 / 3;
      object-fit: cover;
      object-position: top center;
    }

    .section-title {
      margin: 8px 0 40px;
      color: var(--dark-green);
      font-size: clamp(26px, 3vw, 32px);
      line-height: 1.25;
      text-align: center;
      letter-spacing: 0;
      position: relative;
    }

    .section-title::after {
      content: "";
      display: block;
      width: 80px;
      height: 3px;
      margin: 10px auto 0;
      background: var(--primary-green);
      border-radius: 999px;
    }

    .section-lead {
      max-width: 820px;
      margin: -22px auto 34px;
      color: var(--dark-gray);
      text-align: center;
      font-size: 17px;
    }

    .features-section,
    .workflow-section,
    .download-section,
    .faq-section {
      margin-bottom: 42px;
    }

    .quick-strip {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 42px;
    }

    .quick-item {
      padding: 22px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: var(--shadow);
      border-top: 3px solid var(--primary-green);
    }

    .quick-item strong {
      display: block;
      margin-bottom: 6px;
      color: var(--dark-green);
      font-size: 18px;
    }

    .quick-item span {
      color: var(--dark-gray);
      font-size: 14px;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .feature-card {
      padding: 30px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: var(--shadow);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    }

    .feature-icon {
      width: 60px;
      height: 60px;
      display: grid;
      place-items: center;
      margin-bottom: 20px;
      border-radius: 50%;
      background: var(--light-green);
      color: var(--dark-green);
      font-size: 25px;
      font-weight: 800;
      font-family: Consolas, Monaco, monospace;
    }

    .feature-title {
      margin-bottom: 14px;
      color: var(--dark-green);
      font-size: 22px;
      line-height: 1.3;
    }

    .feature-description {
      color: var(--dark-gray);
    }

    .download-section {
      padding: 50px;
      border-radius: 10px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .download-options {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 34px;
    }

    .download-card {
      flex: 1;
      min-width: 250px;
      padding: 30px;
      border: 2px solid transparent;
      border-radius: 8px;
      background: var(--light-gray);
      text-align: center;
      transition: border-color .2s ease, transform .2s ease;
    }

    .download-card:hover {
      border-color: var(--primary-green);
      transform: translateY(-2px);
    }

    .os-icon {
      width: 74px;
      height: 74px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      padding: 8px;
      border-radius: 18px;
      background: var(--white);
      box-shadow: inset 0 0 0 1px rgba(76, 175, 80, .16), 0 8px 20px rgba(56, 142, 60, .1);
    }

    .os-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .download-card h3 {
      margin-bottom: 10px;
      color: var(--dark-green);
      font-size: 22px;
    }

    .version {
      min-height: 52px;
      margin-bottom: 20px;
      color: var(--dark-gray);
    }

    .download-notes {
      padding: 20px;
      border-left: 4px solid var(--primary-green);
      border-radius: 0 5px 5px 0;
      background: var(--light-green);
    }

    .download-notes h4 {
      margin-bottom: 10px;
      color: var(--dark-green);
      font-size: 18px;
    }

    .download-notes p {
      color: #3f5f42;
    }

    .workflow-section {
      padding: 48px;
      border: 1px solid rgba(76, 175, 80, .12);
      border-radius: 10px;
      background: linear-gradient(180deg, #ffffff 0%, var(--soft-green) 100%);
      margin-bottom: 42px;
      box-shadow: var(--shadow);
    }

    .workflow-title {
      margin: 0 0 16px;
      color: var(--dark-green);
      font-size: clamp(42px, 6.2vw, 72px);
      line-height: 1.08;
      letter-spacing: 0;
    }

    .workflow-intro {
      max-width: 900px;
      margin-bottom: 30px;
      color: var(--dark-gray);
      font-size: 18px;
    }

    .workflow-layout {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(360px, .7fr);
      gap: 30px;
      align-items: stretch;
    }

    .editor-shell,
    .scenario-panel {
      border-radius: 10px;
      background: var(--white);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .editor-shell {
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }

    .editor-topbar {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
      border-bottom: 1px solid var(--medium-gray);
      background: #fbfbfb;
      color: var(--dark-gray);
      font-size: 13px;
    }

    .editor-dots {
      display: flex;
      gap: 7px;
    }

    .editor-dots span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #d95c4b;
    }

    .editor-dots span:nth-child(2) {
      background: #e2a93b;
    }

    .editor-dots span:nth-child(3) {
      background: #55a65a;
    }

    .editor-code {
      flex: 1;
      display: grid;
      grid-template-columns: 56px minmax(0, 1fr);
      min-height: 444px;
      background: var(--code-bg);
      color: #d6e2dc;
      font-family: Consolas, Monaco, monospace;
      font-size: 14px;
      line-height: 1.9;
    }

    .line-numbers {
      padding: 20px 12px;
      border-right: 1px solid rgba(255, 255, 255, .08);
      background: rgba(0, 0, 0, .18);
      color: #718190;
      text-align: right;
      user-select: none;
    }

    .code-lines {
      padding: 20px 22px;
      overflow: hidden;
      white-space: nowrap;
    }

    .code-lines .comment {
      color: #8ea0aa;
    }

    .code-lines .keyword {
      color: #7db7ff;
    }

    .code-lines .string {
      color: #8fd18f;
    }

    .code-lines .value {
      color: #f0b35b;
    }

    .scenario-panel {
      display: flex;
      padding: 30px;
    }

    .scenario-list {
      flex: 1;
      display: grid;
      grid-template-rows: repeat(4, minmax(0, 1fr));
      gap: 14px;
      list-style: none;
    }

    .scenario-list li {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px;
      border: 1px solid var(--medium-gray);
      border-radius: 8px;
      background: #fcfcfc;
    }

    .scenario-list strong {
      display: block;
      margin-bottom: 4px;
      color: var(--dark-green);
    }

    .scenario-list span {
      color: var(--dark-gray);
      font-size: 14px;
    }

    .shortcut-section {
      margin-bottom: 42px;
    }

    .shortcut-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .shortcut-card {
      padding: 24px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .shortcut-card h3 {
      margin-bottom: 14px;
      color: var(--dark-green);
      font-size: 21px;
    }

    .shortcut-list {
      display: grid;
      gap: 10px;
      list-style: none;
    }

    .shortcut-list li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--dark-gray);
    }

    kbd {
      min-width: 86px;
      display: inline-flex;
      justify-content: center;
      padding: 3px 8px;
      border: 1px solid #cbd8cb;
      border-bottom-width: 2px;
      border-radius: 6px;
      background: #f9fbf8;
      color: var(--text);
      font-family: Consolas, Monaco, monospace;
      font-size: 12px;
      white-space: nowrap;
    }

    .info-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 32px;
    }

    .info-cell {
      padding: 14px;
      border: 1px solid var(--medium-gray);
      border-radius: 8px;
      background: #ffffff;
      text-align: center;
    }

    .info-cell span {
      display: block;
      color: var(--dark-gray);
      font-size: 13px;
    }

    .info-cell strong {
      display: block;
      margin-top: 4px;
      color: var(--dark-green);
    }

    .faq-list {
      display: grid;
      gap: 14px;
    }

    .faq-item {
      padding: 20px 24px;
      border-radius: 8px;
      background: var(--white);
      box-shadow: var(--shadow);
    }

    .faq-item summary {
      color: var(--dark-green);
      cursor: pointer;
      font-size: 18px;
      font-weight: 800;
    }

    .faq-item p {
      margin-top: 12px;
      color: var(--dark-gray);
    }

    .footer {
      margin-top: 50px;
      padding: 50px 0 20px;
      background: var(--dark-green);
      color: var(--white);
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 38px;
    }

    .footer-column {
      flex: 1;
      min-width: 230px;
    }

    .footer-column h3 {
      margin-bottom: 18px;
      color: var(--light-green);
      font-size: 20px;
    }

    .footer-column p,
    .footer-column li {
      color: rgba(255, 255, 255, .88);
    }

    .footer-column ul {
      display: grid;
      gap: 10px;
      list-style: none;
    }

    .footer-column a:hover {
      color: var(--light-green);
    }

    .copyright {
      width: min(1200px, calc(100% - 40px));
      margin: 0 auto;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, .14);
      color: rgba(255, 255, 255, .72);
      text-align: center;
      font-size: 14px;
    }

    @media (max-width: 992px) {
      .hero-section {
        flex-direction: column;
        text-align: center;
      }

      .hero-content {
        order: 2;
      }

      .hero-image {
        order: 1;
        min-width: 0;
        width: 100%;
      }

      .hero-actions {
        justify-content: center;
      }

      .info-grid,
      .hero-meta,
      .quick-strip,
      .shortcut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .workflow-layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-menu {
        display: none;
      }

      .nav-menu.open {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
      }

      .mobile-menu-btn {
        display: grid;
        place-items: center;
      }

      .hero-section,
      .download-section,
      .workflow-section {
        padding: 30px;
      }

      .feature-card {
        padding: 25px;
      }
    }

    @media (max-width: 520px) {
      .nav-container,
      .container,
      .footer-content,
      .copyright {
        width: min(100% - 30px, 1200px);
      }

      .hero-section,
      .download-section,
      .workflow-section {
        padding: 24px 18px;
      }

      .info-grid,
      .hero-meta,
      .quick-strip,
      .shortcut-grid {
        grid-template-columns: 1fr;
      }

      .download-btn,
      .ghost-btn {
        width: 100%;
      }
    }
