@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:           #060812;
  --surface:      #0b0e1c;
  --surface-2:    #111526;
  --surface-3:    #171b32;
  --border:       #1c2040;
  --border-light: #252a48;

  --text:         #e2e6f3;
  --text-muted:   #5c6488;
  --text-dim:     #343960;

  --accent:       #00e5d4;
  --accent-glow:  rgba(0,229,212,.14);
  --accent-2:     #ffb347;
  --accent-2-glow:rgba(255,179,71,.12);
  --purple:       #7c6fff;
  --purple-glow:  rgba(124,111,255,.12);
  --red:          #ff5c7a;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --max-w: 1280px;
  --r:  8px;
  --rl: 16px;
  --rx: 24px;

  --shadow: 0 4px 24px rgba(0,0,0,.5);
  --shadow-accent: 0 0 32px var(--accent-glow);
}

/* ─── RESET ──────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  min-height:100vh;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul{list-style:none}
input,textarea,select{font-family:inherit}

/* ─── DOT GRID BACKGROUND ─────────────────────────────────── */
body::before{
  content:'';
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:radial-gradient(circle,var(--text-dim) 1px,transparent 1px);
  background-size:36px 36px;
  opacity:.18;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--text);
}
h1{font-size:clamp(2.4rem,5.5vw,4.2rem);font-weight:800}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.7rem)}
h4{font-size:1.2rem}
p{color:var(--text-muted);max-width:68ch}
strong{color:var(--text);font-weight:600}

.mono{font-family:var(--font-mono);font-size:.85em;letter-spacing:.02em}
.label{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--accent);
}
.label-dim{color:var(--text-muted)}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 24px;position:relative;z-index:1}
.section{padding:96px 0}
.section-sm{padding:60px 0}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.flex{display:flex;align-items:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.flex-col{display:flex;flex-direction:column}
.gap-4{gap:4px}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-24{gap:24px}.gap-32{gap:32px}
.text-center{text-align:center}
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header{margin-bottom:52px}
.section-header .label{margin-bottom:12px}
.section-header h2{margin-bottom:14px}
.section-header p{font-size:1.05rem}
.section-header.center{text-align:center}
.section-header.center p{margin:0 auto}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar{
  position:sticky;top:0;z-index:100;
  border-bottom:1px solid var(--border);
  background:rgba(6,8,18,.85);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.nav-logo{
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.2rem;
  letter-spacing:-.03em;
  display:flex;align-items:center;gap:8px;
}
.nav-logo .dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 10px var(--accent);
  animation:pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.85)}}

.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{
  font-size:.9rem;font-weight:500;
  color:var(--text-muted);
  transition:color .2s;
}
.nav-links a:hover,.nav-links a.active{color:var(--text)}
.nav-cta{
  font-size:.85rem;font-weight:600;
  font-family:var(--font-display);
  padding:8px 18px;
  border:1px solid var(--accent);
  border-radius:var(--r);
  color:var(--accent);
  letter-spacing:.02em;
  transition:all .2s;
}
.nav-cta:hover{background:var(--accent);color:var(--bg)}
.nav-mobile-toggle{display:none;flex-direction:column;gap:5px;padding:4px}
.nav-mobile-toggle span{width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}
.mobile-nav{
  display:none;position:fixed;inset:64px 0 0 0;
  background:var(--surface);z-index:99;
  padding:32px 24px;flex-direction:column;gap:24px;
}
.mobile-nav a{font-size:1.2rem;font-weight:600;color:var(--text-muted);padding:12px 0;border-bottom:1px solid var(--border)}
.mobile-nav a:hover{color:var(--accent)}
.mobile-nav.open{display:flex}

/* ─── HERO ───────────────────────────────────────────────── */
.hero{
  padding:100px 0 96px;
  position:relative;overflow:hidden;
}
.hero::after{
  content:'';position:absolute;
  top:-200px;right:-100px;
  width:700px;height:700px;
  background:radial-gradient(circle,rgba(0,229,212,.08) 0%,transparent 65%);
  pointer-events:none;z-index:0;
}
.hero-inner{position:relative;z-index:1}
.hero .label{margin-bottom:20px}
.hero h1{
  max-width:14ch;
  background:linear-gradient(135deg,#e2e6f3 0%,#8898cc 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:24px;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(90deg,var(--accent),#5cc8ff);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-desc{font-size:1.15rem;margin-bottom:40px;max-width:52ch;color:var(--text-muted)}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-stats{
  display:flex;gap:48px;margin-top:72px;
  padding-top:40px;border-top:1px solid var(--border);
}
.stat-item .stat-num{
  font-family:var(--font-display);
  font-size:2rem;font-weight:800;
  color:var(--text);letter-spacing:-.04em;
}
.stat-item .stat-label{font-family:var(--font-mono);font-size:.72rem;color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-top:2px}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-display);
  font-weight:700;font-size:.92rem;
  letter-spacing:.01em;
  padding:13px 26px;border-radius:var(--r);
  transition:all .2s;white-space:nowrap;
}
.btn-primary{
  background:var(--accent);color:var(--bg);
  box-shadow:0 0 20px rgba(0,229,212,.25);
}
.btn-primary:hover{background:#1aebe0;box-shadow:0 0 30px rgba(0,229,212,.4);transform:translateY(-1px)}
.btn-ghost{
  border:1px solid var(--border-light);
  color:var(--text-muted);
}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.btn-sm{padding:9px 18px;font-size:.82rem}
.btn-icon{padding:10px 14px}
.btn svg{width:16px;height:16px;flex-shrink:0}

/* ─── CARDS ──────────────────────────────────────────────── */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--rl);
  padding:28px;
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.card:hover{border-color:var(--border-light);transform:translateY(-3px);box-shadow:var(--shadow)}

/* Tool card */
.tool-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--rl);overflow:hidden;
  transition:all .25s;display:flex;flex-direction:column;
}
.tool-card:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),var(--shadow-accent)}
.tool-card-header{padding:24px 24px 16px;display:flex;align-items:flex-start;gap:14px}
.tool-icon{
  width:46px;height:46px;border-radius:10px;
  background:var(--surface-3);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;flex-shrink:0;
}
.tool-card-meta{flex:1}
.tool-name{font-family:var(--font-display);font-weight:700;font-size:1.05rem;color:var(--text);margin-bottom:4px}
.tool-category{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.tool-card-body{padding:0 24px 20px;flex:1}
.tool-card-body p{font-size:.9rem;color:var(--text-muted);max-width:none}
.tool-card-footer{
  padding:16px 24px;margin-top:auto;
  border-top:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
}
.tool-rating{display:flex;align-items:center;gap:6px}
.stars{color:var(--accent-2);font-size:.9rem}
.rating-num{font-family:var(--font-mono);font-size:.78rem;color:var(--text-muted)}
.tool-badge{
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.06em;
  text-transform:uppercase;padding:4px 8px;border-radius:4px;font-weight:500;
}
.badge-free{background:rgba(0,229,212,.12);color:var(--accent)}
.badge-paid{background:rgba(255,179,71,.1);color:var(--accent-2)}
.badge-freemium{background:rgba(124,111,255,.1);color:var(--purple)}
.badge-sponsored{background:rgba(255,92,122,.1);color:var(--red)}

/* Blog card */
.blog-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--rl);overflow:hidden;
  transition:all .25s;display:flex;flex-direction:column;
}
.blog-card:hover{border-color:var(--border-light);transform:translateY(-3px);box-shadow:var(--shadow)}
.blog-card-img{
  height:190px;background:var(--surface-2);
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.blog-card-img-placeholder{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-size:3rem;
}
.blog-card-content{padding:24px;flex:1;display:flex;flex-direction:column}
.blog-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.blog-tag{
  font-family:var(--font-mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;
  padding:3px 8px;border-radius:4px;
  background:var(--surface-3);color:var(--accent);border:1px solid var(--border);
}
.blog-date{font-family:var(--font-mono);font-size:.72rem;color:var(--text-dim)}
.blog-card h3{font-size:1.1rem;margin-bottom:10px;color:var(--text);transition:color .2s}
.blog-card:hover h3{color:var(--accent)}
.blog-card p{font-size:.88rem;color:var(--text-muted);flex:1;max-width:none}
.blog-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}
.read-time{font-family:var(--font-mono);font-size:.7rem;color:var(--text-dim)}
.read-more{font-size:.82rem;font-weight:600;color:var(--accent);display:flex;align-items:center;gap:4px;transition:gap .2s}
.blog-card:hover .read-more{gap:8px}

/* ─── AD SLOTS ───────────────────────────────────────────── */
.ad-slot{
  background:var(--surface);
  border:1px dashed var(--border);
  border-radius:var(--r);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-dim);
  font-family:var(--font-mono);font-size:.7rem;
  letter-spacing:.08em;text-transform:uppercase;
  overflow:hidden;
}
.ad-slot-banner{width:100%;min-height:90px}
.ad-slot-square{width:100%;min-height:250px}
.ad-slot-rectangle{width:100%;min-height:280px}
.ad-slot ins{display:block!important}

/* ─── SEARCH / FILTER ────────────────────────────────────── */
.search-bar{
  display:flex;align-items:center;gap:12px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r);padding:10px 16px;
  max-width:480px;
  transition:border-color .2s;
}
.search-bar:focus-within{border-color:var(--accent)}
.search-bar input{
  flex:1;background:none;border:none;outline:none;
  color:var(--text);font-size:.9rem;font-family:var(--font-body);
}
.search-bar input::placeholder{color:var(--text-dim)}
.search-bar svg{color:var(--text-muted);flex-shrink:0}

.filter-pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 14px;border-radius:100px;
  border:1px solid var(--border);color:var(--text-muted);
  cursor:pointer;transition:all .2s;
}
.pill:hover{border-color:var(--accent);color:var(--accent)}
.pill.active{background:var(--accent);border-color:var(--accent);color:var(--bg)}

/* ─── COMPARISON TABLE ───────────────────────────────────── */
.compare-table{width:100%;border-collapse:collapse}
.compare-table th{
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-muted);padding:12px 16px;text-align:left;
  border-bottom:1px solid var(--border);
}
.compare-table td{
  padding:16px;border-bottom:1px solid var(--border);
  font-size:.9rem;color:var(--text-muted);vertical-align:middle;
}
.compare-table tr:hover td{background:var(--surface-2)}
.compare-table td:first-child{color:var(--text);font-weight:500}
.check{color:var(--accent);font-size:1rem}
.cross{color:var(--red);font-size:1rem}
.partial{color:var(--accent-2);font-size:1rem}

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter-section{
  background:linear-gradient(135deg,var(--surface) 0%,var(--surface-2) 100%);
  border:1px solid var(--border);border-radius:var(--rx);
  padding:56px;
  position:relative;overflow:hidden;
}
.newsletter-section::before{
  content:'';position:absolute;
  top:-60px;right:-60px;
  width:300px;height:300px;
  background:radial-gradient(circle,rgba(0,229,212,.07),transparent 70%);
}
.newsletter-form{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.newsletter-form input{
  flex:1;min-width:240px;
  background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r);padding:13px 18px;
  color:var(--text);font-size:.9rem;outline:none;
  transition:border-color .2s;
}
.newsletter-form input:focus{border-color:var(--accent)}
.newsletter-form input::placeholder{color:var(--text-dim)}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb{display:flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:.72rem;color:var(--text-dim);margin-bottom:32px}
.breadcrumb a{color:var(--text-muted);transition:color .2s}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{color:var(--text-dim)}

/* ─── ARTICLE ────────────────────────────────────────────── */
.article-header{max-width:800px;margin:0 auto 56px}
.article-header .label{margin-bottom:16px}
.article-header h1{font-size:clamp(1.8rem,4vw,3rem);max-width:20ch}
.article-header .article-meta{display:flex;align-items:center;gap:20px;margin-top:24px;flex-wrap:wrap}
.article-header .article-meta span{font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted)}
.article-body{max-width:760px;margin:0 auto}
.article-body h2{font-size:1.6rem;margin:48px 0 16px;padding-top:8px}
.article-body h3{font-size:1.25rem;margin:36px 0 12px}
.article-body p{color:var(--text-muted);margin-bottom:20px;font-size:1rem;line-height:1.75;max-width:none}
.article-body ul,.article-body ol{margin:20px 0 20px 20px;color:var(--text-muted)}
.article-body li{margin-bottom:8px;line-height:1.7}
.article-body a{color:var(--accent);text-decoration:underline;text-decoration-color:rgba(0,229,212,.3);transition:text-decoration-color .2s}
.article-body a:hover{text-decoration-color:var(--accent)}
.article-body blockquote{
  border-left:2px solid var(--accent);padding:16px 24px;
  margin:32px 0;background:var(--surface);border-radius:0 var(--r) var(--r) 0;
  font-style:italic;color:var(--text);
}
.article-body code{
  font-family:var(--font-mono);font-size:.85em;
  background:var(--surface-3);padding:2px 6px;border-radius:4px;color:var(--accent);
}
.callout{
  background:var(--surface-2);border:1px solid var(--border);
  border-radius:var(--r);padding:20px 24px;margin:28px 0;
}
.callout-accent{border-left:3px solid var(--accent)}
.callout .label{margin-bottom:8px}
.callout p{margin:0;font-size:.9rem}

/* ─── TOC ────────────────────────────────────────────────── */
.toc{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--rl);padding:24px;margin:0 0 40px;
}
.toc-title{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:12px}
.toc ol{margin-left:16px;counter-reset:toc}
.toc li{margin-bottom:6px}
.toc a{color:var(--text-muted);font-size:.88rem;transition:color .2s}
.toc a:hover{color:var(--accent)}

/* ─── SIDEBAR ────────────────────────────────────────────── */
.article-layout{display:grid;grid-template-columns:1fr 280px;gap:48px;align-items:start}
.sidebar{position:sticky;top:88px}
.sidebar-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--rl);padding:24px;margin-bottom:20px;
}
.sidebar-card h4{font-size:.95rem;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.sidebar-card ul{display:flex;flex-direction:column;gap:8px}
.sidebar-card li a{font-size:.85rem;color:var(--text-muted);display:flex;align-items:center;gap:8px;transition:color .2s;padding:4px 0}
.sidebar-card li a:hover{color:var(--accent)}

/* ─── TOOL PAGE ──────────────────────────────────────────── */
.tool-hero{
  background:var(--surface);border-bottom:1px solid var(--border);
  padding:56px 0;
}
.tool-layout{display:grid;grid-template-columns:1fr 360px;gap:48px;padding:64px 0}
.tool-interface{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--rl);overflow:hidden;
}
.tool-interface-header{
  padding:20px 28px;border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:10px;
}
.tool-interface-body{padding:28px}
.tool-result{
  background:var(--surface-2);border:1px solid var(--border);
  border-radius:var(--r);padding:20px;margin-top:16px;
  font-family:var(--font-mono);font-size:.9rem;color:var(--accent);
  min-height:60px;display:flex;align-items:center;
}

/* ─── FORM ELEMENTS ──────────────────────────────────────── */
.form-group{margin-bottom:20px}
.form-label{
  display:block;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-muted);margin-bottom:8px;
}
.form-input{
  width:100%;background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r);padding:11px 14px;color:var(--text);
  font-size:.9rem;font-family:var(--font-body);outline:none;
  transition:border-color .2s;
}
.form-input:focus{border-color:var(--accent)}
.form-input::placeholder{color:var(--text-dim)}
.form-select{
  width:100%;background:var(--bg);border:1px solid var(--border);
  border-radius:var(--r);padding:11px 14px;color:var(--text);
  font-size:.9rem;font-family:var(--font-body);outline:none;
  cursor:pointer;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c6488' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;
  padding-right:36px;transition:border-color .2s;
}
.form-select:focus{border-color:var(--accent)}
.range-wrapper{display:flex;flex-direction:column;gap:8px}
.range-labels{display:flex;justify-content:space-between;font-family:var(--font-mono);font-size:.7rem;color:var(--text-dim)}
input[type=range]{
  -webkit-appearance:none;width:100%;height:4px;
  background:var(--surface-3);border-radius:2px;outline:none;cursor:pointer;
}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  background:var(--accent);box-shadow:0 0 8px var(--accent-glow);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer{
  background:var(--surface);border-top:1px solid var(--border);
  padding:64px 0 32px;
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer-brand{max-width:280px}
.footer-logo{
  font-family:var(--font-display);font-weight:800;font-size:1.2rem;
  letter-spacing:-.03em;display:flex;align-items:center;gap:8px;margin-bottom:14px;
}
.footer-brand p{font-size:.88rem;margin-bottom:20px;max-width:none}
.footer-social{display:flex;gap:10px}
.social-btn{
  width:36px;height:36px;border-radius:var(--r);
  border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  color:var(--text-muted);transition:all .2s;
}
.social-btn:hover{border-color:var(--accent);color:var(--accent)}
.footer-col h5{font-size:.85rem;font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin-bottom:16px}
.footer-col ul{display:flex;flex-direction:column;gap:10px}
.footer-col li a{font-size:.88rem;color:var(--text-muted);transition:color .2s}
.footer-col li a:hover{color:var(--accent)}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:28px;border-top:1px solid var(--border);flex-wrap:wrap;gap:12px;
}
.footer-bottom p{font-size:.8rem;color:var(--text-dim);max-width:none}
.footer-bottom-links{display:flex;gap:20px}
.footer-bottom-links a{font-size:.8rem;color:var(--text-dim);transition:color .2s}
.footer-bottom-links a:hover{color:var(--accent)}

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:56px}
.page-btn{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);border-radius:var(--r);
  font-size:.88rem;font-family:var(--font-mono);
  color:var(--text-muted);transition:all .2s;cursor:pointer;
}
.page-btn:hover{border-color:var(--accent);color:var(--accent)}
.page-btn.active{background:var(--accent);border-color:var(--accent);color:var(--bg)}

/* ─── TAGS ───────────────────────────────────────────────── */
.tag{
  font-family:var(--font-mono);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;
  padding:4px 10px;border-radius:4px;
  background:var(--surface-3);color:var(--text-muted);border:1px solid var(--border);
  display:inline-block;
}
.tag-accent{background:var(--accent-glow);color:var(--accent);border-color:rgba(0,229,212,.2)}
.tag-amber{background:var(--accent-2-glow);color:var(--accent-2);border-color:rgba(255,179,71,.2)}
.tag-purple{background:var(--purple-glow);color:var(--purple);border-color:rgba(124,111,255,.2)}

/* ─── DIVIDER ────────────────────────────────────────────── */
hr.divider{border:none;border-top:1px solid var(--border);margin:48px 0}

/* ─── PROGRESS BAR ───────────────────────────────────────── */
.progress-bar{height:4px;background:var(--surface-3);border-radius:2px;overflow:hidden;margin-bottom:6px}
.progress-bar-fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--purple));border-radius:2px;transition:width .6s ease}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes glow{0%,100%{box-shadow:0 0 20px rgba(0,229,212,.15)}50%{box-shadow:0 0 40px rgba(0,229,212,.3)}}

.animate-in{animation:fadeInUp .5s ease both}
.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.delay-4{animation-delay:.4s}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .article-layout{grid-template-columns:1fr}
  .tool-layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  .section{padding:64px 0}
  .hero{padding:72px 0 64px}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr}
  .nav-links,.nav-cta{display:none}
  .nav-mobile-toggle{display:flex}
  .hero-stats{gap:28px;flex-wrap:wrap}
  .newsletter-section{padding:36px 24px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{width:100%;justify-content:center}
  .blog-card-img{height:150px}
}

/* ─── UTILITY ────────────────────────────────────────────── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.relative{position:relative}.overflow-hidden{overflow:hidden}
.w-full{width:100%}.h-full{height:100%}
.opacity-50{opacity:.5}
