/* Shared styles for public landing + footer pages on mykiranabuddy.com.
   Deliberately small + dependency-free so Meta crawlers render it fast.
   v3.5 — mobile-optimized hero, Noto Sans Devanagari preload, fluid typography. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&display=swap');
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #111827;
  background: #f7f9fb;
  line-height: 1.55;
}
/* Devanagari text inside inline spans gets proper line-height */
[style*="Devanagari"] { line-height: 1.35; }
a { color: #14532d; text-decoration: none; }
a:hover { text-decoration: underline; }
.mkb-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.mkb-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 10;
}
.mkb-header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.mkb-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: #14532d; }
.mkb-brand img { height: 36px; }
.mkb-nav a {
  display: inline-block; padding: 6px 12px; margin-left: 4px; color: #374151; font-size: 0.92rem; border-radius: 6px;
}
.mkb-nav a:hover { background: #f3f4f6; text-decoration: none; }
.mkb-btn {
  display: inline-block; padding: 9px 18px; border-radius: 8px; background: #14532d; color: #fff !important;
  font-weight: 600; font-size: 0.95rem; border: 0;
}
.mkb-btn:hover { background: #166534; text-decoration: none; }
.mkb-btn.secondary { background: #f3f4f6; color: #111827 !important; }
.mkb-btn.secondary:hover { background: #e5e7eb; }

/* Hero */
.mkb-hero {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
  color: #ffffff;
  padding: clamp(28px, 6vw, 56px) 0 clamp(24px, 5vw, 48px);
}
.mkb-hero h1 {
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  margin: 0 0 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.mkb-hero p.lead {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  opacity: 0.95;
  margin: 0 0 18px;
  max-width: 720px;
  line-height: 1.55;
}
.mkb-hero .mkb-hero-note {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: clamp(0.8rem, 2.2vw, 0.92rem);
  opacity: 0.9;
  line-height: 1.5;
}
.mkb-pill-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px;
}

/* Hero actions — primary CTA dominant, secondaries smaller beneath.
   v3.5: mobile-first button hierarchy to remove "which do I click" confusion. */
.mkb-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  max-width: 560px;
}
/* Primary CTA — large brand-filled button, unmissable */
.mkb-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #14532d !important;
  border: 0;
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.1rem);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 52px;
}
.mkb-cta-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.mkb-cta-primary:active { transform: translateY(0); }
.mkb-cta-primary .cta-icon { font-size: 1.2rem; }
.mkb-cta-primary .cta-arrow { margin-left: auto; font-weight: 900; }

/* Secondary row — 2 smaller options, grid on mobile for equal weight */
.mkb-cta-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mkb-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff !important;
  font-weight: 600;
  font-size: clamp(0.82rem, 2.3vw, 0.95rem);
  text-align: center;
  min-height: 48px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mkb-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.mkb-cta-secondary .s-icon { font-size: 1.1rem; }

/* Legacy 3-card layout retained for backwards compatibility of any stale
   cached pages; new markup uses .mkb-cta-primary / .mkb-cta-secondary. */
.mkb-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  color: #ffffff !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  backdrop-filter: blur(2px);
}
.mkb-hero-card:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transform: translateY(-2px);
}
.mkb-hero-card .hc-icon {
  font-size: 1.5rem;
  flex: 0 0 auto;
  line-height: 1;
}
.mkb-hero-card .hc-body { flex: 1 1 auto; min-width: 0; }
.mkb-hero-card .hc-title {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; color: #ffffff;
}
.mkb-hero-card .hc-sub {
  font-size: 0.78rem; opacity: 0.9; line-height: 1.4; color: #f0fdf4;
}
.mkb-hero-card .hc-arrow {
  margin-left: auto; opacity: 0.85; font-weight: 700;
  align-self: center;
}
.mkb-pill {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 10px; border-radius: 999px;
  font-size: clamp(0.72rem, 1.9vw, 0.82rem);
  font-weight: 500;
}

/* Section */
.mkb-section { padding: 48px 0; }
.mkb-section h2 { font-size: 1.5rem; margin: 0 0 10px; color: #111827; }
.mkb-section p.sub { color: #4b5563; margin: 0 0 26px; max-width: 720px; }

/* Feature grid */
.mkb-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 800px) { .mkb-grid { grid-template-columns: 1fr; } }
.mkb-card {
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px;
}
.mkb-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: #14532d; }
.mkb-card p { font-size: 0.92rem; color: #374151; margin: 0; }
.mkb-card .mkb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: #dcfce7; color: #14532d;
  font-size: 1.3rem; margin-bottom: 10px;
}

/* Strip */
.mkb-strip {
  background: #ffffff; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
  padding: 22px 0; text-align: center; font-size: 0.95rem; color: #374151;
}

/* Footer */
.mkb-footer {
  background: #0f1419; color: #d1d5db; padding: 36px 0 20px; margin-top: 50px;
}
.mkb-footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px;
}
@media (max-width: 800px) { .mkb-footer-cols { grid-template-columns: 1fr 1fr; } }
.mkb-footer h4 { color: #ffffff; font-size: 0.95rem; margin: 0 0 12px; }
.mkb-footer a, .mkb-footer p { color: #d1d5db; font-size: 0.88rem; margin: 0 0 8px; display: block; }
.mkb-footer a:hover { color: #ffffff; }
.mkb-footer-bottom {
  border-top: 1px solid #1f2937; margin-top: 26px; padding-top: 18px; text-align: center;
  font-size: 0.82rem; color: #9ca3af;
}

/* Legal / content page prose */
.mkb-prose { background: #ffffff; padding: 36px; border-radius: 10px; border: 1px solid #e5e7eb; margin: 30px 0 50px; }
.mkb-prose h2 { font-size: 1.15rem; margin: 28px 0 10px; color: #111827; }
.mkb-prose h2:first-child { margin-top: 0; }
.mkb-prose p, .mkb-prose ul { color: #374151; font-size: 0.95rem; }
.mkb-prose ul { padding-left: 22px; }
.mkb-prose li { margin-bottom: 6px; }

/* Responsive header nav */
@media (max-width: 700px) {
  .mkb-nav a { padding: 5px 8px; font-size: 0.85rem; }
  .mkb-hero h1 { font-size: 1.55rem; }
  .mkb-hero { padding: 40px 0 32px; }
}

/* ─── Features showcase ─────────────────────────────────────────────
   Asymmetric 6-column grid with a central phone-shape hero tile,
   flanked by 2×2 feature tiles on either side. On mobile the tiles
   stack into a responsive 2-column grid and the phone tile shrinks
   to a normal card. */
.mkb-showcase {
  background: #fff8f0; /* soft warm cream so the white tiles pop */
  padding: 72px 0 80px;
}
.mkb-showcase-head {
  text-align: center; max-width: 860px; margin: 0 auto 40px;
}
.mkb-showcase-head .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #dcfce7; color: #14532d; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.mkb-showcase-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1;
  font-weight: 700; color: #14532d; margin: 0 0 14px;
}
.mkb-showcase-head h2 em {
  font-style: normal; color: #15803d;
  background: linear-gradient(120deg, #bbf7d0 0%, #bbf7d0 100%);
  background-repeat: no-repeat; background-size: 100% 40%;
  background-position: 0 88%; padding: 0 4px;
}
.mkb-showcase-head p {
  font-size: 1.1rem; color: #4b5563; margin: 0;
}

.mkb-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 18px;
  max-width: 1100px; margin: 0 auto;
}

/* Tile base */
.mkb-tile {
  background: #ffffff;
  border: 1.5px solid #e6e9ef;
  border-radius: 28px;
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: default;
}
.mkb-tile:hover {
  transform: translateY(-3px);
  border-color: #bbf7d0;
  box-shadow: 0 10px 30px -12px rgba(21, 128, 61, 0.25);
}
.mkb-tile .tile-icon {
  font-size: 2rem; margin-bottom: 8px; line-height: 1;
}
.mkb-tile .tile-label {
  font-size: 0.92rem; font-weight: 600; color: #293142;
  line-height: 1.25; white-space: pre-line;
}

/* Tile pastel backgrounds — soft, high-legibility */
.mkb-tile.tile-emerald { background: #ecfdf5; border-color: #a7f3d0; }
.mkb-tile.tile-sky     { background: #eff6ff; border-color: #bae6fd; }
.mkb-tile.tile-amber   { background: #fffbeb; border-color: #fde68a; }
.mkb-tile.tile-rose    { background: #fff1f2; border-color: #fecdd3; }
.mkb-tile.tile-violet  { background: #f5f3ff; border-color: #ddd6fe; }
.mkb-tile.tile-lime    { background: #f7fee7; border-color: #d9f99d; }
.mkb-tile.tile-orange  { background: #fff7ed; border-color: #fed7aa; }
.mkb-tile.tile-teal    { background: #f0fdfa; border-color: #99f6e4; }

/* Desktop layout: 6-col grid with a tall phone tile spanning 2 cols × 2 rows in the centre */
.mkb-tile-1 { grid-column: 1 / span 2; grid-row: 1; }
.mkb-tile-2 { grid-column: 3 / span 2; grid-row: 1; }
.mkb-tile-3 { grid-column: 5 / span 2; grid-row: 1; }
.mkb-phone  {
  grid-column: 3 / span 2; grid-row: 2 / span 1;
  background: linear-gradient(160deg, #14532d 0%, #166534 60%, #15803d 100%);
  color: #ffffff; border: 0;
  padding: 18px; border-radius: 32px;
  box-shadow: 0 16px 40px -16px rgba(20, 83, 45, 0.55);
}
.mkb-phone .phone-eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.mkb-phone .phone-title { font-size: 1.1rem; font-weight: 700; margin: 4px 0 6px; }
.mkb-phone .phone-sub { font-size: 0.82rem; opacity: 0.9; margin: 0 0 10px; line-height: 1.35; }
.mkb-phone .phone-cta {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #ffffff; color: #14532d; font-weight: 600; font-size: 0.82rem;
}
.mkb-phone .phone-cta:hover { background: #f0fdf4; text-decoration: none; }
.mkb-tile-4 { grid-column: 1 / span 2; grid-row: 2; }
.mkb-tile-5 { grid-column: 5 / span 2; grid-row: 2; }
.mkb-tile-6 { grid-column: 1 / span 2; grid-row: 3; }
.mkb-tile-7 { grid-column: 3 / span 2; grid-row: 3; }
.mkb-tile-8 { grid-column: 5 / span 2; grid-row: 3; }

/* Responsive stack */
@media (max-width: 840px) {
  .mkb-showcase { padding: 48px 0 56px; }
  .mkb-showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
    gap: 12px;
  }
  .mkb-tile { border-radius: 20px; padding: 14px 10px; }
  .mkb-tile .tile-icon { font-size: 1.6rem; }
  .mkb-tile .tile-label { font-size: 0.8rem; }
  .mkb-tile-1, .mkb-tile-2, .mkb-tile-3,
  .mkb-tile-4, .mkb-tile-5, .mkb-tile-6,
  .mkb-tile-7, .mkb-tile-8 {
    grid-column: auto; grid-row: auto;
  }
  .mkb-phone {
    grid-column: 1 / span 2; grid-row: auto;
    padding: 16px; border-radius: 24px;
    min-height: 170px;
  }
}
