/* KBA Modern Website - Premium UI */
:root{
  --bg:#0b0f17;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.58);
  --stroke:rgba(255,255,255,.12);
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.085);
  --accent:#7c5cff;
  --accent2:#23d5ab;
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(124,92,255,.22), transparent 55%),
    radial-gradient(900px 500px at 80% 10%, rgba(35,213,171,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(255,255,255,.06), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{width:min(1200px, 92vw); margin:0 auto; padding: 96px 0 60px}
.topbar{
  position:fixed; inset:0 0 auto 0;
  height:72px; display:flex; align-items:center; justify-content:space-between;
  padding:0 18px;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(10,14,22,0.82), rgba(10,14,22,0.38));
  border-bottom: 1px solid var(--stroke);
  z-index:50;
}
.brand{display:flex; gap:12px; align-items:center}
.brandLogo{
  width:38px; height:38px; border-radius:12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  display:grid; place-items:center;
  overflow:hidden;
}
.brandLogo img{width:70%; height:auto}
.brandTitle{display:flex; flex-direction:column; line-height:1.05}
.brandTitle b{letter-spacing:.2px}
.brandTitle span{color:var(--muted2); font-size:12px}

.nav{display:flex; gap:10px; align-items:center}
.nav a{
  color:var(--muted);
  font-weight:650;
  padding:10px 12px;
  border-radius:12px;
}
.nav a:hover{color:var(--text); background: rgba(255,255,255,.06)}
.nav .pill{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

.btn{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:12px 16px;
  border-radius:14px;
  font-weight:750;
  letter-spacing:.2px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22)}
.btn:active{transform: translateY(0) scale(.99)}
.btn.primary{
  border-color: rgba(124,92,255,.55);
  background: linear-gradient(135deg, rgba(124,92,255,.92), rgba(35,213,171,.72));
  box-shadow: 0 10px 26px rgba(124,92,255,.2);
}
.btn.ghost{background: rgba(255,255,255,.02)}
.btn.small{padding:10px 12px; border-radius:12px; font-size:14px}

.hero{
  position:relative;
  border:1px solid var(--stroke);
  border-radius: 28px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
}
.heroBg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.heroBg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 30% 30%, rgba(0,0,0,.18), rgba(0,0,0,.74) 60%),
    linear-gradient(to right, rgba(0,0,0,.72), rgba(0,0,0,.22) 52%, rgba(0,0,0,.72));
}
.blurOrbs{
  position:absolute; inset:0; pointer-events:none;
  opacity: .9;
}
.blurOrbs span{
  position:absolute; border-radius:999px;
  background: rgba(255,255,255,.14);
  filter: blur(1px);
  box-shadow: 0 40px 140px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  mix-blend-mode: screen;
}
.blurOrbs span::after{
  content:""; position:absolute; inset:-24px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 60%);
  filter: blur(18px);
  border-radius:999px;
}
.blurOrbs .o1{width:190px; height:190px; left: 60%; top: 12%; opacity:.22; filter: blur(0px);}
.blurOrbs .o2{width:120px; height:120px; left: 48%; top: 40%; opacity:.16}
.blurOrbs .o3{width:160px; height:160px; left: 78%; top: 46%; opacity:.20}
.blurOrbs .o4{width:110px; height:110px; left: 22%; top: 52%; opacity:.12}

.heroInner{
  position:relative;
  padding: 36px 22px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:center;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing:-1px;
  line-height:1.02;
}
.hero p{margin:0 0 18px; color:var(--muted); line-height:1.65; max-width: 62ch}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:850; letter-spacing:.8px; font-size:12px;
  color: rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.18);
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
}

.heroCard{
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.heroCard h3{margin:0 0 10px}
.heroCard .meta{display:grid; gap:8px; color:var(--muted2); font-weight:650; font-size:14px}
.metaRow{display:flex; gap:10px; align-items:flex-start}
.metaRow b{color:var(--text); font-weight:800}
.metaIcon{width:18px; height:18px; opacity:.9}

.section{margin-top: 58px}
.sectionHead{display:flex; align-items:baseline; justify-content:space-between; gap:18px}
.sectionHead h2{margin:0; font-size:28px; letter-spacing:-.4px}
.sectionHead p{margin:0; color:var(--muted2)}
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.card{
  position:relative;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 16px;
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateY(10px);
  opacity:0;
  transition: transform .6s ease, opacity .6s ease, border-color .12s ease, background .12s ease;
}
.card.reveal{transform: translateY(0); opacity:1}
.card:hover{transform: translateY(-2px); background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.18)}
.cardTop{display:flex; gap:12px; align-items:center}
.cardTop img{width:56px; height:56px}
.card h3{margin:10px 0 6px; letter-spacing:-.25px}
.card p{margin:0; color:var(--muted2); line-height:1.55}
.card .arrow{
  position:absolute; right: 14px; top: 14px;
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}

.pageHead{
  margin-top: 18px;
  display:flex; flex-direction:column; gap: 8px;
}
.pageHead h1{margin:0; font-size: 40px; letter-spacing:-.7px}
.pageHead p{margin:0; color: var(--muted); line-height:1.65; max-width: 80ch}

.brandGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}
.brandCard{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.brandCard:hover{transform: translateY(-2px); background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.18)}
.brandRow{display:flex; gap:12px; align-items:center}
.brandRow img{width:88px; height:auto; border-radius: 14px}
.brandCard h3{margin:10px 0 6px}
.brandCard p{margin:0 0 12px; color: var(--muted2); line-height:1.55}

.footer{
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  color: var(--muted2);
  flex-wrap:wrap;
}
/* Offer popup + balloons */
.offer{
  position: fixed;
  inset: 88px 18px auto 18px; /* TOP popup under navbar */
  width: min(700px, calc(100vw - 36px));
  margin: 0 auto;
  z-index: 200;
  display:none;
}
.offer.show{display:block}
.offerCard{
  position:relative;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(10,14,22,.92), rgba(10,14,22,.72));
  box-shadow: 0 45px 110px rgba(0,0,0,.72);
  padding: 14px 14px 14px 14px;
  overflow:hidden;
}
.offerCard::after{
  content:"";
  position:absolute; inset:-80px;
  background: conic-gradient(from 220deg, rgba(124,92,255,0.35), rgba(35,213,171,0.25), rgba(255,255,255,0.12), rgba(124,92,255,0.35));
  filter: blur(34px);
  opacity: .32;
}
.offerCard > *{position:relative; z-index:1}
.offerTop{display:flex; align-items:flex-start; justify-content:space-between; gap: 10px}
.offerTop h4{margin:0; font-size: 16px; letter-spacing:.2px}
.offerTop p{margin: 6px 0 0; color: var(--muted2); line-height:1.55}
.closeBtn{
  border:0;
  background: rgba(255,255,255,.08);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 14px;
  cursor:pointer;
}

.balloonLayer{
  position:absolute; inset:0; pointer-events:none; overflow:hidden;
}
.balloon{
  position:absolute;
  width: 44px; height: 58px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), rgba(255,255,255,.08) 55%, rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  filter: blur(.1px);
  opacity: .9;
  animation: floatUp var(--dur) ease-in forwards;
}
.balloon::after{
  content:"";
  position:absolute; left: 50%; bottom: -14px;
  width: 2px; height: 18px;
  background: rgba(255,255,255,.25);
}
@keyframes floatUp{
  from{ transform: translateY(70px) translateX(0) scale(.95); opacity: 0; }
  15%{ opacity: .95; }
  to{ transform: translateY(-520px) translateX(var(--dx)) scale(1); opacity: 0; }
}

/* Responsive */
@media (max-width: 980px){
  .heroInner{grid-template-columns: 1fr; }
  .grid{grid-template-columns: repeat(2, minmax(0,1fr));}
  .brandGrid{grid-template-columns: 1fr;}
}
@media (max-width: 520px){
  .grid{grid-template-columns: 1fr;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  .card{transition:none; transform:none; opacity:1}
  .btn{transition:none}
  .balloon{animation:none}
}

/* Random item photos inside cards */
.itemImg{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  object-fit: cover;
  margin-left: auto;
}

/* Extra hover glow for a more personal premium feel */
.card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  border: 1px solid rgba(124,92,255,0.0);
  opacity: 0;
  transition: opacity .12s ease, border-color .12s ease;
  pointer-events:none;
}
.card:hover::after{
  opacity: 1;
  border-color: rgba(124,92,255,0.28);
}

/* About us panel */
.aboutPanel{
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.aboutPanel p{
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  font-size: 15.5px;
}
.aboutBadges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Fullscreen scroll showcase */
.scrollShow{
  height: 240vh; /* creates scroll distance */
  position: relative;
}
.scrollShowSticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.scrollShowBg{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(124,92,255,0.18), transparent 55%),
    radial-gradient(900px 500px at 80% 10%, rgba(35,213,171,0.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85));
}
.scrollShowInner{
  position:relative;
  width:min(1200px, 92vw);
  height: 100%;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items:center;
  padding-top: 72px; /* below navbar */
}
.scrollText h2{
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.8px;
}
.scrollText p{ margin: 0 0 14px; color: rgba(255,255,255,0.74); line-height: 1.7; max-width: 52ch;}
.scrollText .mini{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }

.carStage{ position:relative; height: 78vh; display:grid; place-items:center; }
.carImg{
  width: min(640px, 94%);
  opacity: 0.98;
  transform: translateY(10px) scale(0.98);
  transition: transform .2s ease;
}
.part{
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10,14,22,0.72);
  box-shadow: 0 26px 70px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity .18s ease, transform .18s ease;
}
.part img{ width: 42px; height: 42px; }
.part span{ font-weight: 800; color: rgba(255,255,255,0.88); letter-spacing: .2px; }
.part1{ left: 8%; top: 26%; }
.part2{ right: 6%; top: 22%; }
.part3{ right: 4%; top: 46%; }
.part4{ left: 10%; top: 52%; }
.part5{ left: 34%; top: 14%; }
.part6{ right: 26%; top: 70%; }

/* mobile */
@media (max-width: 980px){
  .scrollShowInner{ grid-template-columns: 1fr; padding-top: 78px; }
  .carStage{ height: 62vh; }
  .part{ font-size: 13px; }
}

/* First-time intro drop overlay */
.introDrop{
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(900px 500px at 50% 10%, rgba(0,0,0,0.20), rgba(0,0,0,0.72));
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity .6s ease;
}
.introDrop.hide{ opacity: 0; }

.introMsg{
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 36px));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(10,14,22,0.92), rgba(10,14,22,0.74));
  box-shadow: 0 45px 120px rgba(0,0,0,0.75);
  padding: 14px 16px;
}
.introMsgTitle{
  font-weight: 900;
  letter-spacing: -0.3px;
  font-size: 16px;
  color: rgba(255,255,255,0.92);
}
.introMsgTitle b{
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(35,213,171,0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.introMsgSub{
  margin-top: 6px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
}

.dropItem{
  position: absolute;
  top: -80px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,22,0.62);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  display: grid;
  place-items: center;
  opacity: 0;
  animation-name: dropParts;
  animation-timing-function: cubic-bezier(.2,.85,.2,1);
  animation-fill-mode: forwards;
}
.dropItem img{
  width: 70%;
  height: 70%;
  object-fit: contain;
  opacity: 0.95;
}
@keyframes dropParts{
  0%{ transform: translateY(-90px) rotate(var(--rot)); opacity: 0; }
  10%{ opacity: 1; }
  100%{ transform: translateY(120vh) rotate(calc(var(--rot) * 1.6)); opacity: 0; }
}
