/* ============================================================
   KINECTIC SOLUTION — SHARED STYLES (Global Architecture)
   ============================================================ */
:root {
  --accent:      #00e5b4;
  --accent2:     #3b82f6;
  --bg-dark:     #0a0e1a;
  --bg-mid:      #111827;
  --bg-card:     #151d2e;
  --text:        #e8edf5;
  --muted:       #7a8ba3;
  --border:      rgba(255,255,255,0.08);
  --pill-bg:     rgba(0,229,180,0.1);
  --pill-border: rgba(0,229,180,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
em { font-style: normal; color: var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
section { padding: 5rem 0; }

.label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.heading { font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.display { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0e1a;
  border: none;
  border-radius: 7px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* STICKY HEADER INTERFACE */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.nav-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #0a0e1a;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}
.nav-cta:hover { opacity: 0.85; }

/* MOBILE NAV TOGGLE (HAMBURGER) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO SUB-PAGES BUILDER */
.page-hero { padding: 5rem 0 4rem; background: var(--bg-mid); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero-glow { position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle,rgba(59,130,246,0.1) 0%,transparent 70%); pointer-events: none; }
.page-hero-glow2 { position: absolute; bottom: -40%; left: -5%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle,rgba(0,229,180,0.06) 0%,transparent 70%); pointer-events: none; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ============================================================
   INTERACTIVE BLOG MODULE UI ELEMENTS
   ============================================================ */
.filter-wrapper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}
.filter-btn {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--pill-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 180, 0.3);
}
.blog-img-box {
  position: relative;
  height: 190px;
  background: #0d1321;
}
.blog-img-box img {
  height: 100%;
}
.blog-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--pill-border);
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.blog-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.blog-meta-q {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent2);
  padding: 0.75rem 1rem;
  font-size: 13px;
  color: #a3b3cc;
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.blog-meta-q strong {
  color: var(--text);
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.read-article-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: max-content;
  transition: color 0.2s;
}
.read-article-btn:hover {
  color: var(--text);
}

/* DEEP-READ LAYER MODAL SYSTEM */
.article-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(6, 10, 18, 0.96);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}
.article-modal.active {
  opacity: 1; pointer-events: auto;
}
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 740px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 14px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.close-modal-btn {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.close-modal-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* MODAL TYPOGRAPHY DESIGNS */
#modalContent p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 1.25rem; }
#modalContent h4 { font-family: 'Syne', sans-serif; color: var(--text); font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
#modalContent blockquote { background: var(--pill-bg); border-left: 3px solid var(--accent); padding: 1.2rem 1.5rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0; }
#modalContent blockquote strong { color: var(--text); font-size: 14.5px; }

/* ============================================================
   SHARED MEGA FOOTER ARCHITECTURE
   ============================================================ */
.site-footer {
  background: #060911;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 1.25rem; }
.footer-tagline { color: var(--muted); font-size: 14px; max-width: 280px; line-height: 1.6; margin-bottom: 1.75rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; font-weight: 600;
  transition: all 0.2s ease;
}
.social-icon:hover { border-color: var(--accent); color: var(--text); background: var(--pill-bg); }

.footer-column h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #5d6f88; margin-bottom: 1.5rem; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.85rem; }
.footer-column ul a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-column ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.footer-domain { color: var(--muted); transition: color 0.2s; }
.footer-domain:hover { color: var(--text); }

/* RESPONSIVE LAYOUT MATRIX */
@media(max-width:768px){
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
  nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,14,26,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: 1.5rem 2.5rem; margin: 0;
  }
  nav.open .nav-cta { display: inline-block; margin: 0 2.5rem 1.5rem; }
  .container { padding: 0 1.25rem; }
  section { padding: 3rem 0; }
  .modal-card { padding: 1.5rem; }
}