/* ═══════════════════════════════════════════
   NETSCAPE LABS — DESIGN SYSTEM
   ═══════════════════════════════════════════ */
/* Fonts loaded via <link> in HTML for performance */

:root {
  --dark: #0C0C0F;
  --dark2: #111116;
  --dark3: #16161C;
  --card: #1A1A22;
  --card2: #1F1F28;
  --border: rgba(255, 255, 255, 0.07);
  --borderH: rgba(74, 143, 232, 0.35);
  --orange: #4A8FE8;
  --orange2: #6BAAF0;
  --yellow: #A8C8F8;
  --white: #FFFFFF;
  --off: #F0F0F5;
  --muted: rgba(255, 255, 255, 0.48);
  --muted2: rgba(255, 255, 255, 0.24);
  --muted3: rgba(255, 255, 255, 0.12);
  --head: 'Bricolage Grotesque', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-display: swap;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: normal;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(74, 143, 232, 0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), width .3s, height .3s, border-color .3s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 18px;
  height: 18px;
  background: var(--yellow);
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(168, 200, 248, 0.6);
}


/* ── LOGO IMAGE ── */
.nav-logo img {
  display: block;
}

.nav-logo {
  padding: 4px 0;
}

.nav-logo:hover img {
  opacity: 0.85;
}

/* ── TOPBAR ── */
.topbar {
  background: #1E3A6E;
  padding: 9px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 200;
  text-align: center;
}

.topbar span {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.topbar a {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 14px;
  border-radius: 100px;
  transition: background .2s, transform .2s;
}

.topbar a:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.04);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 12, 15, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  transition: box-shadow .3s, background .3s;
}

nav.scrolled {
  box-shadow: 0 4px 48px rgba(0, 0, 0, .6);
  background: rgba(12, 12, 15, 0.98);
}

.nav-logo {
  font-family: var(--head);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -.5px;
}

.nav-logo .ac {
  color: var(--orange);
}

.nav-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .3;
    transform: scale(.5)
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .07);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  margin-left: 8px;
  transition: background .2s, transform .2s, box-shadow .2s !important;
  box-shadow: 0 4px 20px rgba(74, 143, 232, .3) !important;
}

.nav-cta:hover {
  background: var(--orange2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(74, 143, 232, .5) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile nav */
.ham {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.ham span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: all .3s;
}

.ham.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ham.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.ham.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── MARQUEE ── */
.mq-wrap {
  padding: 15px 0;
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.mq-track {
  display: flex;
  width: max-content;
  animation: mqscroll 38s linear infinite;
}

.mq-track:hover {
  animation-play-state: paused;
}

.mq-i {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted2);
  white-space: nowrap;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .2s;
}

.mq-i:hover {
  color: var(--orange2);
}

.mq-i .sep {
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes mqscroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ── SECTION HELPERS ── */
section {
  padding: 108px 48px;
}

.con {
  max-width: 1320px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.stitle {
  font-family: var(--head);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.06;
  margin-bottom: 18px;
  color: var(--white);
}

.ssub {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 530px;
  font-weight: 400;
}

/* ── BUTTONS ── */
.btn-o {
  background: var(--orange);
  color: var(--white);
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-o::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange2);
  opacity: 0;
  transition: opacity .3s;
}

.btn-o:hover::before {
  opacity: 1;
}

.btn-o:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(74, 143, 232, .45);
}

.btn-o>* {
  position: relative;
  z-index: 1;
}

.btn-o span {
  position: relative;
  z-index: 1;
}

.btn-gh {
  background: transparent;
  color: var(--white);
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, .22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
  white-space: nowrap;
}

.btn-gh:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  padding: 84px 48px 44px;
}

.ft-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.ft-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.ft-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  margin-top: 14px;
  max-width: 290px;
}

.flogo {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}

.flogo span {
  color: var(--orange);
}

.ft-newsletter {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}

.ft-newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
}

.ft-newsletter input:focus {
  border-color: var(--orange);
}

.ft-newsletter input::placeholder {
  color: var(--muted2);
}

.ft-newsletter button {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.ft-newsletter button:hover {
  background: var(--orange2);
}

.fcol h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 20px;
}

.fcol a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color .2s, padding-left .2s;
}

.fcol a:hover {
  color: var(--white);
  padding-left: 6px;
}

.ft-bot {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-bot p {
  font-size: 13px;
  color: var(--muted2);
}

.fsoc {
  display: flex;
  gap: 9px;
}

.fsoc a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}

.fsoc a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── CHATBOT ── */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 5000;
}

.chat-btn {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--orange), #6BAAF0);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(74, 143, 232, .5);
  transition: all .3s var(--spring);
  font-size: 24px;
  color: var(--white);
  position: relative;
}

.chat-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 40px rgba(74, 143, 232, .65);
}

.chat-btn .notif {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--dark);
  animation: blink 2s infinite;
}

.chat-win {
  position: fixed;
  bottom: 104px;
  right: 28px;
  width: 370px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 5000;
  transform: scale(.8) translateY(30px);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: all .38s var(--spring);
}

.chat-win.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.ch-hd {
  background: linear-gradient(135deg, #1a1e2c, #0a1228);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-av {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.ch-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.ch-info p {
  font-size: 11px;
  color: var(--muted);
}

.ch-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.ch-dot-g {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s infinite;
}

.ch-status span {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.ch-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 350px;
}

.ch-msgs::-webkit-scrollbar {
  width: 3px;
}

.ch-msgs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.msg.u {
  flex-direction: row-reverse;
}

.bbl {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
}

.msg.b .bbl {
  background: var(--card);
  color: var(--white);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}

.msg.u .bbl {
  background: var(--orange);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.qk-row {
  padding: 8px 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

.qk {
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid rgba(74, 143, 232, .38);
  color: var(--orange2);
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--body);
}

.qk:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: scale(1.05);
}

.ch-inp-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}

.ch-inp {
  flex: 1;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
}

.ch-inp:focus {
  border-color: var(--orange);
}

.ch-inp::placeholder {
  color: var(--muted2);
}

.ch-send {
  width: 38px;
  height: 38px;
  background: var(--orange);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  color: var(--white);
  font-size: 14px;
}

.ch-send:hover {
  background: var(--orange2);
  transform: scale(1.1) rotate(10deg);
}

/* ── STICKY LEAD ── */
.sl {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(calc(100% - 46px));
  z-index: 600;
  transition: transform .42s var(--ease);
}

.sl:hover {
  transform: translateY(-50%) translateX(0);
}

.sl-in {
  background: var(--card2);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 18px 0 0 18px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sl-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

.sl-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sl-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.sl-form input {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--white);
  font-family: var(--body);
  font-size: 12px;
  outline: none;
  width: 178px;
  transition: border-color .2s;
}

.sl-form input:focus {
  border-color: var(--orange);
}

.sl-form input::placeholder {
  color: var(--muted2);
}

.sl-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.sl-form button:hover {
  background: var(--orange2);
  transform: scale(1.02);
}

.sl-ok {
  display: none;
  font-size: 11px;
  color: #4ade80;
  font-weight: 700;
  text-align: center;
  margin-top: 5px;
}

/* ── SCROLL REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

.rv.from-left {
  transform: translateX(-50px);
}

.rv.from-right {
  transform: translateX(50px);
}

.rv.from-left.in,
.rv.from-right.in {
  transform: translateX(0);
}

.rv.d1 {
  transition-delay: .08s
}

.rv.d2 {
  transition-delay: .16s
}

.rv.d3 {
  transition-delay: .24s
}

.rv.d4 {
  transition-delay: .32s
}

.rv.d5 {
  transition-delay: .40s
}

.rv.d6 {
  transition-delay: .48s
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--orange);
  z-index: 99990;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(0.86, 0, 0.07, 1);
}

.page-transition.in {
  transform: scaleY(1);
  transform-origin: bottom;
}

.page-transition.out {
  transform: scaleY(0);
  transform-origin: top;
}

/* ── NUMBER COUNTER ANIM ── */
@keyframes grow {
  from {
    width: 0
  }

  to {
    width: var(--w, 90%)
  }
}

/* ── MISC UTILS ── */
.orange {
  color: var(--orange);
}

.grad-text {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:900px) {
  section {
    padding: 76px 24px;
  }

  nav {
    padding: 0 24px;
  }

  .topbar {
    padding: 8px 20px;
  }

  footer {
    padding: 64px 24px 36px;
  }

  .ft-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .ham {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(12, 12, 15, .98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 0;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    border-radius: 0;
    display: block;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    margin: 10px 0 0;
    text-align: center;
    border-radius: 12px !important;
    padding: 14px 0 !important;
    border-bottom: none !important;
  }

  .sl {
    display: none;
  }

  .chat-win {
    width: calc(100vw - 36px);
    right: 18px;
  }
}

@media(max-width:560px) {
  .ft-top {
    grid-template-columns: 1fr;
  }

  .chat-win {
    width: calc(100vw - 24px);
    right: 12px;
  }
}