/* ============================================================
   BKD — Global Styles
   Fonts · Variables · Reset · Nav · Mobile Menu · Buttons · Footer
   ============================================================ */

/* Inter */
@font-face { font-family: 'Inter'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/Inter/inter-v20-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Inter/inter-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Inter/inter-v20-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Inter/inter-v20-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Inter/inter-v20-latin-700.woff2') format('woff2'); }

/* Manrope */
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Manrope/manrope-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Manrope/manrope-v20-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Manrope/manrope-v20-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Manrope/manrope-v20-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/Manrope/manrope-v20-latin-800.woff2') format('woff2'); }

/* ====== DESIGN TOKENS ====== */
:root {
  --bkd-blue: #1d1de0;
  --bkd-blue-dark: #1414b0;
  --bkd-blue-soft: #ecedff;
  --bkd-ink: #000000;
  --bkd-text: #2b3344;
  --bkd-muted: #6c7689;
  --bkd-line: #e5e9f0;
  --bkd-bg: #ffffff;
  --bkd-soft: #f6f7fc;
  --bkd-dark: #000000;
  --bkd-accent: #ffc043;
}

/* ====== RESET ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--bkd-text);
  background: var(--bkd-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--bkd-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-num {
  color: var(--bkd-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bkd-blue);
  margin-bottom: 18px;
}

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 96px;
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, height .35s ease;
}

.nav.is-sticky {
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
}

/* ====== LOGO ====== */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  align-self: stretch;
}

.logo-banner {
  position: relative;
  display: inline-block;
}

.logo-mark {
  width: 110px;
  height: auto;
  display: block;
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1);
}

.logo-mark--blue {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.nav.is-sticky .logo-mark--white {
  opacity: 0;
}

.nav.is-sticky .logo-mark--blue {
  opacity: 1;
}

.nav.is-sticky .logo-mark {
  width: 68px;
}

.logo-footer {
  display: inline-block;
}

.logo-footer .logo-mark {
  width: 110px;
}

/* ====== NAV RIGHT ====== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .35s ease;
}

.nav-links a {
  transition: opacity .2s, color .35s ease;
}

.nav-links a:hover {
  opacity: 0.75;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: color .35s ease;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

.nav.is-sticky .nav-links,
.nav.is-sticky .nav-links a,
.nav.is-sticky .nav-phone {
  color: var(--bkd-ink);
}

/* ====== BURGER ====== */
.burger {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.burger span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition:
    transform .35s cubic-bezier(.4, 0, .2, 1),
    opacity .25s ease,
    top .35s cubic-bezier(.4, 0, .2, 1),
    background .35s ease;
}

.burger span:nth-child(1) { top: 9px; }
.burger span:nth-child(2) { top: 15px; }
.burger span:nth-child(3) { top: 21px; }

.nav.is-sticky .burger span {
  background: var(--bkd-ink);
}

body.menu-open .nav {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.menu-open .logo-mark--white {
  opacity: 1 !important;
}

body.menu-open .logo-mark--blue {
  opacity: 0 !important;
}

body.menu-open .logo-mark:not(.logo-mark--white):not(.logo-mark--blue) {
  filter: brightness(0) invert(1);
}

body.menu-open .burger span {
  background: #fff !important;
}

body.menu-open .burger span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* ====== MOBILE FULLSCREEN MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 600px at 80% 20%, rgba(29, 29, 224, 0.4), transparent 60%),
    radial-gradient(600px 500px at 10% 90%, rgba(255, 192, 67, 0.18), transparent 60%);
  pointer-events: none;
}

body.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 110px 28px 60px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-section {
  margin-bottom: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}

body.menu-open .mobile-nav-list li {
  opacity: 1;
  transform: translateX(0);
}

body.menu-open .mobile-nav-list li:nth-child(1) { transition-delay: .15s; }
body.menu-open .mobile-nav-list li:nth-child(2) { transition-delay: .22s; }
body.menu-open .mobile-nav-list li:nth-child(3) { transition-delay: .29s; }
body.menu-open .mobile-nav-list li:nth-child(4) { transition-delay: .36s; }
body.menu-open .mobile-nav-list li:nth-child(5) { transition-delay: .43s; }

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color .2s ease, padding .25s ease;
}

.mobile-nav-list a:hover {
  color: var(--bkd-accent);
  padding-left: 8px;
}

.mobile-nav-list .nav-num {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

.mobile-nav-list a:hover .nav-num {
  color: var(--bkd-accent);
}

.mobile-menu-footer {
  padding-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease .55s, transform .5s ease .55s;
}

body.menu-open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.mobile-cta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  transition: all .2s;
}

.mobile-cta-item:hover {
  background: rgba(29, 29, 224, 0.2);
  border-color: var(--bkd-blue);
}

.mobile-cta-icon {
  width: 40px;
  height: 40px;
  background: var(--bkd-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mobile-cta-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.mobile-cta-text {
  line-height: 1.3;
}

.mobile-cta-text .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.mobile-cta-text .val {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 17px;
  margin-top: 2px;
}

.mobile-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--bkd-blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .2s ease, background .2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--bkd-blue-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--bkd-ink);
  border: 1px solid var(--bkd-line);
}

.btn-ghost:hover {
  background: var(--bkd-soft);
}

.btn-light {
  background: #fff;
  color: var(--bkd-ink);
}

.btn-light:hover {
  background: #f0f0f0;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: var(--bkd-accent);
  color: var(--bkd-ink);
}

.btn-accent:hover {
  background: #e9aa30;
}

/* ====== SHARED SECTION LAYOUT ====== */
section {
  padding: 100px 0;
}

.section-head {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
}

.section-head h2 .blue {
  color: var(--bkd-blue);
}

.section-head p {
  color: var(--bkd-muted);
  max-width: 480px;
  font-size: 16px;
}

/* ====== FOOTER ====== */
footer {
  background: var(--bkd-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 28px;
  font-size: 14px;
}

.foot-cta {
  background: linear-gradient(135deg, #0a0a1f 0%, var(--bkd-blue) 100%);
  border-radius: 8px;
  padding: 40px 48px;
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-cta h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}

.foot-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.foot-grid h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.foot-grid a {
  display: block;
  padding: 4px 0;
  transition: color .2s;
}

.foot-grid a:hover {
  color: #fff;
}

.foot-grid p {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 16px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ====== RESPONSIVE — GLOBAL ====== */
@media (max-width: 900px) {
  .nav-links,
  .nav-phone,
  .nav-cta .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 70px 0;
  }

  .foot-cta {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-mark {
    width: 104px;
  }

  .nav.is-sticky .logo-mark {
    width: 58px;
  }
}

@media (max-width: 600px) {
  .mobile-nav-list a {
    font-size: 26px;
    padding: 18px 0;
  }

  .mobile-menu-inner {
    padding: 100px 24px 50px;
  }
}
