*{margin:0;padding:0;box-sizing:border-box}
:root{
    --primary:#6366f1;--primary-light:#818cf8;
    --bg:#0a0a0f;--bg2:#111118;--bg3:#1a1a24;--bg4:#22222e;
    --text:#eeeef0;--text2:#a0a0ab;--text3:#6b6b76;
    --border:#252530;--border2:#35354a;
    --pink:#ec4899;--amber:#f59e0b;--green:#22c55e;
    --radius:14px;--radius-sm:10px;
}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}

/* ===== NAVBAR ===== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(10,10,15,.75);backdrop-filter:blur(24px);border-bottom:1px solid var(--border);transition:all .3s}
.navbar.scrolled{background:rgba(10,10,15,.95);box-shadow:0 8px 40px rgba(0,0,0,.5)}
.nav-container{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:68px;padding:0 1.5rem}
.logo{display:flex;align-items:center;gap:.6rem;font-size:1.35rem;font-weight:800}
.logo-icon{display:flex}
.accent{background:linear-gradient(135deg,#6366f1,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.nav-links{display:flex;gap:.5rem}
.nav-links a{padding:.5rem 1rem;border-radius:var(--radius-sm);font-size:.88rem;font-weight:500;color:var(--text2);transition:all .25s}
.nav-links a:hover,.nav-links a.active{color:var(--text);background:rgba(99,102,241,.1)}
.mobile-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.mobile-toggle span{width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}
.mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.mobile-toggle.active span:nth-child(2){opacity:0}
.mobile-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ===== HERO ===== */
.hero{min-height:92vh;display:flex;align-items:center;position:relative;overflow:hidden;padding:7rem 1.5rem 3rem}
.hero-bg{position:absolute;inset:0;z-index:0}
.orb{position:absolute;border-radius:50%;filter:blur(140px);opacity:.25}
.orb-1{width:600px;height:600px;background:#6366f1;top:-200px;right:-100px;animation:floatA 9s ease-in-out infinite}
.orb-2{width:500px;height:500px;background:#ec4899;bottom:-150px;left:-100px;animation:floatA 11s ease-in-out infinite reverse}
.orb-3{width:350px;height:350px;background:#f59e0b;top:40%;left:45%;animation:floatA 13s ease-in-out infinite}
@keyframes floatA{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-25px) scale(1.04)}}
.hero-content{position:relative;z-index:1;max-width:750px;text-align:center;margin:0 auto}
.hero-badge{display:inline-block;padding:.4rem 1rem;background:rgba(99,102,241,.12);border:1px solid rgba(99,102,241,.25);border-radius:50px;font-size:.82rem;font-weight:600;color:var(--primary-light);margin-bottom:1.5rem}
.hero h1{font-size:clamp(2.2rem,5.5vw,3.8rem);font-weight:900;line-height:1.1;margin-bottom:1.2rem}
.gradient-text{background:linear-gradient(135deg,#6366f1,#a855f7,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-desc{font-size:1.1rem;color:var(--text2);max-width:550px;margin:0 auto 2.5rem}
.hero-stats{display:flex;justify-content:center;gap:3rem}
.hero-stat{text-align:center}
.hero-stat strong{display:block;font-size:2rem;font-weight:800;background:linear-gradient(135deg,#6366f1,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-stat span{font-size:.82rem;color:var(--text3)}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* ===== CATEGORY HEADER ===== */
.category-header{padding:8rem 1.5rem 3rem;text-align:center}
.category-header h1{font-size:2.5rem;font-weight:900;margin:.75rem 0 .5rem}
.category-header p{color:var(--text2);font-size:1.1rem}
.cat-badge{display:inline-block;padding:.35rem .9rem;border-radius:50px;font-size:.8rem;font-weight:600}

/* ===== SECTION HEADERS ===== */
.section-header{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:2.5rem}
.section-header h2{font-size:1.8rem;font-weight:800;flex:1}
.section-badge{display:inline-block;padding:.3rem .8rem;border-radius:50px;font-size:.78rem;font-weight:600}
.see-all{font-size:.88rem;font-weight:600;color:var(--primary-light);transition:color .2s}
.see-all:hover{color:var(--primary)}

/* ===== FEATURED CARD ===== */
.featured-section{padding:3rem 0 1rem}
.featured-card{display:grid;grid-template-columns:1.2fr 1fr;border-radius:20px;overflow:hidden;background:var(--bg3);border:1px solid var(--border);transition:all .35s}
.featured-card:hover{transform:translateY(-4px);border-color:var(--border2);box-shadow:0 24px 60px rgba(0,0,0,.4)}
.featured-image{position:relative;overflow:hidden}
.featured-image img{width:100%;height:100%;object-fit:cover;min-height:350px;transition:transform .5s}
.featured-card:hover .featured-image img{transform:scale(1.04)}
.featured-overlay{position:absolute;top:1rem;left:1rem}
.featured-body{padding:2.5rem;display:flex;flex-direction:column;justify-content:center}
.featured-body h2{font-size:1.7rem;font-weight:800;margin-bottom:.75rem;line-height:1.25}
.featured-body p{color:var(--text2);margin-bottom:1.5rem;font-size:1rem;line-height:1.6}

/* ===== ARTICLE GRID ===== */
.articles-section{padding:3rem 0}
.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}
.article-card{background:var(--bg3);border-radius:var(--radius);border:1px solid var(--border);overflow:hidden;transition:all .3s;display:flex;flex-direction:column}
.article-card:hover{transform:translateY(-5px);border-color:var(--border2);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.card-image{position:relative;overflow:hidden;aspect-ratio:16/10}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.article-card:hover .card-image img{transform:scale(1.06)}
.article-tag{position:absolute;top:.75rem;left:.75rem;padding:.25rem .65rem;border-radius:50px;font-size:.72rem;font-weight:700;color:#fff;backdrop-filter:blur(8px)}
.card-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.card-meta{display:flex;gap:.4rem;font-size:.78rem;color:var(--text3);margin-bottom:.6rem}
.card-body h3{font-size:1.08rem;font-weight:700;line-height:1.35;margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-body p{font-size:.88rem;color:var(--text2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border)}
.author{font-size:.82rem;font-weight:600;color:var(--text2)}
.read-more{font-size:.82rem;font-weight:600;color:var(--primary-light)}

/* ===== NEWSLETTER ===== */
.newsletter-section{padding:4rem 0}
.newsletter-box{background:linear-gradient(135deg,rgba(99,102,241,.1),rgba(236,72,153,.1));border:1px solid var(--border);border-radius:20px;padding:3.5rem;text-align:center}
.newsletter-box h2{font-size:2rem;font-weight:800;margin-bottom:.5rem}
.newsletter-box>p{color:var(--text2);margin-bottom:2rem}
.newsletter-form{display:flex;gap:.75rem;max-width:500px;margin:0 auto}
.newsletter-form input{flex:1;padding:.85rem 1.2rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-size:.95rem;font-family:inherit;outline:none;transition:border-color .2s}
.newsletter-form input:focus{border-color:var(--primary)}
.newsletter-form input::placeholder{color:var(--text3)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.6rem;border-radius:var(--radius-sm);font-weight:600;font-size:.9rem;border:none;cursor:pointer;transition:all .25s;font-family:inherit}
.btn-primary{background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff;box-shadow:0 4px 20px rgba(99,102,241,.35)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(99,102,241,.45)}
.btn-secondary{background:var(--bg3);color:var(--text);border:1px solid var(--border)}
.btn-secondary:hover{border-color:var(--primary);background:var(--bg4)}

/* ===== ARTICLE PAGE ===== */
.article-page{padding-top:68px}
.article-hero{position:relative;min-height:500px;display:flex;align-items:flex-end;overflow:hidden}
.article-hero-bg{position:absolute;inset:0}
.article-hero-bg img{width:100%;height:100%;object-fit:cover}
.article-hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,10,15,.95) 0%,rgba(10,10,15,.4) 50%,rgba(10,10,15,.2) 100%)}
.article-hero-content{position:relative;z-index:1;padding:3rem;max-width:900px;width:100%}
.article-tag-large{display:inline-block;padding:.4rem 1rem;border-radius:50px;font-size:.82rem;font-weight:700;color:#fff;margin-bottom:1rem;transition:opacity .2s}
.article-tag-large:hover{opacity:.85}
.article-hero h1{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;line-height:1.15;margin-bottom:.75rem}
.article-subtitle{font-size:1.15rem;color:var(--text2);line-height:1.5;margin-bottom:1.5rem}
.article-info{display:flex;align-items:center;gap:.75rem}
.author-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#ec4899);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;color:#fff}
.author-name{display:block;font-weight:600;font-size:.9rem}
.article-date{display:block;font-size:.82rem;color:var(--text3)}

/* ===== ARTICLE BODY ===== */
.article-body{max-width:800px;margin:0 auto;padding:3rem 1.5rem 4rem}
.article-content{font-size:1.05rem;line-height:1.85;color:var(--text2)}
.article-content h2{color:var(--text);font-size:1.4rem;font-weight:800;margin:2.5rem 0 1rem;padding-top:1rem;border-top:1px solid var(--border)}
.article-content p{margin-bottom:1.25rem}
.article-content p:first-child{font-size:1.15rem;color:var(--text);font-weight:500}

/* ===== SHARE ===== */
.article-share{display:flex;align-items:center;gap:.75rem;margin-top:3rem;padding:1.25rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.article-share span{font-weight:600;font-size:.9rem}
.share-btn{padding:.45rem 1rem;border-radius:50px;font-size:.8rem;font-weight:600;color:#fff;transition:all .2s}
.share-btn:hover{transform:translateY(-1px)}
.share-twitter{background:#1da1f2}
.share-facebook{background:#1877f2}

/* ===== RELATED ===== */
.related-section{margin-top:3rem}
.related-section h2{font-size:1.5rem;font-weight:800;margin-bottom:1.5rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem}
.related-card{background:var(--bg3);border-radius:var(--radius);border:1px solid var(--border);overflow:hidden;transition:all .3s}
.related-card:hover{transform:translateY(-3px);border-color:var(--border2)}
.related-image{aspect-ratio:16/9;overflow:hidden}
.related-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.related-card:hover .related-image img{transform:scale(1.05)}
.related-body{padding:1rem}
.article-tag-small{display:inline-block;padding:.2rem .55rem;border-radius:50px;font-size:.7rem;font-weight:600;margin-bottom:.5rem}
.related-body h3{font-size:.95rem;font-weight:700;margin-bottom:.4rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-meta{font-size:.78rem;color:var(--text3)}
.back-btn-wrap{display:flex;gap:1rem;margin-top:2.5rem;flex-wrap:wrap}

/* ===== FOOTER ===== */
.footer{border-top:1px solid var(--border);padding:3rem 0 1.5rem;margin-top:2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-brand p{color:var(--text3);font-size:.88rem;margin-top:.75rem;max-width:280px;line-height:1.6}
.footer-col h4{font-size:.88rem;font-weight:700;margin-bottom:.75rem}
.footer-col a{display:block;font-size:.85rem;color:var(--text3);margin-bottom:.5rem;transition:color .2s}
.footer-col a:hover{color:var(--primary-light)}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.5rem;text-align:center}
.footer-bottom p{font-size:.82rem;color:var(--text3)}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
    .featured-card{grid-template-columns:1fr}
    .featured-image img{min-height:250px}
    .featured-body{padding:2rem}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
    .nav-links{display:none;position:absolute;top:68px;left:0;right:0;background:rgba(10,10,15,.97);backdrop-filter:blur(20px);flex-direction:column;padding:1rem 1.5rem;border-bottom:1px solid var(--border)}
    .nav-links.open{display:flex}
    .mobile-toggle{display:flex}
    .hero{min-height:80vh;padding-top:6rem}
    .hero h1{font-size:2rem}
    .hero-stats{gap:1.5rem}
    .hero-stat strong{font-size:1.5rem}
    .articles-grid{grid-template-columns:1fr}
    .section-header{flex-direction:column;align-items:flex-start}
    .article-hero{min-height:400px}
    .article-hero-content{padding:2rem 1.5rem}
    .footer-grid{grid-template-columns:1fr}
    .newsletter-form{flex-direction:column}
    .related-grid{grid-template-columns:1fr}
}

/* ===== LEGAL PAGES ===== */
.legal-page{padding-top:6rem;padding-bottom:4rem;min-height:100vh}
.legal-header{max-width:800px;margin:0 auto 3rem}
.back-link{display:inline-block;font-size:.88rem;font-weight:500;color:var(--primary-light);margin-bottom:1.5rem;transition:opacity .2s}
.back-link:hover{opacity:.7}
.legal-header h1{font-size:2.5rem;font-weight:900;margin-bottom:.5rem}
.legal-updated{font-size:.88rem;color:var(--text3)}
.legal-content{max-width:800px;margin:0 auto}
.legal-content section{margin-bottom:2.5rem}
.legal-content h2{font-size:1.35rem;font-weight:800;color:var(--text);margin-bottom:1rem;padding-top:.5rem;border-top:1px solid var(--border)}
.legal-content h3{font-size:1.05rem;font-weight:700;color:var(--text);margin:1.5rem 0 .75rem}
.legal-content p{font-size:.98rem;color:var(--text2);line-height:1.8;margin-bottom:1rem}
.legal-content ul{list-style:none;padding:0;margin-bottom:1rem}
.legal-content ul li{position:relative;padding-left:1.5rem;font-size:.95rem;color:var(--text2);line-height:1.8;margin-bottom:.4rem}
.legal-content ul li::before{content:'';position:absolute;left:0;top:.65rem;width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#ec4899)}
.legal-content a{color:var(--primary-light);text-decoration:underline;text-decoration-color:rgba(99,102,241,.3);transition:text-decoration-color .2s}
.legal-content a:hover{text-decoration-color:var(--primary-light)}
.legal-content strong{color:var(--text);font-weight:600}
