:root {
  --primary: #000000; --accent: #3b82f6; --surface: #f8fafc; --text-main: #0f172a; --text-muted: #64748b; --border: #e2e8f0;
  --shadow: 0 4px 16px rgba(0,0,0,0.08); --bg: #f8fafc; --text: #000000; --shadow-sm: 0 2px 8px rgba(0,0,0,0.08); 
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1); --shadow-lg: 0 8px 32px rgba(0,0,0,0.12); --transition: all 0.4s cubic-bezier(0.23,1,0.32,1); 
  --footer-bg: #ffffff; --footer-text: #1f2937; --footer-text-muted: #6b7280; --footer-accent: #1d4ed8; --footer-border: rgba(0,0,0,0.08); 
  --footer-hover: #3b82f6; --badge-bg: rgba(0,0,0,0.03); --badge-border: rgba(0,0,0,0.10);
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; min-height: 100vh; 
  background: #f8fafc; background-image: radial-gradient(#cbd5e1 0.2px, transparent 1px); background-size: 20px 20px;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }

a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

button { font: inherit; }

/* ================== NAV ================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; 
  padding: 0 6%; z-index: 1000; backdrop-filter: blur(20px); background: rgba(255, 255, 255, 0.12); transition: var(--transition);
}

.logo {
  display: inline-flex; align-items: center; text-decoration: none; font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 800; 
  letter-spacing: -1.2px; color: var(--text);
}

.logo img {
  height: 8rem; width: auto; max-height: 100%; object-fit: contain;
}

.nav-links { display: flex; gap: 32px; list-style: none; }

.nav-links a {
  color: var(--text); font-weight: 500; font-size: 15px; position: relative; padding: 8px 0;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #000; transition: var(--transition); 
  transform: translateX(-50%);
}

.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-btn {
  height: 38px; padding: 0 18px; font-size: 14.5px; font-weight: 600; border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; 
  background: #000; color: #fff; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; 
  justify-content: center; transition: var(--transition);
}

.menu-toggle {
  display: none; width: 48px; height: 48px; background: none; border: none; cursor: pointer; flex-direction: column; 
  justify-content: center; align-items: center; gap: 6px; z-index: 1001;
}

.menu-toggle span {
  width: 28px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; background: var(--bg); display: flex; flex-direction: column; 
  align-items: center; justify-content: center; gap: 48px; font-size: 2.8rem; font-weight: 400; letter-spacing: -1.5px; z-index: 999; 
  opacity: 0; visibility: hidden; transform: translateY(-30px); transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
}

.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav-right { display: none; }
  .menu-toggle { display: flex; }
  nav { padding: 0 4%; }
}

/* ================== HERO ================== */
.hero {
  position: relative; min-height: 620px; margin-top: 70px; overflow: hidden; border-bottom-left-radius: 36px; 
  border-bottom-right-radius: 36px;
}

.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03);
}

.hero-overlay {
  position: absolute; inset: 0; background: var(--hero-overlay);
}

.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 160px; 
  background: linear-gradient(180deg, rgba(248,250,252,0) 0%, rgba(248,250,252,1) 100%);
}

.hero-content {
  position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 90px 0 94px;
}

.hero-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: rgba(0,0,0,.8); font-size: .82rem; margin-bottom: 18px;
}

.hero-breadcrumb a, .hero-breadcrumb span { color: rgba(0,0,0,.84); }

.hero-category {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; 
  background: rgba(255,255,255,.34); color: #000; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.16); 
  font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.08; color: #000; font-weight: 800; letter-spacing: -1.8px; max-width: 900px; 
  margin: 18px 0 18px;
}

.hero-subtitle {
  max-width: 760px; font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(0,0,0,.88); line-height: 1.8; margin-bottom: 28px;
}

.hero-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px; width: fit-content; background: rgba(0,0,0,.12); 
  border: 1px solid rgba(255,255,255,.14); padding: 14px 18px; border-radius: 20px; backdrop-filter: blur(14px);
}

.hero-author-mini { display: flex; align-items: center; gap: 12px; }

.hero-author-mini img { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0,0,0,.8); object-fit: contain; }

.hero-author-mini .author-info span { display: block; color: #000; font-weight: 600; }

.meta-divider { width: 1px; height: 24px; background: rgba(0,0,0,.28); }

.meta-item, .read-time-badge { display: inline-flex; align-items: center; gap: 8px; color: rgba(0,0,0,.88); font-size: .86rem; }

/* ================== MAIN CONTENT ================== */

.page-shell {
  position: relative; z-index: 3; margin-top: -54px; padding-bottom: 50px; padding: 2%;
}

.content-grid {
  display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) 92px; gap: 28px; align-items: start;
}

.glass-card, .toc-card, .article-body, .author-card, .related-card, .side-rail-card, .share-inline-block, .share-sidebar {
  border: 1px solid rgba(226,232,240,.95); box-shadow: var(--shadow-md); backdrop-filter: blur(18px);
}

.toc-sidebar { position: sticky; top: 94px; }

.toc-card { border-radius: 22px; padding: 22px 20px; }

.toc-title {
  font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); display: flex; 
  align-items: center; gap: 10px; margin-bottom: 16px;
}

.toc-title::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: #000; }

.toc-list { list-style: none; display: grid; gap: 4px; }

.toc-list li a {
  display: block; padding: 10px 12px; margin-left: -8px; border-radius: 12px; color: var(--text-main); border-left: 2px solid transparent; 
  font-size: .88rem; line-height: 1.35; transition: var(--transition);
}

.toc-list li.toc-h3 a { padding-left: 24px; font-size: .82rem; color: var(--text-muted); }

.toc-list li a:hover, .toc-list li a.active { background: rgba(59,130,246,.08); border-left-color: var(--accent); color: var(--accent); }

.toc-progress { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.toc-progress-label { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-muted); margin-bottom: 8px; }

.toc-progress-bar { height: 6px; background: rgba(148,163,184,.18); border-radius: 999px; overflow: hidden; }

.toc-progress-fill { width: 0; height: 100%; background: linear-gradient(90deg, #000, var(--accent)); border-radius: 999px; }

.article-main { min-width: 0; }

.article-tags-top, .article-tags-bottom { margin-bottom: 24px; }

.tags-row { display: flex; gap: 10px; flex-wrap: wrap; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; 
  text-transform: uppercase; letter-spacing: .04em; border: 1px solid transparent;
}

.tag-primary { background: rgba(15,23,42,.06); color: var(--text-main); border-color: rgba(15,23,42,.08); }

.tag-blue { background: rgba(59,130,246,.08); color: var(--accent); border-color: rgba(59,130,246,.16); }

.tag-teal { background: rgba(14,165,233,.08); color: #0369a1; border-color: rgba(14,165,233,.14); }

.tag:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.share-inline-block {
  display: none; border-radius: 20px; padding: 16px 18px; margin: 0 0 22px;
}

.share-inline-block .share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.share-inline-block .share-label {
  font-size: .9rem; font-weight: 700; color: var(--text-main); margin-right: 4px; writing-mode: initial; text-orientation: initial;
}

.article-body {
  border-radius: 28px; padding: 40px clamp(22px, 4vw, 52px);
}

.article-body section:first-child p:first-child { font-size: 1.08rem; font-weight: 500; color: #111827; }

.article-body h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.24; color: var(--text-main); font-weight: 800; margin: 40px 0 14px; 
  letter-spacing: -.04em;
}

.article-body h2::before {
  content: ''; display: block; width: 42px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: #000;
}

.article-body h3 {
  font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.35; color: var(--text-main); font-weight: 700; margin: 28px 0 10px;
}

.article-body p, .article-body li, .author-bio, .related-card-excerpt, .newsletter-note, .newsletter-subtitle {
  color: #475569;
}

.article-body p {
  font-size: 1.03rem; line-height: 1.9; margin-bottom: 18px;
}

.article-body ul, .article-body ol { list-style: none; margin: 18px 0 22px; padding-left: 0; }

.article-body ul li, .article-body ol li { position: relative; padding: 7px 0 7px 30px; line-height: 1.8; }

.article-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #000;
}

.article-body ol { counter-reset: custom; }

.article-body ol li { counter-increment: custom; }

.article-body ol li::before {
  content: counter(custom); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: #000; 
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700;
}

.article-body blockquote {
  margin: 30px 0; padding: 26px 28px; border-radius: 24px; background: linear-gradient(135deg, #0f172a 0%, #111827 100%); color: #fff; 
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}

.article-body blockquote::before {
  content: '\201C'; position: absolute; top: -14px; left: 14px; font-size: 6rem; color: rgba(255,255,255,.16); line-height: 1;
}

.article-body blockquote p { color: rgba(255,255,255,.9); font-size: 1.08rem; font-style: italic; }

.article-body blockquote cite { color: rgba(255,255,255,.72); font-size: .82rem; font-style: normal; font-weight: 600; }

.article-body pre {
  background: #0f172a; color: #cbd5e1; border-radius: 22px; padding: 24px; overflow-x: auto; box-shadow: var(--shadow-sm); margin: 24px 0;
}

.article-body code { font-family: 'SFMono-Regular', Consolas, monospace; }

.article-body p code {
  background: rgba(15,23,42,.06); color: var(--text-main); padding: 3px 8px; border-radius: 8px; border: 1px solid rgba(15,23,42,.08);
}

.code-highlight-green { color: #86efac; }
.code-highlight-yellow { color: #fde68a; }
.code-highlight-pink { color: #f9a8d4; }
.code-highlight-comment { color: rgba(255,255,255,.45); }

.callout {
  display: flex; gap: 16px; border-radius: 20px; background: rgba(59,130,246,.06); border: 1px solid rgba(59,130,246,.12); 
  border-left: 4px solid var(--accent); padding: 20px; margin: 26px 0;
}

.callout-icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; 
  justify-content: center; flex-shrink: 0;
}

.callout-content p { margin: 0 !important; font-size: .95rem !important; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }

.stat-card {
  border-radius: 20px; padding: 20px 16px; text-align: center; background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%); 
  color: #fff; box-shadow: var(--shadow-sm);
}

.stat-number { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }

.stat-label { font-size: .78rem; color: rgba(255,255,255,.72); }

.article-divider { display: flex; align-items: center; gap: 16px; margin: 36px 0; }

.article-divider::before, .article-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.article-divider i { color: var(--accent); }

.tags-section-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; 
  margin-bottom: 12px; }

.side-rail { position: sticky; top: 94px; display: grid; gap: 16px; }

.share-sidebar {
  border-radius: 24px; padding: 18px 12px; display: block;
}

.share-sidebar .share-bar { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.share-sidebar .share-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--text-muted); text-transform: uppercase; 
  writing-mode: vertical-rl; text-orientation: mixed;
}

.share-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(226,232,240,.9); background: #fff; display: inline-flex; 
  align-items: center; justify-content: center; color: var(--text-main); cursor: pointer; position: relative; 
  transition: var(--transition); box-shadow: var(--shadow-sm);
}

.share-btn::after {
  content: attr(data-tooltip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); padding: 6px 10px; 
  border-radius: 8px; background: #111827; color: #fff; font-size: .72rem; font-weight: 600; white-space: nowrap; opacity: 0; 
  pointer-events: none; transition: var(--transition);
}

.share-btn:hover::after { opacity: 1; }

.share-twitter { background: #111; color: #fff; }
.share-twitter:hover { transform: translateY(-2px) scale(1.04); color: #fff; }

.share-linkedin { background: #0077B5; color: #fff; }
.share-linkedin:hover { transform: translateY(-2px) scale(1.04); color: #fff; }

.share-facebook { background: #1877F2; color: #fff; }
.share-facebook:hover { transform: translateY(-2px) scale(1.04); color: #fff; }

.share-whatsapp { background: #25D366; color: #fff; }
.share-whatsapp:hover { transform: translateY(-2px) scale(1.04); color: #fff; }

.share-copy.copied { background: #10b981; color: #fff; }
.share-copy.copied:hover { color: #000 !important; }

.share-divider-line { width: 1px; height: 22px; background: var(--border); }

.side-rail-card {
  border-radius: 24px; padding: 18px 16px;
}

.side-rail-card h3 { font-size: .95rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }

.side-rail-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

.side-rail-card ul { list-style: none; display: grid; gap: 10px; }

.side-rail-card li { font-size: .86rem; color: #334155; padding-left: 18px; position: relative; }

.side-rail-card li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; 
  background: var(--accent); }

.author-section, .related-section { margin-top: 44px; }

.author-card {
  border-radius: 28px; padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 28px; position: relative;
}

.author-card::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; 
  background: linear-gradient(90deg, #000, var(--accent)); }

.author-avatar-wrap { position: relative; }

.author-avatar-wrap img { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; border: 3px solid #fff; 
  box-shadow: var(--shadow-sm); }

.author-verified {
  position: absolute; right: 2px; bottom: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); 
  color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

.author-label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); 
  margin-bottom: 6px; }

.author-name { font-size: 1.45rem; color: var(--text-main); margin-bottom: 6px; }

.author-title { color: var(--text-muted); margin-bottom: 14px; }

.author-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }

.author-stat { text-align: center; }

.author-stat-num { display: block; font-size: 1.15rem; font-weight: 800; color: var(--text-main); }

.author-stat-label { font-size: .72rem; color: var(--text-muted); }

.author-links { display: flex; flex-wrap: wrap; gap: 10px; }

.author-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}

.author-link-twitter { background: #111; color: #fff; }
.author-link-linkedin { background: #0077B5; color: #fff; }
.author-link-website { background: rgba(15,23,42,.06); color: var(--text-main); border: 1px solid rgba(15,23,42,.08); }

.author-link:hover { transform: scale(1.05); color: #fff; }
.author-link-website:hover { transform: scale(1.05); color: #000; }

.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

.section-title { font-size: 1.18rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 10px; }

.section-title::before { content: ''; width: 4px; height: 22px; border-radius: 999px; background: #000; }

.see-all-link { font-size: .85rem; font-weight: 700; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.related-card {
  border-radius: 24px; overflow: hidden; display: block;
}

.related-card-img { aspect-ratio: 16/9; overflow: hidden; }

.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.related-card:hover .related-card-img img { transform: scale(1.05); }

.related-card-body { padding: 18px; }

.related-card-tag { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); 
  margin-bottom: 8px; }

.related-card-title { font-size: 1rem; line-height: 1.45; color: var(--text-main); margin-bottom: 10px; font-weight: 800; }

.related-card-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-muted); font-size: .78rem; }

.scroll-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: none; background: #000; 
  color: #fff; box-shadow: var(--shadow-md); cursor: pointer; z-index: 1000; opacity: 0; pointer-events: none; 
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }

.scroll-top:hover { transform: translateY(-2px); background: #000; }

/* ================== RESPONSIVE STYLES ================== */

@media (max-width: 1024px) {
  .hero { min-height: 560px; }
  .hero-content { padding: 80px 0 80px; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .content-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .side-rail { display: none; }
  .share-inline-block { display: block; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .author-section { grid-column: 1 / -1; }
  .author-card { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .author-avatar-wrap { justify-content: center; }
  .author-links { justify-content: left; }
}

@media (max-width: 768px) {
  .hero { min-height: 500px; border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; }
  .hero-content { padding: 72px 0 70px; }
  .hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -1.2px; }
  .hero-subtitle { font-size: 1.02rem; }
  .hero-meta { padding: 12px 14px; gap: 12px; flex-wrap: wrap; }
  .meta-divider { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .toc-sidebar { position: static; }
  .toc-card { max-height: 320px; overflow-y: auto; }
  .article-body { padding: 32px 24px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-top { right: 16px; bottom: 80px; }
  .author-card { padding: 28px; gap: 20px; }
}

@media (max-width: 480px) {
  .hero { min-height: 460px; }
  .hero-content { padding: 65px 0 60px; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); letter-spacing: -1px; }
  .hero-subtitle { font-size: 0.98rem; }
  .hero-meta { width: 100%; justify-content: center; }
  .article-body { padding: 28px 20px; }
  .article-tags-top { margin-bottom: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .share-inline-block .share-bar { flex-wrap: wrap; justify-content: flex-start; }
  .scroll-top { right: 14px; bottom: 70px; width: 44px; height: 44px; }
  .author-card { padding: 24px; }
  .author-stats { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 360px) {
  .hero { min-height: 420px; }
  .hero-content { padding: 60px 0 55px; }
  .hero h1 { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .article-body { padding: 24px 18px; }
  .tags-row { gap: 8px; }
  .tag { padding: 7px 10px; font-size: 0.75rem; }
  .author-card { padding: 24px; }
  .author-stats { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ================== FOOTER ================== */
footer {
  background: var(--footer-bg); color: var(--footer-text); padding: 0; margin-top: auto; position: relative; overflow: hidden;
}

footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; 
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.25), transparent);
}

.footer-wrapper { margin: 0 auto; padding: 80px 6% 0; }

.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 4rem; padding-bottom: 60px; 
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 0.5rem; font-family: 'Inter', sans-serif;
}

.footer-tagline {
  font-size: 1rem; color: var(--footer-text-muted); line-height: 1.7; max-width: 320px; margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 1rem; margin-top: auto; }

.social-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--badge-bg); 
  border: 1px solid var(--badge-border); border-radius: 50%; color: var(--footer-text); font-size: 18px; 
  text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  background: var(--footer-hover); border-color: var(--footer-hover); color: #fff; transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.footer-social:hover ~ .footer-middle .footer-big-text,
.social-icon:hover ~ .footer-middle .footer-big-text {
  color: #000000; -webkit-text-stroke: 1; background: none; text-shadow: none;
}

.footer-col h4 {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--footer-text); 
  margin-bottom: 1.5rem; opacity: 0.9;
}

.footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 0.75rem; text-align: left;
}

.footer-links a {
  color: var(--footer-text-muted); text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; display: inline-block; 
  position: relative;
}

.footer-links a::before {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--footer-hover); 
  transition: width 0.3s ease;
}

.footer-links a:hover { color: var(--footer-accent); padding-left: 4px; }

.footer-links a:hover::before { width: 100%; }

.footer-newsletter h4 { margin-bottom: 1rem; }

.newsletter-text {
  font-size: 0.9rem; color: var(--footer-text-muted); margin-bottom: 1.5rem; line-height: 1.6;
}

.newsletter-form { display: flex; gap: 0.5rem; }

.newsletter-input {
  flex: 1; padding: 0.75rem 1rem; background: var(--badge-bg); border: 1px solid var(--badge-border); border-radius: 8px; 
  color: var(--footer-text); font-size: 0.9rem; outline: none; transition: all 0.3s ease;
}

.newsletter-input:focus { border-color: var(--footer-hover); background: rgba(0,0,0,0.06); }

.newsletter-input::placeholder { color: var(--footer-text-muted); opacity: 0.6; }

.newsletter-btn {
  padding: 0.75rem 1.5rem; background: var(--footer-hover); border: none; border-radius: 8px; color: #fff; font-weight: 600; 
  font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap;
}

.newsletter-btn:hover {
  background: #1e40af; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.footer-middle { padding: 100px 0; }

.footer-big-text {
  font-size: clamp(6rem, 15vw, 20rem); font-weight: 900; letter-spacing: -0.01em; line-height: 0.85; color: #ffffff; 
  -webkit-text-stroke: 3px #D3D3D3; paint-order: stroke fill; text-transform: uppercase; user-select: none; 
  font-family: 'Inter', system-ui, sans-serif; transition: all 0.4s ease; max-width: 100vw; overflow: hidden; white-space: nowrap; 
  margin: 0 auto;
}

.footer-bottom {
  padding: 30px 0; border-top: 1px solid var(--footer-border); display: flex; justify-content: space-between; align-items: center; 
  gap: 2rem; flex-wrap: wrap;
}

.footer-badges { display: flex; gap: 1rem; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem; background: var(--badge-bg); 
  border: 1px solid var(--badge-border); border-radius: 999px; font-size: 0.85rem; color: var(--footer-text-muted); 
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: var(--footer-hover); color: var(--footer-accent); background: rgba(59,130,246,0.05); transform: translateY(-2px);
}

.badge i { font-size: 1rem; }

.footer-copyright {
  display: flex; align-items: center; gap: 1.5rem; color: var(--footer-text-muted); font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--footer-text-muted); text-decoration: none; transition: color 0.3s ease;
}

.footer-copyright a:hover { color: var(--footer-accent); }

/* ================== FOOTER RESPONSIVE ================== */

@media (min-width: 1025px) {
  .footer-top {grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 4rem 3.5rem;}
  .footer-brand-col {display: flex; flex-direction: column; justify-content: space-between; min-height: 380px;}
  .footer-legal {margin-top: 2.5rem;}
  .footer-newsletter {align-self: start;}
}

@media (max-width: 1024px) {
  .footer-wrapper {padding: 65px 4% 0;}
  .footer-top {grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem 2.5rem;}
  .footer-newsletter {grid-column: 1; margin-top: 1rem;}
  .footer-brand-col {min-height: auto;}
  .footer-legal {margin-top: 2rem;}
  .footer-big-text {font-size: clamp(5rem, 15.3vw, 20rem); letter-spacing: 0.2rem;}
}

@media (max-width: 768px) {
  .footer-wrapper {padding: 55px 3% 0;}
  .footer-top {grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; padding-bottom: 50px;}
  .footer-brand-col, .footer-newsletter {grid-column: 1 / -1;}
  .footer-legal {margin-top: 2.2rem;}
  .newsletter-form {flex-direction: column; gap: 1rem;}
  .newsletter-input, .newsletter-btn {width: 100%;}
  .footer-middle {padding: 60px 0 60px;}
  .footer-big-text {font-size: clamp(5rem, 15.2vw, 20rem); letter-spacing: 0.2rem;}
  .footer-bottom {flex-direction: column; text-align: center; gap: 1.6rem;}
}

@media (max-width: 480px) {
  .footer-wrapper {padding: 48px 2% 0;}
  .footer-top {grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 45px;}
  .footer-logo {font-size: 1.75rem; text-align: center;}
  .footer-tagline {text-align: center;}
  .footer-brand-col {text-align: center;}
  .footer-brand .footer-tagline {max-width: 100%; margin: 0 auto 1.8rem;}
  .footer-social {justify-content: center; margin: 1.5rem auto;}
  .footer-col {text-align: center;}
  .footer-links {align-items: center;}
  .footer-legal {margin-top: 1.8rem;}
  .footer-middle {padding: 40px 0 40px;}
  .footer-big-text {font-size: clamp(4rem, 15.8vw, 20rem); line-height: 0.9; letter-spacing: 0.1rem;}
  .social-icon {width: 42px; height: 42px; font-size: 17px;}
}

@media (max-width: 900px) { .footer-big-text {font-size: clamp(5rem, 15vw, 20rem); letter-spacing: 0.2rem;} }

@media (max-width: 430px) { .footer-big-text {font-size: clamp(3.5rem, 15.3vw, 20rem); letter-spacing: 0.2rem;} }

@media (max-width: 360px) { .footer-big-text {font-size: clamp(3rem, 15.3vw, 20rem); letter-spacing: 0.2rem;} }