/* Harmoni — Horizontal Cinema
   Full-viewport film frames · smooth lateral storytelling
*/

:root {
  --ink: #041510;
  --ink-soft: #12352c;
  --muted: #4a6a62;
  --foam: #f3fbf8;
  --paper: #e8f6f0;
  --jade: #12b89a;
  --jade-bright: #3ee0c4;
  --jade-deep: #0a7a68;
  --coral: #ff6b45;
  --amber: #f0b429;
  --line: rgba(4, 21, 16, 0.1);
  --font-fa: "Markazi Text", "Vazirmatn", serif;
  --font-en: "Cormorant Garamond", "Markazi Text", serif;
  --font-body: "Vazirmatn", Tahoma, sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 16px;
  --mx: 70%;
  --my: 40%;
  --scenes: 5;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --header-h: 4.75rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --header-total: calc(var(--header-h) + var(--safe-top));
  --scene-pad-top: calc(var(--header-total) + 2.5rem);
  --scene-pad-bottom: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body.home {
  font-family: var(--font-body);
  color: var(--ink);
  background: #03140f;
  line-height: 1.85;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  width: 100%;
}

body.home.has-cursor,
body.home.has-cursor a,
body.home.has-cursor button { cursor: none; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

.home-wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Atmosphere */
.home-noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-vignette {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.7;
}

.home-grid {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* Cursor */
.home-cursor,
.home-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.home-cursor {
  width: 7px;
  height: 7px;
  background: #fff;
  mix-blend-mode: difference;
}

.home-cursor-ring {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.35s, background 0.35s;
}

body.home.has-cursor .home-cursor,
body.home.has-cursor .home-cursor-ring { opacity: 1; }

body.home.cursor-hover .home-cursor-ring {
  width: 72px;
  height: 72px;
  border-color: var(--coral);
  background: rgba(255, 107, 69, 0.1);
}

/* Header — glass; scenes clear it via --header-total / --scene-pad-top */
.home-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  height: var(--header-total);
  padding-top: var(--safe-top);
  background: rgba(3, 20, 15, 0.82);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.25rem;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.home-logo-text {
  font-family: var(--font-fa);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.home-nav-links > a:not(.home-nav-cta) {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s;
  position: relative;
}

.home-nav-links > a:not(.home-nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transition: width 0.4s var(--ease);
}

.home-nav-links > a:not(.home-nav-cta):hover { color: #fff; }
.home-nav-links > a:not(.home-nav-cta):hover::after { width: 100%; }

.home-nav-cta {
  padding: 0.65rem 1.2rem;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--jade-bright), var(--jade-deep));
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.4s var(--ease), filter 0.35s;
}

.home-nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
}

.home-menu-btn {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.home-menu-btn span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

/* ——— Cinema shell ——— */
.cinema {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  direction: ltr; /* film always travels left ← right, regardless of page RTL */
}

.cinema-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: row;
  height: 100%;
  /* 5× cinema width; each scene = 1/5 of the track (= one viewport) */
  width: calc(var(--scenes) * 100%);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.scene {
  position: relative;
  flex: 0 0 calc(100% / var(--scenes));
  width: calc(100% / var(--scenes));
  max-width: calc(100% / var(--scenes));
  height: 100%;
  overflow: hidden;
  opacity: calc(1 - (var(--dist, 0) * 0.22));
  will-change: opacity;
}

.scene.is-active {
  opacity: 1;
}

.scene-depth {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.depth-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(62, 224, 196, 0.18);
  animation: ring-spin 28s linear infinite;
}

.depth-ring.r1 { width: min(70vw, 560px); height: min(70vw, 560px); }
.depth-ring.r2 {
  width: min(90vw, 760px);
  height: min(90vw, 760px);
  border-color: rgba(255, 107, 69, 0.12);
  animation-duration: 40s;
  animation-direction: reverse;
}
.depth-ring.r3 {
  width: min(110vw, 980px);
  height: min(110vw, 980px);
  border-color: rgba(240, 180, 41, 0.1);
  animation-duration: 55s;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.scene-index {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(62, 224, 196, 0.7);
  margin-bottom: 1.1rem;
  opacity: 0;
}

.scene-index-center { text-align: center; }

.scene.is-active .scene-index {
  animation: rise 0.8s var(--ease) 0.05s forwards;
}

.scene.has-shown:not(.is-active) .scene-index {
  opacity: 1;
  transform: none;
  animation: none;
}

.scene-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(62, 224, 196, 0.08), transparent 25%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
  pointer-events: none;
}

.scene-about-bg,
.scene-topics-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scene-about-bg {
  background:
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(62, 224, 196, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255, 107, 69, 0.1), transparent 50%),
    linear-gradient(135deg, #03140f, #0a2e26 60%, #062018);
}

.scene-topics-bg {
  background:
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(255, 107, 69, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 15%, rgba(62, 224, 196, 0.1), transparent 50%),
    linear-gradient(200deg, #03140f, #0b3530);
}

[data-parallax-content] {
  transform: translate3d(calc(var(--shift, 0) * 1px), 0, 0);
  will-change: transform;
}

.scene-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(3, 20, 15, 0.8) 0%, rgba(3, 20, 15, 0.4) 40%, transparent 72%),
    linear-gradient(180deg, rgba(3, 20, 15, 0.4) 0%, transparent 25%, transparent 70%, rgba(3, 20, 15, 0.45) 100%);
}

.scene-shade-soft {
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(3, 20, 15, 0.25), rgba(3, 20, 15, 0.65));
}

.scene-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 80% 30%, rgba(62, 224, 196, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(255, 107, 69, 0.14), transparent 50%),
    linear-gradient(160deg, #03140f 0%, #062820 50%, #0a3d32 100%);
}

.scene-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  padding: var(--scene-pad-top) 0 var(--scene-pad-bottom);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.scene-inner-hero {
  max-width: 900px;
  width: min(100% - 2.5rem, 900px);
  margin-inline: auto;
}

.scene-inner-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.scene-inner-center {
  align-items: center;
  text-align: center;
}

/* HUD — progress sits on the header bottom edge (never over content) */
.cinema-hud {
  position: fixed;
  top: var(--header-total);
  left: 0;
  right: 0;
  z-index: 121;
  pointer-events: none;
}

.cinema-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.cinema-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--jade-bright));
  transform-origin: left center;
}

.cinema-counter {
  position: fixed;
  z-index: 110;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(3, 20, 15, 0.62);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  direction: ltr;
}

.cinema-counter span[data-scene-now] {
  color: var(--jade-bright);
  font-size: 1.05rem;
}

.cinema-counter em {
  font-style: normal;
  opacity: 0.4;
  margin: 0 0.05rem;
}

.cinema-caption {
  position: static;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
  margin-inline-end: 0.2rem;
  max-width: 5.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cinema-dots {
  position: fixed;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cinema-dots button {
  position: relative;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cinema-dots button i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.45s var(--ease), background 0.35s, height 0.45s var(--ease), border-radius 0.45s;
}

.cinema-dots button.is-active i {
  background: var(--jade-bright);
  height: 26px;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(62, 224, 196, 0.45);
}

.cinema-dots button::after {
  content: attr(data-label);
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-size: 0.72rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
}

.cinema-dots button:hover::after,
.cinema-dots button.is-active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cinema-dots button:hover i { background: rgba(255, 255, 255, 0.6); }

.cinema-hint {
  position: fixed;
  bottom: 1.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  pointer-events: none;
  transition: opacity 0.6s;
}

.cinema-hint.is-hidden { opacity: 0; }

.cinema-hint i {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--jade-bright), transparent);
  animation: hint-slide 1.6s var(--ease) infinite;
}

@keyframes hint-slide {
  0% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.4); opacity: 0.4; }
}

/* ——— Hero content ——— */
.home-brand {
  font-family: var(--font-fa);
  font-size: clamp(4.2rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.055em;
  margin-bottom: 0.45rem;
  opacity: 0;
  transform: translateY(50px);
  color: #f3fbf8;
  background: linear-gradient(115deg, #fff 8%, #a8ffe8 32%, #3ee0c4 48%, #f0b429 72%, #ff6b45 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 50px rgba(62, 224, 196, 0.3));
}

.scene.is-active .home-brand {
  animation:
    rise 1.3s var(--ease) 0.15s both,
    brand-shimmer 7s ease-in-out 1.5s infinite alternate;
}

.scene.has-shown:not(.is-active) .home-brand {
  opacity: 1;
  transform: none;
  animation: brand-shimmer 7s ease-in-out infinite alternate;
}

@keyframes brand-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.home-brand-en {
  font-family: var(--font-en);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.scene.is-active .home-brand-en { animation: rise 1s var(--ease) 0.4s both; }
.scene.has-shown:not(.is-active) .home-brand-en { opacity: 1; transform: none; }

.scene-hero h1 {
  font-family: var(--font-fa);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  max-width: 15ch;
  margin-bottom: 1rem;
  opacity: 0;
}

.scene-hero.is-active h1 { animation: rise 1s var(--ease) 0.55s both; }
.scene-hero.has-shown:not(.is-active) h1 { opacity: 1; transform: none; }

.home-lead {
  font-size: 1.05rem;
  color: rgba(232, 246, 240, 0.7);
  max-width: 34rem;
  margin-bottom: 2rem;
  opacity: 0;
}

.scene.is-active .home-lead { animation: rise 1s var(--ease) 0.7s both; }
.scene.has-shown:not(.is-active) .home-lead { opacity: 1; transform: none; }

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
}

.home-actions-center { justify-content: center; }

.scene.is-active .home-actions { animation: rise 1s var(--ease) 0.85s both; }
.scene.has-shown:not(.is-active) .home-actions { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--r);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.35s, border-color 0.35s, color 0.35s;
  will-change: transform;
  cursor: pointer;
}

.home-btn span { position: relative; z-index: 1; }
.home-btn:hover { transform: translateY(-3px); }

.home-btn-solid {
  background: linear-gradient(135deg, var(--jade-bright), var(--jade-deep));
  color: #fff;
  box-shadow:
    0 12px 40px rgba(18, 184, 154, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.home-btn-ghost-light {
  background: var(--glass);
  color: #fff;
  border-color: var(--glass-border);
  backdrop-filter: blur(14px);
}

.home-btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--coral), var(--amber), var(--jade-deep));
  opacity: 0;
  transition: opacity 0.45s;
}

.home-btn-solid:hover::before { opacity: 1; }

.home-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.home-btn-light {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.home-btn-light:hover { background: var(--amber); }

.home-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.home-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Shared scene type */
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--jade-bright);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.home-eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  border-radius: 2px;
}

.home-eyebrow-light { color: var(--amber); }

.scene.has-shown:not(.is-active) .home-eyebrow,
.scene.has-shown:not(.is-active) .scene-title,
.scene.has-shown:not(.is-active) .scene-desc,
.scene.has-shown:not(.is-active) .scene-copy h2,
.scene.has-shown:not(.is-active) .home-product-list li,
.scene.has-shown:not(.is-active) .home-mock,
.scene.has-shown:not(.is-active) .home-man,
.scene.has-shown:not(.is-active) .home-topic-rows a {
  opacity: 1;
  transform: none;
  animation: none;
}

.scene-title {
  font-family: var(--font-fa);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
}

.scene-title-light { color: #f3fbf8; }

.scene.is-active .scene-title {
  animation: rise 1s var(--ease) 0.2s forwards;
}

.scene-desc {
  color: rgba(232, 246, 240, 0.68);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(24px);
}

.scene-desc-wide { max-width: 42rem; }
.scene-desc-light { margin-inline: auto; opacity: 0; }

.scene.is-active .scene-desc {
  animation: rise 1s var(--ease) 0.32s forwards;
}

.scene-copy h2 {
  font-family: var(--font-fa);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #fff 30%, var(--jade-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
}

.scene-copy h2 span {
  font-family: var(--font-en);
  font-size: 0.38em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-right: 0.45rem;
  vertical-align: middle;
  -webkit-text-fill-color: rgba(232, 246, 240, 0.5);
}

.scene.is-active .scene-copy h2 {
  animation: rise 1s var(--ease) 0.2s forwards;
}

/* Product list */
.home-product-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.home-product-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(28px);
  transition: background 0.35s, border-color 0.35s, transform 0.4s var(--ease);
}

.scene.is-active .home-product-list li {
  animation: list-in 0.65s var(--ease) forwards;
}

.scene.is-active .home-product-list li:nth-child(1) { animation-delay: 0.35s; }
.scene.is-active .home-product-list li:nth-child(2) { animation-delay: 0.45s; }
.scene.is-active .home-product-list li:nth-child(3) { animation-delay: 0.55s; }
.scene.is-active .home-product-list li:nth-child(4) { animation-delay: 0.65s; }

@keyframes list-in {
  to { opacity: 1; transform: translateX(0); }
}

.home-product-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(62, 224, 196, 0.3);
  transform: translateX(-6px);
}

.home-product-list b {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--amber);
}

.home-product-list span {
  color: rgba(232, 246, 240, 0.88);
  font-size: 0.96rem;
}

/* Mock */
.home-mock {
  position: relative;
  perspective: 1600px;
  opacity: 0;
  transform: translateX(-40px) scale(0.96);
}

.scene.is-active .home-mock {
  animation: mock-in 1.1s var(--ease) 0.35s forwards;
}

@keyframes mock-in {
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.home-mock-aura {
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse at center, rgba(62, 224, 196, 0.4), rgba(255, 107, 69, 0.12), transparent 68%);
  filter: blur(36px);
  animation: aura-pulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aura-pulse {
  from { opacity: 0.5; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

.home-mock-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #041510;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotateY(-8deg) rotateX(6deg);
  transition: transform 0.12s linear;
  animation: mock-float 7s ease-in-out infinite alternate;
  will-change: transform;
}

.home-mock.is-tilting .home-mock-frame { animation: none; }

@keyframes mock-float {
  from { transform: rotateY(-8deg) rotateX(6deg) translateY(0); }
  to { transform: rotateY(-8deg) rotateX(6deg) translateY(-14px); }
}

.home-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1rem;
  background: #062820;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-mock-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.home-mock-bar > span:nth-child(1) { background: #ff6b45; }
.home-mock-bar > span:nth-child(2) { background: #f0b429; }
.home-mock-bar > span:nth-child(3) { background: #3ee0c4; }

.home-mock-url {
  margin-right: auto;
  margin-left: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.home-mock-url em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8fff0;
}

.home-mock-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 300px;
}

.home-mock-side {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.15rem 0.9rem;
  background: #05241e;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.home-mock-side i {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.home-mock-side i:first-child {
  height: 12px;
  background: linear-gradient(90deg, var(--jade-bright), transparent);
}

.home-mock-main {
  padding: 1.2rem;
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(62, 224, 196, 0.25), transparent 55%),
    #041510;
}

.home-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.home-mock-head b {
  display: block;
  width: 42%;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.home-mock-head s {
  display: block;
  width: 24%;
  height: 26px;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--jade-bright), var(--jade-deep));
}

.home-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.home-mock-stats > div {
  padding: 0.8rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-mock-stats u {
  display: block;
  width: 55%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 0.55rem;
  text-decoration: none;
}

.home-mock-stats i {
  display: block;
  width: 38%;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
}

.home-mock-chart {
  height: 92px;
  margin-bottom: 1rem;
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-mock-chart svg { width: 100%; height: 100%; }

.home-mock-chart .mock-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.scene.is-active .mock-line {
  animation: chart-draw 1.8s var(--ease) 0.6s forwards;
}

.home-mock-chart .mock-fill { opacity: 0; }

.scene.is-active .mock-fill {
  animation: fade-in 0.9s ease 1.7s forwards;
}

@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.home-mock-rows { display: grid; gap: 0.45rem; }

.home-mock-rows div {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

/* About manifesto — glass panels */
.scene-about {
  background: #03140f;
}

.home-manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.home-man {
  padding: 1.6rem 1.35rem;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}

.scene.is-active .home-man {
  animation: rise 0.9s var(--ease) forwards;
}

.scene.is-active .home-man:nth-child(1) { animation-delay: 0.4s; }
.scene.is-active .home-man:nth-child(2) { animation-delay: 0.55s; }
.scene.is-active .home-man:nth-child(3) { animation-delay: 0.7s; }

.home-man:hover {
  transform: translateY(-8px);
  border-color: rgba(62, 224, 196, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.home-man-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.9;
  margin-bottom: 0.85rem;
  background: linear-gradient(160deg, rgba(62, 224, 196, 0.5), rgba(255, 107, 69, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-man h3 {
  font-family: var(--font-fa);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

.home-man p {
  color: rgba(232, 246, 240, 0.62);
  font-size: 0.95rem;
}

/* Topics */
.scene-topics {
  background: #03140f;
}

.home-topic-rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  max-width: 820px;
}

.home-topic-rows a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateX(30px);
  position: relative;
  transition: border-color 0.35s, background 0.35s, transform 0.4s var(--ease);
}

.scene.is-active .home-topic-rows a {
  animation: list-in 0.6s var(--ease) forwards;
}

.scene.is-active .home-topic-rows a:nth-child(1) { animation-delay: 0.35s; }
.scene.is-active .home-topic-rows a:nth-child(2) { animation-delay: 0.42s; }
.scene.is-active .home-topic-rows a:nth-child(3) { animation-delay: 0.49s; }
.scene.is-active .home-topic-rows a:nth-child(4) { animation-delay: 0.56s; }
.scene.is-active .home-topic-rows a:nth-child(5) { animation-delay: 0.63s; }
.scene.is-active .home-topic-rows a:nth-child(6) { animation-delay: 0.7s; }

.home-topic-rows a::before { display: none; }

.home-topic-rows a:hover {
  border-color: rgba(62, 224, 196, 0.3);
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(-6px);
}

.home-topic-rows a span {
  font-family: var(--font-fa);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #fff;
  transition: color 0.3s, transform 0.35s;
}

.home-topic-rows a em {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(232, 246, 240, 0.45);
  transition: color 0.3s, transform 0.35s;
}

.home-topic-rows a:hover span {
  color: var(--jade-bright);
  transform: translateX(-6px);
}

.home-topic-rows a:hover em {
  color: var(--coral);
  transform: translateX(-8px);
}

/* Contact finale */
.scene-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(232, 246, 240, 0.45);
}

.scene-footer a:hover { color: var(--jade-bright); }

/* Responsive — see home-responsive.css (loaded after this file) */
/* Legacy block removed; mobile rules live in home-responsive.css */

:focus-visible {
  outline: 2px solid var(--jade-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .scene {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  [data-parallax-content] {
    transform: none !important;
  }

  .home-brand,
  .home-brand-en,
  .scene-hero h1,
  .home-lead,
  .home-actions,
  .home-eyebrow,
  .scene-title,
  .scene-desc,
  .scene-copy h2,
  .home-product-list li,
  .home-mock,
  .home-man,
  .home-topic-rows a,
  .scene-index {
    opacity: 1 !important;
    transform: none !important;
  }

  body.home.has-cursor,
  body.home.has-cursor a,
  body.home.has-cursor button { cursor: auto; }

  .home-cursor,
  .home-cursor-ring { display: none; }
}

@media (pointer: coarse) {
  body.home.has-cursor,
  body.home.has-cursor a,
  body.home.has-cursor button { cursor: auto; }

  .home-cursor,
  .home-cursor-ring { display: none; }
}
