/* A product stage for MoroView's real interface captures. */
.home-hero { position: relative; isolation: isolate; overflow: clip; padding-block: calc(var(--header-h) + 84px) 66px; background: var(--night); }
.home-hero::before { content: ''; position: absolute; z-index: -1; inset-block-start: 110px; inset-inline-end: -180px; width: 760px; height: 560px; background: url('/assets/img/brand/symbole-fond-sombre.svg') center / contain no-repeat; opacity: .055; pointer-events: none; }
.home-hero-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.35fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.home-hero-copy { position: relative; padding-bottom: 40px; }
.home-hero-availability { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .8125rem; margin-bottom: 26px; }
.home-hero-availability::before { content: ''; width: 7px; height: 7px; background: var(--success-text); border-radius: 50%; box-shadow: 0 0 0 4px rgba(126, 226, 160, .08); }
.home-hero h1 { font-size: clamp(3.25rem, 5.1vw, 5.1rem); line-height: 1.03; letter-spacing: -.045em; text-wrap: initial; }
.home-hero h1 span { display: block; }
.home-hero-description { margin-top: 28px; max-width: 39ch; color: var(--text-2); font-size: 1.0625rem; line-height: 1.8; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.home-hero-actions .btn { min-height: 56px; padding-inline: 24px; font-size: 1rem; border-radius: 10px; white-space: normal; }
.home-hero-actions .btn svg { width: 19px; height: 19px; }
.home-hero-guide { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: .875rem; padding-block: 12px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; }
.home-hero-guide:hover { text-decoration-color: var(--text); }
.home-hero-note { max-width: 46ch; color: var(--text-3); font-size: .75rem; line-height: 1.8; margin-top: 20px; }
.home-hero-preview { min-width: 0; position: relative; }
.home-hero-preview::before { content: ''; position: absolute; inset: 22% -9% 10%; background: radial-gradient(ellipse, rgba(70, 66, 253, .19), transparent 68%); z-index: -1; pointer-events: none; }
.home-preview-controls { display: flex; justify-content: center; gap: 4px; margin: 0 auto 28px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 50px; background: rgba(var(--night-rgb), .8); }
.home-preview-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 17px; border-radius: 40px; color: var(--text-3); font-size: .8125rem; font-weight: 600; transition: background .15s, color .15s; }
.home-preview-controls button svg { width: 16px; height: 16px; }
.home-preview-controls button[aria-pressed="true"] { background: var(--card-hover); color: var(--text); }
.home-preview-controls button:hover { color: var(--text); background: var(--surface); }
.home-preview-stage { display: grid; width: 100%; min-width: 0; min-height: 425px; aspect-ratio: 1.55; align-items: center; }
.home-preview-panel { min-width: 0; grid-area: 1 / 1; }
.home-display { position: relative; padding: 7px; border: 1px solid rgba(184, 189, 212, .33); border-radius: 16px; background: linear-gradient(145deg, #303650, #101325 46%, #242a42); box-shadow: 0 35px 55px -30px rgba(0, 0, 0, .8); }
.home-display img { width: 100%; height: auto; border-radius: 10px; }
.home-display-desktop::after { content: ''; position: absolute; inset-inline: 13%; bottom: -7px; height: 4px; border-radius: 0 0 50% 50%; background: #464c63; }
.home-display-tv { border-radius: 9px; padding: 5px; }
.home-display-tv img { border-radius: 4px; }
.home-display-tv::after { content: ''; position: absolute; width: 38%; height: 13px; background: linear-gradient(#353a51, #181c2c); bottom: -14px; left: 31%; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.home-mobile-stage { height: 425px; display: flex; align-items: center; justify-content: center; gap: 32px; }
.home-phone { width: 190px; flex: none; padding: 5px; background: #262a3b; border: 1px solid #50556a; border-radius: 27px; box-shadow: 0 24px 45px -18px rgba(0, 0, 0, .8); }
.home-phone img { border-radius: 21px; width: 100%; height: auto; }
.home-mobile-features { list-style: none; padding: 0; display: grid; gap: 24px; }
.home-mobile-features li { color: var(--text-2); font: 500 1.35rem/1.4 var(--display); padding-inline-start: 18px; border-inline-start: 2px solid var(--indigo); }
.home-preview-caption { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 10px 22px; margin-top: 28px; }
.home-preview-caption strong { display: block; font-size: .875rem; font-weight: 600; }
.home-preview-caption p { font-size: .75rem; color: var(--text-3); margin-top: 5px; }
.home-preview-caption > span { color: var(--text-3); font-size: .6875rem; max-width: 21ch; text-align: end; line-height: 1.7; padding-top: 2px; }
.home-hero [hidden] { display: none !important; }
[dir="rtl"] .home-hero h1 { letter-spacing: 0; line-height: 1.35; font-size: clamp(2.9rem, 4.7vw, 4.5rem); }
[dir="rtl"] .home-mobile-features li { line-height: 1.65; }
@media (min-width: 1600px) {
  .home-hero { padding-block: calc(var(--header-h) + 100px) 88px; }
}
@media (max-width: 1100px) {
  .home-hero-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 30px; }
  .home-hero { padding-top: calc(var(--header-h) + 62px); }
  .home-hero h1 { font-size: clamp(2.8rem, 5.6vw, 3.8rem); }
  .home-hero-description { font-size: 1rem; }
  .home-preview-stage, .home-mobile-stage { min-height: 340px; }
  .home-mobile-stage { height: 340px; gap: 20px; }
  .home-phone { width: 148px; border-radius: 22px; }
  .home-phone img { border-radius: 16px; }
  .home-mobile-features li { font-size: 1rem; }
  .home-preview-caption { grid-template-columns: 1fr; }
  .home-preview-caption > span { max-width: none; text-align: start; }
  .home-preview-controls button { padding-inline: 13px; }
}
@media (max-width: 760px) {
  .home-hero { padding-block: calc(var(--header-h) + 28px) 28px; }
  .home-hero::before { inset-inline-end: -280px; inset-block-start: 320px; }
  .home-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-hero-copy { padding: 0; }
  .home-hero-availability { margin-bottom: 16px; }
  .home-hero h1 { font-size: clamp(2.75rem, 8.9vw, 4.5rem); }
  .home-hero-description { margin-top: 20px; max-width: 48ch; line-height: 1.7; }
  .home-hero-actions { margin-top: 24px; gap: 12px 20px; }
  .home-hero-actions .btn { min-height: 52px; padding-inline: 20px; font-size: .9375rem; }
  .home-hero-guide { font-size: .8125rem; }
  .home-hero-note { margin-top: 16px; max-width: 52ch; }
  .home-preview-controls { margin-bottom: 16px; }
  .home-preview-stage { min-height: auto; aspect-ratio: 1.5; }
  .home-display { padding: 4px; border-radius: 10px; }
  .home-display img { border-radius: 6px; }
  .home-preview-caption { margin-top: 20px; gap: 6px; }
  .home-mobile-stage { min-height: auto; height: auto; }
  .home-phone { width: 29%; padding: 3px; border-radius: 17px; }
  .home-phone img { border-radius: 12px; }
  .home-mobile-features { gap: 16px; }
  .home-mobile-features li { font-size: 1rem; }
  [dir="rtl"] .home-hero h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); }
}
@media (max-width: 380px) {
  .home-hero-actions { gap: 8px 18px; }
  .home-preview-controls { gap: 1px; padding: 4px; }
  .home-preview-controls button { padding-inline: 11px; font-size: .75rem; gap: 6px; }
  .home-mobile-features li { font-size: .875rem; padding-inline-start: 12px; }
}
@media (prefers-reduced-motion: reduce) { .home-preview-controls button { transition: none; } }
