:root {
    --bg-main: #0B0D1F;
    --bg-dark: #141833;
    --panel-1: #1C2145;
    --panel-2: #262C58;
    --rainbow: linear-gradient(90deg, #FF3D81, #FF8A00, #FFE14D, #2ED47A, #00C2FF, #5B5BFF, #B93DFF);
    --text-primary: #FFFFFF;
    --text-secondary: #A9B0D3;
    --text-dark: #0B0D1F;
    --border-1: rgba(255,61,129,.18);
    --border-2: rgba(255,225,77,.16);
    --border-3: rgba(0,194,255,.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
  }

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

  body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

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

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

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* 顶部导航 */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(11, 13, 31, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-1);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-area img {
    height: 32px;
    width: auto;
  }

  .logo-area span {
    font-weight: bold;
    font-size: 18px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .nav-desktop {
    display: none;
    gap: 24px;
    font-size: 15px;
  }

  .nav-desktop a {
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
  }

  .nav-desktop a:hover {
    color: #FFE14D;
  }

  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rainbow);
    transition: width 0.3s;
  }

  .nav-desktop a:hover::after {
    width: 100%;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--panel-1);
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-2);
  }
  
  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav a {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }

  /* 首屏区域 */
  .hero {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,61,129,0.1) 0%, transparent 50%);
    pointer-events: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 61, 129, 0.1);
    color: #FF3D81;
    font-size: 13px;
    border: 1px solid var(--border-1);
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .btn-download-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    background: var(--rainbow);
    color: var(--text-dark);
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.2s;
    width: 100%;
  }

  .btn-download-main:hover {
    transform: translateY(-2px);
  }

  .btn-device {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 30px;
    background: var(--panel-1);
    border: 1px solid var(--border-3);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
  }

  .btn-device:hover {
    border-color: #00C2FF;
    background: var(--panel-2);
  }

  .hero-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .hero-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-2);
    aspect-ratio: 9/16;
  }

  .hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 跑马灯 */
  .marquee-box {
    margin-top: 30px;
    padding: 10px 0;
    background: var(--panel-1);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-1);
    overflow: hidden;
    white-space: nowrap;
  }

  .marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-weight: bold;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
  }

  /* 公共区块标题 */
  .section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    background: var(--rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* 栏目板块 */
  .block-section {
    padding: 40px 0;
  }

  .block-section:nth-child(even) {
    background-color: var(--bg-dark);
  }

  .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-item {
    background: var(--panel-1);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-1);
    transition: transform 0.2s, border-color 0.2s;
  }

  .card-item:hover {
    transform: translateY(-2px);
    border-color: var(--border-3);
  }

  .card-item h3 {
    font-size: 16px;
    color: #FFE14D;
    margin-bottom: 8px;
  }

  .card-item p {
    font-size: 14px;
    color: var(--text-secondary);
  }

  /* 一问一答结构 */
  .qa-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .qa-item {
    background: var(--panel-2);
    border-radius: var(--radius-sm);
    padding: 16px;
    border-left: 4px solid #00C2FF;
  }

  .qa-q {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 15px;
  }

  .qa-a {
    color: var(--text-secondary);
    font-size: 14px;
  }

  /* 左右结构 */
  .split-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .split-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-2);
  }

  .split-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .split-content-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .split-content-item {
    background: var(--panel-1);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-1);
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .split-content-item span {
    color: #FF3D81;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
  }

  .split-content-item p {
    color: var(--text-secondary);
    font-size: 14px;
  }

  /* 评论区域 */
  .comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .comment-item {
    display: flex;
    gap: 12px;
    background: var(--panel-1);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-2);
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-3);
  }

  .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }

  .comment-content h4 {
    font-size: 14px;
    color: #FFE14D;
    margin-bottom: 4px;
  }

  .comment-content p {
    font-size: 13px;
    color: var(--text-secondary);
  }

  /* 底部下载专区 */
  .download-section {
    padding: 60px 0;
    background: var(--panel-1);
    border-top: 1px solid var(--border-3);
  }

  .download-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .download-steps {
    background: var(--panel-2);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-1);
  }

  .download-steps h3 {
    color: #FF8A00;
    margin-bottom: 16px;
    font-size: 18px;
  }

  .step-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
  }
  
  .step-item:last-child {
    margin-bottom: 0;
  }

  .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--rainbow);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
  }

  .step-text {
    font-size: 14px;
    color: var(--text-secondary);
  }

  .download-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-2);
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
  }

  .download-buttons .btn-download-main {
    width: 100%;
  }

  /* 浮动下载窗 */
  .float-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--panel-2);
    border: 1px solid var(--border-1);
    border-radius: 50px;
    padding: 8px 20px 8px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 400px;
  }

  .float-download img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
  }

  .float-download-info {
    flex: 1;
  }

  .float-download-info h4 {
    font-size: 14px;
    color: var(--text-primary);
  }

  .float-download-info p {
    font-size: 11px;
    color: var(--text-secondary);
  }

  .float-download .btn-small {
    background: var(--rainbow);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
  }

  /* 页脚 */
  .footer {
    padding: 40px 0 80px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-1);
    font-size: 13px;
    color: #6B7295;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .footer-links a {
    color: #6B7295;
    transition: color 0.2s;
  }
  
  .footer-links a:hover {
    color: #FFE14D;
  }

  .footer-about {
    margin-top: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: var(--panel-1);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
  }

  .footer-about summary {
    cursor: pointer;
    font-size: 13px;
    color: #A9B0D3;
    outline: none;
    list-style: none;
  }
  
  .footer-about summary::-webkit-details-marker {
    display: none;
  }

  .footer-about-content {
    margin-top: 12px;
    font-size: 12px;
    color: #6B7295;
    line-height: 2;
  }

  .footer-about-content a {
    margin-right: 8px;
    color: #6B7295;
  }

  /* 遮罩弹窗 */
  .ios-mask {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
  .ios-mask.show {
    display: flex;
  }
  .ios-dialog {
    background: var(--panel-1);
    padding: 24px;
    border-radius: var(--radius-md);
    width: 80%;
    max-width: 320px;
    text-align: center;
    border: 1px solid var(--border-3);
  }
  .ios-dialog p {
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--text-primary);
  }
  .ios-dialog input {
    width: 100%;
    padding: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-1);
    color: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 12px;
    text-align: center;
  }
  .ios-dialog button {
    width: 100%;
    padding: 10px;
    background: var(--rainbow);
    border: none;
    border-radius: 20px;
    color: var(--text-dark);
    font-weight: bold;
    cursor: pointer;
  }

  @media (min-width: 768px) {
    .nav-desktop {
      display: flex;
    }
    .menu-toggle {
      display: none;
    }
    .hero-grid {
      flex-direction: row;
      align-items: center;
    }
    .hero-content {
      text-align: left;
      flex: 1;
    }
    .hero-actions {
      justify-content: flex-start;
    }
    .btn-download-main {
      width: auto;
    }
    .hero-images {
      flex: 1;
      margin-top: 0;
    }
    .card-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .split-layout {
      flex-direction: row;
      align-items: center;
    }
    .split-layout.reverse {
      flex-direction: row-reverse;
    }
    .split-img {
      flex: 1;
    }
    .split-content-list {
      flex: 1;
    }
    .download-box {
      flex-direction: row;
      align-items: center;
    }
    .download-steps {
      flex: 1;
    }
    .download-image {
      flex: 1;
    }
  }

  @media (min-width: 1024px) {
    .hero-title {
      font-size: 40px;
    }
    .card-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .container {
      padding: 0 40px;
    }
  }