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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;

  /* Color Palette */
  --navy-950: #070d17;
  --navy-900: #0c1626;
  --navy-850: #101d32;
  --navy-800: #16263e;
  --navy-700: #1f3554;
  
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-50:  #ecfdf5;
  --emerald-glow: rgba(16, 185, 129, 0.18);

  --cyan-500: #0ea5e9;
  --cyan-400: #38bdf8;
  --cyan-50:  #f0f9ff;
  --cyan-glow: rgba(14, 165, 233, 0.15);

  --indigo-500: #6366f1;
  --amber-500:  #f59e0b;

  --card-bg-light: #ffffff;
  --card-border-light: rgba(15, 23, 42, 0.08);
  --card-border-hover: rgba(16, 185, 129, 0.35);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 25px 60px -15px rgba(7, 13, 23, 0.25);
  --shadow-glow: 0 0 35px var(--emerald-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --max-w: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: min(var(--max-w), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 1rem;
}

.section-tag--dark {
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy-950);
}

.h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy-950);
}

.h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-950);
}

.lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.lead--dark {
  color: var(--slate-400);
}

.text-gradient {
  background: linear-gradient(135deg, var(--navy-950) 20%, var(--emerald-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 40%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   BUTTONS & BADGES
   ============================================================ */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy-950);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(7, 13, 23, 0.2);
}

.btn--primary:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 13, 23, 0.3);
}

.btn--accent {
  background: var(--emerald-500);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 4px 14px var(--emerald-glow);
}

.btn--accent:hover {
  background: var(--emerald-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy-950);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-700);
}

.btn--ghost:hover {
  color: var(--navy-950);
  background: rgba(0, 0, 0, 0.04);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ============================================================
   TOP TICKER & HEADER NAVIGATION
   ============================================================ */
.top-ticker {
  background: var(--navy-950);
  color: var(--slate-200);
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-ticker a {
  color: var(--emerald-400);
  font-weight: 700;
  margin-left: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-ticker a:hover {
  color: var(--white);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border-light);
  transition: var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand__meta {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-950);
  line-height: 1.2;
}

.brand__sub {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-600);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-950);
  background: rgba(15, 23, 42, 0.04);
}

.nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown menu (Mega-menu style) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--slate-50);
}

.dropdown-item__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-radius: 8px;
  flex-shrink: 0;
}

.dropdown-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-950);
}

.dropdown-item__desc {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.35;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-950);
  cursor: pointer;
}

/* ============================================================
   HERO SECTION (SPLIT + INTERACTIVE PRODUCT SHOWCASE)
   ============================================================ */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.08), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--slate-50) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__lead {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.hero__proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.proof-pill svg {
  color: var(--emerald-500);
}

/* Hero Showcase Container */
.hero-mockup {
  position: relative;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-mockup__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.mockup-tabs {
  display: flex;
  gap: 0.35rem;
}

.mockup-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-400);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.mockup-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.mockup-tab-content {
  padding: 1.25rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mockup-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.mockup-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.mockup-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 13, 23, 0.85);
  backdrop-filter: blur(10px);
  color: var(--emerald-400);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ============================================================
   TRUST STRIP & CREDENTIALS
   ============================================================ */
.trust-strip {
  padding: 2.2rem 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item__num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust-item__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-800);
}

.trust-item__sub {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

/* ============================================================
   AUDIENCE SELECTOR TABS (inDinero / Initium inspired)
   ============================================================ */
.audience-section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.audience-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.aud-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
}

.aud-btn:hover {
  border-color: var(--slate-400);
  color: var(--navy-950);
}

.aud-btn.active {
  background: var(--navy-950);
  color: var(--white);
  border-color: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.aud-btn svg {
  width: 18px;
  height: 18px;
}

.aud-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.aud-card.active {
  display: grid;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.aud-card__pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.aud-card__pain-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.96rem;
  color: var(--slate-700);
}

.aud-card__pain-item span.icon-cross {
  color: #ef4444;
  font-weight: 800;
}

.aud-card__solution {
  background: var(--emerald-50);
  border-left: 4px solid var(--emerald-500);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
}

/* ============================================================
   BENTO GRID: THE 5 MITRA PLATFORMS (SaaS SUITE)
   ============================================================ */
.bento-section {
  padding: 5.5rem 0;
  background: var(--slate-100);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--card-border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.bento-card--col-8 {
  grid-column: span 8;
}

.bento-card--col-4 {
  grid-column: span 4;
}

.bento-card--col-6 {
  grid-column: span 6;
}

.bento-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bento-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-700);
}

.bento-badge--emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.bento-badge--cyan {
  background: var(--cyan-50);
  color: var(--cyan-500);
}

.bento-card__img {
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.bento-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
}

/* ============================================================
   CUSTOM ENGINEERING SECTION (DARK HIGH-TECH SHOWCASE)
   ============================================================ */
.custom-dev-section {
  padding: 6rem 0;
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.custom-dev-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.custom-dev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.dev-card {
  background: rgba(16, 29, 50, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.dev-card:hover {
  background: rgba(22, 38, 62, 0.9);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dev-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(14, 165, 233, 0.15);
  color: var(--cyan-400);
}

.dev-card__features {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.dev-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dev-card__features li::before {
  content: '→';
  color: var(--cyan-400);
  font-weight: 700;
}

/* ============================================================
   FEATURED LEAD MAGNET (THE 25-PLAYBOOK FINANCE TOOLKIT)
   ============================================================ */
.toolkit-banner {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #091322 0%, #11213b 100%);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 3.5rem;
}

.toolkit-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.15);
}

.toolkit-visual img {
  width: 100%;
  height: auto;
}

.toolkit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.toolkit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--slate-200);
}

.toolkit-list li svg {
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* ============================================================
   NEWSLETTER & BLOG TEASER SECTION
   ============================================================ */
.insights-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-lg);
}

.blog-card__thumb {
  height: 200px;
  overflow: hidden;
  background: var(--slate-100);
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

/* Newsletter Box */
.newsletter-card {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--slate-400);
}

.newsletter-input:focus {
  border-color: var(--emerald-400);
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   GLOBAL FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.05fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: var(--slate-400);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ============================================================
   WHATSAPP FLOATING PILL
   ============================================================ */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.whatsapp-floating:hover {
  background: #1eb855;
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .bento-card--col-8, .bento-card--col-6, .bento-card--col-4 {
    grid-column: span 12;
  }
  .custom-dev__grid {
    grid-template-columns: 1fr;
  }
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .aud-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-item {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    background: var(--slate-50);
    margin-top: 0.35rem;
    padding: 0.4rem;
  }
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* ============================================================
   INTERACTIVE WEBSITE SCOPE & BRIEF BUILDER
   ============================================================ */
.brief-builder-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: 2rem;
}

.brief-builder-header {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 2.2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-builder-body {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.brief-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slate-200);
}

.brief-section-title:first-of-type {
  margin-top: 0;
}

.brief-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

/* 8 Vertical Radio Cards */
.vertical-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.vertical-radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.vertical-radio-card:hover {
  border-color: var(--cyan-400);
  background: var(--white);
}

.vertical-radio-card input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: var(--emerald-600);
}

.vertical-radio-card.selected {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  box-shadow: 0 0 0 1px var(--emerald-500);
}

/* Feature Checkbox Pills */
.feature-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.feature-pill-label:hover {
  border-color: var(--slate-400);
  background: var(--white);
}

.feature-pill-label input[type="checkbox"] {
  accent-color: var(--emerald-600);
}

.feature-pill-label.checked {
  background: var(--navy-950);
  color: var(--white);
  border-color: var(--navy-950);
}

/* Sticky Brief Summary Card */
.brief-summary-card {
  position: sticky;
  top: 90px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.brief-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.85rem;
}

.brief-summary-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

.brief-summary-table td:first-child {
  color: var(--slate-500);
  font-weight: 600;
  width: 38%;
}

.brief-summary-table td:last-child {
  color: var(--navy-950);
  font-weight: 700;
  text-align: right;
}

.brief-disclaimer-box {
  background: #fffbeb;
  border-left: 3px solid var(--amber-500);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.45;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .brief-builder-body {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .vertical-radio-grid {
    grid-template-columns: 1fr;
  }
}


/* Category Subpanel Transition & Styling */
.category-subpanel {
  animation: fadeInSubpanel 0.25s ease;
}

@keyframes fadeInSubpanel {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-subpanel label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--slate-700);
  cursor: pointer;
}

.category-subpanel label input[type="checkbox"] {
  accent-color: var(--emerald-600);
}

/* ============================================================
   FINANCE INSIGHTS: VIDEO & NEWSLETTER MASTERCLASS CARDS
   ============================================================ */
.video-section {
  padding: 5.5rem 0;
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #0f172a;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
}

.video-card__ep {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan-600);
  background: rgba(14, 165, 233, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.video-card__ep--latest {
  color: var(--emerald-600);
  background: rgba(16, 185, 129, 0.12);
}

.video-card__series {
  color: var(--slate-500);
  font-weight: 600;
}

.video-card__title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.video-card__desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.topic-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.topic-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.18rem 0.55rem;
  letter-spacing: 0.02em;
}

.video-card__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn--linkedin {
  background: #0a66c2;
  color: #ffffff;
  border: 1px solid #0a66c2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn--linkedin:hover {
  background: #004182;
  border-color: #004182;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--youtube {
  background: #ffffff;
  color: #cc0000;
  border: 1px solid var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn--youtube:hover {
  background: #fff5f5;
  border-color: #cc0000;
  color: #b30000;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PHONE LAYOUT FIXES (2026-11-18 review)
   Many sections set their columns in inline style="grid-template-columns: ..."
   attributes, which the rules above cannot reach. On phones, stack two-column
   layouts and fold wide 4-5 column rows into two columns.
   ============================================================ */
@media (max-width: 768px) {
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: repeat(5"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  [style*="grid-template-columns"] > *,
  .trust-strip__grid > * {
    min-width: 0;
  }
  main, section, .container {
    overflow-wrap: anywhere;
  }
  .trust-item__num {
    font-size: 1.5rem;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================
   PRODUCT LOGOS on homepage product cards (2026-11-20)
   ============================================================ */
.product-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.product-title .h3 {
  margin: 0;
}
.product-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}
.product-logo--banner {
  display: block;
  height: 46px;
  width: auto;
  margin: 0.15rem 0 0.75rem;
}

/* Footer legal links (2026-11-20) */
.footer-legal { margin-top: 0.35rem; }
.footer-legal a { color: inherit; text-decoration: underline; }
