/* ============================================================
   WebHat – Main Stylesheet
   Design: Modern glassmorphism dark-navy header
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --brand-navy:    #0D1B4B;
  --brand-blue:    #1A56DB;
  --brand-light:   #3B82F6;
  --brand-glow:    rgba(26, 86, 219, 0.25);

  --white:         #FFFFFF;
  --off-white:     #F8FAFF;

  --text-primary:  #0D1B4B;
  --text-muted:    #64748B;

  --header-bg:     rgba(10, 18, 55, 0.85);
  --header-blur:   blur(20px);
  --header-border: rgba(59, 130, 246, 0.15);

  --dropdown-bg:   #0F1E5C;
  --dropdown-border: rgba(59, 130, 246, 0.2);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --shadow-glow: 0 8px 40px rgba(26, 86, 219, 0.3);
  --shadow-card: 0 20px 60px rgba(13, 27, 75, 0.5);

  --transition-fast:   0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-en: 'Inter', sans-serif;
  --font-bn: 'Hind Siliguri', sans-serif;

  --header-height: 76px;
  --topbar-height: 36px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #04091e !important; }

body {
  font-family: var(--font-bn);
  background-color: #04091e !important;
  min-height: 100vh;
  color: var(--text-primary);
  overflow-x: hidden;
}

body.lang-en { font-family: var(--font-en); }
body.lang-bn { font-family: var(--font-bn); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { display: block; max-width: 100%; }

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--topbar-height);
  background: rgba(6, 10, 38, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.top-bar-item svg { flex-shrink: 0; color: var(--brand-light); opacity: 0.8; }

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.top-bar-link:hover { color: var(--brand-light); }

.top-bar-divider {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  user-select: none;
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none !important;
  }
  .top-bar-inner {
    justify-content: center;
    padding: 0 10px;
    font-size: 0.78rem;
  }
  .top-bar-left {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }
  .top-bar-item,
  .top-bar-link {
    font-size: 0.78rem;
  }
  .top-bar-item span {
    display: inline-block;
  }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  border-bottom: 1px solid rgba(13, 27, 75, 0.08);
  transition: background var(--transition-smooth),
              box-shadow var(--transition-smooth),
              height var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(13, 27, 75, 0.08);
  height: 68px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ---------- LOGO ---------- */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.logo-link:hover { transform: scale(1.04); filter: brightness(1.1); }

.logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
  transition: all var(--transition-smooth);
}

/* ---------- MAIN NAV ---------- */
.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  transition: color var(--transition-fast),
              background var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: center;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-blue);
  background: rgba(59, 130, 246, 0.08);
  outline: none;
}

.nav-link:hover::after { transform: scaleX(1); }

/* Dropdown Toggle / Client Area Button */
.nav-dropdown-toggle {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light));
  box-shadow: 0 0 20px rgba(26, 86, 219, 0.4);
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-toggle:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  transform: translateY(-1px);
}

.nav-dropdown-toggle::after { display: none; }

.icon-chevron {
  transition: transform var(--transition-smooth);
}

.has-dropdown.open .icon-chevron { transform: rotate(180deg); }

/* ---------- DROPDOWN MENU ---------- */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 280px;
  background: linear-gradient(145deg, #0F1E5C, #0A1440);
  border: 1px solid var(--dropdown-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 50px rgba(26, 86, 219, 0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition: all var(--transition-smooth);
  z-index: 900;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #0F1E5C;
  border-left: 1px solid var(--dropdown-border);
  border-top: 1px solid var(--dropdown-border);
  transform: rotate(45deg);
}

.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-inner { padding: 10px; display: flex; flex-direction: column; gap: 4px; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--white);
  transform: translateX(4px);
}

.dd-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 86, 219, 0.2);
  border-radius: var(--radius-sm);
  color: var(--brand-light);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.dropdown-item:hover .dd-icon { background: rgba(26, 86, 219, 0.35); }

.dd-text { display: flex; flex-direction: column; gap: 2px; }

.dd-title {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

.dd-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

/* ---------- HEADER CONTROLS ---------- */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ---------- LANGUAGE TOGGLE ---------- */
.lang-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 27, 75, 0.04);
  border: 1px solid rgba(13, 27, 75, 0.08);
  border-radius: 100px;
  padding: 4px 8px;
  user-select: none;
}

.lang-btn {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 100px;
  transition: color var(--transition-fast);
  letter-spacing: 0.03em;
  line-height: 1;
  border: none;
  background: transparent;
  cursor: pointer;
}

.lang-btn.active { color: var(--text-primary); }

.lang-slider-track {
  width: 38px;
  height: 22px;
  background: rgba(13, 27, 75, 0.15);
  border-radius: 100px;
  border: 1px solid rgba(13, 27, 75, 0.2);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.lang-slider-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-light));
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  transition: left var(--transition-smooth);
  display: block;
}

.lang-slider-track.en .lang-slider-thumb,
.lang-slider-thumb.en { left: 18px; }

/* ---------- CTA BUTTON ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  background: linear-gradient(135deg, #1A56DB 0%, #3B82F6 50%, #1A56DB 200%);
  background-size: 200% 200%;
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.65);
  background-position: right center;
}

.cta-btn:active { transform: translateY(0); }

/* ---------- OUTLINE BUTTON ---------- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
  background: transparent;
  border: 2px solid var(--brand-blue);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.btn-outline:active { transform: translateY(0); }

/* Large Button Modifiers */
.cta-btn--lg, .btn-outline--lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(13, 27, 75, 0.08);
  border: 1px solid rgba(13, 27, 75, 0.12);
  transition: background var(--transition-fast);
}

.hamburger:hover { background: rgba(59, 130, 246, 0.15); }

.ham-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.hamburger.open .ham-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed;
  top: calc(var(--topbar-height) + var(--header-height));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  z-index: 990;
  border-top: 1px solid rgba(13, 27, 75, 0.08);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }

.mobile-nav-link {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--brand-blue);
  padding-left: 24px;
}

.mobile-client-area { margin-top: 12px; }

.mobile-section-title {
  display: block;
  padding: 8px 18px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  opacity: 0.8;
}

.mobile-client-links { display: flex; flex-direction: column; gap: 4px; }

.mobile-sub-link {
  padding-left: 30px !important;
  font-size: 0.95rem !important;
  border-left: 2px solid rgba(59, 130, 246, 0.3) !important;
  margin-left: 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

/* ---------- HERO PLACEHOLDER ---------- */
.hero-placeholder {
  background: var(--off-white, #F8FAFF);
  min-height: calc(100vh - 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--topbar-height) + var(--header-height));
  padding-inline: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(26, 86, 219, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 80% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { max-width: 720px; position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
/* ---------- STATS ROW ---------- */
.stats-row {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #173280 100%);
  padding: 40px 24px;
  position: relative;
  z-index: 10;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 80px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ---------- TRUST SECTION ---------- */
.trust-section {
  padding: 100px 24px;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(13, 27, 75, 0.05);
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-blue);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.trust-badge svg { color: var(--brand-blue); }

.trust-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.trust-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
}

.trust-list svg {
  color: #10B981; /* Emerald green for checkmarks */
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(13, 27, 75, 0.15);
  border: 4px solid var(--brand-blue);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-smooth);
}

.trust-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.trust-image img {
  width: 100%;
  display: block;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  padding: 100px 24px;
  background: var(--off-white);
  border-top: 1px solid rgba(13, 27, 75, 0.05);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(13, 27, 75, 0.03);
  border: 1px solid rgba(13, 27, 75, 0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 27, 75, 0.08);
}

.service-card.popular {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #FFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.service-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(13, 27, 75, 0.1);
}

.service-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-blue);
}

.old-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #94A3B8; /* A muted slate gray */
  margin-right: 6px;
  text-decoration: line-through;
}

.price-suffix {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service-body {
  flex-grow: 1;
}

.service-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.text-brand-blue {
  color: var(--brand-blue);
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: none !important; }
  
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-content { text-align: center; }
  .trust-list li { justify-content: center; text-align: left; }
  .trust-image-wrapper { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-placeholder {
    min-height: calc(100vh - 22px) !important;
    padding-top: calc(var(--topbar-height) + var(--header-height) + 20px) !important;
    padding-bottom: 20px !important;
  }
  .hero-scroll-indicator {
    margin-top: 40px !important;
  }
  .hero-cta-group {
    margin-top: 24px !important;
  }
  .stats-inner .stat-item:nth-child(3),
  .stats-inner .stat-item:nth-child(4) {
    display: none !important;
  }

  /* Mobile Service Features Collapse / See More */
  .service-card .more-feature-item {
    display: none !important;
  }
  .service-card.expanded .more-feature-item {
    display: flex !important;
  }
  .see-more-li {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 700;
  }
  /* Mobile Features Header Subtext Switch */
  .features-sub-desc .desktop-text { display: none !important; }
  .features-sub-desc .mobile-text { display: inline !important; }
  
  .all-features-section {
    padding: 50px 0 60px 0 !important;
  }
  #site-footer {
    margin-top: 50px !important;
  }
  .footer-ssl-badge {
    display: none !important;
  }
}

/* Eliminate document white space under footer without affecting hero */
html, body {
  background-color: #04091e !important;
}

@media (min-width: 769px) {
  .see-more-li {
    display: none !important;
  }
  .features-sub-desc .desktop-text { display: inline !important; }
  .features-sub-desc .mobile-text { display: none !important; }
  #site-footer {
    margin-top: 60px !important;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 64px; --topbar-height: 32px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .logo-img { height: 38px; }
}

/* ---------- FOCUS VISIBLE ---------- */
:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: var(--brand-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-light); }

/* ---------- ACTIVE NAV LINK ---------- */
.nav-link--active {
  color: var(--brand-blue) !important;
  background: rgba(59, 130, 246, 0.08) !important;
}
.nav-link--active::after { transform: scaleX(1) !important; }

.dropdown-item--active { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.2); color: var(--brand-blue); }
.mobile-nav-link--active { background: rgba(59, 130, 246, 0.08); color: var(--brand-blue); }

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  background: rgba(6, 13, 46, 0.95);
  backdrop-filter: blur(12px);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--brand-light); }

.footer-copy p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulseWhatsApp 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}

@keyframes pulseWhatsApp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /* Checkout Page Mobile Optimization */
  .checkout-section {
    padding: 30px 0 !important;
  }
  .checkout-section .container {
    padding: 0 12px !important;
  }
  .checkout-header {
    margin-bottom: 24px !important;
  }
  .checkout-header h1 {
    font-size: 1.6rem !important;
  }
  .checkout-header p {
    font-size: 0.92rem !important;
  }
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .checkout-col .card {
    padding: 18px 14px !important;
    border-radius: 12px !important;
    position: static !important;
  }
  .domain-addon-tile {
    padding: 8px 10px !important;
  }
  .payment-tabs {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 5px !important;
  }
  .pay-tab {
    padding: 8px 2px !important;
  }
  .pay-tab div {
    font-size: 0.78rem !important;
  }
  .price-box span[id="displayPrice"] {
    font-size: 1.35rem !important;
  }
}

