@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #F8FAFC;
  --navy-deep: #071329;
  --navy-header: #0B1D3A;
  --blue-royal: #1D4ED8;
  --cyan-brand: #00A8FF;
  --gold-accent: #F59E0B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: #1E293B;
  margin: 0;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Deep Blue Navy Header with Scroll Glass Effect */
.navy-header {
  background-color: #08152E;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.navy-header.scrolled-glass {
  background-color: rgba(8, 21, 46, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px -6px rgba(2, 6, 23, 0.45);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
}

/* Warm Humanistic Light Hero Mesh */
.hero-light-mesh {
  background-color: #FFFDF9;
  background-image:
    radial-gradient(at 10% 15%, rgba(29, 78, 216, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 18%, rgba(245, 158, 11, 0.13) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(2, 132, 199, 0.08) 0px, transparent 55%),
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes shimmerSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-float-gentle { animation: floatGentle 6s ease-in-out infinite; }

/* Animated Highlighter Button */
.btn-highlighter {
  background: linear-gradient(110deg, #F59E0B 0%, #FBBF24 45%, #FEF08A 50%, #F59E0B 55%, #D97706 100%);
  background-size: 220% auto;
  animation: shimmerSweep 3.2s linear infinite, pulseRing 2.4s infinite;
  color: #071329;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-highlighter:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px -4px rgba(217, 119, 6, 0.45);
}

/* Scroll Reveal */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated Core Area & Blog Cards */
.animated-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.animated-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 24px 46px -12px rgba(8, 21, 46, 0.16);
  border-color: #F59E0B;
}
.animated-card img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.animated-card:hover img {
  transform: scale(1.07);
}

/* Animated Card Link */
.card-link-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: color 0.3s ease, gap 0.3s ease;
}
.card-link-animated::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #1D4ED8, #F59E0B);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.animated-card:hover .card-link-animated::after,
.card-link-animated:hover::after {
  width: 100%;
}
.animated-card:hover .card-link-animated,
.card-link-animated:hover {
  gap: 0.85rem;
  color: #1D4ED8;
}
.card-link-animated i { transition: transform 0.3s ease; }
.animated-card:hover .card-link-animated i,
.card-link-animated:hover i { transform: translateX(4px); }

/* Dropdown Menu */
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* AdSense Slot */
.adsense-slot {
  background: #F1F5F9;
  border: 1px dashed #CBD5E1;
  border-radius: 0.85rem;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
