/* Google Fonts — Plus Jakarta Sans for structural, high-contrast typography */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap");

/* ============================================================
   Design Tokens — variable NAMES unchanged, values monochromatic
   Palette: Pure White / Stark Black / Neutral Grays
   ============================================================ */
:root {
  --ink:     #000000;              /* Pure black — headings, primary actions */
  --muted:   #737373;              /* Neutral gray — secondary text          */
  --line:    #e5e5e5;              /* Crisp, faint gray border               */
  --paper:   #f5f5f5;              /* Subtle off-white for depth             */
  --bg:      #ffffff;              /* Pure white background                  */
  --accent:  #000000;              /* Black acts as the primary accent       */
  --accent2: #404040;              /* Dark gray for hover states/depth       */
}

/* ============================================================
   Base / Typography
   ============================================================ */
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #171717;                  /* Near-black for highly readable body    */
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enforcing pure white */
body.bg-light {
  background: var(--bg) !important; 
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.04em;         /* Tighter tracking for an editorial feel */
  color: var(--ink);
  text-transform: tight;
}

h1 { line-height: 1.05; }
h2 { line-height: 1.1; }
h3 { line-height: 1.2; font-weight: 700; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: 0.6; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink);
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.container-fluid { max-width: 1440px; }

/* ============================================================
   Brand badge
   ============================================================ */


/* Brand Wordmark */
.brand-wordmark{
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;              /* Bigger */
  letter-spacing: 0.08em;          /* More spaced */
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-i{
  color: #437ee3;                  /* Grey */
  font-weight: 800;                /* Lighter than Moc */
  margin-right: 3px;
}

.brand-moc{
  color: #000000;                  /* Pure black */
  font-weight: 800;
}
/* ============================================================
   Pills
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.75rem;
  text-transform: uppercase;       /* Uppercase pills look highly structured */
  letter-spacing: 0.05em;
  color: var(--ink);
  font-weight: 700;
}

.pill-dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--bg);
  border-radius: 4px;
  font-weight: 600;
  transition: all .2s ease;
}

.btn-dark:hover {
  background: var(--bg);
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--bg);
  font-weight: 600;
  transition: all .2s ease;
}

.btn-accent:hover {
  background: var(--bg);
  color: var(--accent);
}

.btn-outline-dark {
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: var(--bg);
  border-radius: 4px;
  font-weight: 600;
  transition: border-color .2s ease;
}

.btn-outline-dark:hover {
  border-color: var(--ink) !important;
  background: var(--bg) !important;
}

/* ============================================================
   Navbar
   ============================================================ */
.nav-glass {
  /* Removed blur for a starker, flatter appearance */
  background: var(--bg);
}

.navbar-custom {
  border-bottom: 1px solid var(--line);
}

.navbar-custom .navbar-brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.navbar-custom .nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color .2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--ink);
}

.navbar .container-fluid { max-width: 80% !important; }

@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  }
}

.hero-btn {
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  font-weight: 600;
  padding: 0.9rem 2rem;
  transition: all 0.25s ease;
}

.hero-btn:hover {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.hero-tags span{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 6px 14px;
  color: var(--ink);
  background: var(--bg);
  transition: all .2s ease;
}

/* ============================================================
   Cards
   ============================================================ */
.stats-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}

.stats-num {
  color: var(--ink);
  font-weight: 800;
  font-family: "DM Mono", monospace;
  letter-spacing: -0.05em;
  font-size: 2.5rem;               /* Emphasize numbers */
}

.stats-label { 
  color: var(--muted); 
  font-size: .8rem; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  font-weight: 600; 
}

.mini-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  transition: all .3s ease;
  color: var(--ink);
}

.mini-card:hover {
  border-color: var(--ink);        /* Premium effect: border turns black on hover */
  transform: translateY(-2px);
}

.mini-card .text-secondary {
  color: var(--muted) !important;
}

/* Accent variant — Solid black background */
.mini-card--accent {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.mini-card--accent:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

.mini-card--accent .text-secondary {
  color: #a3a3a3 !important;       /* Lighter gray for dark background */
}

/* ============================================================
   Icons & Badges
   ============================================================ */
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  transition: all .2s ease;
}

.social-icon:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  background: var(--ink);
}

/* ============================================================
   CTA Strip
   ============================================================ */
.cta-strip {
  border-radius: 0px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  padding: 64px 32px;
  text-align: center;
}

.cta-strip h2, .cta-strip h3 { color: var(--bg); }
.cta-strip p { color: #a3a3a3; }

.cta-strip .btn-accent {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.cta-strip .btn-accent:hover {
  background: transparent;
  color: var(--bg);
}

/* ============================================================
   Forms
   ============================================================ */
.form-control, .form-select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0px;              /* Architectural, sharp inputs */
  color: var(--ink);
  font-size: .95rem;
  padding: .75rem 1rem;
  transition: border-color .2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--ink);
  box-shadow: none;                /* Remove glow, rely purely on stark border */
}

.form-control::placeholder { color: #a3a3a3; }
.form-label { color: var(--ink); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-panel { animation: fadeUp .6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.mini-card  { animation: fadeUp .5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.mini-card:nth-child(1) { animation-delay: .05s; }
.mini-card:nth-child(2) { animation-delay: .10s; }
.mini-card:nth-child(3) { animation-delay: .15s; }
.mini-card:nth-child(4) { animation-delay: .20s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero-panel { padding: 48px 20px; }
  .mini-card { padding: 24px; }
  .cta-strip { padding: 48px 20px; }
}

/* Custom navbar toggle (replaces Bootstrap icon) */
.navbar-custom .navbar-toggler{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--bg);
  box-shadow: none;
}

.navbar-custom .navbar-toggler:focus{
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink);
}

/* Kill Bootstrap’s default icon image */
.navbar-custom .navbar-toggler-icon{
  background-image: none !important;
}

/* 3 bars that morph into an X */
.nav-toggle-bars{
  width: 22px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease, bottom .2s ease, opacity .2s ease;
}

.nav-toggle-bars::before{ top:0; }
.nav-toggle-bars::after{ bottom:0; }

/* Middle bar */
.nav-toggle-bars{
  background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat;
  transition: background-size .2s ease;
}

/* When open: turn into X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars{
  background-size: 0 2px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before{
  top:6px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after{
  bottom:6px;
  transform: rotate(-45deg);
}