/* ============ Finance Gyani — Global Styles ============ */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.05), 0 12px 28px rgba(15, 23, 42, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}
@media (max-width: 640px) {
  .container { width: min(1140px, 100% - 3.5rem); }
}

/* ============ Header / Nav ============ */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--primary); }
.logo .rupee { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }

/* Dropdown menu */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 0.7em; vertical-align: middle; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.4rem 0;
  list-style: none;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 0.55rem 1.1rem; font-size: 0.92rem; color: var(--ink-soft); }
.dropdown a:hover { color: var(--primary); background: var(--bg); text-decoration: none; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--primary-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 55%, #14b8a6 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 em { font-style: normal; color: #fcd34d; }

.hero p {
  font-size: 1.1rem;
  color: #ccfbf1;
  margin-bottom: 1.8rem;
  max-width: 34rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-primary { background: var(--accent); color: #78350f; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 0.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.stat-card .num { font-size: 1.6rem; font-weight: 800; color: #fcd34d; }
.stat-card .label { font-size: 0.85rem; color: #ccfbf1; }

/* ============ Sections ============ */
.section { padding: 4rem 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.section-head p { color: var(--ink-soft); margin-top: 0.3rem; }

.see-all { font-weight: 700; white-space: nowrap; }

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.6rem;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-banner {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.banner-teal { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.banner-amber { background: linear-gradient(135deg, #b45309, #fbbf24); }
.banner-indigo { background: linear-gradient(135deg, #3730a3, #818cf8); }
.banner-rose { background: linear-gradient(135deg, #9f1239, #fb7185); }
.banner-slate { background: linear-gradient(135deg, #334155, #94a3b8); }
.banner-emerald { background: linear-gradient(135deg, #065f46, #34d399); }

.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  align-self: flex-start;
}

.article-card h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 0.5rem; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--primary); }

.article-card .excerpt { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }

.card-meta {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  gap: 0.8rem;
}

/* ============ Category strip ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
  color: var(--ink);
}
.category-card:hover { transform: translateY(-3px); border-color: var(--primary); text-decoration: none; }
.category-card .icon { font-size: 2.2rem; margin-bottom: 0.6rem; }
.category-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.category-card p { font-size: 0.85rem; color: var(--ink-soft); }

/* ============ Calculators ============ */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  align-items: start;
}

.calc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.calc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-card > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.2rem; }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.calc-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.4rem;
}
.calc-btn:hover { background: var(--primary-dark); }

.calc-result {
  margin-top: 1.2rem;
  background: var(--primary-light);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  display: none;
}
.calc-result.show { display: block; }
.calc-result .row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}
.calc-result .row strong { color: var(--primary-dark); }
.calc-result .row.total {
  border-top: 1px dashed var(--primary);
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  font-size: 1.05rem;
}

/* ============ Video article (news style) ============ */
.breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.45rem; color: var(--border); }

.breadcrumb-bar { background: var(--card); border-bottom: 1px solid var(--border); }
.breadcrumb-bar .breadcrumb { margin: 0; padding: 0.7rem 0; }

.news-hero { background: var(--card); border-bottom: 1px solid var(--border); padding: 2.4rem 0 2rem; }
.news-hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 52rem;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.byline strong { color: var(--ink-soft); }

.share-row { display: flex; gap: 0.6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  color: #fff !important;
}
.share-btn:hover { text-decoration: none; opacity: 0.88; }
.share-wa { background: #25d366; }
.share-x { background: #0f172a; }
.share-fb { background: #1877f2; }

/* Scheduled-live countdown banner */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1.3rem;
  margin-bottom: 1.2rem;
}
.live-banner-main { display: flex; align-items: center; gap: 0.8rem; }
.live-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: livePulse 1.4s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.live-title { display: block; font-size: 1.02rem; }
.live-countdown { font-size: 0.92rem; opacity: 0.95; font-variant-numeric: tabular-nums; }
.live-countdown a { color: #fff; text-decoration: underline; }
.live-cta {
  background: #fff; color: #b91c1c !important;
  font-weight: 700; font-size: 0.9rem;
  padding: 0.55rem 1.1rem; border-radius: 999px; white-space: nowrap;
}
.live-cta:hover { text-decoration: none; opacity: 0.9; }
.live-banner.is-live { background: linear-gradient(135deg, #991b1b, #ef4444); }
.live-wait-note {
  text-align: center; color: var(--ink-faint);
  font-size: 0.9rem; margin: 0.2rem 0 1.4rem;
}
@media (max-width: 520px) {
  .live-banner { justify-content: center; text-align: center; }
  .live-cta { width: 100%; text-align: center; }
}

.video-hero { margin-bottom: 1.6rem; }
.video-hero iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #000;
  display: block;
}

.channel-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.8rem;
}
.channel-id { display: flex; align-items: center; gap: 0.8rem; }
.channel-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #134e4a, #14b8a6);
  color: #fcd34d;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-name { display: block; font-weight: 800; color: var(--ink); font-size: 1rem; }
.channel-tag { font-size: 0.82rem; color: var(--ink-faint); }
.sub-btn {
  background: #ff0000;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sub-btn:hover { background: #cc0000; text-decoration: none; }
.yt-sub-wrap { min-height: 24px; display: flex; align-items: center; }
.yt-sub-wrap iframe { max-width: 100%; }
@media (max-width: 520px) {
  .channel-strip { justify-content: center; text-align: center; }
  .sub-btn { width: 100%; text-align: center; }
  .yt-sub-wrap { justify-content: center; width: 100%; }
}

.highlights {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.6rem;
}
.highlights h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin: 0 0 0.6rem;
}
.highlights ul { margin: 0 0 0 1.2rem; color: var(--ink-soft); }
.highlights li { margin-bottom: 0.4rem; }

.lead-para { font-size: 1.12rem; font-weight: 500; color: var(--ink) !important; }
.dateline { color: var(--primary-dark); font-weight: 700; }

.also-read {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin: 1.2rem 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.also-read .label { color: #b91c1c; font-weight: 800; margin-right: 0.4rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }

.video-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 860px) { .video-related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .video-related { grid-template-columns: 1fr; } }

/* ============ Thumbnails & in-article video ============ */
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-thumb {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.8rem;
}

.article-video { margin: 2rem 0; }
.article-video .video-cap {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.article-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #000;
  display: block;
}

/* ============ Videos ============ */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }

.video-card:first-child { grid-column: span 2; grid-row: span 2; }

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 38px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s ease;
}
.video-card:hover .play-badge { background: #dc2626; }

.video-info { padding: 0.8rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.video-info h3 {
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card:first-child .video-info h3 { font-size: 1.1rem; -webkit-line-clamp: 3; }
.video-date { font-size: 0.78rem; color: var(--ink-faint); }

@media (max-width: 860px) {
  .video-gallery { grid-template-columns: 1fr 1fr; }
  .video-card:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .video-gallery { grid-template-columns: 1fr; }
  .video-card:first-child { grid-column: auto; }
}

/* ============ Newsletter ============ */
.newsletter {
  background: linear-gradient(135deg, #134e4a, #0f766e);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.newsletter p { color: #ccfbf1; }

.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  min-width: 260px;
}
.newsletter-form button {
  background: var(--accent);
  color: #78350f;
  border: none;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.newsletter-msg { width: 100%; font-weight: 600; color: #fcd34d; }

/* ============ Article page ============ */
.article-hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.article-hero .tag { margin-bottom: 1rem; }
.article-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 48rem;
}

.article-hero .meta { margin-top: 1rem; color: var(--ink-faint); font-size: 0.9rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.article-body {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
  font-size: 1.05rem;
}

.article-body h2 { font-size: 1.5rem; margin: 2.2rem 0 0.8rem; letter-spacing: -0.01em; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.article-body p strong { color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; color: var(--ink-soft); }
.article-body li { margin-bottom: 0.45rem; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.6rem;
  font-size: 0.95rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.article-body th { background: var(--primary-light); color: var(--primary-dark); }
.article-body tr:nth-child(even) td { background: #f1f5f9; }

.callout {
  background: #fffbeb;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.3rem;
  margin: 1.4rem 0;
  color: #78350f;
}
.callout strong { color: #92400e; }

.key-takeaways {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}
.key-takeaways h3 { margin-top: 0; color: var(--primary-dark); }

/* ============ Page hero (generic inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, #134e4a, #0f766e);
  color: #fff;
  padding: 3.2rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.page-hero p { color: #ccfbf1; max-width: 40rem; margin: 0.7rem auto 0; font-size: 1.05rem; }

/* ============ About / Contact ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.prose h2 { font-size: 1.5rem; margin: 1.6rem 0 0.7rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.4rem; color: var(--ink-soft); }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ============ WhatsApp channel CTA ============ */
.wa-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow);
  margin: 1.6rem 0;
}
.wa-cta-left { display: flex; align-items: center; gap: 1rem; }
.wa-cta-icon {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.wa-cta-icon svg { width: 28px; height: 28px; color: #fff; }
.wa-cta strong { display: block; font-size: 1.12rem; }
.wa-cta span { font-size: 0.92rem; color: #eafff2; }
.wa-cta-btn {
  background: #fff; color: #128c7e !important;
  font-weight: 800; font-size: 0.98rem;
  padding: 0.65rem 1.5rem; border-radius: 999px; white-space: nowrap;
}
.wa-cta-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (max-width: 560px) {
  .wa-cta { justify-content: center; text-align: center; }
  .wa-cta-left { flex-direction: column; }
  .wa-cta-btn { width: 100%; text-align: center; }
}

/* ============ Social icons ============ */
.social-row { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.social-row .social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.15);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.social-row .social svg { width: 19px; height: 19px; }
.social-row .social.yt { color: #ff0000; }
.social-row .social.ig { color: #e1306c; }
.social-row .social.fb { color: #1877f2; }
.social-row .social.x  { color: #0f172a; }
.social-row .social.wa { color: #25d366; }
.social-row .social:hover { transform: translateY(-2px); }
.social-row .social.yt:hover { background: #ff0000; color: #fff; }
.social-row .social.ig:hover { background: #e1306c; color: #fff; }
.social-row .social.fb:hover { background: #1877f2; color: #fff; }
.social-row .social.x:hover  { background: #0f172a; color: #fff; }
.social-row .social.wa:hover { background: #25d366; color: #fff; }
/* X icon needs to stay visible on the dark footer */
.social-footer .social.x { color: #e2e8f0; }
/* footer variant: on the dark footer, tint the resting circle darker */
.social-footer .social { background: rgba(255, 255, 255, 0.08); }
/* strip variant sits next to the Subscribe button */
.strip-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.social-strip .social { width: 34px; height: 34px; }
@media (max-width: 520px) {
  .strip-actions { justify-content: center; width: 100%; }
}

/* ============ Footer ============ */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid h4 { color: #fff; margin-bottom: 0.9rem; font-size: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: #94a3b8; font-size: 0.92rem; }
.footer-grid a:hover { color: #5eead4; }

.footer-about p { font-size: 0.92rem; color: #94a3b8; margin-top: 0.7rem; max-width: 26rem; }

.disclaimer {
  border-top: 1px solid #1e293b;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: #64748b;
}
.disclaimer p { margin-bottom: 0.5rem; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 1.2rem 0;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }

  /* On mobile the dropdown shows inline (indented) under Markets */
  .has-dropdown > a::after { content: ""; }
  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.3rem 0 0;
    min-width: 0;
  }
  .dropdown a { padding: 0.35rem 0 0.35rem 1.2rem; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .btn-ghost { margin-left: 0; margin-top: 0.6rem; }
}
