/* ============================================================
   MOOD8 LANDING PAGE
   Brand: dark purple/pink, Bricolage Grotesque, editorial mood.
   ============================================================ */

:root {
  --bg-deep: #0a0612;
  --bg: #110821;
  --bg-card: #1f1338;
  --bg-card-soft: rgba(31, 19, 56, 0.65);
  --purple: #a855f7;
  --purple-light: #c084fc;
  --pink: #ec4899;
  --pink-light: #f472b6;
  --blue-accent: #818cf8;
  --ink: #faf5ff;
  --ink-soft: #e9d5ff;
  --ink-dim: #a78bb8;
  --ink-faint: #6b5680;

  --grad-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 55%, #f472b6 100%);
  --grad-button: linear-gradient(90deg, #c084fc 0%, #f472b6 60%, #818cf8 100%);
  --grad-soft: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 18px 50px -12px rgba(236, 72, 153, 0.45);
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: var(--pink);
  color: var(--ink);
}

/* Ambient background orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.bg-orb-a {
  top: -160px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.85), transparent 65%);
}

.bg-orb-b {
  bottom: -220px;
  right: -200px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.7), transparent 65%);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  background: rgba(10, 6, 18, 0.75);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 6px 20px -6px rgba(236, 72, 153, 0.6);
}

.brand-word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
}

.brand-word em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--grad-button);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px -12px rgba(236, 72, 153, 0.65);
}

.btn-secondary {
  background: rgba(168, 85, 247, 0.14);
  color: var(--ink);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.22);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(232, 213, 255, 0.25);
  padding: 10px 18px;
  font-size: 13px;
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(192, 132, 252, 0.55);
}

.btn .icn {
  font-size: 16px;
  line-height: 1;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 32px 130px;
  min-height: 70vh;
  text-align: center;
}

.hero-inner {
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.42);
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-foot {
  color: var(--ink-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(244, 114, 182, 0.6),
    rgba(168, 85, 247, 0.5) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50%      { transform: translate(-50%, -54%) scale(1.06); opacity: 1; }
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  font-weight: 800;
}

/* ---------- FEATURES ---------- */
.features {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(31, 19, 56, 0.92),
    rgba(17, 8, 33, 0.86)
  );
  border: 1px solid rgba(168, 85, 247, 0.22);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 14px 40px -16px rgba(168, 85, 247, 0.55);
}

.card-icn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 16px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-light);
}

.card-icn[data-tint='pink'] {
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(244, 114, 182, 0.35);
  color: var(--pink-light);
}

.card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- WHY ---------- */
.why {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.06) 50%, transparent 100%);
}

.why-inner {
  max-width: 960px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
}

.why-row {
  display: flex;
  gap: 20px;
}

.why-num {
  display: inline-flex;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 800;
  color: var(--pink-light);
  letter-spacing: 1.2px;
  flex-shrink: 0;
  padding-top: 4px;
}

.why-row h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.why-row p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- DOWNLOAD ---------- */
.download {
  position: relative;
  z-index: 1;
  padding: 100px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.download-card {
  padding: 56px 40px;
  border-radius: 36px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18),
    rgba(236, 72, 153, 0.18)
  );
  border: 1px solid rgba(244, 114, 182, 0.42);
  box-shadow: 0 32px 80px -24px rgba(236, 72, 153, 0.45);
  text-align: center;
}

.download-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.download-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 32px;
  font-weight: 500;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.dl-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(10, 6, 18, 0.55);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 132, 252, 0.32);
  text-decoration: none;
  color: var(--ink);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.dl-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 114, 182, 0.6);
  background: rgba(31, 19, 56, 0.75);
}

.dl-icon {
  font-size: 32px;
  line-height: 1;
}

.dl-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-body strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.dl-body span {
  font-size: 12.5px;
  color: var(--ink-dim);
  font-weight: 600;
}

.dl-cta {
  color: var(--pink-light);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.2px;
}

.install-note {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(10, 6, 18, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.install-note summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 4px 0;
}

.install-note summary::before {
  content: '⌃';
  display: inline-block;
  margin-right: 8px;
  color: var(--pink-light);
  transition: transform 0.2s ease;
}

.install-note[open] summary::before {
  transform: rotate(180deg);
}

.install-note ol {
  margin: 14px 0 4px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 500;
}

.install-note li + li {
  margin-top: 6px;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 32px 40px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  background: rgba(10, 6, 18, 0.6);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-brand .brand-word {
  font-size: 20px;
}

.footer-brand p {
  color: var(--ink-dim);
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 500;
  margin-top: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 70px 20px 90px;
  }

  .hero-orb {
    width: 240px;
    height: 240px;
  }

  .features,
  .why,
  .download {
    padding: 70px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-card {
    padding: 36px 22px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-word {
    font-size: 19px;
  }

  .btn {
    padding: 11px 18px;
    font-size: 13.5px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
  }
}

/* ---------- ALSO AVAILABLE (secondary Wear OS) ---------- */
.also {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed rgba(168, 85, 247, 0.28);
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.also-label {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

/* Wear OS tile — visually smaller + less saturated than the primary
   download tiles so it doesn't compete for attention but still reads
   as a Mood8 surface. */
.wear-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(10, 6, 18, 0.45);
  border-radius: var(--radius);
  border: 1px solid rgba(192, 132, 252, 0.22);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.wear-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(31, 19, 56, 0.7);
}

.wear-icon {
  font-size: 22px;
  line-height: 1;
}

.wear-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wear-body strong {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.wear-body > span {
  font-size: 11.5px;
  color: var(--ink-dim);
  font-weight: 600;
}

.wear-cta {
  color: var(--purple-light);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.install-note-wear {
  margin-top: 12px;
}

.install-note .install-warn {
  margin: 8px 0;
  padding: 8px 10px;
  background: rgba(244, 114, 182, 0.10);
  border-left: 2px solid var(--pink-light);
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 600;
}

.install-note .code {
  display: inline-block;
  margin: 4px 0;
  padding: 3px 8px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 6px;
  color: var(--ink);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: -0.1px;
}

.install-note em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
