:root {
      --bg: #0b0f19;
      --card-bg: rgba(22, 30, 46, 0.75);
      --card-border: rgba(168, 85, 247, 0.22);
      --card-hover-border: rgba(192, 132, 252, 0.6);
      --primary: #a855f7;
      --primary-light: #c084fc;
      --primary-glow: rgba(168, 85, 247, 0.35);
      --emerald: #10b981;
      --emerald-glow: rgba(16, 185, 129, 0.25);
      --amber: #f59e0b;
      --sky: #0ea5e9;
      --line-green: #06c755;
      --telegram-blue: #229ed9;
      --text: #f3f4f6;
      --text-muted: #9ca3af;
      --text-dim: #6b7280;
    }

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

    body {
      font-family: 'Prompt', 'Outfit', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      background-image: 
        radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
      background-attachment: fixed;
    }

    /* Container */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1.5rem 5rem;
    }

    /* Navbar */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.5rem;
      background: rgba(17, 24, 39, 0.7);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      margin-bottom: 3rem;
      position: sticky;
      top: 1rem;
      z-index: 100;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: var(--text);
    }

    .brand-icon {
      font-size: 1.75rem;
      filter: drop-shadow(0 0 12px var(--primary));
      animation: float 4s ease-in-out infinite;
    }

    .brand-title {
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: 1.35rem;
      letter-spacing: -0.5px;
      background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border-radius: 10px;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    .nav-btn-ghost {
      color: var(--text-muted);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-btn-ghost:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .nav-btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
      color: #fff;
      box-shadow: 0 4px 14px var(--primary-glow);
    }

    .nav-btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px var(--primary-glow);
    }

    .nav-btn-back {
      color: #fff;
      background: rgba(168, 85, 247, 0.18);
      border: 1px solid rgba(168, 85, 247, 0.45);
      font-weight: 700;
    }

    .nav-btn-back:hover {
      background: rgba(168, 85, 247, 0.32);
      border-color: rgba(192, 132, 252, 0.7);
    }

    .fab-back {
      position: fixed;
      bottom: 1.5rem;
      left: 1.5rem;
      z-index: 1000;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.7rem 1.2rem;
      border-radius: 9999px;
      background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
      color: #fff;
      font-weight: 700;
      font-size: 0.9rem;
      text-decoration: none;
      box-shadow: 0 8px 24px var(--primary-glow);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .fab-back:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px var(--primary-glow);
    }

    /* Hero */
    .hero {
      text-align: center;
      padding: 2.5rem 1rem 4rem;
      position: relative;
    }

    .version-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 1rem;
      background: rgba(168, 85, 247, 0.15);
      border: 1px solid rgba(168, 85, 247, 0.35);
      border-radius: 9999px;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--primary-light);
      margin-bottom: 1.5rem;
      box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    }

    .pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--emerald);
      box-shadow: 0 0 8px var(--emerald);
      animation: pulse 2s infinite;
    }

    .hero-title {
      font-size: clamp(2.2rem, 5vw, 3.75rem);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.2;
      margin-bottom: 1.25rem;
    }

    .hero-title-gradient {
      background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 70%, var(--sky) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 1.15rem;
      color: var(--text-muted);
      max-width: 720px;
      margin: 0 auto 2.5rem;
      font-weight: 300;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
      margin-bottom: 2rem;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 0.85rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      font-size: 0.85rem;
      color: #e5e7eb;
    }

    /* Section Styling */
    .section-header {
      margin-bottom: 2rem;
      text-align: center;
    }

    .section-eyebrow {
      font-family: 'Outfit', sans-serif;
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 2px;
      color: var(--primary-light);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      color: #fff;
    }

    /* Features Grid (8 Pillars) */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-bottom: 5rem;
    }

    .feature-card {
      background: var(--card-bg);
      backdrop-filter: blur(16px);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 1.75rem;
      position: relative;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--primary), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      border-color: var(--card-hover-border);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px var(--primary-glow);
    }

    .feature-card:hover::before {
      opacity: 1;
    }

    .feature-icon-wrapper {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(168, 85, 247, 0.15);
      border: 1px solid rgba(168, 85, 247, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.25rem;
    }

    .feature-title {
      font-size: 1.2rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.6rem;
    }

    .feature-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 1rem;
      flex-grow: 1;
    }

    .feature-pill {
      align-self: flex-start;
      padding: 0.25rem 0.75rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 9999px;
      font-size: 0.78rem;
      font-weight: 500;
      color: var(--primary-light);
    }

    /* Interactive Command Cheat Sheet */
    .cheat-section {
      background: rgba(17, 24, 39, 0.6);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      padding: 2.5rem 2rem;
      margin-bottom: 5rem;
    }

    .tabs-nav {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .tab-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-family: 'Prompt', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      padding: 0.6rem 1.25rem;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .tab-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .tab-btn.active {
      color: #fff;
      background: rgba(168, 85, 247, 0.2);
      border: 1px solid rgba(168, 85, 247, 0.4);
    }

    .commands-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1rem;
    }

    .command-item {
      background: rgba(11, 15, 25, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 1rem 1.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.2s ease;
    }

    .command-item:hover {
      border-color: rgba(168, 85, 247, 0.4);
      background: rgba(168, 85, 247, 0.05);
    }

    .command-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .command-text {
      font-family: 'Prompt', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      color: #fff;
    }

    .command-desc {
      font-size: 0.8rem;
      color: var(--text-dim);
    }

    .copy-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-muted);
      border-radius: 8px;
      padding: 0.4rem 0.75rem;
      font-size: 0.78rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .copy-btn:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

    /* Architecture Flow */
    .arch-card {
      background: var(--card-bg);
      backdrop-filter: blur(16px);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      padding: 2.5rem 2rem;
      margin-bottom: 5rem;
    }

    .flow-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      position: relative;
    }

    .flow-step {
      background: rgba(11, 15, 25, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 1.5rem;
      text-align: center;
    }

    .step-num {
      width: 32px;
      height: 32px;
      margin: 0 auto 0.75rem;
      background: rgba(168, 85, 247, 0.2);
      border: 1px solid var(--primary);
      color: var(--primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 700;
    }

    .step-title {
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.4rem;
    }

    .step-desc {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #10b981;
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
      font-size: 0.9rem;
      font-weight: 500;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.3s ease;
      pointer-events: none;
      z-index: 1000;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Animations */
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.9); }
    }

    @media (max-width: 768px) {
      .navbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
      }
      .nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
      }
      .nav-btn {
        justify-content: center;
        text-align: center;
      }
      .hero {
        padding: 1.5rem 0.5rem 2.5rem;
      }
      .fab-back {
        bottom: 1rem;
        left: 1rem;
        padding: 0.6rem 1rem;
      }
    }
