:root {
      --bg-dark: #07070c;
      --bg-card: #0c0b14;
      --purple: #a855f7;
      --green: #c6ff3d;
      --yellow: #ffc531;
      --orange: #ff7a3d;
      --text-main: #f0eff5;
      --text-muted: #a19fa8;
      --glass: rgba(255, 255, 255, 0.05);
      --glass-border: rgba(255, 255, 255, 0.1);
    }

    * {
      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;
      overflow-x: hidden;
    }

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

    /* Ambient Glow */
    .glow-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: -1;
      overflow: hidden;
      pointer-events: none;
    }
    .glow-circle {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.4;
    }
    .glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--purple); }
    .glow-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: var(--orange); opacity: 0.2; }

    /* Header */
    header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 100;
      transition: background 0.3s, backdrop-filter 0.3s;
      padding: 15px 0;
    }
    header.scrolled {
      background: rgba(7, 7, 12, 0.8);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--glass-border);
    }
    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: bold;
      font-size: 1.2rem;
      letter-spacing: 1px;
    }
    .logo-area img {
      height: 32px;
      border-radius: 6px;
    }
    .nav-links {
      display: none;
      gap: 30px;
      font-size: 0.95rem;
      color: var(--text-muted);
    }
    .nav-links a:hover { color: var(--text-main); }
    .header-cta {
      display: none;
      background: var(--purple);
      color: #fff;
      padding: 8px 20px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: transform 0.2s;
    }
    .header-cta:hover { transform: scale(1.05); }

    /* Hero Section */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 100px 20px 60px;
      overflow: hidden;
    }
    .hero-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 40px;
      width: 100%;
      z-index: 3;
    }
    .hero-text {
      flex: 1;
    }
    .hero-tag {
      display: inline-block;
      background: rgba(168, 85, 247, 0.2);
      color: var(--purple);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: bold;
      margin-bottom: 20px;
      border: 1px solid var(--purple);
    }
    h1 {
      font-size: 2.8rem;
      line-height: 1.2;
      margin-bottom: 20px;
      font-weight: 800;
      letter-spacing: -1px;
    }
    h1 span {
      color: var(--green);
    }
    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 30px;
      max-width: 500px;
    }
    .hero-actions {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--purple);
      color: #fff;
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: bold;
      font-size: 1.1rem;
      box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
      transition: all 0.3s;
      display: inline-block;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    }
    .btn-secondary {
      background: var(--glass);
      color: var(--text-main);
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: bold;
      font-size: 1.1rem;
      border: 1px solid var(--glass-border);
      transition: background 0.3s;
      display: inline-block;
    }
    .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

    .hero-visual {
      flex: 1.2;
      position: relative;
      height: 500px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      border: 1px solid var(--glass-border);
      background: #000;
    }
    .hero-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    .hero-slide.active { opacity: 1; }
    .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      animation: kenburns 10s infinite alternate;
    }
    @keyframes kenburns {
      0% { transform: scale(1); }
      100% { transform: scale(1.1); }
    }
    .hero-controls {
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
      background: rgba(0,0,0,0.6);
      padding: 8px 16px;
      border-radius: 20px;
      backdrop-filter: blur(10px);
    }
    .ctrl-btn {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      font-size: 0.9rem;
    }
    .progress-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: rgba(255,255,255,0.2);
    }
    .progress-fill {
      width: 0%;
      height: 100%;
      background: var(--purple);
      transition: width 0.1s linear;
    }

    /* Sections Common */
    section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .section-header {
      margin-bottom: 40px;
      text-align: center;
    }
    .section-header h2 {
      font-size: 2.2rem;
      margin-bottom: 12px;
      font-weight: 800;
    }
    .section-header p {
      color: var(--text-muted);
      font-size: 1.05rem;
    }

    /* Category Section */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }
    .cat-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 3/4;
      background: var(--bg-card);
      border: 1px solid var(--glass-border);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .cat-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(168, 85, 247, 0.2);
    }
    .cat-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.7;
      transition: opacity 0.3s;
    }
    .cat-card:hover img { opacity: 1; }
    .cat-info {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 20px;
      background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }
    .cat-info h3 {
      font-size: 1.3rem;
      margin-bottom: 4px;
    }
    .cat-tag {
      display: inline-block;
      background: var(--purple);
      color: #fff;
      font-size: 0.75rem;
      padding: 2px 8px;
      border-radius: 10px;
    }

    /* Library Section */
    .library-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
    }
    .flip-card {
      background-color: transparent;
      perspective: 1000px;
      aspect-ratio: 3/4;
    }
    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      border-radius: 16px;
    }
    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }
    .flip-card-front, .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      border-radius: 16px;
      overflow: hidden;
    }
    .flip-card-front img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .flip-card-back {
      background: var(--bg-card);
      border: 1px solid var(--purple);
      transform: rotateY(180deg);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 20px;
    }
    .flip-card-back h3 {
      color: var(--purple);
      margin-bottom: 10px;
      font-size: 1.2rem;
    }
    .flip-card-back p {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 15px;
    }
    .ending-tags {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .tag-original { color: var(--text-muted); text-decoration: line-through; }
    .tag-modified { color: var(--green); font-weight: bold; }

    /* AI Workshop */
    .workshop {
      background: var(--bg-card);
      border-radius: 24px;
      padding: 40px;
      border: 1px solid var(--glass-border);
    }
    .steps-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      margin-bottom: 40px;
    }
    .step-card {
      display: flex;
      align-items: center;
      gap: 20px;
      background: rgba(255,255,255,0.03);
      padding: 20px;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.05);
    }
    .step-num {
      font-size: 2rem;
      font-weight: 900;
      color: var(--purple);
      opacity: 0.5;
    }
    .step-card h3 { font-size: 1.2rem; margin-bottom: 5px; }
    .step-card p { font-size: 0.9rem; color: var(--text-muted); }
    
    .demo-box {
      background: #000;
      border-radius: 16px;
      padding: 20px;
      border: 1px solid var(--glass-border);
      max-width: 600px;
      margin: 0 auto;
    }
    .demo-input {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }
    .demo-input input {
      flex: 1;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      padding: 12px 15px;
      border-radius: 8px;
      color: #fff;
      outline: none;
    }
    .demo-btn {
      background: var(--purple);
      color: #fff;
      border: none;
      padding: 0 20px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
    }
    .demo-result {
      padding: 15px;
      background: rgba(168, 85, 247, 0.1);
      border-left: 4px solid var(--purple);
      border-radius: 4px;
      font-size: 0.95rem;
    }

    /* Immersive Features */
    .features-layout {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .feature-item {
      display: flex;
      gap: 15px;
      align-items: flex-start;
    }
    .feature-icon {
      color: var(--green);
      font-size: 1.5rem;
      line-height: 1;
    }
    .feature-text h3 { font-size: 1.2rem; margin-bottom: 4px; }
    .feature-text p { color: var(--text-muted); font-size: 0.95rem; }
    
    .screenshot-stack {
      position: relative;
      height: 400px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .screenshot-stack img {
      position: absolute;
      border-radius: 20px;
      border: 2px solid var(--glass-border);
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      height: 80%;
      object-fit: cover;
    }
    .ss-back {
      transform: translateX(-30px) scale(0.9);
      opacity: 0.6;
    }
    .ss-front {
      transform: translateX(30px);
      z-index: 2;
    }

    /* Download Section */
    .download-section {
      text-align: center;
      background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(255,122,61,0.1));
      border-radius: 24px;
      padding: 60px 20px;
      border: 1px solid var(--glass-border);
      margin-bottom: 40px;
    }
    .download-section h2 {
      font-size: 2.5rem;
      margin-bottom: 15px;
    }
    .download-section p {
      color: var(--text-muted);
      margin-bottom: 30px;
      font-size: 1.1rem;
    }
    .platform-tags {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* Footer */
    footer {
      background: var(--bg-card);
      border-top: 1px solid var(--glass-border);
      padding: 40px 20px 20px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      margin-bottom: 30px;
    }
    .footer-col h4 {
      color: var(--text-main);
      margin-bottom: 15px;
      font-size: 1rem;
    }
    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid var(--glass-border);
    }
    .footer-bottom p { margin-bottom: 8px; }
    .footer-bottom a { color: var(--text-muted); }
    .footer-bottom a:hover { color: var(--text-main); }
    .time-tag { font-size: 0.8rem; opacity: 0.7; }

    /* Mobile Menu */
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
    }
    .mobile-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(7,7,12,0.95);
      backdrop-filter: blur(10px);
      padding: 20px;
      flex-direction: column;
      gap: 15px;
      border-bottom: 1px solid var(--glass-border);
    }
    .mobile-menu.show { display: flex; }
    .mobile-menu a {
      color: var(--text-main);
      font-size: 1.1rem;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* Responsive */
    @media (min-width: 768px) {
      .hero-inner { flex-direction: row; align-items: center; }
      .hero-text { flex: 1; }
      .steps-grid { grid-template-columns: repeat(3, 1fr); }
      .features-layout { flex-direction: row; align-items: center; }
      .feature-list { flex: 1; }
      .screenshot-stack { flex: 1; }
      .footer-content { grid-template-columns: 2fr 1fr 1fr; }
      .nav-links { display: flex; }
      .header-cta { display: inline-block; }
      .menu-toggle { display: none; }
    }

    @media (min-width: 1024px) {
      h1 { font-size: 3.5rem; }
      .section-header h2 { font-size: 2.5rem; }
      .library-grid { grid-template-columns: repeat(4, 1fr); }
    }