/* FinancePulse Hub — Modern Responsive UI */
:root {
  --bg: #f3f6f5;
  --bg-alt: #e8efec;
  --surface: #ffffff;
  --ink: #102328;
  --ink-soft: #3d555b;
  --muted: #6a7f85;
  --line: #d5e0dc;
  --brand: #0b3d4a;
  --brand-2: #146878;
  --accent: #c45c26;
  --accent-soft: #f7e8df;
  --success: #1f7a4d;
  --shadow: 0 18px 50px rgba(16, 35, 40, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --header-h: 52px;
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(20, 104, 120, 0.12), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(196, 92, 38, 0.1), transparent 55%),
    linear-gradient(180deg, #f7faf9 0%, var(--bg) 40%, #eef4f2 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Mobile video — JS allow kare tabhi dikhe (Inspect/desktop/bots hide) */
.mobile-video-banner {
  display: none !important;
}

.mobile-video-banner.is-allowed {
  display: block !important;
}

.mobile-video-wrap {
  position: relative;
  width: 100%;
  background: #0a2a32;
  line-height: 0;
  overflow: hidden;
  min-height: 42vw;
}

.mobile-video-wrap.is-loading {
  min-height: 46vw;
}

.mobile-top-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56vw;
  object-fit: cover;
  background: #0a2a32;
}

.mobile-video-spinner {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  background: rgba(10, 42, 50, 0.88);
  pointer-events: none;
}

.mobile-video-wrap.is-loading .mobile-video-spinner {
  display: grid;
}

.mobile-video-spinner-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  animation: mv-spin 0.75s linear infinite;
}

@keyframes mv-spin {
  to {
    transform: rotate(360deg);
  }
}

.mobile-video-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 2;
}

.mobile-video-wrap.is-paused .mobile-video-dim,
.mobile-video-wrap.show-btn .mobile-video-dim {
  opacity: 1;
  visibility: visible;
}

.mobile-video-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: auto;
  min-width: 11.5rem;
  height: auto;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 0.55rem;
  background: rgba(11, 61, 74, 0.94);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-video-wrap.is-paused .mobile-video-btn,
.mobile-video-wrap.show-btn .mobile-video-btn {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1);
}

.mobile-video-wrap.is-loading .mobile-video-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-video-btn[hidden] {
  display: none !important;
}

.mobile-video-btn:hover,
.mobile-video-btn:focus-visible {
  background: rgba(20, 104, 120, 0.98);
  outline: none;
  color: #fff;
  text-decoration: none;
}

.mobile-video-btn-text {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.mobile-video-next-bar {
  display: none;
  padding: 0.75rem 0.85rem 0.9rem;
  background: #0a2a32;
}

.mobile-video-banner.is-allowed .mobile-video-next-bar {
  display: block;
}

.mobile-video-next {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #1a7a8c 0%, #0b3d4a 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-video-next:hover,
.mobile-video-next:focus-visible {
  background: linear-gradient(180deg, #2190a5 0%, #145564 100%);
  outline: none;
  color: #fff;
  text-decoration: none;
}

.mobile-video-next:active {
  transform: scale(0.985);
}

/* Header — slim bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 245, 0.9);
  border-bottom: 1px solid rgba(213, 224, 220, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: var(--header-h);
  padding-block: 0.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(11, 61, 74, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: rgba(20, 104, 120, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-actions .btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(11, 61, 74, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 61, 74, 0.22);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  color: var(--brand);
  border-color: var(--brand-2);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--ink);
}

/* Ads — full width, centered, no label / padding chrome */
.ad-strip {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.ad-strip--top {
  width: 100%;
}

.ad-slot {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  line-height: 0;
  overflow: hidden;
}

.ad-slot[data-enabled="false"] {
  display: none;
}

.ad-slot .ad-label {
  display: none !important;
}

.ad-slot ins.adsbygoogle,
.ad-slot iframe,
.ad-slot > * {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100%;
}

.ad-slot ins.adsbygoogle {
  display: block !important;
  text-align: center;
}

.ad-placeholder {
  width: 100%;
  min-height: 90px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ad-slot--sidebar-top .ad-placeholder,
.ad-slot--sidebar-bottom .ad-placeholder {
  min-height: 250px;
}

.ad-slot--in-article {
  margin: 1rem 0;
}

.sidebar .ad-slot {
  margin: 0 0 1rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-2);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero h1,
.page-hero h1,
.article-header h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 14ch;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(11, 61, 74, 0.92), rgba(20, 104, 120, 0.75)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #fff;
  padding: 2rem;
  box-shadow: var(--shadow);
  animation: riseIn 0.8s ease both;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
  backdrop-filter: blur(6px);
}

.hero-stat strong {
  display: block;
  font-size: 1.55rem;
  font-family: var(--font-serif);
  margin-bottom: 0.2rem;
}

.hero-stat span {
  opacity: 0.88;
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.page-hero h2,
.content-block h2,
.article-body h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-head p,
.page-hero p.lead {
  margin: 0;
  color: var(--ink-soft);
}

.category-grid,
.article-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.category-tile,
.article-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(16, 35, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover,
.article-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #b9cdc7;
}

.category-tile h3,
.article-card h3,
.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.category-tile p,
.article-card p,
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.category-tile .keyword,
.badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.article-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.article-card h3 a {
  color: var(--ink);
}

.article-card h3 a:hover {
  color: var(--brand-2);
}

/* Page hero */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  color: var(--ink-soft);
}

/* Layout with sidebar */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 3rem;
}

.main-content,
.sidebar > * {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.main-content {
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(16, 35, 40, 0.04);
}

.sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-widget {
  padding: 1.15rem;
}

.sidebar-widget h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.sidebar-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-widget li + li {
  margin-top: 0.55rem;
}

.sidebar-widget a {
  color: var(--ink-soft);
  font-weight: 500;
}

.content-block h2 {
  margin-top: 1.75rem;
}

.content-block p {
  color: var(--ink-soft);
}

.content-block ul {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.content-block li + li {
  margin-top: 0.35rem;
}

.checklist {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.checklist-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.checklist-item .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Article */
.article-header {
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.article-body h2 {
  margin-top: 2rem;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}

.article-body .lead {
  font-size: 1.15rem;
  color: var(--ink);
}

.article-cta {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 61, 74, 0.06), rgba(196, 92, 38, 0.08));
  border: 1px solid var(--line);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #0d333d 0%, #0a2a32 100%);
  color: #d7e5e8;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h3,
.site-footer .footer-brand {
  color: #fff;
  margin: 0 0 0.85rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-footer p,
.site-footer a {
  color: #b7cbd0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #93a8ae;
  max-width: 80ch;
}

/* Motion */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: riseIn 0.7s ease both;
}

.fade-up-delay-1 {
  animation-delay: 0.12s;
}

.fade-up-delay-2 {
  animation-delay: 0.24s;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .layout-with-sidebar,
  .footer-grid,
  .category-grid,
  .article-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.45rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .main-content,
  .sidebar-widget {
    padding: 1.15rem;
  }
}
/* Include slots — ads/ folder ki files yahan load hoti hain */
.ad-slot:empty {
  display: none;
}
.ad-slot--footer {
  margin: 1rem 0;
}
.sidebar .ad-slot--sidebar-top,
.sidebar .ad-slot--sidebar-bottom {
  margin: 0 0 1rem;
}
