/* ═══════════════════════════════════════════════════════════════
   Artemis macOS APP — Apple "26" Liquid Glass surface
   Self-contained stylesheet (lives on top of styles.css)
   All classes prefixed `lg-` (liquid-glass) to avoid collisions
   ═══════════════════════════════════════════════════════════════ */

.lg-page {
  --lg-aqua: #6ec5ff;
  --lg-violet: #b88aff;
  --lg-rose: #ff8db4;
  --lg-amber: #ffd28a;
  --lg-mint: #7df0c8;
  --lg-text: #ffffff;
  --lg-muted: rgba(255, 255, 255, 0.72);
  --lg-faint: rgba(255, 255, 255, 0.48);
  --lg-line: rgba(255, 255, 255, 0.18);
  --lg-line-soft: rgba(255, 255, 255, 0.10);
  --lg-glass-1: rgba(255, 255, 255, 0.10);
  --lg-glass-2: rgba(255, 255, 255, 0.04);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding-top: 120px;
  color: var(--lg-text);
  background: #04050a;
  overflow: hidden;
}

/* Animated dreamy background — three liquid blobs that drift forever */
.lg-stage {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  filter: saturate(120%);
}

.lg-stage::before,
.lg-stage::after,
.lg-stage > span {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.78;
  mix-blend-mode: screen;
}

.lg-stage::before {
  width: 60vw;
  height: 60vw;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle at 30% 30%, var(--lg-violet), transparent 65%);
  animation: lg-drift-a 22s ease-in-out infinite alternate;
}

.lg-stage::after {
  width: 55vw;
  height: 55vw;
  bottom: -12%;
  right: -10%;
  background: radial-gradient(circle at 60% 50%, var(--lg-aqua), transparent 65%);
  animation: lg-drift-b 26s ease-in-out infinite alternate;
}

.lg-stage > span {
  display: block;
  width: 50vw;
  height: 50vw;
  top: 32%;
  left: 28%;
  background: radial-gradient(circle at 50% 50%, var(--lg-rose), transparent 65%);
  animation: lg-drift-c 30s ease-in-out infinite alternate;
}

@keyframes lg-drift-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.12); }
}
@keyframes lg-drift-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-9vw, -7vh) scale(1.18); }
}
@keyframes lg-drift-c {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 8vh) scale(0.92); }
  100% { transform: translate(7vw, -5vh) scale(1.15); }
}

/* Subtle grid overlay so the glass surfaces have something to refract */
.lg-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(80% 60% at 50% 50%, black 35%, transparent 100%);
  pointer-events: none;
}

/* ── Shared liquid-glass surface ─────────────────────────────── */

.lg-glass {
  position: relative;
  border: 1px solid var(--lg-line);
  border-radius: 28px;
  background:
    linear-gradient(160deg, var(--lg-glass-1) 0%, var(--lg-glass-2) 60%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 30px 100px rgba(2, 0, 20, 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  overflow: hidden;
}

/* Specular highlight — the defining Apple-26 feature */
.lg-glass::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 55%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  pointer-events: none;
  mask-image: linear-gradient(180deg, black, transparent);
}

/* Edge sheen */
.lg-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

/* ── Page shell ──────────────────────────────────────────────── */

.lg-shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.lg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--lg-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lg-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.lg-eyebrow i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lg-aqua);
  box-shadow: 0 0 12px var(--lg-aqua);
}

/* ── HERO ────────────────────────────────────────────────────── */

.lg-hero {
  position: relative;
  padding: 60px 0 80px;
}

.lg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

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

.lg-hero h1 {
  margin: 18px 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--lg-aqua), var(--lg-violet), var(--lg-rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-hero p.lede {
  max-width: 540px;
  color: var(--lg-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.lg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lg-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.lg-button.primary {
  color: #0b0a16;
  background: linear-gradient(140deg, #ffffff 0%, #d9e9ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 50px rgba(110, 197, 255, 0.36);
}

.lg-button.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 22px 60px rgba(184, 138, 255, 0.45);
}

.lg-button.ghost {
  color: var(--lg-text);
  border: 1px solid var(--lg-line);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.lg-button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Mock macOS window */
.lg-window {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    rgba(0, 0, 0, 0.35);
  border: 1px solid var(--lg-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 50px 140px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transform: rotate(-1deg);
  animation: lg-float 8s ease-in-out infinite alternate;
}

@keyframes lg-float {
  0% { transform: rotate(-1deg) translateY(0); }
  100% { transform: rotate(-1deg) translateY(-12px); }
}

.lg-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 12px;
}

.lg-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.lg-window-bar span:nth-child(1) { background: #ff605c; }
.lg-window-bar span:nth-child(2) { background: #ffbd44; }
.lg-window-bar span:nth-child(3) { background: #00ca4e; }

.lg-window-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  min-height: 320px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--lg-line-soft);
  padding: 12px;
  overflow: hidden;
}

.lg-sidebar {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.lg-sidebar i {
  display: block;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
}

.lg-sidebar i.is-active {
  background: linear-gradient(90deg, rgba(110, 197, 255, 0.45), rgba(184, 138, 255, 0.32));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lg-canvas {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.lg-canvas .row {
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
}

.lg-canvas .row.short { width: 60%; }
.lg-canvas .row.tiny { width: 35%; }

.lg-canvas .bubble {
  padding: 10px 12px;
  border-radius: 14px;
  font: 700 11px/1.4 "Space Mono", monospace;
  color: rgba(255,255,255,0.95);
  background: linear-gradient(135deg, rgba(110, 197, 255, 0.32), rgba(184, 138, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Stat strip under hero */
.lg-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 42px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--lg-line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

@media (max-width: 720px) {
  .lg-strip { grid-template-columns: repeat(2, 1fr); }
}

.lg-strip-cell {
  display: grid;
  gap: 4px;
  text-align: center;
  padding: 10px 8px;
}

.lg-strip-cell strong {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-strip-cell span {
  color: var(--lg-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── SECTIONS ────────────────────────────────────────────────── */

.lg-section {
  position: relative;
  padding: 80px 0;
}

.lg-section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 0 44px;
}

.lg-section-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-section-head p {
  margin: 0;
  color: var(--lg-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

/* Feature cards */

.lg-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.lg-feature {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--lg-line);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.30);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  overflow: hidden;
}

.lg-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 50% at 100% 0%, var(--lg-glow, rgba(110, 197, 255, 0.20)), transparent 70%);
  pointer-events: none;
  opacity: 0.9;
}

.lg-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 28px 70px rgba(0, 0, 0, 0.40);
}

.lg-feature .icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lg-feature h3 {
  margin: 0 0 10px;
  position: relative;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
}

.lg-feature p {
  margin: 0;
  position: relative;
  color: var(--lg-muted);
  font-size: 14px;
  line-height: 1.65;
}

.lg-feature .meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.lg-feature .meta span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--lg-line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--lg-faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.lg-feature.is-aqua   { --lg-glow: rgba(110, 197, 255, 0.28); }
.lg-feature.is-violet { --lg-glow: rgba(184, 138, 255, 0.30); }
.lg-feature.is-rose   { --lg-glow: rgba(255, 141, 180, 0.26); }
.lg-feature.is-amber  { --lg-glow: rgba(255, 210, 138, 0.28); }
.lg-feature.is-mint   { --lg-glow: rgba(125, 240, 200, 0.26); }
.lg-feature.is-sky    { --lg-glow: rgba(184, 220, 255, 0.30); }

/* ── ADVANTAGE ROW — side by side comparison ────────────────── */

.lg-advantage {
  position: relative;
  padding: 38px;
  border-radius: 28px;
}

.lg-advantage .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--lg-line-soft);
}

.lg-advantage .row:last-child { border-bottom: none; }

@media (max-width: 720px) {
  .lg-advantage { padding: 26px 22px; }
  .lg-advantage .row { grid-template-columns: 1fr; gap: 10px; }
}

.lg-advantage .label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.lg-advantage .label::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lg-aqua), var(--lg-violet));
  box-shadow: 0 0 12px rgba(110, 197, 255, 0.45);
}

.lg-advantage .body {
  color: var(--lg-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.lg-advantage .body strong {
  color: #fff;
  font-weight: 600;
}

/* ── DREAM INTEGRATION ─────────────────────────────────────── */

.lg-dream {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
}

@media (max-width: 880px) {
  .lg-dream { grid-template-columns: 1fr; padding: 30px 26px; }
}

.lg-dream h2 {
  margin: 14px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: #fff;
}

.lg-dream p {
  margin: 0 0 18px;
  color: var(--lg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.lg-dream-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--lg-line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.lg-dream-node {
  padding: 14px 12px;
  text-align: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--lg-line-soft);
}

.lg-dream-node strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--lg-aqua), var(--lg-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-dream-node span {
  color: var(--lg-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.lg-dream-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 138, 255, 0.6), rgba(110, 197, 255, 0.25));
  box-shadow: 0 0 24px rgba(184, 138, 255, 0.55);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  animation: lg-pulse 2.4s ease-in-out infinite;
}

@keyframes lg-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(184, 138, 255, 0.5); }
  50% { transform: scale(1.07); box-shadow: 0 0 38px rgba(184, 138, 255, 0.85); }
}

/* ── DOWNLOAD / CLOSING ──────────────────────────────────── */

.lg-download {
  position: relative;
  padding: 60px 44px;
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
}

.lg-download::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 20%, rgba(184, 138, 255, 0.35), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(110, 197, 255, 0.30), transparent 70%);
  pointer-events: none;
}

.lg-download h2 {
  position: relative;
  margin: 12px 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

.lg-download p {
  position: relative;
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--lg-muted);
  font-size: 16px;
  line-height: 1.65;
}

.lg-download-actions {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.lg-meta-row {
  position: relative;
  margin-top: 26px;
  color: var(--lg-faint);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── Section divider with subtle glow ─────────────────────── */

.lg-divider {
  position: relative;
  height: 1px;
  margin: 0 auto;
  width: min(1120px, calc(100% - 40px));
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
