/* ══════════════════════════════════════════
   LOKALOKO — SHARED STYLESHEET
   ══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --teal: #0bc3e9;
  --teal-dark: #089fc0;
  --teal-deeper: #067f99;
  --teal-light: #e3f8fd;
  --teal-xlight: #f1fcff;
  --teal-glow: rgba(11, 195, 233, 0.15);
  --wa: #25D366;
  --wa-dark: #128C7E;
  --bg: #ffffff;
  --bg2: #f5fefe;
  --bg3: #eafafa;
  --surface: #ffffff;
  --surface2: #f8fdfd;
  --surface3: #edfafa;
  --border: rgba(11, 195, 233, 0.18);
  --txt: #0b1726;
  --txt2: #3d5a6a;
  --txtm: #8299a8;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-sh: 0 1px 0 rgba(11, 195, 233, 0.12), 0 4px 24px rgba(0, 0, 0, 0.06);
  --csh: 0 4px 20px rgba(11, 195, 233, 0.1);
  --csh-h: 0 16px 48px rgba(11, 195, 233, 0.2);
  --hero-bg: linear-gradient(160deg, #f0fefe 0%, #e6f8f8 40%, #f8fffe 100%);
  --r: 14px;
}

[data-theme="dark"] {
  --bg: #07101f;
  --bg2: #0c1a2e;
  --bg3: #111f35;
  --surface: #0f1c30;
  --surface2: #152438;
  --surface3: #1a2d45;
  --border: rgba(11, 195, 233, 0.12);
  --txt: #e8f4f8;
  --txt2: #8ab4c4;
  --txtm: #4d7080;
  --nav-bg: rgba(7, 16, 31, 0.97);
  --nav-sh: 0 1px 0 rgba(11, 195, 233, 0.1), 0 4px 24px rgba(0, 0, 0, 0.4);
  --csh: 0 4px 20px rgba(0, 0, 0, 0.3);
  --csh-h: 0 16px 48px rgba(11, 195, 233, 0.15);
  --hero-bg: linear-gradient(160deg, #07101f 0%, #0c1a2e 50%, #0a1525 100%);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--txt);
  transition: background .4s, color .4s;
  overflow-x: hidden;
  line-height: 1.6
}

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

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

ul {
  list-style: none
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3 {
  letter-spacing: .03em
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

[data-theme="dark"] .tag {
  background: rgba(11, 195, 233, .12);
  color: var(--teal)
}

.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%
}

/* ── LAYOUT ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.sec-hd {
  text-align: center;
  margin-bottom: 56px
}

.sec-hd h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 14px
}

.sec-hd p {
  color: var(--txt2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: .97rem
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(11, 195, 233, .3)
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 195, 233, .4)
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .3)
}

.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .4)
}

.btn-out {
  background: transparent;
  color: var(--teal);
  border: 2px solid rgba(11, 195, 233, .5)
}

.btn-out:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-2px)
}

.btn-wh {
  background: #fff;
  color: var(--teal-dark);
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s;
  font-family: 'Sora', sans-serif;
  border: none;
  cursor: pointer;
}

.btn-wh:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .15)
}

.btn-who {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
}

.btn-who:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
  transform: translateY(-2px)
}

/* ── NAVBAR ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--nav-sh);
  transition: all .3s;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  flex: 0 0 auto
}

.nav-logo-txt,
.nav-logo span {
  font-size: 1.7rem;
  color: var(--teal);
  font-family: "Bangers", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--txt2);
  transition: color .2s;
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--teal)
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%
}

.nav-acts {
  display: flex;
  align-items: center;
  gap: 12px
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface3);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--txt2);
  transition: all .25s;
}

.theme-btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: rotate(20deg)
}

.nav-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  transition: all .25s;
}

.nav-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4)
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all .3s
}

.mob-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}

.mob-menu.open {
  display: flex
}

.mob-menu a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--txt2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}

.mob-menu a:last-child {
  border-bottom: none;
  color: var(--wa);
  font-weight: 700
}

.mob-menu a:hover {
  color: var(--teal)
}

.mob-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border)
}

.mob-theme-row span {
  font-size: .95rem;
  font-weight: 500;
  color: var(--txt2)
}

.mob-theme-row button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface3);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--txt2);
}

/* ── FOOTER ── */
#ft {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px
}

.ft-g {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px
}

.ft-logo .nav-logo-txt{
  font-family: "Bangers", system-ui;
  font-weight: 400;
  font-size: 1.7rem; /* optional: same as navbar */
}

.ft-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain
}

.ft-logo span {
  font-size: 1.8rem;
  color: var(--teal);
  font-weight: 700;
}

.ft-desc {
  font-size: .85rem;
  color: var(--txt2);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px
}

.ft-soc {
  display: flex;
  gap: 8px
}

.soc-a {
  width: 38px;
  height: 38px;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt2);
  font-size: .9rem;
  transition: all .2s ease;
}

.soc-a:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-2px)
}

.ft-col h4 {
  font-size: 1.15rem;
  color: var(--txt);
  letter-spacing: .05em;
  margin-bottom: 16px
}

.ft-col ul li {
  margin-bottom: 8px
}

.ft-col ul li a {
  font-size: .85rem;
  color: var(--txt2);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 7px
}

.ft-col ul li a i {
  font-size: .65rem;
  color: var(--teal)
}

.ft-col ul li a:hover {
  color: var(--teal)
}

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

.ft-bot p {
  font-size: .8rem;
  color: var(--txtm)
}

.ft-bot a {
  color: var(--teal)
}

/* ── FLOATING WHATSAPP ── */
.fwa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px
}

.fwa-tip {
  background: var(--surface);
  color: var(--txt);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: var(--csh);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: opacity .3s
}

.fwa-btn {
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: all .3s;
  position: relative
}

.fwa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .55)
}

.fwa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .35);
  animation: wap 2s ease-out infinite
}

@keyframes wap {
  0% {
    transform: scale(1);
    opacity: .7
  }

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

/* ── SCROLL ANIMATIONS ── */
.fu {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease
}

.fu.vis {
  opacity: 1;
  transform: translateY(0)
}

.fd1 {
  transition-delay: .1s
}

.fd2 {
  transition-delay: .2s
}

.fd3 {
  transition-delay: .3s
}

.fd4 {
  transition-delay: .4s
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

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

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .ft-g {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .nav-wa {
    display: none
  }

  .theme-btn {
    display: none
  }

  .burger {
    display: flex
  }

  .ft-g {
    grid-template-columns: 1fr;
    gap: 24px
  }
}
