/* Shaka Distribution — site styles (2026 refonte) */
:root {
  --bg: #F6F1E7;
  --bg-2: #EFE7D6;
  --ink: #1A1F2A;
  --ink-soft: rgba(26,31,42,.72);
  --ink-mute: rgba(26,31,42,.55);
  --card: #ffffff;
  --navy: #1D2430;
  --navy-2: #151B24;
  --navy-3: #0F141C;
  --accent: #FF8225;
  --accent-2: #FFB46B;
  --accent-soft: rgba(255,130,37,.12);
  --ring: rgba(26,31,42,.10);
  --ring-strong: rgba(26,31,42,.18);
  --green: #18A058;
  --radius: 22px;
  --shadow-sm: 0 6px 18px rgba(17,22,28,.08);
  --shadow-md: 0 18px 44px rgba(17,22,28,.10);
  --shadow-lg: 0 26px 90px rgba(17,22,28,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
#brands { overflow: hidden; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Topbar (kept similar to original) ---------- */
.topbar { padding: 18px 0; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 78px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.nav a {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--ring);
  background: rgba(255,255,255,.55);
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.nav a:hover { transform: translateY(-1px); background: #fff; border-color: var(--ring-strong); }
.lang { display: flex; align-items: center; gap: 6px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--ink-soft); }
.lang a {
  text-decoration: none; padding: 8px 10px; border-radius: 999px;
  border: 1px solid var(--ring); background: rgba(255,255,255,.55);
}
.lang .active { background: #fff; border-color: var(--ring-strong); }

.btn-portal {
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  background: #11161C !important;
  color: #fff !important;
  border-color: #11161C !important;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}
.btn-portal:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #11161C !important;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.hero-inner { position: relative; z-index: 2; padding: 32px; }

/* Animated gradient mesh + grid overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(620px 320px at 18% 28%, rgba(255,130,37,.22), transparent 60%),
    radial-gradient(540px 280px at 88% 72%, rgba(120,180,255,.12), transparent 60%),
    radial-gradient(420px 220px at 60% 10%, rgba(255,255,255,.06), transparent 60%);
  animation: meshShift 14s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 90%);
  pointer-events: none;
}
@keyframes meshShift {
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(0,-12px,0); }
}

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,130,37,.18); color: #FFD3AC;
  border: 1px solid rgba(255,130,37,.35);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.title {
  font-weight: 850; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-top: 14px;
}
.title .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.05rem; line-height: 1.55; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-pill {
  border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 14px;
  border: 1px solid rgba(255,255,255,.18); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-accent { background: var(--accent); border-color: var(--accent); color: #11161C;
  box-shadow: 0 10px 30px rgba(255,130,37,.32); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255,130,37,.42); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* Stat chips floating in hero */
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; color: rgba(255,255,255,.92); backdrop-filter: blur(8px);
}
.chip svg { width: 14px; height: 14px; color: var(--accent-2); }

/* Hero machine */
.machine { position: relative; display: grid; place-items: center; padding: 18px; }
.machine::before {
  content: ""; position: absolute; left: 42%; top: 70%; width: 300%; height: 120px;
  transform: translate(-50%, -50%) rotate(-35deg);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px; z-index: 0; opacity: .95;
  box-shadow: 0 18px 60px rgba(255,130,37,.35);
}
.machine img {
  position: relative; z-index: 1; width: 100%; max-width: 380px;
  height: auto; border-radius: 18px;
  transform: translateY(-18px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.35));
}

/* Marquee tag floating on machine */
.tech-badges {
  position: absolute; right: 18px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.tech-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(15,20,28,.72); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px);
}
.tech-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-title {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 800;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.h2 { font-weight: 850; letter-spacing: -0.022em; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.muted { color: var(--ink-soft); }
.mute-2 { color: var(--ink-mute); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-md);
  padding: 22px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(17,22,28,.14); border-color: var(--ring-strong); }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

/* Feature grid (Tech) on dark bg */
.dark-section {
  background: linear-gradient(180deg, var(--navy-2), var(--navy-3));
  color: #fff;
  border-radius: 30px;
  margin: 24px 0;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.dark-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}
.dark-section .section-title { color: var(--accent-2); }
.dark-section .section-title::before { background: var(--accent-2); }
.dark-section .muted { color: rgba(255,255,255,.7); }
.dark-section .h2 { color: #fff; }

.glass {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.glass:hover { border-color: rgba(255,130,37,.4); transform: translateY(-3px); background: rgba(255,255,255,.06); }
.glass .card-icon { background: rgba(255,130,37,.16); color: var(--accent-2); }
.glass h3 { color: #fff; }
.glass p { color: rgba(255,255,255,.7); }

/* Stats row (animated counters) */
.stats-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: 36px;
}
.stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 22px;
}
.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 850;
  letter-spacing: -.02em; color: var(--accent-2);
}
.stat .lbl { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* Process / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.step { background: var(--card); border: 1px solid var(--ring); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.step .num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.step h4 { font-size: 1.05rem; font-weight: 800; margin: 8px 0 6px; }
.step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Brands — 3-row infinite marquee */
.brands-marquee {
  position: relative;
  display: block;
  padding: 8px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.brands-marquee > .brands-row { margin-bottom: 14px; }
.brands-marquee > .brands-row:last-of-type { margin-bottom: 0; }
/* Cheap edge fade via pseudo-elements (no mask-image, no GPU mask layer) */
.brands-marquee::before,
.brands-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px;
  pointer-events: none; z-index: 1;
}
.brands-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.brands-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.brands-row {
  display: flex; gap: 36px; align-items: center;
  width: max-content;
  animation: brands-scroll var(--dur, 60s) linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.brands-row.rev { animation-direction: reverse; }
.brands-marquee.paused .brands-row { animation-play-state: paused; }
.brands-row:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .brands-row { animation: none; }
}
.brands-row img {
  height: 60px; width: auto; max-width: 140px; object-fit: contain;
  opacity: .82; filter: grayscale(15%);
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
  flex-shrink: 0;
}
.brands-row img:hover { opacity: 1; filter: none; transform: translateY(-2px); }
.brands-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #FF8225, #FFB46B);
  color: #11161c; font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,130,37,.28);
}
.brands-more svg { display: block; }
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brands-ctrl {
  position: absolute; top: -42px; right: 0; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ring); cursor: pointer;
  display: grid; place-items: center; font-size: 12px; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .15s ease;
}
.brands-ctrl:hover { background: #f3f4f6; transform: scale(1.05); }
.brands-ctrl .ico-play { display: none; }
.brands-marquee.paused .brands-ctrl .ico-play { display: inline; }
.brands-marquee.paused .brands-ctrl .ico-pause { display: none; }
@media (max-width: 600px) {
  .brands-row img { height: 48px; max-width: 110px; }
  .brands-row { gap: 26px; }
}

/* Newsletter */
.nl-form {
  display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0;
}
.nl-form input {
  flex: 1; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--ring); background: var(--card);
  font-size: 15px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nl-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 480px) { .nl-form { flex-direction: column; } }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--ring); margin-top: 40px; }
.footer small { color: var(--ink-mute); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 991px) {
  .brand img { height: 64px; }
  .hero-inner { padding: 22px; }
  .section { padding: 64px 0; }
  .nav { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .brand img { height: 56px; }
  .hero-inner { padding: 18px; }
  .section { padding: 52px 0; }
}
