/* MoodMatch marketing — premium design system */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;

  --ink: #0c1220;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: rgba(12, 18, 32, 0.08);
  --line-strong: rgba(12, 18, 32, 0.12);

  --surface: #ffffff;
  --surface-warm: #faf9f6;
  --surface-muted: #f4f2ed;
  --surface-dark: #0a1210;

  --accent1: #00534c;
  --accent-mid: #00906f;
  --accent2: #00bd88;
  --accent-glow: rgba(0, 189, 136, 0.35);
  --cta-fg: #f5fffb;

  --gradient-brand: linear-gradient(90deg, var(--accent1), var(--accent-mid), var(--accent2));
  --gradient-hero: radial-gradient(ellipse 90% 70% at 50% -20%, rgba(0, 189, 136, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(0, 83, 76, 0.08), transparent 50%),
    linear-gradient(180deg, #faf9f6 0%, #f7f5f2 40%, #ffffff 100%);

  --shadow-sm: 0 1px 2px rgba(12, 18, 32, 0.04);
  --shadow-md: 0 12px 40px rgba(12, 18, 32, 0.08);
  --shadow-lg: 0 24px 64px rgba(12, 18, 32, 0.12);
  --shadow-glow: 0 20px 50px rgba(0, 144, 111, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --header-h: 72px;
  --container: min(1120px, 100% - 48px);
  --section-pad: clamp(48px, 6vw, 88px);

  /* Image scale — supporting visuals, never dominant */
  --img-phone: 200px;
  --img-phone-hero: 236px;
  --img-card: 180px;
  --img-card-sm: 130px;
  --img-thumb-h: 96px;
  --img-photo: 240px;
  --device-tilt-y: -10deg;
  --device-tilt-x: 4deg;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gradient-hero);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.site-shell { overflow-x: clip; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
  margin-bottom: 8px;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}

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

.brand-logo {
  height: 40px;
  width: 40px;
  border-radius: 11px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav > a,
.nav-dropdown-toggle {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav > a:hover,
.nav > a.is-active,
.nav-dropdown-toggle:hover {
  color: var(--accent1);
}

.nav-chevron { font-size: 0.6rem; opacity: 0.7; }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(0, 83, 76, 0.06);
  color: var(--accent1);
}

.top-actions { margin-left: auto; flex-shrink: 0; }

.btn-nav {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cta-fg);
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 24px 48px rgba(0, 144, 111, 0.28);
}

/* ─── Hero ─── */
.hero {
  padding: clamp(48px, 8vw, 88px) 24px clamp(64px, 10vw, 100px);
  position: relative;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gradient-brand);
}

.hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.25rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 11ch;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 440px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-lead strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 15px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: var(--cta-fg);
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px rgba(0, 144, 111, 0.25);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

/* Home hero — flagship inclined phone */
.hero .device-mockup {
  width: min(var(--img-phone-hero), 56vw);
  max-width: var(--img-phone-hero);
}

.hero .device-mockup-glow {
  inset: 5% -30% -20%;
  background: radial-gradient(ellipse 70% 60% at 48% 55%, rgba(0, 189, 136, 0.22), transparent 68%);
}

.hero .device-mockup-stage {
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(-1.5deg);
}

.hero .device-mockup-frame {
  border-radius: 32px;
  padding: 9px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 32px 64px rgba(8, 16, 14, 0.45),
    0 0 96px rgba(0, 189, 136, 0.14);
}

.hero .device-mockup-frame::before {
  top: 14px;
  width: 80px;
  height: 6px;
}

.hero .hero-phone-frame img {
  border-radius: 24px;
  max-height: none;
  height: auto;
  aspect-ratio: 369 / 800;
  object-fit: cover;
  object-position: top center;
}

.hero .device-mockup-floor {
  bottom: -4px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 189, 136, 0.28), transparent 70%);
}

/* Stylish inclined phone mockup — shared across pages */
.device-mockup {
  position: relative;
  width: min(var(--img-phone), 52vw);
  max-width: var(--img-phone);
  perspective: 960px;
}

.device-mockup-glow {
  position: absolute;
  inset: 10% -20% -25%;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(0, 189, 136, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(16px);
}

.device-mockup-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -6px;
  height: 22px;
  background: radial-gradient(ellipse, rgba(0, 189, 136, 0.18), transparent 72%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.device-mockup-stage {
  position: relative;
  z-index: 1;
  transform: rotateY(var(--device-tilt-y)) rotateX(var(--device-tilt-x));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.device-mockup:hover .device-mockup-stage {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-5px);
}

.hero-visual:hover .device-mockup-stage {
  transform: rotateY(-6deg) rotateX(3deg) rotateZ(0deg) translateY(-8px);
}

.device-mockup-frame,
.hero-phone-frame,
.discover-phone-frame,
.events-phone-frame,
.feature-phone-frame {
  position: relative;
  background: linear-gradient(165deg, #232d2b 0%, #121918 45%, #0a0f0e 100%);
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 22px 44px rgba(8, 16, 14, 0.42),
    0 0 72px rgba(0, 189, 136, 0.1);
}

.device-mockup-frame::before,
.hero-phone-frame::before,
.discover-phone-frame::before,
.events-phone-frame::before,
.feature-phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 3;
  pointer-events: none;
}

.device-mockup-frame img,
.hero-phone-frame img,
.discover-phone-frame img,
.events-phone-frame img,
.feature-phone-frame img {
  display: block;
  border-radius: 20px;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
}

.hero-phone {
  position: relative;
  filter: none;
}

.hero-glow {
  position: absolute;
  inset: 10% -10% -10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-stat-float {
  display: none;
}

/* ─── Sections ─── */
.section {
  padding: var(--section-pad) 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 14px;
}

.section-head {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.section-lead {
  max-width: 620px;
  margin: 0 0 40px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-lead b { color: var(--ink-soft); font-weight: 600; }

.section--alt {
  background: var(--surface-warm);
  border-block: 1px solid var(--line);
}

/* ─── Discover app showcase ─── */
.discover-showcase {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.discover-showcase-copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.discover-showcase-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.discover-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.discover-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.discover-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  margin-top: 7px;
  flex-shrink: 0;
}

.discover-phone {
  justify-self: end;
  width: var(--img-phone);
  max-width: var(--img-phone);
  perspective: 960px;
  filter: none;
}

.discover-phone-frame {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.discover-phone .device-mockup-stage {
  transform: rotateY(-8deg) rotateX(3deg);
}

.discover-showcase:hover .discover-phone .device-mockup-stage {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-4px);
}

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

/* ─── Events ─── */
.section--dark {
  background: linear-gradient(165deg, #0a1210 0%, #0f1a18 100%);
  color: var(--cta-fg);
  border-block: 1px solid rgba(0, 189, 136, 0.12);
}

.section--dark .section-label { color: #6ee7b7; }
.section--dark .section-head { color: var(--cta-fg); }
.section--dark .section-lead { color: rgba(245, 255, 251, 0.65); }

.events-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.events-phone {
  width: var(--img-phone);
  max-width: var(--img-phone);
  perspective: 960px;
  filter: none;
}

.events-phone-frame {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.events-phone .device-mockup-stage {
  transform: rotateY(8deg) rotateX(3deg);
}

.events-split:hover .events-phone .device-mockup-stage {
  transform: rotateY(3deg) rotateX(1deg) translateY(-4px);
}

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

.events-feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.events-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 189, 136, 0.35);
}

.events-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.events-feature span {
  font-size: 0.8rem;
  color: rgba(245, 255, 251, 0.55);
  line-height: 1.45;
}

/* ─── Share cards (Mood Card + Event Card) ─── */
.share-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 8px;
}

.share-card-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.share-card-panel--reverse {
  grid-template-columns: 1fr auto;
}

.share-card-panel--reverse .share-card-art {
  order: 2;
}

.share-card-panel--reverse .share-card-copy {
  order: 1;
}

.share-card-art {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

/* Floating digital-card stage */
.digital-card-float {
  position: relative;
  width: var(--img-card);
  max-width: var(--img-card);
  perspective: 800px;
}

.digital-card-float::before {
  content: '';
  position: absolute;
  inset: -20% -25% -30%;
  background: radial-gradient(ellipse 65% 55% at 50% 55%, rgba(0, 189, 136, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.digital-card-float::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -10px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0, 189, 136, 0.22), transparent 72%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.share-card-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: var(--img-card);
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
  background: transparent;
  box-shadow:
    0 14px 28px rgba(6, 12, 10, 0.38),
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 189, 136, 0.1);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.share-card-panel:hover .share-card-img,
.digital-card-float:hover .share-card-img {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 24px 48px rgba(6, 12, 10, 0.48),
    0 8px 20px rgba(0, 0, 0, 0.32),
    0 0 48px rgba(0, 189, 136, 0.1);
}

.share-card-img--tile {
  max-width: var(--img-card-sm);
  width: 100%;
  margin: 12px auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
  border-radius: 10px;
  transform: rotateY(-3deg);
  box-shadow:
    0 10px 20px rgba(6, 12, 10, 0.32),
    0 0 0 1px rgba(0, 189, 136, 0.08);
}

.home-feature-card--card {
  display: flex;
  flex-direction: column;
}

.home-feature-card--card .home-feature-card-media {
  background: linear-gradient(165deg, #0e1614, #080c0b);
}

.home-feature-card--card .share-card-img--tile {
  box-shadow: none;
  transform: none;
}

.home-feature-card--card:hover .share-card-img--tile {
  transform: none;
}

.home-feature-card--card:hover .share-card-img--tile {
  transform: rotateY(0deg) translateY(-3px);
}

.share-card-img--hub {
  max-width: 100px;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  transform: rotateY(-4deg);
  box-shadow: 0 8px 16px rgba(6, 12, 10, 0.3);
}

.features-hub-card--card .digital-card-float {
  width: 100px;
  max-width: 100px;
  margin: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.share-card-art img {
  width: 100%;
  border-radius: 14px;
  border: none;
}

.share-card-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.share-card-tagline {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand);
}

.share-card-copy > p:not(.share-card-tagline) {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.share-card-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0, 189, 136, 0.12);
  border: 1px solid rgba(0, 189, 136, 0.25);
}

.share-card-badge--event {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
}

/* Polished lifestyle & scene photography */
.media-polish {
  object-fit: cover;
  object-position: center 42%;
}

.media-polish--top {
  object-position: center 28%;
}

.media-polish--faces {
  object-position: center 35%;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0f0e;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  display: block;
}

/* ─── Social / Stories ─── */
.social-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.social-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.social-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 189, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.social-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.social-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.social-visual {
  width: min(var(--img-photo), 36vw);
  max-width: var(--img-photo);
}

.social-visual img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}

/* ─── 9 mood scenes grid ─── */
.mood-scenes-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mood-scene-tile {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-dark);
  aspect-ratio: 3 / 4;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mood-scene-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.mood-scene-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.mood-scene-tile.is-app img {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(165deg, #121a18, #0a0f0e);
  padding: 12px;
}

.mood-scene-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
}

.mood-scene-tile strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mood-scene-tile span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 3px;
  line-height: 1.35;
}

.mood-scene-tile.is-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

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

.mood-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.mood-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mood-card img {
  width: 100%;
  height: var(--img-thumb-h);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 38%;
}

.mood-card-body { padding: 18px 18px 20px; }

.mood-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 6px;
}

.mood-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mood-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── Stats ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
  border-color: rgba(0, 189, 136, 0.25);
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent1);
  margin-bottom: 8px;
  line-height: 1;
}

.stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ─── Visual scenes (bento) ─── */
.visual-scenes { margin-top: 0; }

.visual-scenes-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 189, 136, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 83, 76, 0.15), transparent 50%),
    linear-gradient(155deg, #0a1210 0%, #0f1a18 50%, #0d221c 100%);
  border: 1px solid rgba(0, 189, 136, 0.15);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 48px);
}

.visual-scenes-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.5fr;
  gap: 36px;
  align-items: center;
}

.visual-scenes-copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  color: var(--cta-fg);
  line-height: 1.12;
}

.visual-scenes-copy p {
  margin: 0 0 24px;
  color: rgba(245, 255, 251, 0.65);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 340px;
}

.visual-scenes-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.visual-scenes-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(0, 189, 136, 0.1);
  border: 1px solid rgba(0, 189, 136, 0.2);
}

.visual-scenes-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 14px;
  min-height: 520px;
  align-items: center;
  justify-items: center;
}

.visual-scene {
  margin: 0;
  width: 100%;
  max-width: 200px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotate(var(--tilt, 0deg));
}

.visual-scene:hover {
  transform: translateY(-10px) rotate(var(--tilt, 0deg)) scale(1.04);
  z-index: 5;
}

.visual-scene-frame {
  position: relative;
  background: linear-gradient(160deg, #1a2422, #0a0f0e);
  border-radius: 26px;
  padding: 7px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 189, 136, 0.06);
}

.visual-scene-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 27px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(0, 189, 136, 0.4), rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.visual-scene-frame::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.visual-scene-frame img {
  border-radius: 20px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.visual-scene-meta {
  margin-top: 12px;
  text-align: center;
}

.visual-scene-meta strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cta-fg);
}

.visual-scene-meta span {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  color: rgba(245, 255, 251, 0.5);
}

.visual-scene.is-hero {
  grid-column: 1 / span 5;
  grid-row: 1 / span 6;
  max-width: 240px;
  --tilt: -2deg;
}

.visual-scene.is-hero .visual-scene-frame {
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 189, 136, 0.12);
}

.visual-scene.scene-pulse { grid-column: 6 / span 3; grid-row: 1 / span 3; max-width: 170px; --tilt: 3deg; }
.visual-scene.scene-events { grid-column: 9 / span 4; grid-row: 1 / span 3; max-width: 175px; --tilt: -3deg; }
.visual-scene.scene-rooms { grid-column: 6 / span 4; grid-row: 4 / span 3; max-width: 180px; --tilt: -2deg; margin-top: 8px; }
.visual-scene.scene-chats { grid-column: 10 / span 3; grid-row: 4 / span 3; max-width: 165px; --tilt: 4deg; margin-top: 12px; }

/* ─── Community ─── */
.community-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.community-panel .section-lead { margin-bottom: 0; max-width: 560px; }

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.btn-secondary {
  color: var(--ink-soft);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

/* ─── Footer ─── */
.site-footer {
  background: #0c1218;
  color: #e2e8f0;
  margin-top: 0;
  font-size: 0.92rem;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.site-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.site-footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.site-footer-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-footer-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--cta-fg);
  background: var(--gradient-brand);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.site-footer-download:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.site-footer-download svg { width: 18px; height: 18px; }

.site-footer-col h3 {
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.45);
}

.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer-col a {
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-col a:hover { color: #fff; }

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.45);
  font-size: 0.85rem;
}

.site-footer-bottom-start {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }

.site-footer-legal a {
  color: rgba(226, 232, 240, 0.45);
  text-decoration: none;
}

.site-footer-legal a:hover { color: #fff; }

.site-footer-social {
  display: flex;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.site-footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.site-footer-social svg { width: 18px; height: 18px; }

.site-footer-lang {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(226, 232, 240, 0.8);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mood-card:hover, .visual-scene:hover, .btn-nav:hover, .btn-primary:hover { transform: none; }
  .share-card-panel:hover .share-card-img,
  .digital-card-float:hover .share-card-img { transform: none; }
  .device-mockup-stage,
  .hero-phone-frame,
  .discover-phone-frame,
  .events-phone-frame,
  .feature-phone-frame,
  .home-feature-card.is-app img { transform: none !important; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { max-width: none; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-visual { min-height: 280px; }
  .hero .device-mockup-stage { transform: rotateY(-8deg) rotateX(4deg); }
  .discover-showcase,
  .events-split,
  .social-split,
  .share-card-panel,
  .share-card-panel--reverse { grid-template-columns: 1fr; }
  .share-card-panel--reverse .share-card-art,
  .share-card-panel--reverse .share-card-copy { order: unset; }
  .discover-phone,
  .events-phone { margin: 0 auto; }
  .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .events-features { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: 1fr; }
  .mood-scenes-9 { grid-template-columns: repeat(2, 1fr); }
  .mood-scene-tile.is-wide { grid-column: span 2; }
  .community-panel { grid-template-columns: 1fr; }
  .community-actions { justify-content: flex-start; }
  .visual-scenes-layout { grid-template-columns: 1fr; }
  .site-footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .site-header { top: 8px; padding: 0 12px; }
  .site-header-inner {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    padding: 12px 16px;
  }
  .nav {
    order: 3;
    flex: 1 1 100%;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 4px;
  }
  .top-actions { order: 2; margin-left: auto; }
  .discover-grid { grid-template-columns: 1fr; }
  .mood-scenes-9 { grid-template-columns: 1fr; }
  .mood-scene-tile.is-wide { grid-column: auto; aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr; }
  .discover-grid { grid-template-columns: 1fr; }
  .visual-scenes-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    min-height: 0;
  }
  .visual-scene,
  .visual-scene.is-hero,
  .visual-scene.scene-pulse,
  .visual-scene.scene-events,
  .visual-scene.scene-rooms,
  .visual-scene.scene-chats {
    grid-column: auto;
    grid-row: auto;
    max-width: min(220px, 44vw);
    margin: 0;
    justify-self: center;
  }
  .visual-scene.is-hero { grid-column: 1 / -1; max-width: min(260px, 72vw); }
  .site-footer-top { grid-template-columns: 1fr; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer-social { justify-content: flex-start; flex: none; width: 100%; }
  .hero-stat-float { display: none; }
}

@media (max-width: 520px) {
  .visual-scenes-bento {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .visual-scene,
  .visual-scene.is-hero {
    max-width: min(280px, 88vw);
    --tilt: 0deg !important;
  }
}
