/* ==========================================================================
   GurKarkhana — landing site styles
   Design language: "Industrial Fintech" (mirrors the Flutter app theme in
   gur_bhatti_manager/lib/core/theme/app_theme.dart).
   Approach: Bootstrap 5 for layout/responsiveness, these tokens for brand.
   ========================================================================== */

:root {
  /* Brand palette — identical hex to the app's AppTheme */
  --gk-emerald: #064E3B;      /* primaryGreen — Deep Emerald */
  --gk-emerald-700: #053f30;  /* hover/darker */
  --gk-gold: #F59E0B;         /* accentGold — Jaggery Gold */
  --gk-gold-600: #d98a06;
  --gk-surface: #F1F5F9;      /* surfaceGray — Clean Slate */
  --gk-surface-50: #F8FAFC;
  --gk-ink: #0F172A;          /* textInk / surfaceDark */
  --gk-strong: #1E293B;       /* textStrong */
  --gk-muted: #64748B;        /* textMuted */
  --gk-border: #E2E8F0;       /* borderSubtle */
  --gk-white: #ffffff;

  /* Map Bootstrap theme colors onto the brand */
  --bs-primary: var(--gk-emerald);
  --bs-primary-rgb: 6, 78, 59;
  --bs-body-color: var(--gk-ink);
  --bs-body-bg: var(--gk-white);
  --bs-border-color: var(--gk-border);
  --bs-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --- Typography: Outfit for display/brand, Inter for body (app fonts) --- */
body {
  font-family: var(--bs-font-sans-serif);
  color: var(--gk-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-brand {
  font-family: "Outfit", var(--bs-font-sans-serif);
  font-weight: 700;
  color: var(--gk-ink);
  letter-spacing: -0.01em;
}

.text-muted-ink { color: var(--gk-muted) !important; }

/* All-caps micro-label — the app's signature detail */
.micro-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gk-muted);
}
.micro-label.on-gold { color: var(--gk-emerald); }

/* --- Buttons: 52px targets, emerald primary, gold accent (app parity) --- */
.btn { font-weight: 700; border-radius: 12px; padding: 0.75rem 1.5rem; }
.btn-lg { min-height: 52px; }

.btn-emerald {
  background: var(--gk-emerald);
  color: #fff;
  border: 1px solid var(--gk-emerald);
}
.btn-emerald:hover, .btn-emerald:focus {
  background: var(--gk-emerald-700);
  color: #fff;
}

.btn-gold {
  background: var(--gk-gold);
  color: var(--gk-ink);   /* dark ink on gold — white fails contrast (app rule) */
  border: 1px solid var(--gk-gold);
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--gk-gold-600);
  color: var(--gk-ink);
}

.btn-outline-emerald {
  color: var(--gk-emerald);
  border: 1px solid var(--gk-border);
  background: #fff;
}
.btn-outline-emerald:hover {
  background: var(--gk-surface);
  color: var(--gk-emerald);
}

/* --- Navbar --- */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gk-border);
}
.navbar-brand { line-height: 1; }
.navbar-brand img { display: block; }
.navbar .nav-link { color: var(--gk-strong); font-weight: 600; }
.navbar .nav-link:hover { color: var(--gk-emerald); }

/* --- Hero --- */
.hero {
  background: radial-gradient(120% 120% at 100% 0%, rgba(245,158,11,0.10) 0%, rgba(255,255,255,0) 55%),
              var(--gk-surface-50);
  border-bottom: 1px solid var(--gk-border);
}
.hero-title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; }
.hero-title .accent { color: var(--gk-emerald); }
.hero-punch {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--gk-emerald);
  margin-bottom: 0;
  border-left: 4px solid var(--gk-gold);
  padding-left: 0.85rem;
}
.hero-sub { color: var(--gk-muted); font-size: 1.15rem; max-width: 34rem; }

.hero-phone {
  max-width: 320px;
  width: 100%;
  border-radius: 32px;
  border: 8px solid var(--gk-ink);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
  background: #fff;
}

/* --- Flat bordered cards (app parity: elevation 0, 1.5px border, 16 radius) --- */
.gk-card {
  background: #fff;
  border: 1.5px solid var(--gk-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.28);
}
.gk-card .icon-badge {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(6, 78, 59, 0.08);
  color: var(--gk-emerald);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* --- Section rhythm --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--gk-surface); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-lead { color: var(--gk-muted); max-width: 42rem; margin-inline: auto; }

/* --- Stat strip --- */
.stat-strip { background: var(--gk-ink); color: #fff; }
.stat-strip .stat-value { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 2rem; color: var(--gk-gold); }
.stat-strip .stat-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* --- Screenshots gallery --- */
.shot {
  border-radius: 24px;
  border: 6px solid var(--gk-ink);
  box-shadow: 0 20px 45px -25px rgba(15, 23, 42, 0.4);
  width: 100%;
  max-width: 250px;   /* keep phone screenshots as tidy previews, not huge */
  height: auto;
  display: block;
  margin: 0 auto;
}
.shot-caption { color: var(--gk-muted); font-size: 0.9rem; margin-top: 0.75rem; }

/* --- Steps --- */
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gk-emerald); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.1rem;
}

/* --- FAQ accordion --- */
.accordion-button:not(.collapsed) { background: var(--gk-surface); color: var(--gk-emerald); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--gk-border); }
.accordion-item { border: 1.5px solid var(--gk-border); border-radius: 12px !important; margin-bottom: 0.75rem; overflow: hidden; }

/* --- CTA band --- */
.cta-band { background: var(--gk-emerald); color: #fff; border-radius: 24px; }
.cta-band h2 { color: #fff; }

/* --- Footer --- */
.site-footer { background: var(--gk-ink); color: rgba(255,255,255,0.75); }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--gk-gold); }
.site-footer .footer-brand img { display: block; }

/* WhatsApp button */
.btn-whatsapp { background: #25D366; color: #073b26; border: none; font-weight: 700; }
.btn-whatsapp:hover { background: #1eb457; color: #073b26; }
