:root {
  /* VisuAll brand palette (from frontend-android2) */
  --bg: #0a0e16;
  --bg-soft: #0f1622;
  --card: #161f30;
  --text: #f0f4fa;
  --muted: #9fb0c8;
  --brand: #9333EA;       /* primary_light */
  --brand-2: #6B46C1;     /* primary_color */
  --brand-dark: #553C9A;  /* primary_dark */
  --accent: #0072B2;      /* accessible blue */
  --success: #10B981;     /* success_color */
  --warning: #F59E0B;     /* warning_color */
  --error: #EF4444;       /* error_color */
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand:focus { outline: none; }
.brand__logo { -webkit-tap-highlight-color: transparent; }
.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.brand__logo--lg { width: 52px; height: 52px; border-radius: 14px; }
.brand__name { font-size: 20px; letter-spacing: -0.02em; }
.brand__all { color: #4aa9e0; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--accent);
  font-weight: 600;
}

/* HERO */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(0, 114, 178, 0.35), transparent 60%),
    radial-gradient(700px 480px at 10% 20%, rgba(74, 169, 224, 0.20), transparent 55%),
    radial-gradient(1000px 700px at 50% 120%, rgba(13, 110, 160, 0.30), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px 120px;
}
.hero__content { max-width: 760px; }
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #4aa9e0;
  background: rgba(0, 114, 178, 0.14);
  border: 1px solid rgba(0, 114, 178, 0.4);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.grad { color: #4aa9e0; }

.hero__subtitle {
  margin: 24px 0 36px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 620px;
}
.hero__note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* DOWNLOAD BUTTONS */
.downloads { display: flex; flex-wrap: wrap; gap: 14px; }
.dl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dl__icon { font-size: 24px; line-height: 1; width: 26px; text-align: center; color: var(--accent); }
.dl__text { display: flex; flex-direction: column; line-height: 1.1; }
.dl__text small { font-size: 11px; color: var(--muted); }
.dl__text strong { font-size: 17px; }

/* SHOWCASE */
.showcase { padding: 96px 0; }
.showcase--alt { background: var(--bg-soft); }
.showcase__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase__inner.reverse .showcase__text { order: 2; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.showcase__text h2 {
  margin: 12px 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.showcase__text p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
}

/* MOCKUPS */
.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #141d2c;
}
.mock--desktop {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: #0e1426;
}
.mock__bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #161e34;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mock__bar span { width: 12px; height: 12px; border-radius: 50%; background: #44507a; }
.mock--desktop .mock__screen { aspect-ratio: 16 / 10; font-size: 18px; }
.mock--phone {
  width: 280px;
  margin: 0 auto;
  border-radius: 38px;
  padding: 12px;
  background: #0e1426;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  position: relative;
}
.mock--phone .mock__screen {
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  font-size: 16px;
}
img.mock__screen {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* FOOTER */
.footer {
  background: #070b14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer__brand h3 { margin: 14px 0 10px; font-size: 22px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 360px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer ul { list-style: none; }
.footer__team li { margin-bottom: 12px; }
.footer__team li strong { display: block; font-size: 15px; }
.footer__team li span { font-size: 13px; color: var(--muted); }
.footer__contact li { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 100;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.toast--show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .showcase__inner { grid-template-columns: 1fr; gap: 40px; }
  .showcase__inner.reverse .showcase__text { order: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
