/* ============================================================
   AppCodix — landing page styles (from Figma "AppCodix" 1:1574)
   ============================================================ */

:root {
  --blue: #2388ff;
  --indigo: #4a3aff;
  --cyan: #2eb1ff;
  --gray: #767676;
  --gray-2: #8a8a8e;
  --subtitle-gray: #d7d7d7;
  --black: #000000;
  --white: #ffffff;

  /* gradient used on all display headings (white core -> blue edges) */
  --grad-heading: radial-gradient(ellipse at center,
      #ffffff 0%, #d3c4ff 70.99%, #aba7ff 78.24%,
      #8389ff 85.5%, #5b6cff 92.75%, #334fff 100%);

  --wrap: 1440px;
  --pad-x: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.gradient-text {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ================= DARK TOP REGION ================= */
.region { position: relative; }
.region--top {
  background: #04060c;
  overflow: hidden;
  padding-bottom: 140px;
}
.region__glow { position: absolute; pointer-events: none; z-index: 0; will-change: transform; }
.region__glow--cyan {
  top: -240px; left: -220px; width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(46,177,255,.55) 0%, rgba(35,136,255,.25) 35%, transparent 68%);
  filter: blur(30px);
}
.region__glow--blue {
  top: 300px; left: 50%; margin-left: -560px;
  width: 1120px; height: 820px;
  background: radial-gradient(ellipse at center, rgba(60,100,255,.32) 0%, rgba(40,70,220,.12) 45%, transparent 70%);
  filter: blur(20px);
}
.region__streaks {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg,
      rgba(255,255,255,0) 0, rgba(255,255,255,0) 92px,
      rgba(255,255,255,.028) 92px, rgba(255,255,255,.028) 94px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 60%, transparent 92%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 60%, transparent 92%);
}

/* ---- Header (fixed) ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  background: rgba(4, 6, 12, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 24px;
}
.logo { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { font-size: 16px; font-weight: 600; color: #fff; opacity: .92; transition: color .2s ease, opacity .2s ease; }
.nav a:hover { opacity: 1; color: #2FBDFF; }

/* ---- Hero ---- */
.hero { position: relative; z-index: 2; padding-top: 150px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.hero__title {
  font-size: 70px; font-weight: 600; line-height: 1.1;
  text-transform: uppercase; max-width: 820px;
}
.hero__subtitle {
  max-width: 615px; font-size: 17px; font-weight: 400; line-height: 1.3; color: #fff;
}

/* ---- About + stats ---- */
.about { position: relative; z-index: 2; padding-top: 140px; }
.about__inner { display: flex; align-items: flex-start; justify-content: center; gap: 130px; }
.about__left { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; width: 398px; flex-shrink: 0; }
.about__title { font-size: 38px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text p { font-size: 17px; font-weight: 400; line-height: 1.3; color: #fff; }

.socials { display: flex; align-items: center; gap: 15px; }
.social { width: 28px; height: 28px; display: inline-flex; }
.social img { width: 100%; height: 100%; }
.stack { position: relative; display: inline-block; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stack--icon { width: 28px; height: 28px; }

.about__stats { display: flex; flex-direction: column; gap: 40px; text-align: center; width: 240px; }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat__num { font-size: 70px; font-weight: 700; line-height: 1.05; }
.stat__label { font-size: 17px; font-weight: 400; line-height: 1.3; }

/* ================= Shared product block ================= */
.product__info { display: flex; flex-direction: column; gap: 20px; }
.product__head { display: flex; align-items: center; gap: 20px; }
.product__head--center { flex-direction: column; text-align: center; }
.product__icon {
  width: 80px; height: 80px; border-radius: 18px; object-fit: cover; flex-shrink: 0;
  box-shadow: 1px 4px 4px rgba(59,59,59,.1), 0 4px 31px rgba(123,123,123,.4);
  transition: transform .3s ease; cursor: pointer;
}
.product__icon:hover { transform: scale(1.1); }
.product__title-group { display: flex; flex-direction: column; gap: 4px; }
.product__title-group--center { align-items: center; }
.product__title { font-size: 50px; font-weight: 600; line-height: 1.1; color: #fff; }
.product__title--dark { color: #000; }
.product__subtitle { font-size: 17px; font-weight: 400; color: var(--subtitle-gray); }
.product__subtitle--gray { color: var(--gray); }

.product__desc { font-size: 17px; font-weight: 400; line-height: 1.3; }
.product__desc--light { color: #fff; }
.product__desc--dark { color: #000; }
.product__desc--center { text-align: center; max-width: 562px; }

/* rating bar */
.ratingbar {
  display: inline-flex; align-items: stretch; width: max-content;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.ratingbar--center { align-self: center; }
.ratingbar--dark { border-color: rgba(0,0,0,.12); }
.ratingbar__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; min-width: 153px; }
.ratingbar__num { font-size: 32px; font-weight: 600; color: #fff; }
.ratingbar__num--dark { color: #000; }
.ratingbar__label { font-size: 17px; font-weight: 400; color: #fff; }
.ratingbar__label--gray { color: var(--gray); }
.ratingbar__divider { width: 1px; background: rgba(255,255,255,.16); align-self: center; height: 96px; }
.ratingbar__divider--dark { background: rgba(0,0,0,.12); }
.stars { display: inline-flex; gap: 3px; }
.stars img { width: 15px; height: 15px; }

/* store buttons */
.store-row { display: flex; gap: 8px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: 10px; font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: transform .15s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn--light { background: #fff; color: #000; }
.store-btn--dark { background: #000; color: #fff; }
.store-btn__icon { width: 19px; height: 22px; object-fit: contain; flex-shrink: 0; }
.stack--gplay { width: 18px; height: 20px; }

/* ---- eSIM ---- */
.esim { position: relative; z-index: 2; padding-top: 140px; }
.esim__inner { display: flex; align-items: center; justify-content: center; gap: 60px; }
.esim__stage { position: relative; width: 703px; height: 476px; flex-shrink: 0; }
.esim__stage .phone { position: absolute; border-radius: 30px; }
.phone--center { left: 235px; top: 0; width: 233px; height: 476px; z-index: 3;
  filter: drop-shadow(0 -1px 60px rgba(51,115,255,.5)); transition: transform .35s ease; cursor: pointer; }
.phone--center:hover { transform: scale(1.06); z-index: 6; }
.phone--left { left: 81px; top: 20px; width: 208px; height: 426px; transform: rotate(-3deg); filter: blur(1.5px); z-index: 1; }
.phone--right { left: 427px; top: 20px; width: 208px; height: 426px; transform: rotate(3deg); filter: blur(1.5px); z-index: 1; }

.flag {
  position: absolute; width: 40px; height: 30px; border-radius: 5px; overflow: hidden; z-index: 4;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  transform: translateY(var(--py, 0px)) rotate(var(--rot, 0deg));
}
.flag img { width: 100%; height: 100%; object-fit: cover; }
.flag.stack img { position: absolute; inset: 0; }
.flag--usa    { left: 191px; top: -30px;  --rot: -9deg;    opacity: .8; }
.flag--uk     { left: 672px; top: 12px;   --rot: 9.25deg;  opacity: .73; }
.flag--turkey { left: 17px;  top: 147px;  --rot: -11.24deg; opacity: .8; }
.flag--eu     { left: 166px; top: 431px;  --rot: -6.63deg; opacity: 1; }
.flag--japan  { left: 479px; top: 453px;  --rot: 10.51deg; opacity: .8; }
.flag--brazil { left: 665px; top: 331px;  --rot: 10.15deg; opacity: 1; }

.esim__info { width: 532px; flex-shrink: 0; }

/* ================= LIGHT REGION ================= */
.region--light { background: #fff; padding-bottom: 80px; }

/* birds strip (full-bleed) */
.birds {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #d4ebff 100%);
  padding: 60px 0 44px;
}
.birds__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(20,80,160,.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(20,80,160,.07) 0 1px, transparent 1px 44px);
}
.birds__track {
  position: relative; display: flex; gap: 10px; width: max-content; align-items: center;
  animation: birds-marquee 95s linear infinite;
}
.birds:hover .birds__track { animation-play-state: paused; }
@keyframes birds-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bird { position: relative; flex-shrink: 0; width: 184px; }
.bird img { width: 184px; height: 158px; object-fit: contain; display: block; cursor: pointer; transition: transform .2s ease; }
.bird:hover img { transform: translateY(-6px) scale(1.05); }
.bird figcaption {
  position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -6px);
  background: #fff; color: var(--gray); font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap;
  padding: 6px 14px; border-radius: 30px; box-shadow: 0 3px 21px rgba(108,108,108,.2);
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 5;
}
.bird:hover figcaption { opacity: 1; }

/* Hilibre */
.hilibre { padding-top: 60px; }
.hilibre__inner { display: flex; align-items: center; gap: 60px; }
.hilibre__info { width: 462px; flex-shrink: 0; }
.hilibre__mockup { flex: 1; position: relative; height: 470px; overflow: visible; }
.hilibre__sky {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden; z-index: 1;
  background: url('../assets/hil-sky.png') center/cover, #cfeaff;
  box-shadow: 0 20px 60px rgba(0, 60, 140, .15);
}
.hilibre__portal {
  position: absolute; z-index: 2; width: 71%; left: 22px; top: 50%;
  transform: translateY(-50%) rotate(-1.5deg);
  filter: drop-shadow(0 22px 44px rgba(0, 40, 90, .28));
}
.hilibre__phone {
  position: absolute; z-index: 3; width: 33%; right: 6px; bottom: -46px;
  transform: rotate(4deg);
  filter: drop-shadow(0 24px 46px rgba(0, 40, 90, .32));
  transition: transform .4s ease; cursor: pointer; transform-origin: bottom center;
}
.hilibre__phone:hover { transform: rotate(4deg) scale(1.06); }

/* ================= HOMIND REGION ================= */
.homind { position: relative; background: #000; overflow: hidden; padding-top: 120px; }
.homind__glow { position: absolute; top: 8%; width: 760px; height: 620px; pointer-events: none;
  background: radial-gradient(circle, rgba(232,113,26,.85) 0%, rgba(178,68,14,.28) 42%, transparent 70%);
  filter: blur(20px); mix-blend-mode: screen; z-index: 0; will-change: transform;
  transition: transform .35s ease-out; }
.homind__glow--left { left: -230px; }
.homind__glow--right { right: -230px; }
.homind__dots { position: absolute; inset: 0; background: url('../assets/hom-dots.svg') center/cover; opacity: .05; z-index: 0; }

.homind__stage { position: relative; z-index: 2; min-height: 560px; }
.homind__info { width: 680px; max-width: 680px; margin: 0 auto; align-items: center; gap: 25px; }

/* feature cards */
.fcard {
  position: absolute; width: 204px; border-radius: 10px; padding: 5px 5px 15px;
  display: flex; flex-direction: column; gap: 10px; overflow: visible; z-index: 3;
  animation: fcard-float 7s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  touch-action: none;
}
.fcard.dragging { transition: none; animation-play-state: paused; cursor: grabbing; z-index: 6; }
@keyframes fcard-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.fcard--floorplan  { left: 40px;  top: 150px; animation-delay: -1.5s; background: linear-gradient(227.55deg, #000 36.6%, #451c00 101.7%); }
.fcard--smallspace { right: 40px; top: 20px;  animation-delay: -3.5s; background: linear-gradient(156.58deg, #000 13.9%, #4b1f00 102%); }
.fcard--exterior   { right: 0;    top: 250px; animation-delay: -5s;   background: linear-gradient(51.94deg, #000 11.3%, #431b00 85%); }
.fcard__photo { height: 120px; border-radius: 5px 5px 0 0; overflow: hidden; background: #12100e; }
.fcard__photo img,
.fcard__photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard__body { padding: 0 8px 4px; display: flex; flex-direction: column; gap: 8px; }
.fcard__title { font-size: 15px; font-weight: 600; color: #fff; }
.fcard__text { font-size: 12px; font-weight: 500; color: var(--gray-2); line-height: 1.3; }
.fcard__plus {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000;
  font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; z-index: 4;
}

/* materials row (full-bleed, rotating lens) */
.materials { position: relative; z-index: 2; margin-top: 30px; overflow: hidden; padding: 52px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.materials__row { display: flex; gap: 40px; align-items: center; width: max-content; will-change: transform; }
.materials__row img {
  width: 92px; height: 92px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  transform: scale(var(--s, .82)); transform-origin: center; will-change: transform;
}

/* ================= PRINCIPLES ================= */
.principles { position: relative; background: #000; padding: 90px 0 120px; overflow: hidden; }
.principles__glow {
  position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(40,90,220,.4) 0%, rgba(20,50,140,.15) 45%, transparent 72%);
  filter: blur(20px);
}
.principles__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 60px; text-align: center; }
.principles__title { font-size: 38px; font-weight: 700; line-height: 1.15; text-transform: uppercase; max-width: 640px; }
.principles__cards { display: flex; gap: 20px; width: 100%; max-width: 1072px; }
.pcard {
  flex: 1 1 0; min-height: 238px; border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.8) 0%, rgba(0,8,17,.8) 50%, rgba(0,15,33,.8) 100%);
  border: 1px solid rgba(120,150,220,.14);
  box-shadow: 0 2px 141px #002045;
  backdrop-filter: blur(25px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pcard:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(47, 189, 255, .55);
  box-shadow: 0 2px 141px #002045, 0 0 46px rgba(47, 189, 255, .35);
}
.pcard__title { font-size: 36px; font-weight: 600; color: #fff; line-height: 1.1; }
.pcard__text { font-size: 17px; font-weight: 400; color: #fff; line-height: 1.3; }

/* ================= CONTACT / FOOTER ================= */
.contact { position: relative; background: #000; padding: 120px 0 60px; overflow: hidden; }
.contact__glow {
  position: absolute; top: 20%; left: 30%; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(30,70,180,.35) 0%, rgba(15,40,120,.12) 45%, transparent 72%);
  filter: blur(20px);
}
.contact__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.contact__left { width: 324px; flex-shrink: 0; display: flex; flex-direction: column; gap: 40px; }
.contact__title { font-size: 38px; font-weight: 700; line-height: 1.1; text-transform: uppercase; color: #fff; }
.contact__address { font-size: 17px; font-weight: 400; line-height: 1.3; color: #fff; }
.contact__links { display: flex; align-items: center; gap: 20px; }
.contact__links a { font-size: 17px; color: #fff; opacity: .9; transition: color .2s ease, opacity .2s ease; }
.contact__links a:hover { opacity: 1; color: #2FBDFF; }
.contact__sep { width: 1px; height: 27px; background: rgba(255,255,255,.5); }
.mapcard {
  flex: 1; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(ellipse at 50% 50%, #000 0%, #000811 50%, #000f21 100%);
  box-shadow: 0 2px 141px #002045; backdrop-filter: blur(25px);
}
.mapcard__img { width: 100%; height: 214px; object-fit: cover; }
.mapcard__link { display: flex; align-items: center; gap: 8px; padding: 20px; font-size: 16px; color: #fff; }
.mapcard__link img { width: 24px; height: 24px; transition: transform .3s ease; }
.mapcard:hover .mapcard__link img { transform: translateX(7px); }

/* ================= LEGAL PAGES (Terms of Use / Privacy Policy) ================= */
.region--legal { padding-bottom: 120px; min-height: 100vh; }

.legal { position: relative; z-index: 2; padding-top: 170px; }
.legal__inner { max-width: 1120px; margin: 0 auto; }
.legal__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 70px; }
.legal__title { font-size: 60px; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.legal__updated { font-size: 17px; font-weight: 400; color: var(--subtitle-gray); }

.legal__body { display: flex; flex-direction: column; gap: 48px; }
.legal-section { display: flex; flex-direction: column; gap: 18px; }
.legal-section > h2 {
  font-size: 32px; font-weight: 600; line-height: 1.1; color: #fff;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.legal-section h3 { font-size: 20px; font-weight: 600; line-height: 1.2; color: #fff; margin-top: 12px; }
.legal-section p { font-size: 17px; font-weight: 400; line-height: 1.4; color: rgba(255,255,255,.72); }
.legal-section p.legal-caps { color: rgba(255,255,255,.85); }
.legal-section strong { color: #fff; font-weight: 600; }
.legal-section ul { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 12px; }
.legal-section li { font-size: 17px; font-weight: 400; line-height: 1.4; color: rgba(255,255,255,.72); }

@media (max-width: 900px) {
  .legal { padding-top: 130px; }
  .legal__title { font-size: 42px; }
  .legal-section > h2 { font-size: 26px; }
}
@media (max-width: 720px) {
  .legal__title { font-size: 32px; }
  .legal-section > h2 { font-size: 22px; }
}

/* ---- animated background lights ---- */
.legal-lights {
  position: absolute; left: 0; right: 0; top: -10%; bottom: -10%;
  z-index: 1; pointer-events: none; will-change: transform;
}
.legal-light {
  position: absolute; border-radius: 50%; filter: blur(40px);
  will-change: transform; animation: light-drift 16s ease-in-out infinite;
}
@keyframes light-drift {
  0%   { transform: translate(0, 0) scale(1);       }
  25%  { transform: translate(26px, -20px) scale(1.18); }
  50%  { transform: translate(10px, 28px) scale(.9);   }
  75%  { transform: translate(-22px, 12px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1);       }
}
.legal-light--1 { top: 10%; left: 6%;   width: 220px; height: 220px; background: radial-gradient(circle, rgba(46,177,255,.5) 0%, transparent 70%);  animation-duration: 17s; animation-delay: -2s;  }
.legal-light--2 { top: 26%; right: 9%;  width: 260px; height: 260px; background: radial-gradient(circle, rgba(51,79,255,.42) 0%, transparent 70%);  animation-duration: 21s; animation-delay: -6s;  }
.legal-light--3 { top: 44%; left: 12%;  width: 180px; height: 180px; background: radial-gradient(circle, rgba(47,189,255,.45) 0%, transparent 70%); animation-duration: 15s; animation-delay: -1s;  }
.legal-light--4 { top: 40%; left: 46%;  width: 160px; height: 160px; background: radial-gradient(circle, rgba(74,58,255,.34) 0%, transparent 70%);  animation-duration: 23s; animation-delay: -9s;  }
.legal-light--5 { top: 60%; right: 7%;  width: 210px; height: 210px; background: radial-gradient(circle, rgba(35,136,255,.4) 0%, transparent 70%);  animation-duration: 19s; animation-delay: -4s;  }
.legal-light--6 { top: 76%; left: 8%;   width: 240px; height: 240px; background: radial-gradient(circle, rgba(51,79,255,.4) 0%, transparent 70%);   animation-duration: 22s; animation-delay: -7s;  }
.legal-light--7 { top: 70%; left: 50%;  width: 200px; height: 200px; background: radial-gradient(circle, rgba(46,177,255,.32) 0%, transparent 70%); animation-duration: 18s; animation-delay: -3s;  }
.legal-light--8 { top: 90%; right: 20%; width: 180px; height: 180px; background: radial-gradient(circle, rgba(47,189,255,.4) 0%, transparent 70%);  animation-duration: 20s; animation-delay: -11s; }
@media (prefers-reduced-motion: reduce) {
  .legal-light { animation: none; }
}

/* ---- bottom bar (slides up near the end of the page) ---- */
.legalbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(4, 6, 12, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.legalbar--visible { transform: translateY(0); }
.legalbar__inner {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding-block: 30px;
}
.legalbar__link {
  min-width: 200px; text-align: center;
  font-size: 17px; font-weight: 400; color: #fff; opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}
.legalbar__link:hover { opacity: 1; color: #2FBDFF; }
.legalbar__sep { color: rgba(255,255,255,.5); font-size: 20px; font-weight: 300; }
@media (max-width: 720px) {
  .legalbar__link { min-width: 0; }
  .legalbar__inner { gap: 14px; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  :root { --pad-x: 40px; }
  .hero__title { font-size: 56px; }
  .esim__inner { flex-direction: column; }
  .esim__info { width: 100%; max-width: 620px; }
  .about__inner { gap: 40px; }
}
@media (max-width: 900px) {
  .hero__title { font-size: 44px; }
  .about__inner { flex-direction: column; }
  .about__stats { width: 100%; align-items: flex-start; text-align: left; }
  .hilibre__inner { flex-direction: column; }
  .hilibre__info { width: 100%; max-width: 560px; }
  .hilibre__mockup { width: 100%; height: 400px; }
  .contact__inner { flex-direction: column; align-items: stretch; }
  .contact__left { width: 100%; }
  .principles__cards { flex-direction: column; align-items: center; }
  .pcard { width: 100%; max-width: 460px; }
  /* homind cards flow below on small screens */
  .homind__stage { display: flex; flex-direction: column; align-items: center; }
  .fcard { position: static; margin-top: 24px; }
  .homind__info { width: 100%; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero__title { font-size: 34px; }
  .stat__num { font-size: 54px; }
  .esim__stage { transform: scale(.82); }
  .store-row { flex-direction: column; }
  .store-btn { width: 100%; }
}
