/* ===== Mist — shared styles ===== */
:root {
  --bg: #0a0820;
  --bg-2: #120d2e;
  --ink: #ece9ff;
  --muted: #a59fce;
  --lav: #b9a7ff;
  --pink: #ff9ecf;
  --cyan: #8fd4ff;
  --card: rgba(255, 255, 255, 0.05);
  --card-brd: rgba(255, 255, 255, 0.10);
  --radius: 22px;
  --maxw: 1080px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* glowing aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 60vw at 15% -10%, rgba(185, 167, 255, 0.28), transparent 60%),
    radial-gradient(55vw 55vw at 95% 5%, rgba(255, 158, 207, 0.22), transparent 60%),
    radial-gradient(70vw 70vw at 50% 110%, rgba(143, 212, 255, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 8, 32, 0.55);
  border-bottom: 1px solid var(--card-brd);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: 0.2px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 18px rgba(185,167,255,0.35); }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  color: #1a1330;
  background: linear-gradient(135deg, var(--lav), var(--pink) 55%, var(--cyan));
  box-shadow: 0 14px 36px -10px rgba(185,167,255,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -10px rgba(255,158,207,0.6); }
.btn-ghost { color: var(--ink); border-color: var(--card-brd); background: var(--card); }
.btn-ghost:hover { border-color: var(--lav); }

/* ===== Hero ===== */
.hero { padding: 80px 0 64px; text-align: center; position: relative; }
.hero .orb-wrap { position: relative; display: inline-block; margin-bottom: 8px; }
.hero .orb {
  width: 168px; height: 168px; border-radius: 42px;
  box-shadow: 0 30px 80px -16px rgba(185,167,255,0.55);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); line-height: 1.04; margin: 24px 0 12px; font-weight: 800;
  letter-spacing: -1.5px;
}
.grad-text {
  background: linear-gradient(120deg, var(--lav), var(--pink) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(18px, 2.4vw, 23px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.badge-line { margin-top: 22px; font-size: 14px; color: var(--muted); display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.badge-line span { display:inline-flex; align-items:center; gap:7px; }

/* ===== Sections ===== */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); margin: 0 0 14px; letter-spacing: -0.8px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; font-weight: 700; color: var(--lav); margin-bottom: 14px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px){ .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(185,167,255,0.5); background: rgba(255,255,255,0.07); }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(185,167,255,0.25), rgba(255,158,207,0.18));
  border: 1px solid var(--card-brd);
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ===== Gallery / screenshots ===== */
.shots {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot {
  scroll-snap-align: center;
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.6);
}
.shot:hover { transform: translateY(-6px); box-shadow: 0 36px 80px -24px rgba(185, 167, 255, 0.5); }
.shot img {
  display: block;
  height: 560px;
  width: auto;
  border-radius: 26px;
}
.shot.wide img { height: 420px; }
@media (max-width: 640px) {
  .shot img { height: 440px; }
  .shot.wide img { height: 320px; }
}
.shots-hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(5, 4, 18, 0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 92vh; border-radius: 20px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  font-size: 34px; line-height: 1; color: #fff; opacity: 0.8;
  background: none; border: 0; cursor: pointer;
}
.lightbox-close:hover { opacity: 1; }

/* CTA band */
.band {
  margin: 24px 0; border-radius: 32px; padding: 64px 32px; text-align: center;
  background:
    radial-gradient(40vw 40vw at 20% 0%, rgba(185,167,255,0.25), transparent 60%),
    radial-gradient(40vw 40vw at 100% 100%, rgba(143,212,255,0.22), transparent 60%),
    rgba(255,255,255,0.04);
  border: 1px solid var(--card-brd);
}
.band h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px; letter-spacing: -0.8px; }
.band p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }

/* ===== Article (legal/support pages) ===== */
.article { padding: 64px 0; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -1px; margin: 0 0 8px; }
.article .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.article h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.4px; }
.article p, .article li { color: #cdc8ef; font-size: 16.5px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--lav); border-bottom: 1px solid rgba(185,167,255,0.4); }
.article a:hover { color: var(--pink); }
.contact-card {
  margin-top: 40px; background: var(--card); border: 1px solid var(--card-brd);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.contact-card a { font-size: 20px; font-weight: 600; }
.back-link { display:inline-flex; align-items:center; gap:8px; color: var(--muted); margin-bottom: 30px; font-size: 15px; }
.back-link:hover { color: var(--ink); }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--card-brd); padding: 48px 0 60px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 17px; }
.foot-links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.copyright { width: 100%; color: var(--muted); font-size: 13.5px; opacity: 0.8; }
