/* ============================================================
   Blog Listing Page — CSS v1.0.0
   MLM Mind | https://mlmmind.com
   Primary colour: #0ea5e9 (sky blue — knowledge & trust)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --primary:        #0ea5e9;
  --primary-dark:   #0284c7;
  --primary-light:  #e0f2fe;
  --secondary:      #38bdf8;
  --secondary-dark: #0ea5e9;
  --accent:         #8b5cf6;
  --accent-dark:    #7c3aed;
  --teal:           #0d9488;
  --orange:         #f97316;
  --green:          #10b981;
  --amber:          #f59e0b;
  --rose:           #f43f5e;
  --indigo:         #6366f1;

  --dark:   #040810;
  --dark-2: #071020;
  --dark-3: #0a1830;
  --dark-4: #0d2040;
  --dark-5: #102848;

  --mid:       #64748b;
  --mid-light: #94a3b8;

  --border:       rgba(14,165,233,.18);
  --border-light: rgba(14,165,233,.08);

  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;
  --info:    #06b6d4;

  --shadow-sm: 0 2px 8px rgba(14,165,233,.15);
  --shadow-md: 0 8px 32px rgba(14,165,233,.20);
  --shadow-lg: 0 24px 64px rgba(14,165,233,.25);
  --glow:      0 0 40px rgba(14,165,233,.35);
  --glow-sm:   0 0 20px rgba(14,165,233,.25);

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);

  --container:   1240px;
  --section-pad: 96px;
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--dark); color: #e2e8f0; line-height: 1.65; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ---------- Scroll Progress ---------- */
#scroll-progress { position: fixed; top: 0; left: 0; z-index: 9999; height: 3px; width: 0%; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); transition: width .1s linear; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem,3.2vw,2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: clamp(1.1rem,2vw,1.45rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: #cbd5e1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--r-full); font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: all .25s var(--ease-out); white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg),var(--glow-sm); }
.btn-outline { background: transparent; border: 1.5px solid rgba(56,189,248,.4); color: var(--secondary); }
.btn-outline:hover { background: rgba(14,165,233,.12); border-color: var(--primary); color: #fff; }
.btn-ghost  { background: transparent; color: #e2e8f0; border: 1.5px solid rgba(255,255,255,.15); border-radius: var(--r-full); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: var(--r-full); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.badge-primary { background: rgba(14,165,233,.18); color: var(--secondary); border: 1px solid rgba(14,165,233,.3); }
.badge-accent   { background: rgba(139,92,246,.15); color: #a78bfa; border: 1px solid rgba(139,92,246,.25); }
.badge-green    { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.badge-amber    { background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.badge-orange   { background: rgba(249,115,22,.15); color: #fb923c; border: 1px solid rgba(249,115,22,.25); }
.badge-rose     { background: rgba(244,63,94,.15); color: #fb7185; border: 1px solid rgba(244,63,94,.25); }

/* ---------- Section Header ---------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 680px; margin: 0 auto; font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: radial-gradient(ellipse 120% 80% at 60% 0%, rgba(14,165,233,.2) 0%, transparent 65%),
              radial-gradient(ellipse 80% 60% at 10% 80%, rgba(2,132,199,.12) 0%, transparent 60%),
              var(--dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: .82rem; color: var(--mid-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--secondary); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--mid); margin: 0 2px; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 span { color: var(--secondary); }
.lead { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 36px; line-height: 1.75; }
.hero-search {
  display: flex; align-items: center;
  background: rgba(14,165,233,.08);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 32px;
}
.hero-search input {
  flex: 1; padding: 14px 20px;
  background: none; border: none; outline: none;
  color: #e2e8f0; font-size: .97rem; font-family: inherit;
}
.hero-search input::placeholder { color: var(--mid); }
.hero-search button {
  padding: 14px 24px;
  background: var(--primary); border: none; cursor: pointer;
  color: #fff; font-size: .9rem; transition: background .2s;
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: rgba(14,165,233,.1); border: 1px solid rgba(14,165,233,.2); border-radius: var(--r-full); font-size: .8rem; color: var(--secondary); cursor: pointer; transition: all .2s; }
.hero-tag:hover, .hero-tag.active { background: rgba(14,165,233,.2); border-color: var(--primary); color: #fff; }

/* Hero Visual — Featured Post Preview */
.hero-visual { position: relative; z-index: 2; }
.featured-preview {
  background: linear-gradient(145deg, rgba(14,165,233,.12) 0%, rgba(4,8,16,.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.featured-preview-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, rgba(14,165,233,.15), rgba(2,132,199,.08));
  border-bottom: 1px solid var(--border);
  position: relative;
}
.fp-category { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(14,165,233,.2); border-radius: var(--r-full); font-size: .74rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.fp-title { font-size: 1.15rem; font-weight: 700; color: #e2e8f0; line-height: 1.35; margin-bottom: 8px; }
.fp-meta { display: flex; align-items: center; gap: 14px; font-size: .78rem; color: var(--mid-light); }
.fp-meta span { display: flex; align-items: center; gap: 5px; }
.featured-preview-body { padding: 20px 28px 28px; }
.fp-excerpt { font-size: .88rem; color: var(--mid-light); line-height: 1.7; margin-bottom: 18px; }
.fp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.fp-stat { text-align: center; padding: 12px 8px; background: rgba(14,165,233,.07); border: 1px solid rgba(14,165,233,.12); border-radius: var(--r-md); }
.fp-stat-val { font-size: 1.1rem; font-weight: 800; color: var(--secondary); }
.fp-stat-lbl { font-size: .72rem; color: var(--mid-light); margin-top: 2px; }

@media(max-width:960px) { .hero-inner { grid-template-columns: 1fr; } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(90deg, rgba(14,165,233,.1) 0%, rgba(2,132,199,.06) 50%, rgba(14,165,233,.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; }
.stat-item {
  flex: 1; min-width: 140px;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--secondary); }
.stat-lbl { font-size: .74rem; color: var(--mid-light); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
@media(max-width:600px) { .stat-item { min-width: 50%; border-right: none; } }

/* ============================================================
   BLOG MAIN LAYOUT
   ============================================================ */
.blog-main {
  padding: var(--section-pad) 0;
  background: var(--dark);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
@media(max-width:1060px) { .blog-layout { grid-template-columns: 1fr; } }

/* ── Filter Bar ── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(14,165,233,.08);
  border: 1px solid rgba(14,165,233,.15);
  color: var(--mid-light);
  font-size: .84rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover { background: rgba(14,165,233,.15); color: #e2e8f0; }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.filter-count { font-size: .72rem; background: rgba(255,255,255,.15); padding: 1px 7px; border-radius: var(--r-full); }

/* ── Article Grid ── */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media(max-width:720px) { .articles-grid { grid-template-columns: 1fr; } }

/* ── Article Card ── */
.article-card {
  background: rgba(14,165,233,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s var(--ease-out);
  position: relative;
}
.article-card:hover { transform: translateY(-5px); border-color: rgba(14,165,233,.3); box-shadow: var(--shadow-md); }
.article-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
@media(max-width:600px) { .article-card.featured { grid-template-columns: 1fr; } }

.article-thumb {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.article-card.featured .article-thumb { aspect-ratio: auto; min-height: 220px; }

.article-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-category { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: var(--r-full); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.article-title { font-size: 1.08rem; font-weight: 700; color: #e2e8f0; line-height: 1.35; margin-bottom: 10px; }
.article-title a { color: inherit; transition: color .2s; }
.article-title a:hover { color: var(--secondary); }
.article-card.featured .article-title { font-size: 1.3rem; }
.article-excerpt { font-size: .88rem; color: var(--mid-light); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.article-author { display: flex; align-items: center; gap: 8px; }
.author-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff; background: var(--primary); flex-shrink: 0; }
.author-name { font-size: .8rem; color: #e2e8f0; font-weight: 600; }
.article-info { display: flex; align-items: center; gap: 12px; font-size: .76rem; color: var(--mid-light); }
.article-info span { display: flex; align-items: center; gap: 4px; }
.article-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--secondary); font-size: .85rem; font-weight: 600; transition: gap .2s; }
.article-read-more:hover { gap: 10px; color: #fff; }
.article-new-badge { position: absolute; top: 14px; right: 14px; padding: 4px 10px; background: var(--green); border-radius: var(--r-full); font-size: .7rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; }

/* Thumb colour variants */
.thumb-blue   { background: linear-gradient(135deg, rgba(14,165,233,.25), rgba(2,132,199,.15)); }
.thumb-purple { background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(124,58,237,.15)); }
.thumb-green  { background: linear-gradient(135deg, rgba(16,185,129,.25), rgba(13,148,136,.15)); }
.thumb-orange { background: linear-gradient(135deg, rgba(249,115,22,.25), rgba(234,88,12,.15)); }
.thumb-amber  { background: linear-gradient(135deg, rgba(245,158,11,.25), rgba(217,119,6,.15)); }
.thumb-rose   { background: linear-gradient(135deg, rgba(244,63,94,.25), rgba(225,29,72,.15)); }
.thumb-indigo { background: linear-gradient(135deg, rgba(99,102,241,.25), rgba(79,70,229,.15)); }
.thumb-teal   { background: linear-gradient(135deg, rgba(13,148,136,.25), rgba(15,118,110,.15)); }

/* ── Load More ── */
.load-more-wrap { text-align: center; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.load-more-wrap p { font-size: .88rem; color: var(--mid-light); margin-top: 12px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget {
  background: rgba(14,165,233,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}
.widget-title { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e2e8f0; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.widget-title i { color: var(--secondary); }

/* Search widget */
.widget-search { display: flex; align-items: center; background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.15); border-radius: var(--r-full); overflow: hidden; }
.widget-search input { flex: 1; padding: 11px 16px; background: none; border: none; outline: none; color: #e2e8f0; font-size: .9rem; font-family: inherit; }
.widget-search input::placeholder { color: var(--mid); }
.widget-search button { padding: 11px 16px; background: none; border: none; cursor: pointer; color: var(--secondary); transition: color .2s; }
.widget-search button:hover { color: #fff; }

/* Categories widget */
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: rgba(14,165,233,.06); border: 1px solid rgba(14,165,233,.1); border-radius: var(--r-md); cursor: pointer; transition: all .2s; }
.cat-item:hover, .cat-item.active { background: rgba(14,165,233,.15); border-color: rgba(14,165,233,.25); }
.cat-name { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #e2e8f0; }
.cat-name i { color: var(--secondary); font-size: .82rem; width: 16px; }
.cat-count { font-size: .75rem; font-family: var(--font-mono); color: var(--secondary); background: rgba(14,165,233,.12); padding: 2px 8px; border-radius: var(--r-full); }

/* Popular posts widget */
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item { display: flex; gap: 12px; align-items: flex-start; }
.popular-num { font-size: 1.4rem; font-weight: 800; color: rgba(14,165,233,.25); font-family: var(--font-mono); line-height: 1; flex-shrink: 0; width: 28px; }
.popular-title { font-size: .86rem; font-weight: 600; color: #e2e8f0; line-height: 1.4; margin-bottom: 4px; }
.popular-title a { color: inherit; transition: color .2s; }
.popular-title a:hover { color: var(--secondary); }
.popular-meta { font-size: .75rem; color: var(--mid-light); display: flex; gap: 10px; }

/* Tags widget */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.15); border-radius: var(--r-full); font-size: .78rem; color: var(--mid-light); cursor: pointer; transition: all .2s; }
.tag-pill:hover { background: rgba(14,165,233,.18); color: var(--secondary); border-color: rgba(14,165,233,.3); }

/* Newsletter widget */
.newsletter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.newsletter-form input { padding: 12px 16px; background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.15); border-radius: var(--r-md); color: #e2e8f0; font-size: .9rem; font-family: inherit; outline: none; transition: border-color .2s; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form input::placeholder { color: var(--mid); }
.newsletter-note { font-size: .76rem; color: var(--mid); margin-top: 4px; }

/* ============================================================
   FEATURED ARTICLES SECTION
   ============================================================ */
.featured-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
@media(max-width:960px) { .featured-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px) { .featured-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section {
  padding: var(--section-pad) 0;
  background: var(--dark);
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.category-card {
  padding: 28px 24px;
  background: rgba(14,165,233,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.category-card:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.3); box-shadow: var(--shadow-md); }
.category-card.active { border-color: var(--primary); background: rgba(14,165,233,.12); }
.cat-icon { font-size: 2rem; margin-bottom: 12px; }
.cat-label { font-size: .9rem; font-weight: 700; color: #e2e8f0; margin-bottom: 6px; }
.cat-desc  { font-size: .78rem; color: var(--mid-light); line-height: 1.5; margin-bottom: 12px; }
.cat-articles { font-size: .76rem; font-family: var(--font-mono); color: var(--secondary); }
@media(max-width:960px) { .category-cards { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px) { .category-cards { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(14,165,233,.18) 0%, transparent 60%),
              linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  text-align: center;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-section h2 { margin-bottom: 16px; }
.newsletter-section h2 span { color: var(--secondary); }
.newsletter-section > .newsletter-inner > p { margin-bottom: 36px; }
.newsletter-big-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.newsletter-big-form input { flex: 1; min-width: 240px; padding: 14px 20px; background: rgba(14,165,233,.08); border: 1px solid var(--border); border-radius: var(--r-full); color: #e2e8f0; font-size: .95rem; font-family: inherit; outline: none; transition: border-color .2s; }
.newsletter-big-form input:focus { border-color: var(--primary); }
.newsletter-big-form input::placeholder { color: var(--mid); }
.newsletter-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: .84rem; color: var(--mid-light); }
.newsletter-perks span { display: flex; align-items: center; gap: 6px; }
.newsletter-perks i { color: var(--secondary); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--section-pad) 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(14,165,233,.2) 0%, transparent 60%),
              var(--dark-2);
  text-align: center;
}
.cta-badge { margin-bottom: 24px; }
.cta-section h2 { margin-bottom: 18px; font-size: clamp(1.8rem,3.5vw,2.8rem); }
.cta-section h2 span { color: var(--secondary); }
.cta-section > .container > p { max-width: 600px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.cta-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; background: rgba(14,165,233,.1); border: 1px solid rgba(14,165,233,.2); border-radius: var(--r-full); font-size: .84rem; color: #cbd5e1; }
.cta-chip i { color: var(--secondary); }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-contact { margin-top: 28px; font-size: .88rem; color: var(--mid-light); }
.cta-contact a { color: var(--secondary); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .9rem; color: var(--mid-light); line-height: 1.75; margin: 16px 0 24px; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: #fff; }
.footer-logo .logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.footer-logo .logo-accent { color: var(--secondary); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(14,165,233,.1); display: flex; align-items: center; justify-content: center; color: var(--mid-light); transition: all .2s; font-size: .9rem; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { font-size: .88rem; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--mid-light); transition: color .2s; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom { padding: 24px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-copy { font-size: .82rem; color: var(--mid); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.15); border-radius: var(--r-full); font-size: .74rem; color: var(--mid-light); }
.footer-badge i { color: var(--secondary); }
@media(max-width:960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   STICKY CTA & BACK TO TOP
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 4000;
  background: rgba(4,8,16,.92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  transform: translateY(100%); transition: transform .4s var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { font-size: .88rem; color: var(--mid-light); }
.sticky-cta-text strong { color: #fff; }
.sticky-cta-actions { display: flex; gap: 10px; }
.sticky-cta-actions .btn { padding: 10px 22px; font-size: .88rem; }

.back-to-top {
  position: fixed; bottom: 80px; right: 24px; z-index: 3999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: all .3s var(--ease-out); pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   AOS ANIMATIONS
   ============================================================ */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-aos].aos-visible { opacity: 1; transform: none; }
[data-aos][data-aos-delay="80"]  { transition-delay: 80ms; }
[data-aos][data-aos-delay="160"] { transition-delay: 160ms; }
[data-aos][data-aos-delay="240"] { transition-delay: 240ms; }
[data-aos][data-aos-delay="320"] { transition-delay: 320ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:600px) {
  :root { --section-pad: 64px; }
  .btn-lg { padding: 14px 26px; }
  .cta-btns, .btn-group { flex-direction: column; }
  .sticky-cta { flex-direction: column; text-align: center; }
  h1 { font-size: 1.9rem; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 7px 14px; font-size: .8rem; }
}
