﻿/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-1: #8b5cf6;
  --accent-2: #6366f1;
  --accent-gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
  --accent-soft: #eef2ff;
  --cyan: #06b6d4;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 8px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.1), 0 8px 16px -6px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.7;overflow-x:hidden}
a{color:var(--accent-1);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--accent-2)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.25;font-weight:700;color:var(--primary);letter-spacing:-0.02em}
h1{font-size:3.25rem;margin-bottom:1.25rem}
h2{font-size:2.125rem;margin-bottom:0.75rem}
h3{font-size:1.35rem;margin-bottom:0.5rem;letter-spacing:-0.01em}
p{margin-bottom:1rem;color:var(--text-secondary)}
::selection{background:var(--accent-1);color:white}

/* ===== Layout ===== */
.container{max-width:var(--max-width);margin:0 auto;padding:0 2rem}

/* ===== Header ===== */
.site-header{background:rgba(255,255,255,0.85);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border-light);position:sticky;top:0;z-index:100;transition:box-shadow var(--transition)}
.site-header.scrolled{box-shadow:0 1px 8px rgba(0,0,0,0.06)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{font-size:1.2rem;font-weight:800;background:var(--accent-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:flex;align-items:center;gap:0.5rem;letter-spacing:-0.03em}
.logo:hover{-webkit-text-fill-color:var(--accent-1)}
.nav-links{display:flex;gap:0.5rem;list-style:none;align-items:center}
.nav-links a{padding:0.4rem 1rem;border-radius:var(--radius);color:var(--text-secondary);font-weight:500;font-size:0.9rem;transition:all var(--transition)}
.nav-links a:hover,.nav-links a.active{color:var(--accent-1);background:var(--accent-soft);text-decoration:none}

/* ===== Hero ===== */
.hero{position:relative;padding:6rem 0 5rem;background:linear-gradient(160deg,#0f172a 0%,#1e1b4b 40%,#312e81 70%,#4338ca 100%);overflow:hidden;text-align:center}
.hero::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(ellipse at 30% 50%,rgba(139,92,246,0.12) 0%,transparent 60%),radial-gradient(ellipse at 70% 20%,rgba(6,182,212,0.08) 0%,transparent 50%);pointer-events:none}
.hero .container{position:relative;z-index:1}
.hero h1{color:white;font-size:3.25rem;font-weight:900;margin-bottom:1rem;letter-spacing:-0.03em;line-height:1.15}
.hero h1 span{background:linear-gradient(135deg,#a78bfa,#67e8f9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{color:rgba(255,255,255,0.7);font-size:1.2rem;max-width:600px;margin:0 auto 2rem;line-height:1.7}
.hero-cta{display:inline-flex;gap:0.75rem;flex-wrap:wrap;justify-content:center}
.hero-cta .btn-primary{background:var(--accent-gradient);color:white;box-shadow:0 4px 14px rgba(139,92,246,0.35)}
.hero-cta .btn-primary:hover{box-shadow:0 6px 20px rgba(139,92,246,0.5);transform:translateY(-1px)}
.hero-cta .btn-outline{border:1.5px solid rgba(255,255,255,0.25);color:rgba(255,255,255,0.9);background:rgba(255,255,255,0.06);backdrop-filter:blur(4px)}
.hero-cta .btn-outline:hover{background:rgba(255,255,255,0.12);border-color:rgba(255,255,255,0.4)}
.hero-stats{display:flex;justify-content:center;gap:3rem;margin-top:3rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,0.08)}
.hero-stat{text-align:center}
.hero-stat .num{font-size:1.75rem;font-weight:800;color:white;display:block}
.hero-stat .label{font-size:0.85rem;color:rgba(255,255,255,0.5);margin-top:0.15rem}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.7rem 1.6rem;border-radius:var(--radius);font-weight:600;font-size:0.9rem;transition:all var(--transition);cursor:pointer;border:none;letter-spacing:0.01em}
.btn-primary{background:var(--accent-gradient);color:white;box-shadow:0 4px 10px rgba(139,92,246,0.25)}
.btn-primary:hover{box-shadow:0 6px 16px rgba(139,92,246,0.4);transform:translateY(-1px);text-decoration:none;color:white}
.btn-outline{border:1.5px solid var(--border);color:var(--text-secondary);background:transparent}
.btn-outline:hover{border-color:var(--accent-1);color:var(--accent-1);text-decoration:none}
.btn-outline-accent{border:1.5px solid var(--accent-1);color:var(--accent-1);background:transparent}
.btn-outline-accent:hover{background:var(--accent-1);color:white;text-decoration:none}

/* ===== Section ===== */
.section{padding:5rem 0}
.section-header{text-align:center;margin-bottom:3rem}
.section-header h2{margin-bottom:0.5rem}
.section-header p{color:var(--text-muted);max-width:500px;margin:0 auto}

/* ===== Cards ===== */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.5rem;margin:2rem 0}
.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.75rem;transition:all var(--transition);position:relative;overflow:hidden}
.card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent-gradient);opacity:0;transition:opacity var(--transition)}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px);border-color:transparent}
.card:hover::before{opacity:1}
.card h3{margin-bottom:0.4rem}
.card h3 a{color:var(--primary);transition:color var(--transition)}
.card h3 a:hover{color:var(--accent-1);text-decoration:none}
.card .card-meta{font-size:0.8rem;color:var(--text-muted);margin-bottom:0.6rem;display:flex;align-items:center;gap:0.5rem}
.card .card-icon{width:40px;height:40px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:1.2rem;margin-bottom:0.75rem}
.card .card-desc{color:var(--text-secondary);font-size:0.92rem;line-height:1.65}
.card .card-tags{display:flex;gap:0.4rem;flex-wrap:wrap;margin-top:0.75rem}
.tag{background:var(--accent-soft);color:var(--accent-1);padding:0.2rem 0.65rem;border-radius:20px;font-size:0.78rem;font-weight:500;transition:all var(--transition)}
.tag:hover{background:var(--accent-1);color:white}

/* ===== Article Card ===== */
.card.article-card .card-meta{display:flex;gap:0.75rem;flex-wrap:wrap}
.card.article-card .card-meta span{background:var(--bg-alt);padding:0.15rem 0.5rem;border-radius:20px;font-size:0.75rem;font-weight:500;color:var(--text-muted)}

/* ===== Breadcrumb ===== */
.breadcrumb{padding:1rem 0;font-size:0.88rem;color:var(--text-muted)}
.breadcrumb a{color:var(--text-muted)}
.breadcrumb a:hover{color:var(--accent-1)}
.breadcrumb span{color:var(--text-secondary)}

/* ===== Article Content ===== */
.article-content{max-width:760px;margin:2rem auto;padding:0 1.5rem}
.article-content h1{font-size:2.5rem;color:var(--primary)}
.article-content .article-meta{color:var(--text-muted);margin-bottom:2rem;font-size:0.9rem;display:flex;gap:1rem}
.article-content h2{margin-top:3rem;font-size:1.65rem;color:var(--primary)}
.article-content h3{margin-top:1.75rem;font-size:1.2rem}
.article-content p{font-size:1.02rem;color:var(--text-secondary);line-height:1.8}
.article-content ul,.article-content ol{margin:1.25rem 0 1.25rem 1.5rem}
.article-content li{margin-bottom:0.45rem;color:var(--text-secondary)}
.article-content blockquote{border-left:3px solid var(--accent-1);padding:1rem 1.25rem;background:var(--accent-soft);margin:1.5rem 0;border-radius:0 var(--radius) var(--radius) 0;font-style:normal}
.article-content blockquote p{color:var(--text);margin:0}
.article-content table{width:100%;border-collapse:separate;border-spacing:0;margin:1.5rem 0;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border)}
.article-content th{background:var(--bg-alt);padding:0.7rem 1rem;text-align:left;font-weight:600;font-size:0.9rem;border-bottom:1px solid var(--border)}
.article-content td{padding:0.7rem 1rem;border-bottom:1px solid var(--border-light);font-size:0.92rem}
.article-content tr:last-child td{border-bottom:none}

/* ===== Tool Item ===== */
.tool-item{display:flex;gap:1.25rem;padding:1.25rem 0;border-bottom:1px solid var(--border-light);align-items:flex-start}
.tool-item:last-child{border-bottom:none;padding-bottom:0}
.tool-item .tool-icon{width:44px;height:44px;border-radius:var(--radius);background:var(--accent-soft);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0;position:sticky;top:80px}
.tool-item .tool-body{flex:1}
.tool-item h3{margin-bottom:0.2rem;font-size:1.15rem}
.tool-item .tool-features{display:flex;gap:0.4rem;flex-wrap:wrap;margin-top:0.5rem}
.tool-feature{font-size:0.75rem;background:var(--bg-alt);color:var(--text-muted);padding:0.15rem 0.5rem;border-radius:4px;font-weight:500}

/* ===== Footer ===== */
.site-footer{background:var(--primary);padding:3rem 0;margin-top:3rem}
.site-footer .container{display:flex;flex-direction:column;align-items:center;gap:0.75rem}
.site-footer p{color:rgba(255,255,255,0.6);font-size:0.88rem;margin:0}
.site-footer a{color:rgba(255,255,255,0.5)}
.site-footer a:hover{color:white}
.site-footer strong{color:rgba(255,255,255,0.9)}

/* ===== Responsive ===== */
@media(max-width:1024px){
  h1{font-size:2.5rem}
  .hero h1{font-size:2.5rem}
  .hero{padding:4rem 0 3.5rem}
}
@media(max-width:768px){
  h1{font-size:2rem}
  h2{font-size:1.65rem}
  .hero h1{font-size:2rem;line-height:1.2}
  .hero p{font-size:1rem}
  .hero-stats{gap:1.5rem;flex-wrap:wrap}
  .card-grid{grid-template-columns:1fr}
  .tool-item{flex-direction:column;gap:0.75rem}
  .nav-links{gap:0.25rem}
  .nav-links a{padding:0.35rem 0.7rem;font-size:0.82rem}
  .site-header .container{height:58px;padding:0 1rem}
  .container{padding:0 1.25rem}
  .section{padding:3rem 0}
  .hero-stats{gap:1.5rem}
  .hero-stat .num{font-size:1.3rem}
  .article-content h1{font-size:1.8rem}
  .article-content{font-size:0.82rem}
}
@media(max-width:480px){
  .hero h1{font-size:1.65rem}
  .container{padding:0 1rem}
  .site-header .container{height:auto;padding:0.75rem 1rem;gap:0.5rem}
  .site-header .container{flex-direction:column}
}

/* ===== Utility ===== */
.text-center{text-align:center}
.mt-1{margin-top:1rem}
.mt-2{margin-top:2rem}
.mt-3{margin-top:3rem}
.mb-2{margin-bottom:2rem}
.py-2{padding:2rem 0}
/ *   = = = = =   N e w :   S e a r c h   B a r   = = = = =   * / 
 . s e a r c h - w r a p { m a r g i n : - 1 . 5 r e m   a u t o   2 r e m ; m a x - w i d t h : 5 0 0 p x ; p o s i t i o n : r e l a t i v e } 
 . s e a r c h - w r a p   i n p u t { w i d t h : 1 0 0 % ; p a d d i n g : 0 . 8 5 r e m   1 . 2 r e m   0 . 8 5 r e m   2 . 8 r e m ; b o r d e r : 1 . 5 p x   s o l i d   v a r ( - - b o r d e r ) ; b o r d e r - r a d i u s : 5 0 p x ; f o n t - s i z e : 1 r e m ; f o n t - f a m i l y : v a r ( - - f o n t ) ; b a c k g r o u n d : v a r ( - - b g ) ; c o l o r : v a r ( - - t e x t ) ; t r a n s i t i o n : a l l   v a r ( - - t r a n s i t i o n ) ; o u t l i n e : n o n e } 
 . s e a r c h - w r a p   i n p u t : f o c u s { b o r d e r - c o l o r : v a r ( - - a c c e n t - 1 ) ; b o x - s h a d o w : 0   0   0   3 p x   v a r ( - - a c c e n t - s o f t ) } 
 . s e a r c h - w r a p   . s e a r c h - i c o n { p o s i t i o n : a b s o l u t e ; l e f t : 1 r e m ; t o p : 5 0 % ; t r a n s f o r m : t r a n s l a t e Y ( - 5 0 % ) ; c o l o r : v a r ( - - t e x t - m u t e d ) ; f o n t - s i z e : 1 r e m } 
 . s e a r c h - r e s u l t s { p o s i t i o n : a b s o l u t e ; t o p : 1 0 0 % ; l e f t : 0 ; r i g h t : 0 ; b a c k g r o u n d : v a r ( - - b g ) ; b o r d e r : 1 p x   s o l i d   v a r ( - - b o r d e r ) ; b o r d e r - r a d i u s : v a r ( - - r a d i u s ) ; b o x - s h a d o w : v a r ( - - s h a d o w - l g ) ; z - i n d e x : 5 0 ; m a x - h e i g h t : 4 0 0 p x ; o v e r f l o w - y : a u t o ; d i s p l a y : n o n e ; m a r g i n - t o p : 0 . 3 r e m } 
 . s e a r c h - r e s u l t s   a { d i s p l a y : f l e x ; g a p : 0 . 5 r e m ; p a d d i n g : 0 . 7 r e m   1 r e m ; b o r d e r - b o t t o m : 1 p x   s o l i d   v a r ( - - b o r d e r - l i g h t ) ; c o l o r : v a r ( - - t e x t ) ; f o n t - s i z e : 0 . 9 r e m ; t r a n s i t i o n : b a c k g r o u n d   v a r ( - - t r a n s i t i o n ) } 
 . s e a r c h - r e s u l t s   a : l a s t - c h i l d { b o r d e r - b o t t o m : n o n e } 
 . s e a r c h - r e s u l t s   a : h o v e r { b a c k g r o u n d : v a r ( - - a c c e n t - s o f t ) ; t e x t - d e c o r a t i o n : n o n e } 
 . s e a r c h - r e s u l t s   . c a t - t a g { f o n t - s i z e : 0 . 7 r e m ; p a d d i n g : 0 . 1 r e m   0 . 4 r e m ; b o r d e r - r a d i u s : 4 p x ; b a c k g r o u n d : v a r ( - - a c c e n t - s o f t ) ; c o l o r : v a r ( - - a c c e n t - 1 ) ; w h i t e - s p a c e : n o w r a p ; f o n t - w e i g h t : 5 0 0 } 
 
 / *   = = = = =   N e w :   N e w s l e t t e r   = = = = =   * / 
 . n e w s l e t t e r { b a c k g r o u n d : l i n e a r - g r a d i e n t ( 1 3 5 d e g , v a r ( - - a c c e n t - s o f t ) , v a r ( - - b g ) ) ; b o r d e r : 1 p x   s o l i d   v a r ( - - b o r d e r ) ; b o r d e r - r a d i u s : v a r ( - - r a d i u s - l g ) ; p a d d i n g : 2 . 5 r e m ; t e x t - a l i g n : c e n t e r ; m a x - w i d t h : 5 8 0 p x ; m a r g i n : 2 r e m   a u t o } 
 . n e w s l e t t e r   h 3 { m a r g i n - b o t t o m : 0 . 3 r e m } 
 . n e w s l e t t e r   p { c o l o r : v a r ( - - t e x t - m u t e d ) ; f o n t - s i z e : 0 . 9 r e m ; m a r g i n - b o t t o m : 1 . 2 5 r e m } 
 . n e w s l e t t e r   f o r m { d i s p l a y : f l e x ; g a p : 0 . 5 r e m ; m a x - w i d t h : 4 2 0 p x ; m a r g i n : 0   a u t o } 
 . n e w s l e t t e r   i n p u t { f l e x : 1 ; p a d d i n g : 0 . 7 r e m   1 r e m ; b o r d e r : 1 . 5 p x   s o l i d   v a r ( - - b o r d e r ) ; b o r d e r - r a d i u s : v a r ( - - r a d i u s ) ; f o n t - f a m i l y : v a r ( - - f o n t ) ; f o n t - s i z e : 0 . 9 r e m ; o u t l i n e : n o n e ; t r a n s i t i o n : b o r d e r - c o l o r   v a r ( - - t r a n s i t i o n ) } 
 . n e w s l e t t e r   i n p u t : f o c u s { b o r d e r - c o l o r : v a r ( - - a c c e n t - 1 ) } 
 . n e w s l e t t e r   . b t n { p a d d i n g : 0 . 7 r e m   1 . 4 r e m ; f l e x - s h r i n k : 0 } 
 
 / *   = = = = =   N e w :   R e s o u r c e s   P a g e   = = = = =   * / 
 . r e s o u r c e - c a t { m a r g i n - b o t t o m : 3 r e m } 
 . r e s o u r c e - c a t   h 2 { f o n t - s i z e : 1 . 5 r e m ; m a r g i n - b o t t o m : 0 . 2 r e m ; d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; g a p : 0 . 5 r e m } 
 . r e s o u r c e - c a t   >   p { c o l o r : v a r ( - - t e x t - m u t e d ) ; f o n t - s i z e : 0 . 9 r e m ; m a r g i n - b o t t o m : 1 . 2 5 r e m } 
 . r e s o u r c e - g r i d { d i s p l a y : g r i d ; g r i d - t e m p l a t e - c o l u m n s : r e p e a t ( a u t o - f i l l , m i n m a x ( 3 0 0 p x , 1 f r ) ) ; g a p : 1 r e m } 
 . r e s o u r c e - l i n k { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; g a p : 0 . 7 5 r e m ; p a d d i n g : 0 . 8 5 r e m   1 r e m ; b o r d e r : 1 p x   s o l i d   v a r ( - - b o r d e r ) ; b o r d e r - r a d i u s : v a r ( - - r a d i u s ) ; t r a n s i t i o n : a l l   v a r ( - - t r a n s i t i o n ) ; b a c k g r o u n d : v a r ( - - b g ) } 
 . r e s o u r c e - l i n k : h o v e r { b o r d e r - c o l o r : v a r ( - - a c c e n t - 1 ) ; b o x - s h a d o w : v a r ( - - s h a d o w ) ; t e x t - d e c o r a t i o n : n o n e ; t r a n s f o r m : t r a n s l a t e Y ( - 1 p x ) } 
 . r e s o u r c e - l i n k   . r l - i c o n { w i d t h : 3 2 p x ; h e i g h t : 3 2 p x ; b o r d e r - r a d i u s : 6 p x ; d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; f o n t - s i z e : 0 . 9 r e m ; f l e x - s h r i n k : 0 } 
 . r e s o u r c e - l i n k   . r l - b o d y { f l e x : 1 ; m i n - w i d t h : 0 } 
 . r e s o u r c e - l i n k   . r l - t i t l e { f o n t - w e i g h t : 6 0 0 ; f o n t - s i z e : 0 . 9 r e m ; c o l o r : v a r ( - - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o v e r f l o w : h i d d e n ; t e x t - o v e r f l o w : e l l i p s i s } 
 . r e s o u r c e - l i n k   . r l - d e s c { f o n t - s i z e : 0 . 8 r e m ; c o l o r : v a r ( - - t e x t - m u t e d ) ; w h i t e - s p a c e : n o w r a p ; o v e r f l o w : h i d d e n ; t e x t - o v e r f l o w : e l l i p s i s } 
 . r e s o u r c e - l i n k   . r l - a r r o w { c o l o r : v a r ( - - t e x t - m u t e d ) ; f o n t - s i z e : 0 . 8 r e m ; f l e x - s h r i n k : 0 } 
 
 / *   = = = = =   N e w :   C o m p a r e   P a g e   = = = = =   * / 
 . c o m p a r e - w r a p { o v e r f l o w - x : a u t o ; m a r g i n : 2 r e m   0 } 
 . c o m p a r e - t a b l e { w i d t h : 1 0 0 % ; b o r d e r - c o l l a p s e : s e p a r a t e ; b o r d e r - s p a c i n g : 0 ; m i n - w i d t h : 6 4 0 p x } 
 . c o m p a r e - t a b l e   t h { b a c k g r o u n d : v a r ( - - p r i m a r y ) ; c o l o r : w h i t e ; p a d d i n g : 0 . 9 r e m   1 r e m ; f o n t - w e i g h t : 6 0 0 ; f o n t - s i z e : 0 . 9 r e m ; t e x t - a l i g n : l e f t ; p o s i t i o n : s t i c k y ; t o p : 0 } 
 . c o m p a r e - t a b l e   t h : f i r s t - c h i l d { b o r d e r - r a d i u s : v a r ( - - r a d i u s )   0   0   0 } 
 . c o m p a r e - t a b l e   t h : l a s t - c h i l d { b o r d e r - r a d i u s : 0   v a r ( - - r a d i u s )   0   0 } 
 . c o m p a r e - t a b l e   t d { p a d d i n g : 0 . 7 5 r e m   1 r e m ; b o r d e r - b o t t o m : 1 p x   s o l i d   v a r ( - - b o r d e r - l i g h t ) ; f o n t - s i z e : 0 . 8 8 r e m } 
 . c o m p a r e - t a b l e   t r : h o v e r   t d { b a c k g r o u n d : v a r ( - - b g - a l t ) } 
 . c o m p a r e - t a b l e   . f e a t u r e - n a m e { f o n t - w e i g h t : 6 0 0 ; c o l o r : v a r ( - - t e x t ) } 
 . c o m p a r e - t a b l e   . c h e c k { c o l o r : # 1 0 b 9 8 1 ; f o n t - w e i g h t : b o l d } 
 . c o m p a r e - t a b l e   . c r o s s { c o l o r : # e f 4 4 4 4 } 
 . c o m p a r e - t a b l e   . h a l f { c o l o r : v a r ( - - a c c e n t - 1 ) } 
 . c o m p a r e - w r a p   . r a t i n g - s t a r s { c o l o r : v a r ( - - a c c e n t - 1 ) ; l e t t e r - s p a c i n g : 2 p x } 
 
 / *   = = = = =   N e w :   S t a t s   B a n n e r   = = = = =   * / 
 . s t a t s - b a n n e r { d i s p l a y : f l e x ; j u s t i f y - c o n t e n t : c e n t e r ; g a p : 3 r e m ; p a d d i n g : 2 r e m   0   1 r e m ; f l e x - w r a p : w r a p } 
 . s t a t s - b a n n e r   . s t a t - i t e m { t e x t - a l i g n : c e n t e r } 
 . s t a t s - b a n n e r   . s t a t - n u m { f o n t - s i z e : 1 . 8 r e m ; f o n t - w e i g h t : 8 0 0 ; c o l o r : v a r ( - - a c c e n t - 1 ) ; d i s p l a y : b l o c k ; l i n e - h e i g h t : 1 . 2 } 
 . s t a t s - b a n n e r   . s t a t - l a b e l { f o n t - s i z e : 0 . 8 2 r e m ; c o l o r : v a r ( - - t e x t - m u t e d ) } 
 
 / *   = = = = =   N e w :   T o o l   T a g s   o n   c a r d s   = = = = =   * / 
 . t o o l - b a d g e { d i s p l a y : i n l i n e - f l e x ; a l i g n - i t e m s : c e n t e r ; g a p : 0 . 3 r e m ; b a c k g r o u n d : v a r ( - - a c c e n t - s o f t ) ; c o l o r : v a r ( - - a c c e n t - 1 ) ; p a d d i n g : 0 . 1 5 r e m   0 . 5 r e m ; b o r d e r - r a d i u s : 2 0 p x ; f o n t - s i z e : 0 . 7 2 r e m ; f o n t - w e i g h t : 5 0 0 } 
 
 / *   = = = = =   R e s p o n s i v e   U p d a t e s   = = = = =   * / 
 @ m e d i a ( m a x - w i d t h : 7 6 8 p x ) { 
     . n e w s l e t t e r   f o r m { f l e x - d i r e c t i o n : c o l u m n } 
     . s t a t s - b a n n e r { g a p : 1 . 5 r e m } 
     . s t a t s - b a n n e r   . s t a t - n u m { f o n t - s i z e : 1 . 4 r e m } 
     . r e s o u r c e - g r i d { g r i d - t e m p l a t e - c o l u m n s : 1 f r } 
 } 
 @ m e d i a ( m a x - w i d t h : 4 8 0 p x ) { 
     . s t a t s - b a n n e r { g a p : 1 r e m } 
     . s e a r c h - w r a p { m a x - w i d t h : 1 0 0 % } 
 } 
 
 

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media(max-width:768px) {
  .hamburger { display: flex; }
  .site-header .container { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
}


/* ===== Images ===== */
img {
  max-width: 100%;
  height: auto;
}
.card-icon img, .tool-icon img {
  display: block;
  margin: auto;
}
.hero-banner img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== Smart Bar ===== */
#smart-bar * { box-sizing: border-box; }
#sb-panel::-webkit-scrollbar { width: 4px; }
#sb-panel::-webkit-scrollbar-track { background: transparent; }
#sb-panel::-webkit-scrollbar-thumb { background: #475569; border-radius: 2px; }
#sb-search:focus { border-color: #8b5cf6 !important; box-shadow: 0 0 0 2px rgba(139,92,246,0.2); }
#sb-panel a:hover { background: #334155 !important; }
#sb-panel .sb-tab:hover { opacity: 0.8; }
@media(max-width:480px) {
  #sb-panel { width: calc(100vw - 32px) !important; right: -16px !important; }
}

/* ===== Light Theme ===== */
[data-theme="light"] .site-header { background: rgba(255,255,255,0.95); border-color: #e2e8f0; }
[data-theme="light"] { background: #f8fafc; }
[data-theme="light"] .site-header .logo,
[data-theme="light"] .nav-links a { color: #1e293b; }
[data-theme="light"] .section-header h1,
[data-theme="light"] .article-content h1,
[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3,
[data-theme="light"] .card h3 a,
[data-theme="light"] .rl-title,
[data-theme="light"] .resource-cat h2 { color: #0f172a; }
[data-theme="light"] .section-header p,
[data-theme="light"] .article-content p,
[data-theme="light"] .card-desc,
[data-theme="light"] .rl-desc,
[data-theme="light"] .resource-cat p { color: #475569; }
[data-theme="light"] .card,
[data-theme="light"] .tool-item,
[data-theme="light"] .resource-link,
[data-theme="light"] .newsletter { background: white; border-color: #e2e8f0; }
[data-theme="light"] .card:hover,
[data-theme="light"] .resource-link:hover { border-color: #8b5cf6; box-shadow: 0 4px 12px rgba(139,92,246,0.1); }
[data-theme="light"] .compare-table th { background: #f1f5f9; color: #1e293b; }
[data-theme="light"] .compare-table td { color: #475569; }
[data-theme="light"] .compare-table,
[data-theme="light"] .compare-table td { border-color: #e2e8f0; }
[data-theme="light"] .site-footer { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .site-footer p { color: #64748b; }
[data-theme="light"] .breadcrumb,
[data-theme="light"] .breadcrumb a { color: #94a3b8; }
[data-theme="light"] .article-meta { color: #94a3b8; }
[data-theme="light"] .tool-features span.tool-feature { background: #eef2ff; color: #4f46e5; }
[data-theme="light"] .glass-nav { background: rgba(255,255,255,0.9); }
[data-theme="light"] #sb-panel { background: white; border-color: #e2e8f0; }
[data-theme="light"] #sb-panel .sb-tab { background: transparent; }
[data-theme="light"] #sb-panel .sb-tab[style*="background: #1e293b"] { background: #f1f5f9 !important; }
[data-theme="light"] #sb-panel .sb-tab[style*="background: #0f172a"] { background: #f8fafc !important; }
[data-theme="light"] #sb-panel a,
[data-theme="light"] #sb-panel div[style*="color: #e2e8f0"] a,
[data-theme="light"] .sb-tab { color: #1e293b !important; }
[data-theme="light"] #sb-panel div[style*="color: #e2e8f0"] span { color: #475569 !important; }
[data-theme="light"] #sb-search { background: #f1f5f9 !important; border-color: #e2e8f0 !important; color: #1e293b !important; }
[data-theme="light"] #sb-panel div[style*="background: #334155"] { background: #e2e8f0 !important; }
[data-theme="light"] #sb-panel button[style*="background: #1e293b"]:not(.sb-tab) { background: #f1f5f9 !important; color: #64748b !important; }
[data-theme="light"] #sb-panel div[style*="background: #0f172a"] { background: #f8fafc !important; }
[data-theme="light"] #sb-panel div[style*="border-color: #334155"] { border-color: #e2e8f0 !important; }
[data-theme="light"] .sb-tab[style*="color: #8b5cf6"] { color: #7c3aed !important; }

/* ===== AdSense ===== */
.adsbygoogle {
  background: transparent;
  min-height: 90px;
}
.adsbygoogle[data-ad-format="auto"] {
  min-height: 90px;
}
@media(max-width:480px) {
  .adsbygoogle { min-height: 50px; }
}

/* ===== Toolify-Inspired Design Upgrades ===== */

/* --- Trending Badge --- */
.trending-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- New Tag Badge --- */
.new-badge { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- Category Filter Pills --- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0; justify-content: center; }
.filter-pill { padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text-muted); transition: all 0.2s ease; }
.filter-pill:hover { border-color: var(--accent-1); color: var(--accent-1); }
.filter-pill.active { background: var(--accent-gradient); border-color: transparent; color: #fff; }\n/* ===== Toolify-Inspired Design Upgrades ===== */\n\n/* --- Enhanced Tool Cards --- */\n.tool-card-enhanced { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; gap: 10px; }\n.tool-card-enhanced:hover { border-color: var(--accent-1); box-shadow: var(--shadow-lg); transform: translateY(-2px); }\n.tool-card-enhanced .tool-header { display: flex; justify-content: space-between; align-items: flex-start; }\n.tool-card-enhanced .tool-name { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0; }\n.tool-card-enhanced .tool-name a { color: inherit; text-decoration: none; }\n.tool-card-enhanced .tool-name a:hover { color: var(--accent-1); }\n.tool-card-enhanced .tool-stars { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; color: #f59e0b; white-space: nowrap; }\n.tool-card-enhanced .tool-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; flex-grow: 1; }\n.tool-card-enhanced .tool-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }\n.tool-card-enhanced .tool-lang { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }\n.tool-card-enhanced .tool-actions { display: flex; gap: 8px; margin-top: 8px; }\n.tool-card-enhanced .tool-actions .btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; transition: all 0.2s; }\n.tool-card-enhanced .tool-actions .btn-visit { background: var(--accent-gradient); color: #fff; border: none; }\n.tool-card-enhanced .tool-actions .btn-visit:hover { box-shadow: 0 4px 12px rgba(139,92,246,0.3); }\n.tool-card-enhanced .tool-actions .btn-detail { background: transparent; color: var(--accent-1); border: 1px solid var(--accent-1); }\n.tool-card-enhanced .tool-actions .btn-detail:hover { background: var(--accent-soft); }\n\n/* --- Sort Controls --- */\n.sort-controls { display: flex; gap: 12px; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }\n.sort-controls label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }\n.sort-select { padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 0.85rem; cursor: pointer; }\n.sort-select:focus { outline: none; border-color: var(--accent-1); }\n\n/* --- Stats Grid --- */\n.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0; }\n.stat-card { text-align: center; padding: 1.5rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s; }\n.stat-card:hover { border-color: var(--accent-1); box-shadow: var(--shadow-md); transform: translateY(-2px); }\n.stat-card .stat-number { font-size: 2rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }\n.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; display: block; }\n\n/* --- Tool Detail Page --- */\n.detail-hero { padding: 3rem 0; background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0d9488 100%); color: #fff; text-align: center; }\n.detail-hero h1 { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; }\n.detail-hero .detail-meta { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0; font-size: 0.9rem; color: #94a3b8; }\n.detail-hero .detail-cta { display: flex; gap: 12px; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }\n.detail-hero .btn-primary-lg { padding: 14px 32px; font-size: 1.05rem; font-weight: 700; border-radius: var(--radius); text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }\n.detail-hero .btn-visit-site { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; border: none; }\n.detail-hero .btn-visit-site:hover { box-shadow: 0 8px 24px rgba(249,115,22,0.35); transform: translateY(-2px); }\n.detail-hero .btn-secondary-lg { padding: 14px 32px; font-size: 1.05rem; font-weight: 700; border-radius: var(--radius); text-decoration: none; transition: all 0.3s; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }\n.detail-hero .btn-secondary-lg:hover { background: rgba(255,255,255,0.2); }\n.detail-section { padding: 2rem 0; border-bottom: 1px solid var(--border); }\n.detail-section:last-child { border-bottom: none; }\n.detail-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }\n.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }\n@media(max-width:640px) { .pros-cons-grid { grid-template-columns: 1fr; } }\n.pros-list, .cons-list { list-style: none; padding: 0; margin: 0; }\n.pros-list li, .cons-list li { padding: 8px 12px; margin-bottom: 6px; border-radius: var(--radius-sm); font-size: 0.9rem; }\n.pros-list li { background: rgba(16,185,129,0.08); color: #059669; }\n.cons-list li { background: rgba(239,68,68,0.08); color: #dc2626; }\n.features-checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }\n@media(max-width:480px) { .features-checklist { grid-template-columns: 1fr; } }\n.features-checklist li { padding: 8px 12px; font-size: 0.9rem; color: var(--text); display: flex; align-items: center; gap: 8px; }\n.features-checklist li::before { content: "\u2713"; color: #10b981; font-weight: 700; }\n.pricing-box { display: inline-flex; flex-direction: column; padding: 1.5rem 2rem; background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); text-align: center; min-width: 200px; }\n.pricing-box .price { font-size: 1.8rem; font-weight: 800; color: var(--text); }\n.pricing-box .price-label { font-size: 0.85rem; color: var(--text-muted); }\n\n/* --- Newsletter Modern --- */\n.newsletter-modern { background: linear-gradient(160deg, #1e1b4b 0%, #0f172a 100%); color: #fff; padding: 3rem 0; text-align: center; border-radius: var(--radius-xl); margin: 2rem 0; }\n.newsletter-modern h2 { font-size: 1.8rem; font-weight: 800; color: #fff !important; margin-bottom: 0.5rem; }\n.newsletter-modern p { color: #94a3b8; max-width: 500px; margin: 0 auto 1.5rem; }\n.newsletter-form { display: flex; gap: 8px; max-width: 450px; margin: 0 auto; }\n.newsletter-form input { flex: 1; padding: 12px 16px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; font-size: 0.95rem; }\n.newsletter-form input::placeholder { color: #64748b; }\n.newsletter-form button { padding: 12px 24px; background: var(--accent-gradient); color: #fff; border: none; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: all 0.3s; }\n.newsletter-form button:hover { box-shadow: 0 4px 16px rgba(139,92,246,0.4); }\n\n/* --- Submit Form --- */\n.submit-form { max-width: 650px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }\n.submit-form .form-group { margin-bottom: 1.2rem; }\n.submit-form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }\n.submit-form input, .submit-form select, .submit-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; background: var(--bg); color: var(--text); transition: border-color 0.2s; }\n.submit-form input:focus, .submit-form select:focus, .submit-form textarea:focus { outline: none; border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(139,92,246,0.1); }\n.submit-form textarea { min-height: 120px; resize: vertical; }\n.submit-form .btn-submit { width: 100%; padding: 12px; background: var(--accent-gradient); color: #fff; border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; }\n.submit-form .btn-submit:hover { box-shadow: 0 6px 20px rgba(139,92,246,0.35); }\n\n/* --- Extension Cards --- */\n.ext-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; transition: all 0.3s; }\n.ext-card:hover { border-color: var(--accent-1); box-shadow: var(--shadow-md); transform: translateY(-2px); }\n.ext-card .ext-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }\n.ext-card .ext-name { font-size: 1rem; font-weight: 700; color: var(--text); }\n.ext-card .ext-browsers { display: flex; gap: 4px; font-size: 0.75rem; color: var(--text-muted); }\n.ext-card .ext-browsers span { padding: 2px 6px; background: var(--bg-alt); border-radius: 3px; }\n.ext-card .ext-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; margin: 6px 0; }\n.ext-card .ext-rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; color: #f59e0b; }\n.ext-card .ext-cat-tag { font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-1); font-weight: 600; }\n.ext-card .ext-link { display: inline-block; margin-top: 8px; font-size: 0.85rem; color: var(--accent-1); text-decoration: none; font-weight: 600; }\n.ext-card .ext-link:hover { text-decoration: underline; }\n\n/* --- News Cards --- */\n.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all 0.3s; }\n.news-card:hover { border-color: var(--accent-1); box-shadow: var(--shadow-md); }\n.news-card .news-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }\n.news-card .news-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.3; }\n.news-card .news-title a { color: inherit; text-decoration: none; }\n.news-card .news-title a:hover { color: var(--accent-1); }\n.news-card .news-summary { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }\n.news-card .news-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }\n.news-card .news-source { font-size: 0.8rem; color: var(--text-muted); }\n.news-card .news-tag { font-size: 0.7rem; padding: 2px 10px; border-radius: 12px; font-weight: 600; }\n.news-tag-launch { background: rgba(16,185,129,0.12); color: #059669; }\n.news-tag-research { background: rgba(99,102,241,0.12); color: #4f46e5; }\n.news-tag-industry { background: rgba(245,158,11,0.12); color: #d97706; }\n.news-tag-tutorial { background: rgba(6,182,212,0.12); color: #0891b2; }\n\n/* --- Tab Navigation --- */\n.tab-nav { display: flex; gap: 0; margin: 1.5rem 0; border-bottom: 2px solid var(--border); overflow-x: auto; }\n.tab-nav .tab-item { padding: 10px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; white-space: nowrap; }\n.tab-nav .tab-item:hover { color: var(--accent-1); }\n.tab-nav .tab-item.active { color: var(--accent-1); border-bottom-color: var(--accent-1); }\n@media(max-width:640px) { .tab-nav .tab-item { padding: 8px 14px; font-size: 0.8rem; } }\n\n/* --- Light Mode Overrides for New Styles --- */\n[data-theme="light"] .tool-card-enhanced { background: #fff; }\n[data-theme="light"] .stat-card { background: #fff; }\n[data-theme="light"] .pricing-box { background: #fff; }\n[data-theme="light"] .submit-form { background: #fff; }\n[data-theme="light"] .ext-card { background: #fff; }\n[data-theme="light"] .news-card { background: #fff; }\n[data-theme="light"] .detail-hero .btn-secondary-lg { background: rgba(0,0,0,0.15); border-color: rgba(0,0,0,0.1); }