 :root {
     --bg-primary: #0d0e14;
     --bg-secondary: #13141c;
     --bg-card: #1a1b26;
     --bg-card-hover: #1f2133;
     --accent: #ffb800;
     --accent-hover: #ffd04d;
     --accent-soft: rgba(255, 184, 0, 0.12);
     --text-primary: #f0f0f5;
     --text-secondary: #9395a5;
     --text-muted: #5c5e72;
     --border: #23253a;
     --border-accent: rgba(255, 184, 0, 0.3);
     --radius: 12px;
     --radius-sm: 8px;
     --font: 'Space Grotesk', sans-serif;
     --mono: 'Fira Code', monospace;
 }

 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0
 }

 html {
     scroll-behavior: smooth
 }

 body {
     font-family: var(--font);
     background: var(--bg-primary);
     color: var(--text-primary);
     line-height: 1.6;
     overflow-x: hidden
 }

 a {
     text-decoration: none;
     color: inherit
 }

 nav {
     position: sticky;
     top: 0;
     z-index: 100;
     background: rgba(13, 14, 20, 0.92);
     backdrop-filter: blur(16px);
     border-bottom: 1px solid var(--border);
     padding: 0 5%;
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 64px
 }

 .nav-logo {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 1.25rem;
     font-weight: 700;
     letter-spacing: -.5px
 }
 .nav-logo img{
    width: 200px;
 }

 .nav-logo .hs {
     color: var(--accent)
 }

 .logo-icon {
     width: 36px;
     height: 36px;
     background: var(--accent);
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1rem;
     font-weight: 800;
     color: #000
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 4px;
     list-style: none
 }

 .nav-links a {
     font-size: .875rem;
     font-weight: 500;
     color: var(--text-secondary);
     padding: 6px 14px;
     border-radius: var(--radius-sm);
     transition: all .2s
 }

 .nav-links a:hover {
     color: var(--text-primary);
     background: var(--bg-card)
 }

 .nav-cta {
     display: flex;
     gap: 10px;
     align-items: center
 }

 .btn-outline {
     border: 1px solid var(--border);
     padding: 7px 18px;
     border-radius: var(--radius-sm);
     font-size: .875rem;
     font-weight: 500;
     color: var(--text-secondary);
     cursor: pointer;
     transition: all .2s;
     background: transparent;
     font-family: var(--font)
 }

 .btn-outline:hover {
     border-color: var(--accent);
     color: var(--accent)
 }

 .btn-primary {
     background: var(--accent);
     color: #000;
     border: none;
     padding: 8px 20px;
     border-radius: var(--radius-sm);
     font-size: .875rem;
     font-weight: 700;
     cursor: pointer;
     transition: all .2s;
     font-family: var(--font)
 }

 .btn-primary:hover {
     background: var(--accent-hover);
     transform: translateY(-1px);
     box-shadow: 0 6px 20px rgba(255, 184, 0, .25)
 }

 .hero {
     position: relative;
     overflow: hidden;
     padding: 100px 8% 90px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 24px;
     min-height: 580px
 }

 .hero::before {
     content: '';
     position: absolute;
     inset: 0;
     background-image: linear-gradient(rgba(255, 184, 0, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 184, 0, .04) 1px, transparent 1px);
     background-size: 60px 60px;
     pointer-events: none
 }

 .hero::after {
     content: '';
     position: absolute;
     top: -100px;
     left: -100px;
     width: 600px;
     height: 600px;
     background: radial-gradient(circle, rgba(255, 184, 0, .08) 0%, transparent 70%);
     pointer-events: none
 }

 .hero-content {
     position: relative;
     z-index: 1;
     max-width: 480px;
     flex-shrink: 0
 }

 .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: var(--accent-soft);
     border: 1px solid var(--border-accent);
     border-radius: 100px;
     padding: 5px 14px;
     font-size: .78rem;
     font-weight: 600;
     color: var(--accent);
     margin-bottom: 24px;
     font-family: var(--mono)
 }

 .hero-badge::before {
     content: '';
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: var(--accent);
     box-shadow: 0 0 8px var(--accent);
     animation: pulse 2s infinite
 }

 @keyframes pulse {

     0%,
     100% {
         opacity: 1
     }

     50% {
         opacity: .4
     }
 }

 .hero h1 {
     font-size: clamp(2.2rem, 5vw, 3.5rem);
     font-weight: 700;
     line-height: 1.15;
     letter-spacing: -1.5px;
     margin-bottom: 20px
 }

 .hero h1 .highlight {
     color: var(--accent)
 }

 .hero p {
     font-size: 1.05rem;
     color: var(--text-secondary);
     max-width: 480px;
     margin-bottom: 36px;
     line-height: 1.75
 }

 .hero-actions {
     display: flex;
     gap: 14px;
     flex-wrap: wrap
 }

 .btn-hero {
     padding: 13px 28px;
     border-radius: var(--radius-sm);
     font-size: .95rem;
     font-weight: 700;
     cursor: pointer;
     transition: all .22s;
     font-family: var(--font);
     display: inline-flex;
     align-items: center;
     gap: 8px
 }

 .btn-hero-primary {
     background: var(--accent);
     color: #000;
     border: none
 }

 .btn-hero-primary:hover {
     background: var(--accent-hover);
     transform: translateY(-2px);
     box-shadow: 0 8px 28px rgba(255, 184, 0, .3)
 }

 .btn-hero-secondary {
     background: transparent;
     color: var(--text-primary);
     border: 1px solid var(--border)
 }

 .btn-hero-secondary:hover {
     border-color: var(--accent);
     color: var(--accent);
     background: var(--accent-soft)
 }

 .hero-stats {
     display: flex;
     gap: 32px;
     margin-top: 48px;
     padding-top: 32px;
     border-top: 1px solid var(--border)
 }

 .stat-num {
     font-size: 1.6rem;
     font-weight: 700;
     color: var(--accent);
     font-family: var(--mono)
 }

 .stat-label {
     font-size: .8rem;
     color: var(--text-muted);
     margin-top: 2px
 }

 .hero-visual {
     position: relative;
     z-index: 1;
     flex-shrink: 0;
     width: 420px;
     margin-left: 0
 }

 .code-window {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: var(--radius);
     overflow: hidden;
     box-shadow: 0 24px 64px rgba(0, 0, 0, .5)
 }

 .code-titlebar {
     background: var(--bg-secondary);
     padding: 12px 16px;
     display: flex;
     align-items: center;
     gap: 8px;
     border-bottom: 1px solid var(--border)
 }

 .dot {
     width: 10px;
     height: 10px;
     border-radius: 50%
 }

 .dot-red {
     background: #ff5f57
 }

 .dot-yellow {
     background: #ffbd2e
 }

 .dot-green {
     background: #28ca41
 }

 .code-filename {
     margin-left: auto;
     font-size: .75rem;
     color: var(--text-muted);
     font-family: var(--mono)
 }

 .code-body {
     padding: 20px;
     font-family: var(--mono);
     font-size: .82rem;
     line-height: 1.8
 }

 .code-line {
     display: flex;
     gap: 16px
 }

 .ln {
     color: var(--text-muted);
     user-select: none;
     min-width: 16px;
     text-align: right
 }

 .kw {
     color: #bb9af7
 }

 .fn {
     color: #7dcfff
 }

 .str {
     color: #9ece6a
 }

 .cm {
     color: #565f89;
     font-style: italic
 }

 .op {
     color: var(--accent)
 }

 .var {
     color: #e0af68
 }

 .cursor-line::after {
     content: '▋';
     color: var(--accent);
     animation: blink 1s infinite
 }

 @keyframes blink {

     0%,
     100% {
         opacity: 1
     }

     50% {
         opacity: 0
     }
 }

 .stats-bar {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border);
     border-bottom: 1px solid var(--border);
     padding: 20px 5%;
     display: flex;
     justify-content: center;
     gap: 60px;
     flex-wrap: wrap
 }

 .sbar-item {
     display: flex;
     align-items: center;
     gap: 12px
 }

 .sbar-icon {
     width: 38px;
     height: 38px;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem
 }

 .sbar-text strong {
     display: block;
     font-size: 1rem;
     font-weight: 700
 }

 .sbar-text span {
     font-size: .78rem;
     color: var(--text-muted)
 }

 section {
     padding: 80px 5%
 }

 .section-header {
     margin-bottom: 48px
 }

 .section-tag {
     font-size: .75rem;
     font-weight: 600;
     color: var(--accent);
     font-family: var(--mono);
     letter-spacing: 1.5px;
     text-transform: uppercase;
     margin-bottom: 10px
 }

 .section-header h2 {
     font-size: clamp(1.6rem, 3vw, 2.4rem);
     font-weight: 700;
     letter-spacing: -.8px;
     margin-bottom: 10px
 }

 .section-header p {
     font-size: .95rem;
     color: var(--text-secondary);
     max-width: 500px
 }

 .section-header-row {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     gap: 20px;
     flex-wrap: wrap
 }

 .view-all {
     font-size: .875rem;
     font-weight: 600;
     color: var(--accent);
     display: flex;
     align-items: center;
     gap: 6px;
     white-space: nowrap;
     padding: 8px 16px;
     border: 1px solid var(--border-accent);
     border-radius: var(--radius-sm);
     transition: all .2s
 }

 .view-all:hover {
     background: var(--accent-soft)
 }

 .posts-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 20px
 }

 .post-card {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: var(--radius);
     padding: 24px;
     transition: all .25s;
     cursor: pointer;
     display: flex;
     flex-direction: column;
     gap: 14px
 }

 .post-card:hover {
     border-color: var(--border-accent);
     background: var(--bg-card-hover);
     transform: translateY(-3px);
     box-shadow: 0 12px 36px rgba(0, 0, 0, .3)
 }

 .post-tag {
     display: inline-flex;
     align-items: center;
     padding: 3px 10px;
     border-radius: 4px;
     font-size: .72rem;
     font-weight: 700;
     font-family: var(--mono);
     width: fit-content
 }

 .tag-streamlit {
     background: rgba(255, 107, 53, .15);
     color: #ff6b35
 }

 .tag-flask {
     background: rgba(96, 165, 250, .15);
     color: #60a5fa
 }

 .tag-jinja {
     background: rgba(167, 139, 250, .15);
     color: #a78bfa
 }

 .post-card h3 {
     font-size: 1rem;
     font-weight: 600;
     line-height: 1.4
 }

 .post-card p {
     font-size: .855rem;
     color: var(--text-secondary);
     line-height: 1.65;
     flex: 1
 }

 .post-meta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: .78rem;
     color: var(--text-muted);
     padding-top: 12px;
     border-top: 1px solid var(--border)
 }

 .read-more {
     color: var(--accent);
     font-weight: 600;
     font-size: .82rem;
     display: flex;
     align-items: center;
     gap: 4px;
     transition: gap .2s
 }

 .post-card:hover .read-more {
     gap: 8px
 }

 .essentials-bg {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border);
     border-bottom: 1px solid var(--border)
 }

 .topics-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
     gap: 16px
 }

 .topic-label {
     font-size: .75rem;
     font-weight: 700;
     font-family: var(--mono);
     color: var(--text-muted);
     letter-spacing: 1.2px;
     text-transform: uppercase;
     margin-bottom: 10px;
     padding-left: 2px
 }

 .snippet-card {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: var(--radius);
     padding: 18px 20px;
     transition: all .2s;
     cursor: pointer;
     margin-bottom: 10px;
     display: flex;
     align-items: flex-start;
     gap: 14px
 }

 .snippet-card:hover {
     border-color: var(--border-accent);
     background: var(--bg-card-hover)
 }

 .snippet-arrow {
     color: var(--accent);
     font-size: 1rem;
     margin-top: 2px;
     flex-shrink: 0;
     transition: transform .2s
 }

 .snippet-card:hover .snippet-arrow {
     transform: translateX(4px)
 }

 .snippet-info h4 {
     font-size: .875rem;
     font-weight: 600;
     margin-bottom: 4px;
     line-height: 1.4
 }

 .snippet-info span {
     font-size: .78rem;
     color: var(--text-muted);
     font-family: var(--mono)
 }

 .downloads-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 20px
 }

 .download-card {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: var(--radius);
     padding: 26px;
     transition: all .25s;
     display: flex;
     flex-direction: column;
     gap: 14px
 }

 .download-card:hover {
     border-color: var(--border-accent);
     transform: translateY(-3px);
     box-shadow: 0 12px 36px rgba(0, 0, 0, .3)
 }

 .dl-icon {
     width: 44px;
     height: 44px;
     border-radius: 10px;
     background: var(--accent-soft);
     border: 1px solid var(--border-accent);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.3rem
 }

 .download-card h3 {
     font-size: 1rem;
     font-weight: 600
 }

 .download-card p {
     font-size: .855rem;
     color: var(--text-secondary);
     line-height: 1.65;
     flex: 1
 }

 .btn-download {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: var(--accent-soft);
     border: 1px solid var(--border-accent);
     color: var(--accent);
     font-weight: 700;
     font-size: .85rem;
     padding: 9px 18px;
     border-radius: var(--radius-sm);
     cursor: pointer;
     transition: all .2s;
     font-family: var(--font);
     width: fit-content
 }

 .btn-download:hover {
     background: var(--accent);
     color: #000
 }

 .bytetrials {
     background: linear-gradient(135deg, rgba(255, 184, 0, .06), rgba(255, 107, 53, .03));
     border: 1px solid var(--border);
     border-radius: var(--radius);
     padding: 40px;
     display: flex;
     gap: 40px;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     margin-top: 60px
 }

 .bt-left h3 {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 8px
 }

 .bt-left p {
     color: var(--text-secondary);
     font-size: .9rem;
     max-width: 420px
 }

 .bt-pills {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
     margin-top: 16px
 }

 .pill {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 100px;
     padding: 4px 14px;
     font-size: .78rem;
     color: var(--text-secondary);
     font-family: var(--mono)
 }

 .cta-section {
     padding: 80px 5%;
     text-align: center
 }

 .cta-box {
     background: linear-gradient(135deg, var(--bg-card) 0%, #1a1b2e 100%);
     border: 1px solid var(--border);
     border-radius: 20px;
     padding: 70px 40px;
     position: relative;
     overflow: hidden
 }

 .cta-box::before {
     content: '';
     position: absolute;
     top: -50%;
     left: 50%;
     transform: translateX(-50%);
     width: 500px;
     height: 300px;
     background: radial-gradient(ellipse, rgba(255, 184, 0, .1) 0%, transparent 70%);
     pointer-events: none
 }

 .cta-box h2 {
     font-size: clamp(1.8rem, 4vw, 2.8rem);
     font-weight: 700;
     letter-spacing: -1px;
     margin-bottom: 14px;
     position: relative
 }

 .cta-box p {
     font-size: 1rem;
     color: var(--text-secondary);
     max-width: 480px;
     margin: 0 auto 36px;
     position: relative
 }

 .cta-actions {
     display: flex;
     gap: 14px;
     justify-content: center;
     flex-wrap: wrap;
     position: relative
 }

 footer {
     background: var(--bg-secondary);
     border-top: 1px solid var(--border);
     padding: 60px 5% 30px
 }

 .footer-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 48px;
     margin-bottom: 48px
 }

 .footer-brand p {
     font-size: .875rem;
     color: var(--text-secondary);
     margin-top: 12px;
     line-height: 1.7;
     max-width: 260px
 }

 .footer-col h4 {
     font-size: .8rem;
     font-weight: 700;
     color: var(--text-muted);
     letter-spacing: 1.2px;
     text-transform: uppercase;
     margin-bottom: 16px;
     font-family: var(--mono)
 }

 .footer-col ul {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 10px
 }

 .footer-col ul li a {
     font-size: .875rem;
     color: var(--text-secondary);
     transition: color .2s
 }

 .footer-col ul li a:hover {
     color: var(--accent)
 }

 .footer-bottom {
     border-top: 1px solid var(--border);
     padding-top: 24px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 12px
 }

 .footer-bottom p {
     font-size: .8rem;
     color: var(--text-muted)
 }

 .footer-bottom span {
     color: var(--accent)
 }

 .social-links {
     display: flex;
     gap: 10px
 }

 .social-btn {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     background: var(--bg-card);
     border: 1px solid var(--border);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: .9rem;
     cursor: pointer;
     transition: all .2s
 }

 .social-btn:hover {
     border-color: var(--accent);
     background: var(--accent-soft)
 }

 ::-webkit-scrollbar {
     width: 6px
 }

 ::-webkit-scrollbar-track {
     background: var(--bg-primary)
 }

 ::-webkit-scrollbar-thumb {
     background: var(--border);
     border-radius: 3px
 }

 ::-webkit-scrollbar-thumb:hover {
     background: var(--accent)
 }

 @keyframes fadeUp {
     from {
         opacity: 0;
         transform: translateY(24px)
     }

     to {
         opacity: 1;
         transform: translateY(0)
     }
 }

 .hero-content>* {
     animation: fadeUp .5s ease both
 }

 .hero-content>*:nth-child(1) {
     animation-delay: .05s
 }

 .hero-content>*:nth-child(2) {
     animation-delay: .15s
 }

 .hero-content>*:nth-child(3) {
     animation-delay: .25s
 }

 .hero-content>*:nth-child(4) {
     animation-delay: .35s
 }

 .hero-content>*:nth-child(5) {
     animation-delay: .45s
 }

 .hero-visual {
     animation: fadeUp .6s .3s ease both
 }

 @media(max-width:900px) {
     .hero {
         flex-direction: column;
         padding: 60px 5%;
         min-height: auto
     }

     .hero-visual {
         width: 100%;
         max-width: 500px
     }

     .footer-grid {
         grid-template-columns: 1fr 1fr
     }

     .stats-bar {
         gap: 30px
     }
 }

 @media(max-width:600px) {
     nav {
         padding: 0 4%
     }
     .nav-cta .btn-outline{
        display: none;
     }
     .nav-cta .btn-primary{
        height: 43px;
     }

     .nav-links {
         display: none
     }

     .footer-grid {
         grid-template-columns: 1fr
     }

     .hero-stats {
         gap: 20px
     }

     .bytetrials {
         flex-direction: column
     }
 }