/* PZIMI home landing — aligned with app (violet + light surfaces) */
:root {
  --cream: #fafafc;
  --cream-deep: #f5f5f7;
  --cream-soft: #ffffff;
  --ink: #111118;
  --ink-soft: #3d3d48;
  --muted: #8e8e9a;
  --line: rgba(17, 17, 24, 0.08);
  --gold: #7c3aed;
  --gold-deep: #6d28d9;
  --accent: #7c3aed;
  --accent-bright: #a78bfa;
  --accent-pink: #ec4899;
  --surface: rgba(255, 255, 255, 0.92);
  --shadow: 0 28px 60px rgba(124, 58, 237, 0.12);
  --shadow-soft: 0 14px 36px rgba(124, 58, 237, 0.08);
  --display: "Nunito", system-ui, sans-serif;
  --sans: "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.home {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
strong { font-weight: 700; color: var(--ink-soft); }

/* Atmosphere */
.home-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(700px 420px at 92% 8%, rgba(236, 72, 153, 0.1), transparent 55%),
    radial-gradient(800px 500px at 50% 100%, rgba(245, 245, 247, 0.95), transparent 50%),
    linear-gradient(180deg, var(--cream-soft), var(--cream) 40%, var(--cream-deep));
  animation: ambientShift 18s ease-in-out infinite alternate;
}
@keyframes ambientShift {
  from { filter: hue-rotate(0deg) brightness(1); }
  to { filter: hue-rotate(6deg) brightness(1.02); }
}
.home-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.home > *:not(.home-atmosphere) { position: relative; z-index: 1; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Nav */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(250, 250, 252, 0.88);
  border-bottom: 1px solid var(--line);
}
.home-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand .brand-word .z,
.hero-brand-name .z,
.brand-word .z {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: #fafafc;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.84rem;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
  transition: background 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover {
  background: var(--gold-deep) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hero */
.hero-pro {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  perspective: 1400px;
}
.hero-pro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45);
  animation: calmPulse 2.8s ease-out infinite;
}
@keyframes calmPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
.hero-brand-name {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.hero-pro h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-soft);
  max-width: 18ch;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 1.6rem;
}
.hero-lead strong { color: var(--ink-soft); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-pink));
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}
.btn-primary:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 252, 247, 0.7); }

/* Store badges — Coming soon as caption below, no overlay ribbon */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: stretch;
}
.store-row-center { justify-content: center; }
.store-badge {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 168px;
  max-width: 200px;
}
.store-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.store-badge.is-soon .store-badge-inner {
  opacity: 0.72;
  background: #2a2621;
  cursor: default;
  user-select: none;
}
.store-badge svg { flex-shrink: 0; }
.store-badge small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.store-badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.store-soon-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(184, 134, 11, 0.14);
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1.2;
}
.hero-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

/* 3D stage */
.hero-stage {
  position: relative;
  min-height: 480px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  animation: stageIn 1.1s var(--ease-out) both;
}
@keyframes stageIn {
  from { opacity: 0; transform: translateY(28px) rotateX(8deg); }
  to { opacity: 1; transform: none; }
}

.phone-3d {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(-4deg);
  transform-style: preserve-3d;
  animation: phoneFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 50px rgba(40, 28, 12, 0.28));
}
@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-18deg) rotateX(8deg) rotateZ(-4deg) translateY(0); }
  50% { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-2deg) translateY(-14px); }
}
.phone-3d img {
  width: 100%;
  border-radius: 36px;
  border: 3px solid rgba(255, 252, 247, 0.85);
}

.float-card {
  position: absolute;
  width: min(46%, 200px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease;
}
.float-card:hover { box-shadow: 0 32px 64px rgba(40, 28, 12, 0.2); }
.float-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.float-card .cap {
  padding: 0.75rem 0.85rem 0.9rem;
}
.float-card .cap strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  margin-bottom: 0.15rem;
  color: var(--ink);
}
.float-card .cap span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 560;
}
.float-creator {
  top: 8%;
  left: -4%;
  transform: rotateY(22deg) rotateZ(-6deg);
  animation: cardA 6.5s ease-in-out infinite;
}
.float-fans {
  top: 18%;
  right: -6%;
  transform: rotateY(-24deg) rotateZ(5deg);
  animation: cardB 7.5s ease-in-out infinite;
}
.float-money {
  bottom: 4%;
  left: 8%;
  transform: rotateY(16deg) rotateX(6deg);
  animation: cardC 8s ease-in-out infinite;
}
@keyframes cardA {
  0%, 100% { transform: rotateY(22deg) rotateZ(-6deg) translateY(0); }
  50% { transform: rotateY(18deg) rotateZ(-4deg) translateY(-10px); }
}
@keyframes cardB {
  0%, 100% { transform: rotateY(-24deg) rotateZ(5deg) translateY(0); }
  50% { transform: rotateY(-20deg) rotateZ(3deg) translateY(12px); }
}
@keyframes cardC {
  0%, 100% { transform: rotateY(16deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(12deg) rotateX(4deg) translateY(-8px); }
}

/* Mosaic */
.mosaic {
  padding: 1rem 0 4rem;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
}
.mosaic-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.mosaic-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow);
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(28, 25, 20, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Sections */
.section-pro {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.section-pro h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feature-grid article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.feature-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-grid .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff8ea, #e8dfd0);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 16px rgba(40,28,12,0.08);
}
.feature-grid h3 {
  font-size: 1.08rem;
  font-weight: 750;
  margin-bottom: 0.4rem;
}
.feature-grid p {
  color: var(--muted);
  font-size: 0.94rem;
}

.split-pro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.split-pro-reverse { direction: rtl; }
.split-pro-reverse > * { direction: ltr; }
.split-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out);
}
.split-visual:hover { transform: rotateY(-2deg) rotateX(0) translateY(-4px); }
.split-pro-reverse .split-visual {
  transform: rotateY(6deg) rotateX(2deg);
}
.split-pro-reverse .split-visual:hover {
  transform: rotateY(2deg) rotateX(0) translateY(-4px);
}
.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.split-visual .badge-3d {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 252, 247, 0.92);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-soft);
  transform: translateZ(40px);
}
.split-visual .badge-3d strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--display);
  color: var(--ink);
}
.split-visual .badge-3d span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-weight: 560;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.15);
  flex-shrink: 0;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.steps-grid article {
  padding: 1.5rem 1.35rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.steps-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.steps-grid h3 {
  font-size: 1.1rem;
  font-weight: 750;
  margin-bottom: 0.4rem;
}
.steps-grid p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Trust */
.trust-pro {
  padding-top: 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-grid article {
  padding: 1.25rem 1.15rem;
  border-top: 2px solid rgba(184, 134, 11, 0.35);
}
.trust-grid h3 {
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 0.4rem;
}
.trust-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Download */
.download-pro {
  padding: clamp(3rem, 7vw, 5rem) 0 4rem;
}
.download-panel {
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(145deg, rgba(255,252,247,0.95), rgba(235,227,214,0.9)),
    var(--cream-deep);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.2), transparent 70%);
  top: -80px;
  right: -60px;
  animation: glowDrift 10s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translate(0, 0); opacity: 0.85; }
  to { transform: translate(-24px, 18px); opacity: 1; }
}
.download-panel > * { position: relative; }
.download-panel img.logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-soft);
}
.download-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.download-panel > p {
  color: var(--muted);
  margin-bottom: 1.4rem;
  max-width: 42ch;
  margin-inline: auto;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}
.fine {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

/* Footer */
.home-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: rgba(235, 227, 214, 0.45);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 34ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

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

@media (max-width: 900px) {
  .hero-pro-grid,
  .split-pro,
  .mosaic-grid {
    grid-template-columns: 1fr;
  }
  .split-pro-reverse { direction: ltr; }
  .mosaic-grid { grid-template-rows: 220px 200px 200px; }
  .mosaic-item.tall { grid-row: auto; min-height: 240px; }
  .hero-stage { min-height: 420px; margin-top: 1rem; }
  .phone-3d {
    width: min(58%, 230px);
    transform: rotateY(-10deg) rotateX(4deg);
  }
  .float-creator { left: 0; width: 42%; }
  .float-fans { right: 0; width: 42%; }
  .float-money { left: 50%; transform: translateX(-50%) rotateY(0); width: 48%; }
  .nav-links a:not(.nav-cta) { display: none; }
  .split-visual,
  .split-pro-reverse .split-visual {
    transform: none;
  }
  .split-visual:hover,
  .split-pro-reverse .split-visual:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .store-badge {
    min-width: 148px;
    flex: 1 1 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-3d,
  .float-creator,
  .float-fans,
  .float-money,
  .hero-stage,
  .home-atmosphere,
  .pulse-dot,
  .download-panel::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
