/* ============================================================
   Jakarta Black Consulting — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300; color: #1a1a2e; line-height: 1.7; background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { transition: color .2s, background .2s, border-color .2s, transform .2s; }

/* ---------- CSS VARIABLES ---------- */
:root {
  --brand-blue:  #3a3d8f;
  --gold:        #c49a2a;
  --gold-hover:  #b08a20;
  --gold-light:  rgba(196, 154, 42, 0.10);
  --gold-border: rgba(196, 154, 42, 0.25);
  --navy:        #1a1a2e;
  --navy-mid:    #16213e;
  --navy-deep:   #0f3460;
  --dark-bg:     #0d1117;
  --dark-card:   #161b22;
  --dark-border: #30363d;
  --text:        #1a1a2e;
  --text-mid:    #555;
  --text-light:  #777;
  --text-muted:  #999;
  --bg-warm:     #fafaf8;
  --bg-border:   #f0ede6;
  --white:       #ffffff;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
}

/* ---------- NAVIGATION ---------- */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}
.site-nav .logo { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }
.site-nav .logo img { height: 40px; width: auto; }
.site-nav .logo-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.1rem; font-weight: 300; color: var(--brand-blue); line-height: 1.2;
  letter-spacing: 0.01em;
}
.site-nav .logo-text span { color: var(--brand-blue); }
.site-nav .logo img { filter: none; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 0.88rem; font-weight: 300;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--white) !important;
  padding: 0.55rem 1.4rem; border-radius: var(--radius-sm); font-weight: 400;
}
.nav-cta:hover { background: var(--gold-hover) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--white);
  padding: 0.85rem 2rem; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 0.85rem 2rem; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 300; font-size: 0.95rem;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 0.85rem 2.5rem; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em;
}
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-1px); }

/* ---------- SECTION UTILITIES ---------- */
section, .section-block { padding: 6rem 5%; }
.section-label {
  font-size: 0.72rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold); margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; font-size: 2.4rem;
  color: var(--text); margin-bottom: 1rem; max-width: 600px; letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-light); font-size: 1rem; max-width: 560px;
  margin-bottom: 3rem; line-height: 1.7;
}
/* Inverted section text */
.dark-section .section-label { color: var(--gold); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-subtitle { color: rgba(255,255,255,0.6); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
  padding: 8rem 5% 5rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: -50%; right: -20%; width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(196,154,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; background: var(--gold-light); color: var(--gold);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.78rem; font-weight: 300;
  letter-spacing: 0.05em; margin-bottom: 1.5rem; border: 1px solid var(--gold-border);
}
.hero h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300;
  font-size: 3.4rem; color: var(--white); line-height: 1.15;
  margin-bottom: 1.25rem; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 560px;
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 { font-size: 1.6rem; font-weight: 300; color: var(--gold); letter-spacing: -0.02em; }
.hero-stat p {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- DUAL IDENTITY BANNER ---------- */
.dual-banner { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.dual-card {
  padding: 4rem 5%; display: flex; flex-direction: column; justify-content: center;
}
.dual-card:first-child { background: var(--bg-warm); border-right: 1px solid #eee; }
.dual-card .tag {
  font-size: 0.72rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 0.75rem;
}
.dual-card:first-child .tag { color: var(--gold); }
.dual-card:last-child .tag { color: var(--navy-deep); }
.dual-card h2 {
  font-weight: 300; font-size: 1.85rem; letter-spacing: -0.02em;
  margin-bottom: 0.75rem; color: var(--text);
}
.dual-card p { color: #666; font-size: 0.95rem; line-height: 1.7; max-width: 480px; }

/* ---------- SERVICES GRID ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-card {
  padding: 2.5rem; border-radius: var(--radius-lg); background: var(--bg-warm);
  border: 1px solid var(--bg-border); transition: all .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.service-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #d4af37);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.3rem; color: var(--white);
}
.service-card h3 { font-size: 1.15rem; font-weight: 400; margin-bottom: 0.6rem; color: var(--text); }
.service-card p { font-size: 0.9rem; color: #666; line-height: 1.65; }

/* ---------- CAPABILITIES ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 900px; }
.cap-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08); transition: all .2s;
}
.cap-item:hover { background: rgba(196,154,42,0.1); border-color: rgba(196,154,42,0.2); }
.cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.cap-item span { font-size: 0.92rem; color: rgba(255,255,255,0.85); }

/* ---------- APPROACH STEPS ---------- */
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { text-align: center; padding: 2rem 1.5rem; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 400; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--gold), #d4af37); color: var(--white);
}
.step h3 { font-size: 1.05rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
.step p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ---------- JBIT SECTION ---------- */
.jbit {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.jbit::before {
  content: ''; position: absolute; bottom: -30%; right: -10%; width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(196,154,42,0.06) 0%, transparent 70%);
}
.jbit-content { position: relative; z-index: 2; }
.jbit .section-title { color: var(--white); max-width: 700px; }
.jbit .section-subtitle { color: rgba(255,255,255,0.65); max-width: 640px; }
.jbit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1rem; }
.jbit-card {
  padding: 2rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  transition: all .3s;
}
.jbit-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(196,154,42,0.3); }
.jbit-card h3 { font-size: 1rem; font-weight: 400; color: var(--gold); margin-bottom: 0.5rem; }
.jbit-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.65; }
.jbit-cta { margin-top: 3rem; }

/* ---------- ABOUT ---------- */
.about-flex { display: flex; gap: 4rem; align-items: center; }
.about-photo {
  width: 320px; height: 420px; border-radius: var(--radius-xl); flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  position: relative; overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em;
}
.about-text h3 { font-weight: 300; font-size: 1.85rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.about-text .role { color: var(--gold); font-weight: 300; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.04em; }
.about-text p { color: #666; font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.about-creds { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cred {
  background: var(--bg-warm); padding: 0.5rem 1rem; border-radius: var(--radius-md);
  font-size: 0.78rem; font-weight: 300; color: var(--text-mid); border: 1px solid #eee;
}

/* ---------- WHO WE WORK WITH ---------- */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 800px; }
.who-item {
  display: flex; gap: 1rem; padding: 1.5rem; background: var(--white);
  border-radius: 10px; border: 1px solid #eee; transition: all .2s;
}
.who-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.04); }
.who-icon {
  width: 42px; height: 42px; border-radius: 8px; background: #f5f0e3; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.who-item h4 { font-size: 0.95rem; font-weight: 400; margin-bottom: 0.25rem; }
.who-item p { font-size: 0.82rem; color: #888; }

/* ---------- RESULTS ---------- */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.result-card { padding: 2rem; }
.result-card h3 { font-weight: 300; font-size: 2.6rem; color: var(--gold); margin-bottom: 0.4rem; letter-spacing: -0.03em; }
.result-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
  text-align: center; padding: 4rem 5%;
}
.cta-band h2 { font-weight: 300; font-size: 2.2rem; color: var(--white); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 4rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 300px; margin-top: 1rem; }
.footer-brand .logo { gap: 0.65rem; }
.footer-brand .logo img { height: 32px; }
.footer-brand .logo-text { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.85); line-height: 1.2; letter-spacing: 0.01em; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.85); }
.footer-brand .logo img { filter: none; }
.footer-col h4 {
  color: var(--white); font-size: 0.82rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 0.6rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; margin-left: 1.5rem; }

/* ---------- PAGE HERO (INNER PAGES) ---------- */
.page-hero {
  padding: 10rem 5% 4rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
  text-align: center;
}
.page-hero h1 {
  font-weight: 300; font-size: 3rem; color: var(--white);
  margin-bottom: 1rem; letter-spacing: -0.03em;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 400; color: #333; margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid #ddd;
  border-radius: var(--radius-md); font-family: 'Inter', sans-serif;
  font-size: 0.92rem; color: #333; transition: border-color .2s; background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  background: var(--gold); color: var(--white); padding: 1rem 2.5rem; border: none;
  border-radius: var(--radius-md); font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 400; cursor: pointer; transition: all .2s; width: 100%; letter-spacing: 0.02em;
}
.submit-btn:hover { background: var(--gold-hover); }

/* ---------- CODE SHOWCASE ---------- */
.code-wrapper {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); overflow: hidden; max-width: 800px;
}
.code-header {
  padding: 0.75rem 1.25rem; background: #21262d; border-bottom: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; align-items: center;
}
.code-header span { font-size: 0.8rem; color: #8b949e; font-family: 'JetBrains Mono', monospace; }
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #f85149; }
.code-dots span:nth-child(2) { background: #f0c000; }
.code-dots span:nth-child(3) { background: #3fb950; }
.code-body {
  padding: 1.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem;
  line-height: 1.8; overflow-x: auto; color: #c9d1d9;
}
.code-body .comment { color: #8b949e; }
.code-body .keyword { color: #ff7b72; }
.code-body .string  { color: #a5d6ff; }
.code-body .func    { color: #d2a8ff; }
.code-body .var     { color: #ffa657; }

/* ---------- USE CASE CARDS ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.case-card {
  background: var(--white); border: 1px solid #eee; border-radius: var(--radius-lg);
  padding: 2rem; transition: all .3s;
}
.case-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); transform: translateY(-3px); }
.case-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.case-icon.triage   { background: #fef3cd; color: #856404; }
.case-icon.forecast  { background: #d1ecf1; color: #0c5460; }
.case-icon.classify  { background: #d4edda; color: #155724; }
.case-card h3 { font-size: 1.05rem; font-weight: 400; margin-bottom: 0.4rem; }
.case-card p  { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.case-tag {
  display: inline-block; margin-top: 1rem; font-size: 0.72rem; font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold);
  background: var(--gold-light); padding: 0.3rem 0.7rem; border-radius: 4px;
}

/* ---------- PATH CARDS (GET STARTED) ---------- */
.paths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1000px;
  margin: -3rem auto 0; position: relative; z-index: 10;
}
.path-card {
  padding: 2.5rem; background: var(--white); border: 1px solid #eee;
  transition: all .3s; cursor: pointer;
}
.path-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.path-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.path-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.path-card.active { border-color: var(--gold); box-shadow: 0 8px 32px rgba(196,154,42,0.15); }
.path-tag {
  font-size: 0.7rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.75rem;
}
.path-card h3 { font-weight: 300; font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.path-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }
.path-indicator {
  display: inline-block; margin-top: 1rem; font-size: 0.82rem; font-weight: 300;
  color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}

/* ---------- NEXT STEPS ---------- */
.step-row { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.step-row .step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--white); display: flex;
  align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 400; margin: 0;
}
.step-row h4 { font-size: 0.95rem; font-weight: 400; margin-bottom: 0.2rem; }
.step-row p  { font-size: 0.85rem; color: var(--text-light); }

/* ---------- CONTACT BAR ---------- */
.contact-bar {
  background: var(--navy); text-align: center; padding: 3rem 5%;
  color: rgba(255,255,255,0.6);
}
.contact-bar h3 {
  font-weight: 300; color: var(--white);
  font-size: 1.4rem; margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.contact-bar a { color: var(--gold); text-decoration: none; font-weight: 300; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid, .jbit-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  section, .section-block { padding: 4rem 5%; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; width: 100%; background: var(--white);
    padding: 1.5rem 5%; border-bottom: 1px solid #eee; gap: 1rem;
  }

  .services-grid, .approach-steps, .jbit-grid,
  .results-grid, .cases-grid { grid-template-columns: 1fr; }
  .cap-grid, .who-grid, .dual-banner, .paths { grid-template-columns: 1fr; }
  .about-flex { flex-direction: column; }
  .about-photo { width: 100%; height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .path-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .path-card:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
