@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================
   VDSSATINAL.BIZ - ZERO-WRITTEN CUSTOM CSS
   THEME: Ultra-Professional Enterprise Monochrome
   ========================================================== */

/* 1. RESET & GLOBALS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #111827;
  background-color: #f9fafb;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: #2563eb;
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease;
}

img, video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
}

.section img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
  display: block;
}

a {
  text-decoration: none;
  color: #2563eb;
  transition: all 0.2s ease;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, .logo-text, .stat-num, .section-number {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

/* 3. HEADER & NAVIGATION */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: #111827;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: #4b5563;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #111827;
  text-decoration: none;
}

.cta-button, .cta-primary, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  background-color: #111827;
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid #111827;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover, .cta-primary:hover, .header-cta:hover {
  background-color: #ffffff;
  color: #111827 !important;
  text-decoration: none;
}

/* 4. HERO SECTION */
.hero-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.hero-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #f3f4f6;
  color: #2563eb;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #e5e7eb;
}

.hero-intro h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #111827;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-intro h1 span {
  color: #2563eb;
}

.subtitle {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.stat-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.stat-num, .stat-val {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.stat-lbl, .stat-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 5. MAIN CONTENT SECTIONS */
.content-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 0;
}

.section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.section-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.25rem;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.section p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.7;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Featured Article (Section 1) */
.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.featured-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-category {
  color: #2563eb; /* Professional Blue */
  font-weight: 600;
}

.featured-content h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #111827;
}

.featured-content h2 a {
  color: #111827;
}

.featured-content h2 a:hover {
  color: #2563eb;
  text-decoration: none;
}

.featured-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Blog Divider line */
.blog-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}

.blog-divider h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.divider-line {
  height: 1px;
  background-color: #e5e7eb;
  flex-grow: 1;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.post-header {
  cursor: pointer;
}

.post-image-wrapper {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.post-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin-bottom: 0; /* Override default image margin */
}

.post-header:hover img {
  transform: scale(1.02);
}

.post-header-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.5rem 0 0;
  letter-spacing: -0.01em;
}

.post-header-text h3 a {
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.post-header:hover h3 a {
  color: #2563eb;
  text-decoration: none;
}

/* Chevron */
.blog-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: transform 0.2s ease, background-color 0.2s, color 0.2s;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: #f3f4f6;
  border-radius: 50%;
  transform: rotate(-90deg); /* Point right by default */
}

.post-header:hover .blog-chevron {
  background-color: #e5e7eb;
  color: #111827;
  transform: rotate(-90deg) translateX(2px);
}

/* Hide post body on grid cards */
.post-card .post-body {
  display: none;
}

/* 6. COMPONENTS & BOXES */
.winner-box, .tip-box, .sidebar-box, .cyber-box {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.winner-box h4, .tip-box strong, .winner-title, .tip-box-title {
  display: block;
  color: #111827;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: #ffffff;
}

.compare-table th, .compare-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* RATING BAR */
.rating-container {
  margin: 1.5rem 0;
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.rating-label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

.rating-bar {
  background: #f3f4f6;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}

.rating-fill {
  background: #111827;
  height: 100%;
  border-radius: 3px;
  width: 100%;
}

/* LISTS */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-weight: bold;
}

/* 7. FOOTER */
/* 7. FOOTER */
.footer {
  background: #f9fafb;
  color: #4b5563;
  padding: 4rem 0 2rem;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #111827;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col a {
  color: #6b7280;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.footer-col a:hover {
  color: #2563eb;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* 8. FLAWLESS MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    width: 100%;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-intro {
    padding: 3rem 1rem;
  }

  .subtitle {
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content-block {
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 8px;
  }

  .section img {
    max-height: 300px;
    margin: 1.5rem 0;
  }
  
  .cta-button, .cta-primary, .header-cta {
    width: 100%;
    text-align: center;
  }

  .footer-container {
    padding: 0 1rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .modal-overlay {
    padding: 1rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
  
  .modal-inner-content h3 {
    font-size: 1.6rem !important;
  }
}

/* 9. MODERN READER MODAL */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 24, 39, 0.4); /* Charcoal overlay matching biz */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 4px; /* Match biz radius */
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: scale(0.97) translateY(10px);
  transition: transform 0.25s ease;
  border: 1px solid #e5e7eb;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f3f4f6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  transition: background-color 0.2s, color 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background-color: #e5e7eb;
  color: #111827;
}

.modal-content {
  padding: 3rem 2.5rem;
}

/* Modal Content Formatting */
.modal-inner-content {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.modal-inner-content .post-image-wrapper {
  margin-bottom: 2rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.modal-inner-content .post-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: none !important;
  margin-bottom: 0;
}

.modal-inner-content h3 {
  font-size: 2rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin-top: 1rem !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.02em !important;
  color: #111827 !important;
}

.modal-inner-content h3 a {
  color: #111827 !important;
  pointer-events: none;
  cursor: default;
}

.modal-inner-content .post-body {
  display: block !important;
  margin-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  opacity: 1 !important;
}

.modal-inner-content .post-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1.5rem;
}


/* ========================================== 
   EXTRACTED INLINE STYLES 
   ========================================== */
/* Dropdown Styles */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-trigger {
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
  }

  .dropdown-trigger:hover {
    background-color: #f3f4f6;
    color: #2563eb;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 320px;
    max-height: 480px;
    overflow-y: auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem;
  }

  .dropdown-content a {
    display: block;
    padding: 0.6rem 0.8rem;
    font-size: 0.875rem;
    color: #4b5563;
    border-radius: 4px;
    transition: all 0.2s;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .dropdown-content a:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    padding-left: 1rem;
    text-decoration: none;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content::-webkit-scrollbar {
    width: 4px;
  }
  .dropdown-content::-webkit-scrollbar-track {
    background: #ffffff;
  }
  .dropdown-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
  }

/* Collapsible Content Toggler */
.more-text {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.more-text.show {
  display: block !important;
  opacity: 1 !important;
}

.read-more-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  transition: opacity 0.2s ease;
}

.read-more-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}


.highlight {
  color: #2563eb !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: inline !important;
}
