
:root {
  --primary:#0a84ff;
  --secondary:#bf5af2;
  --dark:#0a0a0a;
  --darker:#060606;
  --light:#f0f0f0;
  --gray:#333;
}
*{margin:0;padding:0;box-sizing:border-box}
html:focus-within{scroll-behavior:smooth}
body{background-color:var(--darker);color:var(--light);line-height:1.6;overflow-x:hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(11,132,255,.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(191,90,242,.1) 0%, transparent 20%);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
}
a{color:var(--light);text-decoration:none}
a:hover{text-decoration:underline}
.visually-hidden{position:absolute!important;clip:rect(1px, 1px, 1px, 1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap}

.navbar{background-color:rgba(10,10,10,.95);backdrop-filter:blur(10px);padding:1rem 5%;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;width:100%;z-index:1000;border-bottom:1px solid rgba(10,132,255,.2);box-shadow:0 2px 15px rgba(0,0,0,.5)}
.site-title{font-size:1.2rem;margin-left:.75rem;background:linear-gradient(90deg,var(--primary),var(--secondary));-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}
.site-title span{color:var(--light);font-weight:300;margin-left:.5rem}
.nav-links .menu{display:flex;gap:2rem;list-style:none}
.nav-links a{color:var(--light);font-weight:500;transition:all .3s ease;position:relative;padding:.5rem 0}
.nav-links a:hover{color:var(--primary)}
.nav-links a::after{content:'';position:absolute;width:0;height:2px;bottom:0;left:0;background:linear-gradient(90deg,var(--primary),var(--secondary));transition:width .3s ease}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.mobile-menu-btn{display:none;color:#fff;font-size:1.5rem;cursor:pointer;background:none;border:none}

.cta-button{background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;border:none;padding:.8rem 1.5rem;border-radius:30px;font-weight:600;cursor:pointer;transition:transform .2s ease, box-shadow .2s ease;font-size:1rem;box-shadow:0 4px 10px rgba(10,132,255,.3)}
.cta-button:hover{transform:translateY(-3px);box-shadow:0 7px 18px rgba(10,132,255,.5)}
.cta-button:focus-visible{outline:3px solid #fff;outline-offset:3px}

.hero{min-height:100vh;display:flex;align-items:center;padding:0 10%;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:
  radial-gradient(circle at 20% 30%, rgba(10,132,255,.15) 0%, transparent 30%),
  radial-gradient(circle at 80% 70%, rgba(191,90,242,.15) 0%, transparent 30%);z-index:-1}
.hero-content{max-width:650px;z-index:2;position:relative}
.hero h2{font-size:clamp(2rem,6vw,3.5rem);margin-bottom:1.2rem;line-height:1.2}
.hero h2 span{background:linear-gradient(90deg,var(--primary),var(--secondary));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{font-size:1.1rem;margin-bottom:1.6rem;opacity:.9;max-width:600px;line-height:1.8}
.hero-image{position:absolute;right:5%;bottom:10%;width:min(45%,600px);z-index:1;opacity:.95;border-radius:15px;overflow:hidden;border:2px solid rgba(255,255,255,.1);box-shadow:0 20px 50px rgba(0,0,0,.5)}

.tech-animation{position:absolute;top:20%;right:10%;width:300px;height:300px;z-index:0;opacity:.3}
.circle{position:absolute;border-radius:50%;border:2px solid;animation:rotate 20s linear infinite}
.circle-1{width:100%;height:100%;border-color:var(--primary)}
.circle-2{width:80%;height:80%;top:10%;left:10%;border-color:var(--secondary);animation-direction:reverse;animation-delay:-5s}
.circle-3{width:60%;height:60%;top:20%;left:20%;border-color:#44d7b6;animation-delay:-10s}
@keyframes rotate{to{transform:rotate(360deg)}}

.section{padding:5rem 10%}
.section-header{text-align:center;margin-bottom:3rem}
.section-header h2{font-size:2.2rem;margin-bottom:1rem;position:relative;display:inline-block}
.section-header h2::after{content:'';position:absolute;width:70%;height:4px;background:linear-gradient(90deg,var(--primary),var(--secondary));bottom:-10px;left:15%;border-radius:2px}
.section-header p{font-size:1.05rem;max-width:700px;margin:1rem auto 0;opacity:.85}

.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem}
.product-card{background:rgba(30,30,40,.5);border-radius:15px;overflow:hidden;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px)}
.product-card:hover{transform:translateY(-8px);box-shadow:0 15px 35px rgba(0,0,0,.4);border-color:rgba(10,132,255,.5)}
.product-icon{background:rgba(10,10,20,.7);padding:1.5rem;text-align:center;font-size:2.2rem;color:var(--primary)}
.product-content{padding:1.5rem}
.product-content h3{font-size:1.25rem;margin-bottom:1rem}
.product-content ul{list-style:none}
.product-content li{padding:.45rem 0;display:flex;align-items:flex-start}
.product-content li::before{content:'✓';color:var(--primary);font-weight:700;margin-right:.5rem}

.tech-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}
.tech-card{background:rgba(20,20,30,.6);padding:2rem;border-radius:15px;border:1px solid rgba(255,255,255,.05);text-align:center;transition:transform .2s ease, background .2s ease, border-color .2s ease;position:relative;overflow:hidden}
.tech-card::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent,rgba(10,132,255,.1),transparent);transform:rotate(45deg);transition:transform .5s ease;z-index:0}
.tech-card:hover{background:rgba(30,40,60,.4);transform:translateY(-5px);border-color:rgba(10,132,255,.2)}
.tech-card:hover::before{transform:rotate(45deg) translate(20%,20%)}
.tech-icon{font-size:2.6rem;margin-bottom:1.2rem;color:var(--primary);position:relative;z-index:1}
.tech-card h3,.tech-card p{position:relative;z-index:1}

.pricing-section{background:rgba(10,15,25,.8);border-top:1px solid rgba(10,132,255,.1);border-bottom:1px solid rgba(10,132,255,.1);position:relative}
.pricing-table{background:rgba(20,20,30,.6);border-radius:15px;overflow:hidden;max-width:1000px;margin:0 auto;border:1px solid rgba(255,255,255,.1);position:relative;z-index:2}
.pricing-header{background:linear-gradient(90deg,var(--primary),var(--secondary));padding:2rem;text-align:center}
.pricing-header h3{font-size:1.8rem;margin-bottom:.5rem}
.pricing-features{padding:2rem}
.pricing-feature{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.1)}
.pricing-feature:last-child{border-bottom:none}
.feature-name{font-weight:600}
.feature-value{color:var(--primary);font-weight:700}
.pricing-notes{padding:1.2rem 2rem;background:rgba(10,15,25,.7);border-top:1px solid rgba(255,255,255,.05)}
.note{display:flex;margin:.4rem 0;color:#ff6b6b}
.note::before{content:'•';margin-right:.5rem}

footer{background:rgba(5,5,10,.95);padding:4rem 10% 2rem;border-top:1px solid rgba(10,132,255,.1);position:relative;overflow:hidden}
footer::before{content:'';position:absolute;inset:auto 0 0 0;height:100%;background:radial-gradient(circle at 50% 100%, rgba(10,132,255,.05), transparent 70%);z-index:0}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-bottom:2rem;position:relative;z-index:1}
.footer-column h4{font-size:1.2rem;margin-bottom:1.2rem;position:relative;padding-bottom:.5rem}
.footer-column h4::after{content:'';position:absolute;width:40px;height:3px;background:linear-gradient(90deg,var(--primary),var(--secondary));bottom:0;left:0}
.footer-links{list-style:none}
.footer-links li{margin-bottom:.8rem}
.footer-links a{color:#aaa;display:flex;align-items:center}
.footer-links a:hover{color:var(--primary)}
.footer-links i{margin-right:.8rem;width:20px;text-align:center}
.copyright{text-align:center;padding-top:2rem;border-top:1px solid rgba(255,255,255,.05);color:#777;font-size:.9rem;position:relative;z-index:1}

@media (max-width: 992px){
  .hero{flex-direction:column;text-align:center;padding-top:7rem}
  .hero-content{max-width:100%;margin-bottom:2rem}
  .hero-image{position:relative;width:min(100%,500px);right:auto}
  .nav-links .menu{display:none;position:absolute;top:64px;left:0;right:0;background:rgba(10,10,10,.95);flex-direction:column;padding:1.2rem 2rem;gap:1.2rem;box-shadow:0 10px 20px rgba(0,0,0,.3)}
  .mobile-menu-btn{display:block}
  .tech-animation{display:none}
}
@media (max-width: 768px){
  .section{padding:4rem 5%}
  .section-header h2{font-size:1.8rem}
  .pricing-feature{flex-direction:column;align-items:flex-start}
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* Focus styles */
:where(a,button,[role="button"]):focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:6px}


/* === Compact Navbar Tweaks === */
.inline-branding{display:flex;align-items:center;gap:.6rem}
.inline-branding img.custom-logo{max-height:36px;height:auto;width:auto}
.navbar{padding:.55rem 5%} /* reduce overall height */
.site-title{font-size:1.05rem;margin-left:.5rem}
@media (max-width: 992px){
  .navbar{padding:.5rem 5%}
  .site-title{font-size:1rem}
  .inline-branding img.custom-logo{max-height:32px}
}

/* Market button outline style */
.cta-outline{background:transparent;border:1px solid rgba(255,255,255,.25);margin-right:.6rem}
.cta-outline:hover{background:rgba(255,255,255,.06)}


/* ===== Mobile navbar fixes ===== */
.header-ctas{display:flex; gap:.6rem; align-items:center}
@media (max-width: 992px){
  .navbar{padding:.5rem 4%; gap:.6rem}
  .logo h1, .site-title{font-size:1.1rem; line-height:1.2}
  .inline-branding img.custom-logo{max-height:30px}
  .mobile-menu-btn{margin-left:auto; order:2}
  .header-ctas{order:3}
  .header-ctas .cta-button,
  .header-ctas .cta-outline{padding:.5rem .9rem; font-size:.9rem; border-radius:9999px}
  .nav-links{position:fixed; top:60px; left:0; right:0; display:none; flex-direction:column; padding:1rem 1.25rem; background:rgba(10,10,10,.96); backdrop-filter:blur(8px); z-index:999}
  .navbar.is-open .nav-links{display:flex}
}
@media (max-width: 520px){
  .logo h1, .site-title{font-size:1rem}
  .inline-branding img.custom-logo{max-height:26px}
  .header-ctas .cta-button,
  .header-ctas .cta-outline{padding:.45rem .7rem; font-size:.85rem}
  /* If space is tight, stack CTAs vertically */
  .header-ctas{flex-wrap:wrap; justify-content:flex-end}
}
/* ===== Post Page (single) ===== */
.post-hero{position:relative; margin:0 auto 24px; max-width:1100px}
.post-hero-img{width:100%; height:auto; display:block; border-radius:16px; border:1px solid rgba(255,255,255,.08)}

.post-article{max-width:880px; margin:0 auto; padding:0 16px}
.post-breadcrumbs{font-size:.9rem; opacity:.85; margin:4px 0 14px}
.post-breadcrumbs a{color:#bbb; text-decoration:none}
.post-breadcrumbs a:hover{color:var(--primary)}
.post-breadcrumbs .slash{margin:0 .4rem; opacity:.6}
.post-breadcrumbs .current{color:#ddd}

.post-header{margin:4px 0 14px}
.post-title{font-size:2rem; line-height:1.25; margin:0 0 .6rem}
.post-meta{display:flex; align-items:center; gap:.5rem; opacity:.85; font-size:.95rem}
.post-meta .dot{opacity:.6}
.post-cat{color:var(--primary); text-decoration:none}

.entry-content{color:#eee; line-height:1.85; font-size:1.05rem}
.entry-content p{margin:0 0 1.05rem}
.entry-content h2{font-size:1.6rem; margin:1.3rem 0 .6rem}
.entry-content h3{font-size:1.35rem; margin:1.1rem 0 .5rem}
.entry-content ul, .entry-content ol{margin:0 0 1.1rem 1.2rem}
.entry-content img{max-width:100%; height:auto; border-radius:12px; border:1px solid rgba(255,255,255,.06)}
.post-pages{margin:.8rem 0; opacity:.9}

.post-footer{display:flex; justify-content:space-between; align-items:center; gap:1rem; margin:1.1rem 0 1.4rem}
.post-tags a{display:inline-block; margin:.25rem .35rem .25rem 0; padding:.25rem .55rem; border-radius:999px; font-size:.85rem; border:1px solid rgba(255,255,255,.12); text-decoration:none; color:#ddd}
.post-tags a:hover{border-color:var(--primary); color:#fff}
.post-share{display:flex; align-items:center; gap:.6rem; opacity:.95}
.post-share .share-btn{padding:.35rem .7rem; border-radius:8px; border:1px solid rgba(255,255,255,.16); text-decoration:none}
.post-share .share-btn:hover{border-color:var(--primary)}

.post-nav{display:flex; justify-content:space-between; gap:1rem; padding:1rem 0; border-top:1px dashed rgba(255,255,255,.12); border-bottom:1px dashed rgba(255,255,255,.12); margin:1.2rem 0}
.post-nav a{text-decoration:none; color:#ddd}
.post-nav a:hover{color:#fff}

.related{margin:1.2rem 0 1.4rem}
.related-title{font-size:1.35rem; margin:0 0 .8rem}
.related-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem}
.related-card{display:block; background:rgba(20,20,30,.6); border:1px solid rgba(255,255,255,.08); border-radius:14px; overflow:hidden; text-decoration:none; color:#eee; transition:transform .2s, border-color .2s, box-shadow .2s}
.related-card:hover{transform:translateY(-4px); border-color:rgba(10,132,255,.35); box-shadow:0 12px 28px rgba(0,0,0,.35)}
.related-card .thumb img{width:100%; height:140px; object-fit:cover; display:block}
.related-card .title{padding:.7rem .8rem; font-size:.95rem; line-height:1.4}

.post-comments{margin:1.4rem 0 2rem}
.comment-list, .comment-list .children{list-style:none; padding-left:0}
.comment-body{background:rgba(20,20,30,.6); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:.8rem 1rem; margin:.7rem 0}
.comment-reply-link{font-size:.9rem}

@media (max-width: 768px){
  .post-title{font-size:1.6rem}
  .post-meta{font-size:.9rem}
  .entry-content{font-size:1rem}
  .related-card .thumb img{height:120px}
  .post-footer{flex-direction:column; align-items:flex-start}
}
