:root {
    --bg-dark: #13151a;
    --bg-card: #1c1f26;
    --bg-card-hover: #252932;
    --text-main: #e8eaed;
    --text-sub: #9aa0a6;
    --accent-pink: #ff5c8a;
    --accent-purple: #9b59b6;
    --accent-blue: #4a90e2;
    --accent-green: #2ecc71;
    --border-color: #333842;
    --radius-md: 12px;
    --radius-lg: 20px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 80px; /* For floating bar */
    -webkit-font-smoothing: antialiased;
  }

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

  /* Header */
  header {
    background-color: rgba(19, 21, 26, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
  }

  .logo-area img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
    object-fit: cover;
  }

  .nav-links {
    display: none;
    gap: 20px;
    font-size: 15px;
    color: var(--text-sub);
  }

  .nav-links a:hover {
    color: var(--accent-pink);
    transition: color 0.3s;
  }

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

  /* Mobile Dropdown */
  .mobile-menu {
    display: none;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .mobile-menu a {
    color: var(--text-sub);
    font-size: 15px;
  }

  .mobile-menu a:hover {
    color: var(--accent-pink);
  }

  /* Sections */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  section {
    margin-bottom: 40px;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
  }

  /* Hero Section */
  .hero-section {
    background: linear-gradient(135deg, #1c1f26 0%, #13151a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-desc {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 24px;
    max-width: 600px;
  }

  .hero-images {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    width: 100%;
    scrollbar-width: none;
  }

  .hero-images::-webkit-scrollbar {
    display: none;
  }

  .hero-images img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
  }

  .download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 500px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
    min-width: 120px;
  }

  .btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }

  .btn-android { background: linear-gradient(90deg, #2ecc71, #27ae60); }
  .btn-ios { background: linear-gradient(90deg, #4a90e2, #2980b9); }
  .btn-web { background: linear-gradient(90deg, #9b59b6, #8e44ad); }
  .btn-harmony { background: linear-gradient(90deg, #e74c3c, #c0392b); }

  /* Marquee */
  .marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    margin-top: 20px;
  }

  .marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff5c8a, #9b59b6, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

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

  /* Section Styles */
  .section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 20px;
    background: var(--accent-pink);
    border-radius: 3px;
  }

  /* Content Blocks */
  .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Card List */
  .card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
  }

  .card-item-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    border-radius: 50%;
  }

  .card-item-text {
    flex: 1;
    font-size: 15px;
    min-width: 200px;
  }

  .card-item-text strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
  }

  .card-item-text span {
    color: var(--text-sub);
    font-size: 13px;
  }

  /* Q&A Style */
  .qa-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .qa-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px;
    border-left: 4px solid var(--accent-blue);
  }

  .qa-q {
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
  }
  
  .qa-q::before {
    content: 'Q:';
    color: var(--accent-blue);
  }

  .qa-a {
    color: var(--text-sub);
    font-size: 14px;
    display: flex;
    gap: 8px;
  }

  .qa-a::before {
    content: 'A:';
    color: var(--accent-green);
    font-weight: bold;
  }

  /* Split Layout */
  .split-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .split-img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    max-height: 400px;
  }

  /* Comments */
  .comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .comment-item {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .comment-body {
    flex: 1;
  }

  .comment-name {
    font-weight: bold;
    font-size: 14px;
    color: var(--accent-pink);
    margin-bottom: 4px;
  }

  .comment-text {
    font-size: 14px;
    color: var(--text-sub);
  }

  /* Steps */
  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .step-num {
    background: var(--accent-purple);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
  }

  /* Floating Download Bar */
  .floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 31, 38, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s;
  }

  .floating-bar.show {
    transform: translateY(0);
  }

  .floating-bar img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .floating-text {
    flex: 1;
    font-size: 13px;
  }
  
  .floating-text strong {
    display: block;
    color: #fff;
  }
  
  .floating-text span {
    color: var(--text-sub);
  }

  .floating-bar .btn {
    padding: 8px 16px;
    font-size: 13px;
    min-width: auto;
  }

  /* Footer */
  footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-links a {
    color: var(--text-sub);
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: var(--accent-pink);
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
  }

  details {
    cursor: pointer;
    user-select: none;
  }
  
  summary {
    outline: none;
  }

  /* Modal for iOS/Web download */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .modal-overlay.active {
    display: flex;
  }
  
  .modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-color);
  }
  
  .modal-box h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
  }
  
  .modal-input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
  }
  
  .modal-close {
    background: var(--accent-pink);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
  }

  /* Desktop Layouts */
  @media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
    .nav-links { display: flex; }
    
    .hero-title { font-size: 36px; }
    .hero-images img { width: 220px; height: 220px; }
    
    .content-grid {
      grid-template-columns: 1fr 1fr;
    }

    .split-layout {
      flex-direction: row;
      align-items: center;
    }

    .split-layout > * {
      flex: 1;
    }

    .split-img {
      max-height: 500px;
    }

    .floating-bar {
      transform: translateY(0);
      width: 80%;
      max-width: 600px;
      left: 50%;
      transform: translateX(-50%) translateY(0);
      border-radius: 50px;
      bottom: 20px;
      border: 1px solid var(--border-color);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      background: rgba(28, 31, 38, 0.98);
    }
    
    .floating-bar.hide {
      transform: translateX(-50%) translateY(150%);
    }
  }

  @media (min-width: 1024px) {
    main {
      padding: 40px 20px;
    }
    section {
      padding: 40px;
    }
    .hero-images img { width: 280px; height: 280px; }
    .content-grid {
      gap: 40px;
    }
  }