/* Home page only: navy hero with devices and floating tiles, stats bar, product collage, testimonials. */

/* ================= hero ================= */
.hero { padding: 12px 12px 0; }
.hero-box {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(820px, 100svh); padding: calc(var(--header-h) + 80px) 0 140px;
  border-radius: var(--r-xl); background: var(--navy); color: var(--on-dark);
}
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px circle at 22% 40%, rgb(19 81 232 / 0.45), transparent 60%),
  radial-gradient(520px circle at 95% 0%, rgb(111 163 245 / 0.18), transparent 60%),
  radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.4px) 0 0 / 28px 28px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s4); align-items: center; }
.hero .h1 { color: #fff; }
.hero .lead { color: var(--on-dark); }
.hero-trust { position: relative; display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s4); }
.hero-trust b { display: block; color: #fff; font-size: 0.98rem; line-height: 1.6; }
.hero-trust small { color: var(--on-dark-muted); font-size: 0.85rem; }
.trust-stack { display: flex; }
.trust-stack i { display: grid; place-items: center; width: 44px; height: 44px; margin-inline-start: -10px; border-radius: 50%; background: var(--navy-2); color: var(--sky); box-shadow: 0 0 0 3px var(--navy); }
.trust-stack i:first-child { margin-inline-start: 0; }
.trust-stack .plus { background: var(--blue); color: #fff; }
.hero-squiggle { position: absolute; width: 90px; inset-block-start: -34px; inset-inline-end: -104px; color: var(--sky); opacity: 0.8; }

/* ---- visual: arches + devices + tiles ---- */
.hero-visual { position: relative; aspect-ratio: 1 / 0.95; width: 100%; max-width: 580px; margin-inline: auto; }
.arch { position: absolute; inset-block-end: -4%; left: 50%; translate: -50% 0; border-radius: 999px 999px 0 0; background: rgb(255 255 255 / 0.035); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.arch--1 { width: 86%; height: 100%; }
.arch--2 { width: 66%; height: 80%; }
.arch--3 { width: 46%; height: 60%; background: rgb(19 81 232 / 0.18); }
.laptop { position: absolute; left: 50%; translate: -50% 0; inset-block-end: 14%; width: 82%; }
.laptop-screen { aspect-ratio: 16 / 10; border: 9px solid #1b2550; border-bottom-width: 12px; border-radius: 16px 16px 4px 4px; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6); }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop-base { width: 114%; height: 14px; margin-inline: -7%; border-radius: 0 0 20px 20px; background: linear-gradient(#d8e0f5, #9aa8cf); }
.phone { position: absolute; inset-block-end: 6%; inset-inline-end: 2%; width: 24%; aspect-ratio: 9 / 18.5; border: 6px solid #1b2550; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.65); animation: bob 7s ease-in-out infinite; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.tile { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: #fff; box-shadow: 0 14px 30px -10px rgb(0 0 0 / 0.55); animation: bob 6s ease-in-out infinite; }
.tile .i { width: 26px; height: 26px; }
.tile--ig { background: linear-gradient(135deg, #f9a03f, #e1306c 55%, #8a3ab9); inset-block-start: 10%; inset-inline-start: 6%; rotate: -8deg; }
.tile--tg { background: #229ed9; inset-block-start: 2%; inset-inline-end: 30%; animation-delay: -1.5s; width: 46px; height: 46px; }
.tile--search { background: #fff; color: var(--blue); inset-block-start: 36%; inset-inline-start: -2%; animation-delay: -3s; rotate: 6deg; }
.tile--cart { background: var(--blue); inset-block-start: 20%; inset-inline-end: 2%; animation-delay: -2s; rotate: 8deg; }
.tile--code { background: var(--navy-2); color: var(--sky); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 14px 30px -10px rgb(0 0 0 / 0.55); inset-block-end: 2%; inset-inline-start: 14%; animation-delay: -4s; width: 46px; height: 46px; }
.tile--palette { background: #7c5cff; inset-block-end: 40%; inset-inline-end: -3%; animation-delay: -5s; width: 46px; height: 46px; rotate: -6deg; }
.doodle { position: absolute; color: var(--sky); }
.doodle .i { width: 44px; height: 44px; stroke-width: 1.5; }
.doodle i { position: absolute; inset-block-start: -10px; inset-inline-end: -14px; width: 18px; height: 14px; border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor; border-start-end-radius: 12px; opacity: 0.7; }
.doodle--mega { inset-block-start: -4%; inset-inline-start: 28%; rotate: -14deg; }
.doodle--bulb { inset-block-start: 52%; inset-inline-end: 6%; color: #ffd166; rotate: 10deg; }

.fcard { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r); background: #fff; color: var(--navy); box-shadow: 0 20px 44px -14px rgb(0 0 0 / 0.5); line-height: 1.5; animation: bob 8s ease-in-out infinite; }
.fcard b { display: block; font-size: 0.88rem; }
.fcard small { display: block; color: var(--muted); font-size: 0.75rem; }
.fcard-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--tint-sky); color: var(--blue); }
.fcard-ic.ok { background: #e3f8ef; color: var(--ok); }
.fcard--chart { inset-block-start: 30%; inset-inline-start: -10%; flex-wrap: wrap; width: 200px; animation-delay: -2s; }
.spark-line { width: 100%; height: 34px; color: var(--blue); }
.fcard--ok { inset-block-end: 2%; inset-inline-end: 24%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* stats bar overlapping the hero bottom (ref. design 2) */
.stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  margin: -78px auto 0; max-width: 1040px; padding: var(--s3) var(--s2); list-style: none;
  border-radius: var(--r-xl); background: rgb(255 255 255 / 0.9); box-shadow: var(--sh-lg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.stats li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 8px; }
.stats li + li { border-inline-start: 1px solid var(--line); }
.stats b { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.3; color: var(--navy); }
.stats b span { color: var(--blue); }
.stats small { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 1024px) {
  .hero-box { padding: calc(64px + 64px) 0 120px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions, .hero-trust { justify-content: center; }
  .hero-squiggle { display: none; }
  .hero-visual { max-width: 480px; margin-top: var(--s3); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s2); }
  .stats li:nth-child(3) { border: 0; }
}
/* phones: a shorter hero; the visual keeps only the devices, arches and three tiles so nothing overlaps */
@media (max-width: 560px) {
  .hero { padding: 8px 8px 0; }
  .hero-box { border-radius: 24px; padding: calc(64px + 36px) 0 96px; }
  .hero .lead { font-size: 1rem; line-height: 2; }
  .hero .actions { flex-wrap: nowrap; gap: 8px; }
  .hero .actions .btn { flex: 1; padding-inline: 14px; }
  .hero-trust, .fcard, .tile--tg, .tile--search, .tile--code, .doodle--bulb { display: none; }
  .hero-visual { max-width: 320px; margin-top: var(--s3); }
  .tile { width: 42px; height: 42px; border-radius: 13px; }
  .tile .i { width: 21px; height: 21px; }
  .doodle .i { width: 34px; height: 34px; }
  .stats { margin-inline: 4px; padding: var(--s2) 8px; }
  .stats b { font-size: 1.6rem; }
  .stats small { font-size: 0.82rem; }
}

/* ================= products: split + collage ================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.prod-list { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: 10px; }
.prod-item { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px #fff, var(--sh-sm); }
.prod-item b { display: block; font-size: 1.05rem; text-align: start; }
.prod-item small { color: var(--muted); font-size: 0.85rem; }
.prod-item .link-arrow { margin-inline-start: auto; font-size: 0.9rem; }
.prod-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c, var(--blue)) 18%, transparent); }
.prod-item--beautypanel { --c: var(--beauty); }
.prod-item--amlakpanel { --c: var(--amlak); }
.prod-item--oilpanel { --c: var(--oil); }

.collage { position: relative; aspect-ratio: 1 / 0.9; }
.ui-card { position: absolute; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg); }
.ui-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; line-height: 1.4; }
.ui-head b { font-size: 0.95rem; }
.ui-head small { margin-inline-start: auto; color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.ui-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.ui-ic .i { width: 18px; height: 18px; }
.ui-card--beauty { --c: var(--beauty); inset-block-start: 0; inset-inline-start: 4%; width: 62%; z-index: 2; }
.ui-card--amlak { --c: var(--amlak); inset-block-start: 34%; inset-inline-end: 0; width: 56%; z-index: 3; }
.ui-card--oil { --c: var(--oil); inset-block-end: 0; inset-inline-start: 0; width: 58%; z-index: 1; }
.ui-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.85rem; }
.ui-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--base); }
.ui-rows i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ui-rows em { margin-inline-start: auto; font-style: normal; color: var(--muted); }
.ui-bars { display: flex; align-items: end; gap: 8px; height: 110px; padding: 6px 4px 0; border-block-end: 1px solid var(--line); }
.ui-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 45%, #fff)); }
.ui-ring { display: flex; align-items: center; gap: 14px; }
.ui-ring svg { width: 72px; height: 72px; rotate: -90deg; }
.ui-ring circle { fill: none; stroke: var(--base); stroke-width: 4; }
.ui-ring .val { stroke: var(--c); stroke-dasharray: 72 100; stroke-linecap: round; }
.ui-ring b { display: block; font-size: 0.92rem; }
.ui-ring small { color: var(--muted); font-size: 0.8rem; }
.collage-tile { position: absolute; inset-block-start: 6%; inset-inline-end: 8%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--navy); color: var(--sky); box-shadow: var(--sh); animation: bob 6s ease-in-out infinite; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; aspect-ratio: 1 / 1; }
}
/* phones: the overlapping collage cannot fit, so the three cards become a swipe row */
@media (max-width: 560px) {
  .collage {
    display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; aspect-ratio: auto; max-width: none;
    margin-inline: calc(-1 * var(--gutter)); width: auto; padding: 8px var(--gutter) 20px; scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .collage::-webkit-scrollbar { display: none; }
  .ui-card { position: static; width: auto !important; padding: 14px; scroll-snap-align: start; box-shadow: var(--sh); }
  .ui-bars { height: 84px; }
  .collage-tile { display: none; }
  .prod-list { margin: var(--s2) 0; }
}

/* ================= testimonials ================= */
.slider--quotes { grid-auto-columns: min(560px, 80vw); padding-inline: calc(50vw - min(280px, 40vw)); scroll-snap-type: x mandatory; }
.slider--quotes .slide { scroll-snap-align: center; }
.quote { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s3); margin: 0; padding: var(--s4) var(--s4) var(--s3); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px #fff, var(--sh-sm); opacity: 0.55; scale: 0.94; transition: opacity 0.4s, scale 0.4s var(--ease), box-shadow 0.4s; }
.quote.is-active, .no-js .quote { opacity: 1; scale: 1; box-shadow: inset 0 0 0 1px #fff, var(--sh-lg); }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 2; }
.quote-ic { position: absolute; inset-block-start: -18px; inset-inline-start: var(--s4); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; }
.quote-ic .i { width: 22px; height: 22px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--tint-sky); }
.quote b { display: block; line-height: 1.4; }
.quote small { color: var(--muted); }
.slider--quotes { padding-block: 30px 24px; }
.hero-grid--solo { grid-template-columns: 1fr; max-width: 820px; text-align: center; } .hero-grid--solo .lead { margin-inline: auto; } .hero-grid--solo .actions, .hero-grid--solo .hero-trust { justify-content: center; }
