/* BAROKAT landing. Colours are the brand's: the logo's green, teal and sun. */
:root {
  --night: #04150E;
  --ink: #0B1F15;
  --mint: #E9FFF3;
  --mint-70: rgba(233, 255, 243, .72);
  --mint-50: rgba(233, 255, 243, .5);
  --line: rgba(233, 255, 243, .1);
  --green: #3DDC84;
  --teal: #00B8A9;
  --sun: #FFE14D;
  --brand: #00804E;
  --paper: #F2FBF6;
  --muted: #46524C;
  --pad: clamp(20px, 6.6vw, 96px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section { position: relative; }

.dark { background: var(--night); color: var(--mint); }
.light { background: var(--paper); color: var(--ink); }

.h1, .h2 { font-weight: 800; letter-spacing: -.035em; line-height: .98; margin: 0; }
.h1 { font-size: clamp(48px, 6.4vw, 96px); }
.h2 { font-size: clamp(38px, 4.6vw, 68px); }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--mint-70); margin: 24px 0 0; max-width: 560px; }
.light .lead { color: var(--muted); }

.grad {
  background: linear-gradient(100deg, var(--green) 0%, var(--teal) 30%, var(--sun) 60%, var(--green) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 8s linear infinite;
}
.grad-dark { background: linear-gradient(100deg, var(--brand), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes flow { to { background-position: -220% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(61, 220, 132, .35); background: rgba(61, 220, 132, .08);
  color: #7DF0B4; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.eyebrow-light { color: var(--brand); border-color: rgba(0, 128, 78, .25); background: rgba(0, 128, 78, .06); }
.eyebrow-light .dot { background: var(--brand); box-shadow: none; }
.eyebrow-sun { color: var(--sun); border-color: rgba(255, 225, 77, .4); background: rgba(255, 225, 77, .1); }
.eyebrow-sun .dot { background: var(--sun); box-shadow: 0 0 12px var(--sun); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 26px; border-radius: 18px; font-weight: 700; font-size: 17px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-sm { height: 46px; padding: 0 18px; border-radius: 14px; font-size: 15px; }
.btn-play { background: var(--mint); color: var(--night); box-shadow: 0 10px 40px rgba(61, 220, 132, .35); }
.btn-play:hover { box-shadow: 0 14px 50px rgba(61, 220, 132, .55); }
.btn-ghost { border: 1px solid rgba(233, 255, 243, .25); color: var(--mint); }
.btn-ghost:hover { background: rgba(233, 255, 243, .08); }
.btn-sun { background: var(--sun); color: #3D3200; }
.play-ico { width: 22px; height: 24px; flex: none; }

.glass {
  background: rgba(233, 255, 243, .08); border: 1px solid rgba(233, 255, 243, .14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-teal { width: 620px; height: 620px; background: radial-gradient(circle, var(--teal), transparent 70%); opacity: .5; }
.orb-green { width: 460px; height: 460px; background: radial-gradient(circle, var(--green), transparent 70%); opacity: .45; }
.orb-sun { width: 520px; height: 520px; background: radial-gradient(circle, var(--sun), transparent 70%); opacity: .2; }

/* Nav */
.nav {
  position: fixed; z-index: 50; top: 18px; left: clamp(12px, 2.8vw, 40px); right: clamp(12px, 2.8vw, 40px);
  height: 68px; display: flex; align-items: center; gap: 16px; padding: 0 14px 0 20px; border-radius: 22px;
  color: var(--mint);
  background: rgba(4, 21, 14, .55); border: 1px solid rgba(233, 255, 243, .12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.nav.hidden { transform: translateY(-120%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-size: 20px; letter-spacing: .04em; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 34px; font-size: 15px; color: var(--mint-70); }
.nav-links a:hover { color: var(--mint); }
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(233, 255, 243, .06); }
.lang button {
  border: 0; background: transparent; color: var(--mint-50); font: 700 13px "Fira Sans", sans-serif;
  padding: 6px 10px; border-radius: 9px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--mint); color: var(--night); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 140px var(--pad) 100px; }
.hero .orb-teal { left: 52%; top: 8%; }
.hero .orb-green { left: 68%; top: 42%; }
.hero .orb-sun { left: -8%; top: 55%; }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(233, 255, 243, .1) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.glow {
  position: absolute; width: 520px; height: 520px; left: -260px; top: -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(61, 220, 132, .16), transparent 65%); transform: translate(-999px, -999px);
}
.hero-copy { position: relative; z-index: 2; width: min(640px, 100%); }
.hero-copy .h1 { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--mint-50); }
.ticks li::before { content: "✓ "; color: var(--green); }

/* Placed with top rather than a transform: GSAP drives this element's transform. */
.hero-art { position: absolute; right: var(--pad); top: calc(50% - 300px); width: 520px; height: 640px; perspective: 1400px; z-index: 1; }
.phone {
  position: absolute; border-radius: 46px; background: #0A0F0C; padding: 11px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone-main { width: 330px; height: 570px; left: 0; top: 30px; transform: rotate(-7deg); }
.phone-side { width: 250px; height: 428px; right: 0; top: 150px; transform: rotate(8deg); opacity: .94; }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -2s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.chip { position: absolute; z-index: 3; border-radius: 18px; color: var(--mint); }
.chip-call { left: -80px; bottom: 60px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.chip-call b { display: block; font-size: 15px; }
.chip-call small { font-size: 13px; color: var(--mint-70); }
.chip-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--night); }
.chip-sectors { right: -10px; top: -10px; padding: 10px 14px; font-size: 14px; font-weight: 600; border-radius: 14px; }
.scroll-hint { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 13px; letter-spacing: .2em; color: var(--mint-50); }

/* Marquee */
.marquee { height: 260px; overflow: hidden; border-top: 1px solid var(--line); }
.track { position: absolute; left: 0; white-space: nowrap; font-weight: 800; font-size: clamp(44px, 6vw, 84px); letter-spacing: -.03em; will-change: transform; }
.track span { padding-right: .4em; }
#track-a { top: 36px; }
#track-b { top: 140px; color: transparent; -webkit-text-stroke: 1.5px rgba(233, 255, 243, .35); }

/* Sectors */
.sectors { padding: 120px var(--pad) 140px; }
.section-head .h2 { margin-top: 18px; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.sector {
  position: relative; min-height: 500px; border-radius: 28px; overflow: hidden; padding: 32px;
  display: flex; align-items: flex-end;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform;
}
.sector-emoji { position: absolute; right: -30px; top: -20px; font-size: 220px; line-height: 1; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); will-change: transform; }
.sector h3 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--night); }
.sector p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: rgba(4, 21, 14, .75); }

/* How it works */
.how { overflow: hidden; }
.how-orb { left: 6%; top: 30%; opacity: .4; }
.how-inner { position: relative; height: 100vh; min-height: 680px; padding: 104px var(--pad) 48px; display: flex; flex-direction: column; }
.how-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 620px); gap: 60px; align-items: center; justify-content: space-between; margin-top: 32px; }
.how-visual { position: relative; height: min(640px, calc(100vh - 330px)); }
.progress { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: rgba(233, 255, 243, .08); }
.progress span { display: block; width: 100%; height: 25%; border-radius: 3px; background: linear-gradient(var(--green), var(--teal)); }
.phone-how { left: 60px; top: 0; height: 100%; aspect-ratio: 9 / 15.4; }
.phone-how img { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); opacity: 0; transition: opacity .5s ease, transform .6s ease; transform: scale(1.03); }
.phone-how img.on { opacity: 1; transform: none; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 18px; padding: 22px 24px; border-radius: 22px; border: 1px solid rgba(233, 255, 243, .08); opacity: .5; transition: all .45s ease; }
.step.on { opacity: 1; background: rgba(61, 220, 132, .1); border-color: rgba(61, 220, 132, .35); }
.num { flex: none; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; background: rgba(233, 255, 243, .08); transition: all .45s ease; }
.step.on .num { background: var(--green); color: var(--night); }
.step b { display: block; font-size: 24px; }
.step p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--mint-70); }

/* Trust */
.trust { padding: 130px var(--pad); overflow: hidden; }
.trust-title { font-size: clamp(42px, 5.6vw, 84px); max-width: 1100px; }
.trust-title .accent { color: var(--brand); }
.trust-title .ch { opacity: .14; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.trust-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid rgba(0, 128, 78, .12); box-shadow: 0 10px 30px rgba(0, 60, 35, .06); }
.trust-card .emo { font-size: 34px; }
.trust-card b { display: block; margin-top: 14px; font-size: 22px; }
.trust-card p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Partners */
.partners {
  overflow: hidden; padding: 130px var(--pad); color: #F2FFF8;
  background: linear-gradient(180deg, var(--brand) 0%, #005A37 100%);
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 40px; align-items: center;
}
.partners-orb { right: -10%; top: -20%; opacity: .25; }
.partners .lead { color: rgba(242, 255, 248, .82); }
.perks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.perks li { display: flex; gap: 12px; }
.partners .btn { margin-top: 40px; }
.laptop-wrap { perspective: 1600px; }
.laptop {
  width: min(820px, 100%); aspect-ratio: 820 / 540; border-radius: 24px; background: #0B1F15; padding: 14px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .4); transform: rotateY(-14deg) rotateX(4deg); transform-origin: left center; will-change: transform;
}
.screen { width: 100%; height: 100%; border-radius: 14px; background: #F4F9F7; overflow: hidden; display: flex; }
.screen aside { width: 18%; background: #fff; border-right: 1px solid #E9F0ED; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; font: 600 12px "Fira Sans", sans-serif; color: #6F7875; }
.screen aside b { color: var(--brand); font-size: 14px; }
.screen aside span { padding: 8px; border-radius: 8px; }
.screen aside .on { background: #E8FCF5; color: var(--brand); }
.lp-grid { flex: 1; padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.lp-card { border-radius: 12px; background: #fff; border: 1px solid #E9F0ED; overflow: hidden; color: #1C1F1D; }
.lp-card i { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center 40%; }
.lp-card b { display: block; padding: 8px 10px 0; font-size: 13px; }
.lp-card span { display: block; padding: 2px 10px 10px; font: 700 12px "Fira Sans", sans-serif; color: var(--brand); }

/* Final */
.final { min-height: 90vh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 20px; }
.spin-orb {
  position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--teal), var(--sun), var(--green));
  filter: blur(90px); opacity: .45; animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.final-inner { position: relative; }
.final-logo { width: 88px; height: 88px; margin: 0 auto; }
.final-title { margin-top: 24px; font-size: clamp(48px, 7.2vw, 104px); }
.final .lead { margin: 24px auto 0; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.qr { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; font-size: 14px; text-align: left; color: var(--mint-70); }
.qr img { width: 72px; height: 72px; border-radius: 10px; background: #fff; padding: 4px; }

/* Footer */
.footer { min-height: 160px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 40px var(--pad); font-size: 15px; color: var(--mint-50); }
.footer .brand img { width: 30px; height: 30px; }
.footer .brand b { color: var(--mint); font-size: 17px; }
.footer .brand small { margin-left: 8px; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer nav a:hover { color: var(--mint); }

/* Split text helpers */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; }

/* Tablet */
@media (max-width: 1180px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-art { position: relative; right: auto; top: auto; transform: none; margin: 60px auto 0; width: 460px; height: 560px; }
  .phone-main { width: 290px; height: 500px; }
  .phone-side { width: 220px; height: 376px; }
  .how-body { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .partners { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  .nav { top: 10px; height: 58px; padding: 0 8px 0 14px; border-radius: 18px; gap: 8px; }
  .nav-links { display: none; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { width: 46px; padding: 0; justify-content: center; }
  .brand img { width: 28px; height: 28px; }
  .brand b { font-size: 17px; }
  .lang { margin-left: auto; }
  .lang button { padding: 6px 8px; }
  .hero { padding: 110px 20px 80px; }
  .hero-copy .h1 { margin-top: 18px; }
  .cta-row .btn { width: 100%; }
  .ticks { margin-top: 26px; }
  .hero-art { width: 300px; height: 450px; margin-top: 50px; }
  .phone-main { width: 230px; height: 396px; left: 10px; top: 20px; border-radius: 36px; padding: 8px; }
  .phone-main img { border-radius: 28px; }
  .phone-side { display: none; }
  .chip-call { left: -10px; bottom: 0; }
  .chip-sectors { display: none; }
  .scroll-hint { display: none; }
  .marquee { height: 160px; }
  #track-a { top: 26px; }
  #track-b { top: 88px; }
  .sectors, .trust, .partners { padding: 80px 20px; }
  .sector-grid, .trust-grid { grid-template-columns: 1fr; margin-top: 36px; gap: 14px; }
  .sector { min-height: 240px; padding: 22px; }
  .sector-emoji { font-size: 130px; right: -6px; top: -6px; }
  .sector h3 { font-size: 30px; }
  .how-inner { padding: 80px 20px; height: auto; min-height: 0; }
  .how-body { grid-template-columns: 1fr; gap: 30px; }
  .how-visual { height: 386px; display: flex; justify-content: center; }
  .progress { display: none; }
  .phone-how { position: relative; left: auto; width: 224px; height: 386px; aspect-ratio: auto; border-radius: 36px; padding: 8px; }
  .phone-how img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 28px; }
  .step { padding: 16px; }
  .step b { font-size: 19px; }
  .partners .btn, .final-cta .btn { width: 100%; }
  .laptop { transform: none; }
  .footer { padding: 32px 20px; }
  .footer .brand small { display: block; margin: 6px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .trust-title .ch { opacity: 1; }
}
