/* ============================================================
   Lidax3D product site — light, neutral, app-accent colors
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --ink: #191d26;
  --muted: #5b6372;
  --faint: #8b91a0;
  --border: rgba(25, 29, 38, 0.10);
  --border-strong: rgba(25, 29, 38, 0.18);
  --teal: #0f9d8f;
  --green: #3fae2a;
  --orange: #f59e0b;
  --red: #e5484d;
  --btn: #1c2130;
  --btn-hover: #2a3044;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(25, 29, 38, 0.06);
  --shadow-lg: 0 24px 60px rgba(25, 29, 38, 0.14);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
}

.header-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.header-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
  color: var(--ink);
  background: rgba(25, 29, 38, 0.05);
}

.header-nav .alvasis-link { color: var(--teal); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: #fff;
  flex: none;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-switch button.active {
  background: var(--btn);
  color: #fff;
}

@media (max-width: 800px) {
  .header-nav { display: none; }
}

/* ---------- badge / section head ---------- */

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15, 157, 143, 0.08);
  border: 1px solid rgba(15, 157, 143, 0.25);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); }

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(15, 157, 143, 0.07), transparent 55%),
    radial-gradient(ellipse at 5% 30%, rgba(245, 158, 11, 0.05), transparent 45%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--teal); }

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 34px;
  max-width: 480px;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Store buttons. These are the only way to actually get the app, so they are
   filled rather than outlined, and each carries its store's colour: the pair
   is told apart at a glance, before either label is read. */
.chip {
  --chip-bg: linear-gradient(180deg, #2b3040, #16191f);
  --chip-glow: rgba(22, 25, 31, 0.34);
  display: flex;
  align-items: center;
  gap: 13px;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  border: 0;
  background: var(--chip-bg);
  border-radius: 14px;
  padding: 14px 24px;
  color: #fff;
  box-shadow: 0 8px 22px var(--chip-glow);
}

.chip[data-store="microsoft"] {
  --chip-bg: linear-gradient(180deg, #0a80d8, #0067b8);
  --chip-glow: rgba(0, 103, 184, 0.36);
}

.chip svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  flex: none;
}

.chip strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.25;
}

.chip small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.chip:hover {
  transform: translateY(-3px);
  filter: saturate(1.1);
  box-shadow: 0 16px 34px var(--chip-glow);
}

.chip:active { transform: translateY(-1px); }

.chip:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.hero-shot img {
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

/* ---------- formats strip ---------- */

.formats {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 22px 0;
}

.formats-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.formats-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.formats ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}

.formats li {
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 999px;
  padding: 5px 16px;
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(25, 29, 38, 0.10);
}

.f-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.f-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.f-icon.teal   { background: rgba(15, 157, 143, 0.10); }
.f-icon.teal svg   { stroke: var(--teal); }
.f-icon.green  { background: rgba(63, 174, 42, 0.10); }
.f-icon.green svg  { stroke: var(--green); }
.f-icon.orange { background: rgba(245, 158, 11, 0.12); }
.f-icon.orange svg { stroke: #d97706; }

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- screenshots ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .shot-grid { grid-template-columns: 1fr; }
}

.shot {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.25s, box-shadow 0.25s;
}

.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(25, 29, 38, 0.12);
}

.shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.shot figcaption {
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ---------- plans ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.plan-card.pro {
  border-color: rgba(15, 157, 143, 0.4);
  box-shadow: 0 18px 50px rgba(15, 157, 143, 0.10);
}

.plan-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 11px;
}

.plan-tag.free {
  background: rgba(63, 174, 42, 0.12);
  color: #2d7a1e;
  border: 1px solid rgba(63, 174, 42, 0.35);
}

.plan-tag.pro-tag {
  background: var(--teal);
  color: #fff;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: #3a4152;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--green);
}

.plan-card.pro li::before { color: var(--teal); }

.plans-note {
  text-align: center;
  color: var(--faint);
  font-size: 0.86rem;
  margin-top: 26px;
}

/* ---------- use cases ---------- */

.usecases-section { padding-bottom: 96px; }

.usecases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  max-width: 760px;
  margin-inline: auto;
}

.usecases li {
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.94rem;
}

/* ---------- requirements ---------- */

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}

@media (max-width: 800px) {
  .req-grid { grid-template-columns: 1fr; }
}

.req-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}

.req-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.soon-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
}

.req-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.req-card li {
  color: var(--muted);
  font-size: 0.94rem;
  padding-left: 18px;
  position: relative;
}

.req-card li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--faint);
}

/* ---------- CTA ---------- */

.cta {
  padding: 40px 0 96px;
}

.cta-inner {
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 60px 8%;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(15, 157, 143, 0.08), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(245, 158, 11, 0.07), transparent 55%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 34px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 22px rgba(28, 33, 48, 0.24);
}

.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(28, 33, 48, 0.3);
}

.cta-mail {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--faint);
}

.cta-mail a {
  color: var(--teal);
  font-weight: 700;
}

.cta-mail a:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 44px 0 26px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
}

.footer-brand strong { font-size: 1.05rem; }

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--faint);
  font-size: 0.84rem;
}

/* ---------- lightbox ---------- */

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 18, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover { opacity: 1; }
