
    :root{
      --bt-bg:#f6f8fc;
      --bt-surface:#ffffff;
      --bt-surface-2:#f8fafc;
      --bt-border:#e5e7eb;
      --bt-border-2:#dbe3ef;
      --bt-text:#0f172a;
      --bt-muted:#64748b;
      --bt-blue:#2563eb;
      --bt-blue-dark:#1d4ed8;
      --bt-soft:#eef4ff;
      --bt-shadow:0 10px 30px rgba(15,23,42,.05);
      --bt-radius:20px;
    }

    html,body{
      background:var(--bt-bg);
      color:var(--bt-text);
      font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    }

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

    .container-xxl{
      max-width:1360px;
    }

    .section-space{
      padding:72px 0;
    }

    .section-title{
      font-size:clamp(1.55rem,2.4vw,2.2rem);
      font-weight:800;
      letter-spacing:-0.03em;
      margin-bottom:.8rem;
    }

    .section-subtitle{
      color:var(--bt-muted);
      max-width:760px;
    }

    .bt-navbar{
      background:rgba(255,255,255,.88);
      backdrop-filter:blur(10px);
      border-bottom:1px solid rgba(219,227,239,.7);
    }

    .navbar-brand{
      font-weight:800;
      letter-spacing:-0.03em;
      color:var(--bt-text);
    }

    .navbar-brand span{
      color:var(--bt-blue);
    }

    .nav-link{
      color:#334155;
      font-weight:600;
    }

    .nav-link:hover{
      color:var(--bt-blue);
    }


  .bt-snippet-dropdown {
      min-width: 280px;
      max-height: 420px;
      overflow-y: auto;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      padding: 10px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }

  .bt-snippet-dropdown .dropdown-item {
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 0.95rem;
      font-weight: 500;
  }

  .bt-snippet-dropdown .dropdown-item:hover,
  .bt-snippet-dropdown .dropdown-item.active {
      background: #eff6ff;
      color: #0d6efd;
  }

  .bt-snippet-dropdown .dropdown-divider {
      margin: 8px 0;
  }


    .bt-search{
      position:relative;
      min-width:280px;
    }

    .bt-search .form-control{
      padding-left:2.6rem;
      border-radius:999px;
      border:1px solid var(--bt-border-2);
      background:#fff;
      height:46px;
      box-shadow:none;
    }

    .bt-search i{
      position:absolute;
      left:1rem;
      top:50%;
      transform:translateY(-50%);
      color:#94a3b8;
      font-size:1rem;
    }

    .btn-primary{
      background:var(--bt-blue);
      border-color:var(--bt-blue);
      border-radius:12px;
      font-weight:700;
      padding:.78rem 1.1rem;
    }

    .btn-primary:hover{
      background:var(--bt-blue-dark);
      border-color:var(--bt-blue-dark);
    }

    .btn-outline-primary{
      border-radius:12px;
      font-weight:700;
      padding:.78rem 1.1rem;
      border-color:#bfd3ff;
      color:var(--bt-blue);
      background:#fff;
    }

    .btn-outline-primary:hover{
      background:var(--bt-soft);
      color:var(--bt-blue-dark);
      border-color:#bfd3ff;
    }

    .badge-soft{
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      font-size:.78rem;
      font-weight:700;
      padding:.5rem .8rem;
      border-radius:999px;
      background:var(--bt-soft);
      color:var(--bt-blue);
      border:1px solid #d8e6ff;
    }

    .hero-wrap{
      padding-top:42px;
      padding-bottom:36px;
    }

    .hero-card{
      background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
      border:1px solid var(--bt-border-2);
      border-radius:28px;
      box-shadow:var(--bt-shadow);
      overflow:hidden;
    }

    .hero-left{
      padding:42px;
    }

    .hero-title{
      font-size:clamp(2.1rem,4.5vw,3.8rem);
      line-height:1.05;
      font-weight:800;
      letter-spacing:-0.045em;
      margin:.9rem 0 1rem;
    }

    .hero-text{
      color:var(--bt-muted);
      font-size:1.06rem;
      max-width:640px;
      line-height:1.75;
    }

    .hero-stat-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:14px;
      margin-top:28px;
    }

    .hero-stat{
      background:#fff;
      border:1px solid var(--bt-border);
      border-radius:18px;
      padding:16px 18px;
    }

    .hero-stat strong{
      display:block;
      font-size:1.15rem;
      letter-spacing:-0.02em;
      margin-bottom:2px;
    }

    .hero-stat span{
      color:var(--bt-muted);
      font-size:.9rem;
    }

    .hero-right{
      height:100%;
      background:
        radial-gradient(circle at top right, rgba(37,99,235,.08), transparent 38%),
        linear-gradient(180deg,#f9fbff 0%,#f1f5f9 100%);
      border-left:1px solid var(--bt-border);
      padding:30px;
      display:flex;
      flex-direction:column;
      gap:18px;
      justify-content:center;
    }

    .code-window{
      background:#0f172a;
      border-radius:22px;
      overflow:hidden;
      box-shadow:0 18px 40px rgba(15,23,42,.16);
      border:1px solid rgba(255,255,255,.06);
    }

    .code-topbar{
      display:flex;
      align-items:center;
      gap:8px;
      padding:14px 18px;
      background:#111c34;
      border-bottom:1px solid rgba(255,255,255,.08);
    }

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

    .dot:nth-child(1){ background:#fb7185; }
    .dot:nth-child(2){ background:#fbbf24; }
    .dot:nth-child(3){ background:#4ade80; }

    .code-body{
      padding:20px 22px;
      color:#cbd5e1;
      font-size:.92rem;
      line-height:1.7;
      font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    }

    .code-body .kw{ color:#93c5fd; }
    .code-body .cl{ color:#fca5a5; }
    .code-body .tx{ color:#f8fafc; }
    .code-body .cm{ color:#64748b; }

    .mini-preview{
      background:#fff;
      border:1px solid var(--bt-border);
      border-radius:20px;
      padding:18px;
    }

    .mini-preview-top{
      display:flex;
      gap:10px;
      margin-bottom:16px;
    }

    .mini-preview-top span{
      display:block;
      height:10px;
      border-radius:999px;
      background:#dbeafe;
    }

    .mini-preview-top span:nth-child(1){ width:22%; }
    .mini-preview-top span:nth-child(2){ width:12%; }
    .mini-preview-top span:nth-child(3){ width:16%; }

    .mini-preview-hero{
      display:grid;
      grid-template-columns:1.3fr .9fr;
      gap:14px;
      align-items:center;
    }

    .line-stack{
      display:grid;
      gap:10px;
    }

    .line-stack span,
    .preview-card span{
      display:block;
      background:#e2e8f0;
      border-radius:999px;
      height:11px;
    }

    .line-stack span:nth-child(1){ width:84%; height:14px; }
    .line-stack span:nth-child(2){ width:94%; }
    .line-stack span:nth-child(3){ width:70%; }
    .line-stack span:nth-child(4){ width:52%; }

    .preview-card{
      border:1px solid var(--bt-border);
      border-radius:16px;
      padding:16px;
      background:linear-gradient(180deg,#fbfdff 0%,#f8fafc 100%);
      display:grid;
      gap:10px;
      min-height:130px;
    }

    .preview-card .big{
      height:62px;
      border-radius:14px;
      background:#dbeafe;
    }

    .ad-box{
      border:1px dashed #b6c5dd;
      background:linear-gradient(180deg,#fcfdff 0%,#f6f9fe 100%);
      color:#64748b;
      border-radius:20px;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      font-weight:700;
      letter-spacing:.01em;
    }

    .ad-box small{
      display:block;
      font-size:.8rem;
      font-weight:600;
      color:#94a3b8;
      margin-top:4px;
      letter-spacing:0;
    }

    .ad-top{
      min-height:90px;
      margin-top:20px;
    }

    .ad-300{
      min-height:250px;
    }

    .ad-600{
      min-height:600px;
    }

    .ad-wide{
      min-height:250px;
      border-radius:28px;
    }

    .category-card,
    .snippet-card,
    .feature-card,
    .blog-card,
    .sidebar-card,
    .collection-card{
      background:var(--bt-surface);
      border:1px solid var(--bt-border);
      border-radius:22px;
      box-shadow:var(--bt-shadow);
    }

    .category-card{
      padding:22px;
      height:100%;
      transition:transform .2s ease,border-color .2s ease;
    }

    .category-card:hover,
    .snippet-card:hover,
    .blog-card:hover,
    .collection-card:hover{
      transform:translateY(-3px);
      border-color:#cbd5e1;
    }

    .category-icon{
      width:54px;
      height:54px;
      border-radius:16px;
      display:grid;
      place-items:center;
      background:var(--bt-soft);
      color:var(--bt-blue);
      font-size:1.3rem;
      border:1px solid #dbeafe;
      margin-bottom:16px;
    }

    .category-card h3{
      font-size:1.05rem;
      font-weight:800;
      margin-bottom:10px;
      letter-spacing:-0.02em;
    }

    .category-card p{
      color:var(--bt-muted);
      font-size:.95rem;
      line-height:1.65;
      margin-bottom:16px;
    }

    .text-link{
      color:var(--bt-blue);
      font-weight:700;
      display:inline-flex;
      align-items:center;
      gap:.4rem;
    }

    .content-surface{
      background:transparent;
    }

    .content-block-header{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:22px;
    }

    .content-block-title{
      font-size:1.35rem;
      font-weight:800;
      letter-spacing:-0.03em;
      margin:0;
    }

    .content-block-header p{
      margin:6px 0 0;
      color:var(--bt-muted);
    }

    .snippet-card{
      padding:18px;
      height:100%;
    }

    .snippet-thumb{
      height:180px;
      border-radius:18px;
      border:1px solid var(--bt-border);
      background:
        linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.8)),
        linear-gradient(135deg,#e8eef9 0%,#dbeafe 100%);
      padding:14px;
      display:flex;
      flex-direction:column;
      gap:10px;
      margin-bottom:18px;
      overflow:hidden;
    }

    .thumb-top{
      display:flex;
      gap:8px;
      margin-bottom:4px;
    }

    .thumb-top span{
      display:block;
      height:8px;
      background:#cbd5e1;
      border-radius:999px;
    }

    .thumb-top span:nth-child(1){ width:26%; }
    .thumb-top span:nth-child(2){ width:14%; }
    .thumb-top span:nth-child(3){ width:18%; }

    .thumb-box,
    .thumb-box-sm{
      border-radius:14px;
      background:#fff;
      border:1px solid rgba(148,163,184,.18);
    }

    .thumb-box{
      flex:1;
      min-height:0;
      padding:12px;
      display:grid;
      grid-template-columns:1.1fr .85fr;
      gap:12px;
    }

    .thumb-box-sm{
      height:42px;
    }

    .thumb-lines{
      display:grid;
      gap:8px;
    }

    .thumb-lines span{
      display:block;
      height:9px;
      border-radius:999px;
      background:#dbeafe;
    }

    .thumb-lines span:nth-child(1){ width:88%; height:12px; background:#bfdbfe; }
    .thumb-lines span:nth-child(2){ width:94%; }
    .thumb-lines span:nth-child(3){ width:72%; }
    .thumb-lines span:nth-child(4){ width:56%; }

    .thumb-panel{
      display:grid;
      gap:10px;
    }

    .thumb-panel .panel-a{
      height:52px;
      border-radius:12px;
      background:#eff6ff;
    }

    .thumb-panel .panel-b{
      flex:1;
      border-radius:12px;
      background:#f8fafc;
      border:1px solid #e2e8f0;
      min-height:0;
    }

    .snippet-meta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:10px;
      flex-wrap:wrap;
    }

    .snippet-title{
      font-size:1.08rem;
      font-weight:800;
      letter-spacing:-0.02em;
      margin-bottom:8px;
    }

    .snippet-desc{
      color:var(--bt-muted);
      font-size:.95rem;
      line-height:1.65;
      margin-bottom:16px;
    }

    .tag-list{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:16px;
    }

    .tag{
      display:inline-flex;
      padding:.38rem .7rem;
      border-radius:999px;
      background:#f8fafc;
      color:#475569;
      font-size:.8rem;
      font-weight:700;
      border:1px solid #e2e8f0;
    }

    .snippet-actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      margin-top:auto;
      flex-wrap:wrap;
    }

    .snippet-actions .meta-small{
      color:#64748b;
      font-size:.88rem;
      font-weight:600;
    }

    .sidebar-sticky{
      position:sticky;
      top:92px;
    }

    .sidebar-card{
      padding:22px;
      margin-bottom:20px;
    }

    .sidebar-card h4{
      font-size:1.02rem;
      font-weight:800;
      margin-bottom:14px;
      letter-spacing:-0.02em;
    }

    .sidebar-card p,
    .sidebar-card li,
    .sidebar-card .small-muted{
      color:var(--bt-muted);
      line-height:1.65;
      font-size:.94rem;
    }

    .newsletter-input .form-control{
      height:46px;
      border-radius:12px;
      border-color:var(--bt-border-2);
      box-shadow:none;
    }

    .category-list,
    .trend-list{
      list-style:none;
      padding:0;
      margin:0;
    }

    .category-list li,
    .trend-list li{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:12px 0;
      border-bottom:1px solid #eef2f7;
    }

    .category-list li:last-child,
    .trend-list li:last-child{
      border-bottom:none;
      padding-bottom:0;
    }

    .category-list a,
    .trend-list a{
      font-weight:700;
      color:#1e293b;
    }

    .category-list span,
    .trend-list span{
      font-size:.82rem;
      color:#94a3b8;
      font-weight:700;
    }

    .feature-card{
      padding:24px;
      height:100%;
    }

    .feature-icon{
      width:52px;
      height:52px;
      border-radius:16px;
      background:var(--bt-soft);
      color:var(--bt-blue);
      border:1px solid #dbeafe;
      display:grid;
      place-items:center;
      font-size:1.22rem;
      margin-bottom:16px;
    }

    .feature-card h3{
      font-size:1.02rem;
      font-weight:800;
      margin-bottom:10px;
      letter-spacing:-0.02em;
    }

    .feature-card p{
      color:var(--bt-muted);
      margin:0;
      line-height:1.65;
    }

    .collection-card{
      padding:20px;
      height:100%;
    }

    .collection-header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom:18px;
      gap:12px;
    }

    .collection-header h3{
      font-size:1rem;
      font-weight:800;
      letter-spacing:-0.02em;
      margin:0;
    }

    .mini-item{
      display:flex;
      gap:14px;
      padding:12px 0;
      border-bottom:1px solid #eef2f7;
    }

    .mini-item:last-child{
      border-bottom:none;
      padding-bottom:0;
    }

    .mini-item:first-child{
      padding-top:0;
    }

    .mini-thumb{
      width:78px;
      min-width:78px;
      height:58px;
      border-radius:14px;
      border:1px solid var(--bt-border);
      background:linear-gradient(135deg,#e8eef9 0%,#dbeafe 100%);
      position:relative;
      overflow:hidden;
    }

    .mini-thumb::before,
    .mini-thumb::after{
      content:"";
      position:absolute;
      left:10px;
      right:10px;
      border-radius:999px;
      background:rgba(255,255,255,.75);
    }

    .mini-thumb::before{
      top:12px;
      height:8px;
      width:58%;
    }

    .mini-thumb::after{
      top:28px;
      height:8px;
      width:76%;
    }

    .mini-content h5{
      font-size:.94rem;
      font-weight:800;
      margin:0 0 6px;
      line-height:1.4;
    }

    .mini-content p{
      color:var(--bt-muted);
      font-size:.86rem;
      line-height:1.55;
      margin:0;
    }

    .blog-card{
      overflow:hidden;
      height:100%;
    }

    .blog-cover{
      height:200px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.3)),
        linear-gradient(135deg,#dbeafe 0%,#eff6ff 55%,#eef2ff 100%);
      border-bottom:1px solid var(--bt-border);
      padding:18px;
      display:flex;
      flex-direction:column;
      gap:10px;
    }

    .blog-cover .topline{
      display:flex;
      gap:8px;
      margin-bottom:4px;
    }

    .blog-cover .topline span{
      display:block;
      height:8px;
      border-radius:999px;
      background:#bfdbfe;
    }

    .blog-cover .topline span:nth-child(1){ width:28%; }
    .blog-cover .topline span:nth-child(2){ width:18%; }

    .blog-cover .editorial{
      margin-top:auto;
      background:#fff;
      border:1px solid rgba(148,163,184,.18);
      border-radius:16px;
      padding:14px;
      display:grid;
      gap:9px;
    }

    .blog-cover .editorial span{
      display:block;
      background:#e2e8f0;
      border-radius:999px;
      height:10px;
    }

    .blog-cover .editorial span:nth-child(1){ width:72%; height:12px; background:#c7d2fe; }
    .blog-cover .editorial span:nth-child(2){ width:90%; }
    .blog-cover .editorial span:nth-child(3){ width:64%; }

    .blog-body{
      padding:22px;
    }

    .blog-meta{
      color:#64748b;
      font-size:.85rem;
      font-weight:700;
      margin-bottom:10px;
    }

    .blog-title{
      font-size:1.08rem;
      font-weight:800;
      letter-spacing:-0.02em;
      margin-bottom:10px;
    }

    .blog-excerpt{
      color:var(--bt-muted);
      line-height:1.65;
      margin-bottom:16px;
      font-size:.95rem;
    }

    .cta-strip{
      background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
      border:1px solid var(--bt-border-2);
      border-radius:28px;
      box-shadow:var(--bt-shadow);
      padding:34px;
    }

    .cta-strip h2{
      font-size:clamp(1.7rem,2.8vw,2.5rem);
      font-weight:800;
      letter-spacing:-0.03em;
      margin-bottom:10px;
    }

    .cta-strip p{
      color:var(--bt-muted);
      margin:0;
      line-height:1.75;
    }

    .cta-form .form-control{
      height:54px;
      border-radius:14px;
      border:1px solid var(--bt-border-2);
      box-shadow:none;
    }

    .footer{
      background:#fff;
      border-top:1px solid var(--bt-border);
      padding-top:68px;
      margin-top:72px;
    }

    .footer-brand{
      font-size:1.35rem;
      font-weight:800;
      letter-spacing:-0.03em;
      margin-bottom:14px;
    }

    .footer-brand span{
      color:var(--bt-blue);
    }

    .footer p,
    .footer li,
    .footer a{
      color:#64748b;
    }

    .footer h5{
      font-size:1rem;
      font-weight:800;
      margin-bottom:16px;
      color:#0f172a;
    }

    .footer-links{
      list-style:none;
      padding:0;
      margin:0;
      display:grid;
      gap:10px;
    }

    .footer-social{
      display:flex;
      gap:10px;
      margin-top:16px;
    }

    .footer-social a{
      width:40px;
      height:40px;
      border-radius:12px;
      border:1px solid var(--bt-border);
      display:grid;
      place-items:center;
      background:#fff;
      color:#334155;
    }

    .footer-bottom{
      border-top:1px solid #eef2f7;
      margin-top:34px;
      padding:22px 0 28px;
      color:#94a3b8;
      font-size:.92rem;
    }

    @media (max-width: 1199.98px){
      .hero-right{
        border-left:none;
        border-top:1px solid var(--bt-border);
      }
      .sidebar-sticky{
        position:static;
      }
    }

    @media (max-width: 991.98px){
      .hero-left{
        padding:30px;
      }
      .hero-right{
        padding:24px;
      }
      .hero-stat-grid{
        grid-template-columns:1fr;
      }
      .bt-search{
        min-width:100%;
      }
      .section-space{
        padding:56px 0;
      }
      .content-block-header{
        flex-direction:column;
        align-items:flex-start;
      }
    }

    @media (max-width: 767.98px){
      .hero-title{
        font-size:2.25rem;
      }
      .hero-left,
      .hero-right,
      .cta-strip{
        padding:22px;
      }
      .snippet-thumb,
      .blog-cover{
        height:auto;
      }
      .mini-preview-hero,
      .thumb-box{
        grid-template-columns:1fr;
      }
      .ad-wide{
        min-height:180px;
      }
    }
