/* MBClabs - AI Infrastructure Operator (NEXA-inspired light theme) */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-blue: #f0f4fb;
  --border: #e3e8f1;
  --border-strong: #cfd8e6;
  --text: #0a1430;
  --text-2: #3b4a6b;
  --text-mute: #6b7894;
  --brand: #1f3da8;        /* deep enterprise blue */
  --brand-2: #2456d6;
  --brand-soft: #e8eefc;
  --accent: #0a1430;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,20,48,0.04), 0 1px 3px rgba(10,20,48,0.06);
  --shadow-md: 0 6px 24px -8px rgba(10,20,48,0.15);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 92%; max-width: var(--max); margin: 0 auto; }

/* ===== Top bar ===== */
.topbar {
  background: #0a1430;
  color: #c7d2e8;
  font-size: 12.5px;
  letter-spacing: .3px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
}
.topbar .lang a {
  margin-left: 14px; padding: 3px 10px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  color: #c7d2e8; font-size: 11.5px;
  transition: all .15s;
}
.topbar .lang a.active,
.topbar .lang a:hover { background: #fff; color: #0a1430; border-color: #fff; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.2px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 14px rgba(36,86,214,0.35);
}
.logo-text { color: var(--text); }
.logo-text em { font-style: normal; color: var(--brand); }

.nav { display: flex; gap: 28px; align-items: center; font-size: 14.5px; }
.nav a {
  color: var(--text-2);
  transition: color .15s;
  font-weight: 500;
}
.nav a:hover { color: var(--brand); }
.nav .btn-pill {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(36,86,214,0.3);
  transition: all .15s;
}
.nav .btn-pill:hover { background: var(--brand-2); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background: var(--bg);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(36,86,214,0.15);
}
.hero h1 {
  font-size: 56px; line-height: 1.08;
  letter-spacing: -1.5px; font-weight: 800;
  margin: 0 0 22px;
  color: var(--accent);
}
.hero h1 .brand-color { color: var(--brand); }
.hero p.lead {
  font-size: 17.5px; color: var(--text-2);
  margin: 0 0 34px;
  line-height: 1.6;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  transition: all .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(36,86,214,0.3); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.arrow { transition: transform .2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero visual on right */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(10,20,48,0.4),
              0 0 0 1px rgba(255,255,255,0.5) inset;
  aspect-ratio: 5/4;
  background: #0a1430 center/cover no-repeat;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31,61,168,0.2), transparent 60%);
}

/* Stat cards floating over Hero visual */
.hero-stats {
  position: absolute;
  right: 16px; bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 2;
  width: 60%;
  max-width: 320px;
}
.hero-stats .stat {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(10,20,48,0.15);
}
.hero-stats .stat .num {
  font-size: 22px; font-weight: 800; color: var(--brand);
  letter-spacing: -.5px; line-height: 1.1;
}
.hero-stats .stat .label {
  font-size: 11.5px; color: var(--text-mute);
  letter-spacing: .3px; margin-top: 2px;
}

/* ===== Section ===== */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: var(--bg-blue); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}
.section-title h2 {
  font-size: 40px; margin: 16px 0 14px;
  letter-spacing: -.8px; font-weight: 800; color: var(--accent);
}
.section-title p { color: var(--text-2); font-size: 16.5px; margin: 0; }

/* ===== Capability grid (4-column light) ===== */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
}
.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.cap-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.cap-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.cap-card p { color: var(--text-2); margin: 0; font-size: 14px; line-height: 1.55; }

/* ===== Feature block ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-block .text-side .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 14px;
}
.feature-block h2 { font-size: 36px; margin: 0 0 18px; letter-spacing: -.5px; font-weight: 800; color: var(--accent); }
.feature-block p.lead { color: var(--text-2); font-size: 16px; margin: 0 0 24px; }
.feature-block ul { list-style: none; padding: 0; margin: 0; }
.feature-block ul li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text);
  font-size: 15px;
}
.feature-block ul li::before {
  content: ""; width: 18px; height: 18px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11l-3-3 1-1 2 2 4-4 1 1z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.feature-block ul li:last-child { border-bottom: none; }

.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10,20,48,0.35);
  background: #0a1430;
  aspect-ratio: 4/3;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Locations / regions ===== */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.region-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.region-card .map {
  height: 200px;
  background: linear-gradient(135deg, #e8eefc 0%, #d6e1f5 100%);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.region-card .map svg { width: 75%; max-width: 240px; }
.region-card .body { padding: 22px 24px 26px; }
.region-card .label {
  font-size: 11.5px; color: var(--brand);
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}
.region-card .title {
  font-size: 19px; font-weight: 700; margin: 6px 0 6px; color: var(--accent);
}
.region-card .desc { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ===== Numbers strip ===== */
.numbers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #0a1430;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 12px 0;
  margin-top: 60px;
}
.numbers-strip .stat {
  padding: 24px 26px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.numbers-strip .stat:last-child { border-right: none; }
.numbers-strip .stat .num {
  font-size: 32px; font-weight: 800; color: #fff;
  letter-spacing: -.5px; line-height: 1.1;
}
.numbers-strip .stat .label {
  font-size: 12.5px; color: #8597b8; margin-top: 4px;
  letter-spacing: .5px; text-transform: uppercase;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1f3da8 0%, #2456d6 100%);
  border-radius: var(--radius-lg);
  padding: 56px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { font-size: 34px; margin: 0 0 12px; font-weight: 800; letter-spacing: -.5px; position: relative; }
.cta-banner p { font-size: 16px; margin: 0 0 28px; opacity: .9; position: relative; }
.cta-banner .btn { position: relative; }
.cta-banner .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--bg-soft); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-top: 50px;
}
.contact-info {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}
.contact-info h3 { font-size: 22px; margin: 0 0 24px; font-weight: 700; }
.contact-row {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-row .meta {
  font-size: 11.5px; color: var(--text-mute);
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
}
.contact-row .val {
  font-size: 15.5px; color: var(--text); margin-top: 3px;
  font-weight: 500;
}
.contact-row .val a { color: var(--brand); }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 380px; }

/* ===== Footer ===== */
.footer {
  background: #0a1430;
  color: #8597b8;
  padding: 60px 0 26px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 12px; color: #fff;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0 0 16px; font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a { color: #8597b8; transition: color .15s; }
.footer-grid ul li a:hover { color: #fff; }
.footer-brand .logo .logo-mark { box-shadow: none; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text em { color: #5d8aff; }
.footer-brand p { margin: 14px 0 0; max-width: 320px; line-height: 1.6; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #5d6c8a;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { width: 70%; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 36px; }
  .feature-block h2 { font-size: 28px; }
  .region-grid { grid-template-columns: 1fr; gap: 18px; }
  .region-card .map { height: 160px; }
  .numbers-strip { grid-template-columns: repeat(2, 1fr); }
  .numbers-strip .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .numbers-strip .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .section { padding: 70px 0; }
  .section-title h2 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 24px; }
  .nav { gap: 14px; font-size: 13px; }
  .nav a:not(.btn-pill) { display: none; }
}
