﻿:root {
      --primary: #6D28D9;
      --accent: #06B6D4;
      --accent-hover: #22D3EE;
      --bg-dark: #050816;
      --bg-card: #0D1127;
      --text-light: #F8FAFC;
      --text-muted: #94A3B8;
      --blue-stable: #2563EB;
      --green-safe: #22C55E;
      --border-color: rgba(199,210,254,0.15);
      --theme-color: rgb(94,92,230);
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

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

    html {
      width: 100%;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    body {
      width: 100%;
      background: var(--bg-dark);
      background-image: radial-gradient(circle at 1px 1px, rgba(109, 40, 217, 0.1) 1px, transparent 0);
      background-size: 32px 32px;
      color: var(--text-light);
      font-family: var(--font-stack);
      line-height: 1.6;
      overflow-x: hidden;
    }

    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: rgba(7, 17, 31, 0.94);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(6, 182, 212, 0.18);
    }

    .header-inner {
      width: min(1200px, calc(100% - 32px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      max-width: 100%;
      text-decoration: none;
      flex-shrink: 0;
    }

    .logo img {
      display: block;
      height: 40px;
      width: auto;
      max-width: 150px;
      object-fit: contain;
      flex-shrink: 0;
    }

    .logo span {
      display: inline-block;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      color: #e5eefc;
      white-space: nowrap;
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .desktop-nav-wrap {
      flex: 1 1 auto;
      min-width: 0;
      display: flex;
      justify-content: flex-end;
      overflow: hidden;
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      white-space: nowrap;
    }

    .desktop-nav::-webkit-scrollbar { display: none; }

    .desktop-nav a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 13px;
      border-radius: 999px;
      color: #cbd5e1;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
      transition: color 0.2s, background 0.2s;
    }

    .desktop-nav a:hover {
      color: var(--accent);
      background: rgba(6, 182, 212, 0.08);
    }

    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 14px;
      background: rgba(6, 182, 212, 0.14);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      flex: 0 0 auto;
    }

    .mobile-menu-btn span {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 99px;
      background: #e5eefc;
    }

    
    .mobile-nav-mask {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(2, 6, 23, 0.68);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .25s ease, visibility .25s ease;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1110;
      width: min(86vw, 360px);
      height: 100vh;
      height: 100dvh;
      max-width: 90vw;
      background: #07111F;
      color: #E5EEFC;
      transform: translateX(-105%);
      transition: transform .28s ease;
      box-shadow: 24px 0 60px rgba(15, 23, 42, .24);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .drawer-head {
      min-height: 76px;
      padding: 16px 16px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid rgba(6, 182, 212, 0.18);
      flex: 0 0 auto;
    }

    .drawer-logo { min-width: 0; }
    .drawer-logo img { height: 34px; max-width: 120px; }
    .drawer-logo span { font-size: 16px; max-width: 145px; }

    .drawer-close {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 14px;
      background: rgba(6, 182, 212, 0.14);
      color: #E5EEFC;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      flex: 0 0 auto;
    }

    .drawer-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      padding: 14px;
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .drawer-nav a {
      display: flex;
      align-items: center;
      width: 100%;
      min-height: 48px;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(148,163,184,.10);
      color: #F8FAFC;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.35;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }

    body.drawer-open { overflow: hidden; touch-action: none; }
    body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
    body.drawer-open .mobile-drawer { transform: translateX(0); }

    
    .hero-layout-09 {
      position: relative;
      padding: 80px 0;
      text-align: center;
      background: radial-gradient(circle at 50% 10%, rgba(109, 40, 217, 0.25) 0%, transparent 60%);
      border-bottom: 1px solid var(--border-color);
    }

    .hero-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }

    .protocol-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(6, 182, 212, 0.1);
      border: 1px solid rgba(6, 182, 212, 0.25);
      color: var(--accent);
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .protocol-tag span {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--green-safe);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--green-safe);
    }

    .hero-title {
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 800;
      line-height: 1.15;
      color: var(--text-light);
      max-width: 900px;
      margin: 0 auto 20px;
      letter-spacing: -0.02em;
    }

    .hero-title span {
      color: var(--accent);
      background: linear-gradient(135deg, #06B6D4 0%, var(--theme-color) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: clamp(16px, 2.5vw, 19px);
      color: var(--text-muted);
      max-width: 760px;
      margin: 0 auto 36px;
      line-height: 1.6;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 28px;
      border-radius: 999px;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.25s ease;
      cursor: pointer;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--theme-color) 100%);
      color: #fff;
      box-shadow: 0 4px 20px rgba(109, 40, 217, 0.4);
      border: 1px solid rgba(199, 210, 254, 0.2);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(109, 40, 217, 0.6);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      color: var(--text-light);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--accent);
    }

    
    .capsule-nav {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 56px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .capsule-item {
      background: rgba(15, 23, 42, 0.6);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 10px 20px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .capsule-item:hover {
      color: var(--text-light);
      border-color: var(--accent);
      background: rgba(6, 182, 212, 0.08);
      transform: translateY(-1px);
    }

    .capsule-item .badge-cyan {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
    }

    
    .matrix-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .matrix-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 24px;
      text-align: left;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .matrix-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .matrix-card:hover {
      transform: translateY(-4px);
      border-color: rgba(6, 182, 212, 0.4);
      box-shadow: 0 12px 30px rgba(5, 8, 22, 0.5);
    }

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

    .card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .status-code {
      font-family: monospace;
      color: var(--accent);
      font-weight: 700;
      background: rgba(6, 182, 212, 0.1);
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 13px;
    }

    .token-badge {
      font-family: monospace;
      font-size: 12px;
      color: var(--blue-stable);
      background: rgba(37, 99, 235, 0.1);
      padding: 4px 10px;
      border-radius: 4px;
    }

    .card-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-light);
    }

    .card-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    
    .trust-ribbon {
      border-bottom: 1px solid var(--border-color);
      padding: 24px 0;
      background: rgba(13, 17, 39, 0.4);
    }

    .ribbon-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .ribbon-item {
      text-align: center;
    }

    .ribbon-num {
      font-size: 24px;
      font-weight: 800;
      color: var(--accent);
      font-family: monospace;
    }

    .ribbon-lbl {
      font-size: 12px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    
    .module-section {
      padding: 80px 0;
      border-bottom: 1px solid var(--border-color);
    }

    .section-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 56px;
    }

    .section-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      margin-bottom: 16px;
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-muted);
    }

    
    .protocol-gate-mock {
      background: #090C1F;
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 32px;
      margin-bottom: 40px;
      position: relative;
    }

    .mock-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 16px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .dot-red { background: #FF5F56; }
    .dot-yellow { background: #FFBD2E; }
    .dot-green { background: #27C93F; }

    .mock-title {
      font-family: monospace;
      font-size: 14px;
      color: var(--text-muted);
      margin-left: 12px;
    }

    .mock-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .mock-col {
      background: rgba(15, 23, 42, 0.5);
      border: 1px solid rgba(255,255,255,0.04);
      padding: 20px;
      border-radius: 12px;
    }

    .mock-col h4 {
      font-size: 15px;
      margin-bottom: 14px;
      color: var(--accent);
      font-family: monospace;
    }

    .code-snippet {
      font-family: monospace;
      font-size: 13px;
      color: #9cdcfe;
      line-height: 1.5;
      overflow-x: auto;
    }

    .code-snippet .keyword { color: #c586c0; }
    .code-snippet .string { color: #ce9178; }
    .code-snippet .number { color: #b5cea8; }

    
    .policy-matrix {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 24px;
    }

    .policy-card {
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 28px;
      transition: all 0.25s;
    }

    .policy-card:hover {
      border-color: var(--accent);
      background: rgba(6, 182, 212, 0.02);
    }

    .policy-icon {
      font-size: 24px;
      color: var(--accent);
      margin-bottom: 18px;
    }

    .policy-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .policy-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    
    .content-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .post-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s, border-color 0.3s;
    }

    .post-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }

    .post-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid var(--border-color);
    }

    .post-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .post-meta {
      display: flex;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 12px;
    }

    .post-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.4;
    }

    .post-title a {
      color: var(--text-light);
      text-decoration: none;
    }

    .post-title a:hover {
      color: var(--accent);
    }

    .post-summary {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 20px;
      flex: 1;
      line-height: 1.5;
    }

    .post-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .post-tag {
      font-size: 11px;
      background: rgba(109, 40, 217, 0.15);
      color: #C7D2FE;
      padding: 3px 8px;
      border-radius: 4px;
      text-decoration: none;
    }

    .post-tag:hover {
      background: var(--primary);
    }

    
    .cta-block {
      background: linear-gradient(135deg, #090E2B 0%, #060B21 100%);
      border: 1px solid rgba(6, 182, 212, 0.2);
      border-radius: 24px;
      padding: 56px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-block::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15), transparent 50%);
      pointer-events: none;
    }

    .cta-title {
      font-size: clamp(24px, 3.5vw, 40px);
      font-weight: 800;
      margin-bottom: 16px;
    }

    .cta-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 640px;
      margin: 0 auto 32px;
    }

    
    .site-footer {
      position: relative;
      z-index: 1;
      width: 100%;
      background: #050B16;
      color: #e5e7eb;
      padding: 56px 0 24px;
      overflow: hidden;
      border-top: 1px solid var(--border-color);
    }

    .footer-inner {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
      gap: 28px;
      align-items: start;
    }

    .footer-brand { min-width: 0; }
    .footer-brand p {
      margin: 16px 0 0;
      color: rgba(229, 231, 235, .74);
      line-height: 1.8;
      font-size: 14px;
      word-break: break-word;
      overflow-wrap: anywhere;
    }

    .footer-logo span { color: #ffffff; }
    .footer-column { min-width: 0; }
    .footer-column h3 { margin: 0 0 14px; font-size: 15px; color: #ffffff; }
    .footer-column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
    .footer-column li { min-width: 0; }
    .footer-column a, .footer-column span {
      display: inline;
      color: rgba(229, 231, 235, .74);
      text-decoration: none;
      font-size: 14px;
      line-height: 1.55;
      white-space: normal;
      word-break: break-word;
      overflow-wrap: anywhere;
    }

    .footer-column a:hover { color: #ffffff; }

    .footer-bottom {
      width: min(1200px, calc(100% - 32px));
      margin: 32px auto 0;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: rgba(229, 231, 235, .62);
      font-size: 13px;
    }

    .footer-bottom p { margin: 0; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
    .footer-bottom a { color: rgba(229, 231, 235, .74); text-decoration: none; word-break: break-word; overflow-wrap: anywhere; }

    
    @media (max-width: 900px) {
      .header-inner { width: min(100% - 24px, 1200px); min-height: 64px; gap: 12px; }
      .desktop-nav-wrap, .desktop-nav { display: none !important; }
      .mobile-menu-btn { display: inline-flex !important; }
      .logo img { height: 34px; max-width: 118px; }
      .logo span { font-size: 16px; max-width: 145px; }
      .matrix-grid { grid-template-columns: repeat(2, 1fr); }
      .mock-grid { grid-template-columns: 1fr; }
      .policy-matrix { grid-template-columns: 1fr; }
      .content-grid { grid-template-columns: 1fr 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
    }

    @media (max-width: 640px) {
      .matrix-grid { grid-template-columns: 1fr; }
      .content-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
    }

    @media (max-width: 420px) {
      .mobile-drawer { width: 88vw; }
      .logo span { max-width: 112px; }
      .drawer-logo span { max-width: 118px; }
      .footer-inner, .footer-bottom { width: min(100% - 24px, 1200px); }
    }