/* ===========================
   RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  font-size: 15px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --primary: #0057d9;
  --primary-dark: #003fa3;
  --primary-light: #e8f0fe;
  --accent: #ff6b35;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-light: #f4f8ff;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 87, 217, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 87, 217, 0.14);
  --transition: 0.25s ease;
}

/* ===========================
   UTILITY
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 217, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-sm:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  padding: 6px;
  transition: color var(--transition);
}
.btn-icon:hover {
  color: var(--primary);
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}
.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
}
.section-title.left {
  text-align: left;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 48px;
}
.highlight {
  color: var(--primary);
}
.dot {
  color: var(--text-muted);
  margin: 0 4px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 87, 217, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  line-height: 1.2;
}
.brand-tag {
  font-size: 10px;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-links .has-dropdown i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

/* ── Dropdown Wrapper ── */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-wrap .has-dropdown {
  cursor: pointer;
  user-select: none;
}
.nav-dropdown-wrap.open .has-dropdown i {
  transform: rotate(180deg);
}

/* ── Dropdown Menu ── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 9999;
  animation: dropdownFadeIn 0.18s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  display: block;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  background: none !important;
  border-radius: 0 !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}
.nav-dropdown-item i {
  font-size: 12px;
  width: 14px;
  text-align: center;
  color: var(--primary);
  opacity: 0.7;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 50%, #f4f8ff 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 87, 217, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 520px;
  padding-bottom: 60px;
}
.hero-content {
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 87, 217, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 87, 217, 0.2);
}
.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-badges span i {
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
  z-index: 2;
}
.hero-landmark {
  position: absolute;
  bottom: 0;
  opacity: 0.12;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}
.hero-taj {
  left: 0;
  width: 160px;
  height: 180px;
  background: var(--primary);
  clip-path: polygon(
    50% 0%,
    55% 30%,
    70% 30%,
    72% 40%,
    60% 42%,
    60% 55%,
    72% 55%,
    72% 65%,
    60% 65%,
    60% 100%,
    40% 100%,
    40% 65%,
    28% 65%,
    28% 55%,
    40% 55%,
    40% 42%,
    28% 40%,
    30% 30%,
    45% 30%
  );
}
.hero-gate {
  right: 0;
  width: 120px;
  height: 160px;
  background: var(--primary);
  clip-path: polygon(
    10% 100%,
    10% 30%,
    20% 25%,
    20% 15%,
    30% 10%,
    40% 5%,
    50% 0%,
    60% 5%,
    70% 10%,
    80% 15%,
    80% 25%,
    90% 30%,
    90% 100%,
    75% 100%,
    75% 60%,
    65% 50%,
    55% 45%,
    45% 45%,
    35% 50%,
    25% 60%,
    25% 100%
  );
}
.hero-devices {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.device {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device-laptop {
  width: 280px;
  border: 2px solid var(--border);
}
.device-tablet {
  width: 140px;
  border: 2px solid var(--border);
  align-self: flex-end;
  margin-bottom: 20px;
}
.device-screen {
  padding: 14px;
}
.mock-header {
  height: 12px;
  background: var(--primary-light);
  border-radius: 6px;
  margin-bottom: 10px;
}
.mock-header.small {
  height: 8px;
}
.mock-content {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.mock-img {
  width: 60px;
  height: 50px;
  background: linear-gradient(135deg, #dde6f7, #c3d4f5);
  border-radius: 6px;
  flex-shrink: 0;
}
.mock-lines {
  flex: 1;
}
.mock-line {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  margin-bottom: 6px;
}
.w80 {
  width: 80%;
}
.w60 {
  width: 60%;
}
.w70 {
  width: 70%;
}
.mock-card {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
}
.mock-card.small {
  padding: 8px;
  font-size: 10px;
  gap: 4px;
}
.mock-card button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 600;
}
.hero-wave {
  margin-top: -1px;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  display: block;
}

/* ===========================
   FEATURED ARTICLE
=========================== */
.featured-section {
  background: var(--bg-light);
  padding: 64px 0;
}
.featured-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.featured-img {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-label {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
}
.featured-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.featured-img-placeholder > i {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.15);
}
.payment-failed-mock {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.payment-failed-mock i {
  font-size: 28px;
  color: #e74c3c;
}
.payment-failed-mock button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
}
.featured-body {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.featured-body h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.featured-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.category-tag.billing {
  background: #fff3e0;
  color: #e65100;
}
.category-tag.account {
  background: #e3f2fd;
  color: #1565c0;
}
.category-tag.refund {
  background: #e8f5e9;
  color: #1b5e20;
}
.category-tag.technical {
  background: #f3e5f5;
  color: #4a148c;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.article-meta.small {
  font-size: 12px;
}
.author-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
}
.author-name {
  font-weight: 600;
  color: var(--text);
}

/* ===========================
   CATEGORIES
=========================== */
.categories-section {
  padding: 80px 0;
  background: #fff;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform var(--transition);
}
.category-card:hover .cat-icon {
  transform: scale(1.1);
}
.cat-icon.blue {
  background: #e3f2fd;
  color: #1565c0;
}
.cat-icon.orange {
  background: #fff3e0;
  color: #e65100;
}
.cat-icon.green {
  background: #e8f5e9;
  color: #2e7d32;
}
.cat-icon.purple {
  background: #f3e5f5;
  color: #6a1b9a;
}
.cat-icon.pink {
  background: #fce4ec;
  color: #ad1457;
}
.cat-icon.teal {
  background: #e0f2f1;
  color: #00695c;
}
.cat-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.cat-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===========================
   ARTICLES
=========================== */
.articles-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}
.section-header-row .section-eyebrow {
  text-align: left;
  margin-bottom: 8px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.article-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.account-bg {
  background: linear-gradient(135deg, #1565c0, #42a5f5);
}
.billing-bg {
  background: linear-gradient(135deg, #e65100, #ffa726);
}
.refund-bg {
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
}
.technical-bg {
  background: linear-gradient(135deg, #6a1b9a, #ab47bc);
}
.article-img-icon {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.85);
}
.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-body h3 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.article-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.article-meta i {
  color: var(--primary);
}

/* ===========================
   WHY CHOOSE
=========================== */
.why-section {
  padding: 80px 0;
  background: #fff;
}
.why-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.why-left p {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}
.why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  background: #fff;
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}
.why-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   NEWSLETTER
=========================== */
.newsletter-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 60px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.newsletter-icon-wrap > i {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.9);
}
.paper-plane {
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  animation: fly 2s ease-in-out infinite alternate;
}
@keyframes fly {
  from {
    transform: translate(0, 0) rotate(-10deg);
  }
  to {
    transform: translate(6px, -6px) rotate(0deg);
  }
}
.newsletter-text {
  flex: 1;
  min-width: 200px;
}
.newsletter-text h3 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.newsletter-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 14px 20px;
  font-size: 14px;
  border: none;
  outline: none;
  width: 280px;
  font-family: "Inter", sans-serif;
  background: #fff;
}
.newsletter-form .btn {
  border-radius: 0;
  background: var(--accent);
  font-size: 14px;
  padding: 14px 24px;
}
.newsletter-form .btn:hover {
  background: #e55a2b;
  transform: none;
  box-shadow: none;
}

/* Success message */
.newsletter-success {
  display: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  align-items: center;
  gap: 8px;
}
.newsletter-success.show {
  display: flex;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand-name {
  color: #fff;
}
.footer .brand-tag {
  color: rgba(255, 255, 255, 0.5);
}
.footer .brand-icon {
  background: var(--primary);
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.footer-col h5 {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: #fff;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}
.contact-list li i {
  color: var(--primary);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   SCROLL TO TOP BUTTON
=========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 87, 217, 0.3);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
/* ===========================
   BLOG CATEGORY FILTER BAR
=========================== */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5fb;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filter-btn i {
  font-size: 11px;
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-img {
    min-height: 220px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    display: none;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  /* Mobile dropdown */
  .nav-dropdown-wrap {
    width: 100%;
  }
  .nav-dropdown-wrap .has-dropdown {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary-light);
    border-radius: 0;
    background: #f8faff;
    padding: 4px 0;
    margin: 4px 0 4px 8px;
    animation: none;
  }
  .nav-dropdown-wrap:hover .nav-dropdown {
    display: block;
  }
  .nav-dropdown-item {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .why-features {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    width: 100%;
  }
  .newsletter-form input {
    width: 100%;
    min-width: 0;
    flex: 1;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .featured-body {
    padding: 28px 24px;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
