/* Hoides — home page: hero showcase, floating product tiles, the three product rows. Loaded after premium.css. */

.home-hero { padding: 72px 0 40px; }
.home-hero .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 64px; }
.home-hero h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); max-width: 13ch; margin-top: 22px; }
.home-hero .lead { font-size: 1.18rem; max-width: 44ch; margin-top: 22px; }
.home-hero .platforms { margin-top: 26px; }
@media (max-width: 980px) { .home-hero .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

/* showcase: a window that cycles through the products */
.showcase { position: relative; }
.showcase .stage { position: relative; aspect-ratio: 16 / 10.4; border-radius: 20px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border-strong); background: #0b0a12;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, .02), 0 0 120px -40px rgba(139, 92, 246, .7); }
.showcase .chrome { position: absolute; inset: 0 0 auto 0; height: 38px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: linear-gradient(180deg, rgba(20, 18, 30, .95), rgba(14, 12, 22, .9)); border-bottom: 1px solid var(--border); }
.showcase .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3a3646; }
.showcase .chrome i:nth-child(1) { background: #ff5f57; } .showcase .chrome i:nth-child(2) { background: #febc2e; } .showcase .chrome i:nth-child(3) { background: #28c840; }
.showcase .chrome .url { margin: 0 auto; padding: 3px 14px; border-radius: 8px; font-size: .74rem; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.showcase .slides { position: absolute; inset: 38px 0 0 0; }
.showcase .slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(1.04); filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter .9s var(--ease); }
.showcase .slide.on { opacity: 1; transform: none; filter: none; z-index: 1; }
.showcase .slide > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.showcase .slide.contain > img { object-fit: contain; background: #0b0a12; }
.showcase .slide .tvframe { width: 94%; animation: none; box-shadow: none; border-radius: 12px; }
.showcase .slide .label { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(10, 9, 16, .72); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); }
.showcase .slide .label img { width: 20px; height: 20px; object-fit: contain; }

.showcase .tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 14px; }
.showcase .tabs button { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 10px 4px 12px; cursor: pointer;
  border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: .74rem; font-weight: 600;
  transition: background .3s ease, color .3s ease, border-color .3s ease; }
.showcase .tabs button img { width: 26px; height: 26px; object-fit: contain; transition: transform .4s var(--ease), filter .3s ease; filter: saturate(.6) brightness(.85); }
.showcase .tabs button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.showcase .tabs button.on { color: #fff; background: rgba(139, 92, 246, .12); border-color: rgba(187, 166, 255, .28); }
.showcase .tabs button.on img { filter: none; transform: translateY(-2px) scale(1.08); }
.showcase .tabs .fill { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.showcase .tabs .fill::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8b5cf6, #67e8f9); }
.showcase .tabs button.on .fill::after { animation: fill var(--every, 5200ms) linear forwards; }
.showcase.paused .tabs button.on .fill::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 640px) { .showcase .tabs { grid-template-columns: repeat(3, 1fr); } }

/* floating product tiles around the showcase */
.floater { position: absolute; z-index: 4; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(30, 26, 44, .9), rgba(16, 14, 26, .9)); border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 40px -14px rgba(139, 92, 246, .7); transition: translate .6s var(--ease);
  animation: bob 7s ease-in-out infinite; }
.floater img { width: 38px; height: 38px; object-fit: contain; }
.floater.f1 { top: -26px; right: -24px; animation-delay: -1s; }
.floater.f2 { top: 42%; left: -34px; width: 56px; height: 56px; animation-delay: -3s; }
.floater.f3 { bottom: 96px; right: -30px; width: 54px; height: 54px; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (max-width: 980px) { .floater { display: none; } }

/* marquee sits under the hero */
.home-marquee { margin-top: 64px; }

/* stats */
.stats-sec { padding-top: 88px; padding-bottom: 40px; }

/* products: three labelled rows — Creative work (one wide feature), Your PC and Your TV (three equal cards each) */
.prow { margin-top: 72px; }
.prow:first-of-type { margin-top: 8px; }
.prow-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.prow-head .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: #e3d9ff;
  background: linear-gradient(135deg, rgba(139, 92, 246, .32), rgba(99, 102, 241, .12)); border: 1px solid rgba(187, 166, 255, .28); }
.prow-head h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.prow-head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }

.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 7px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #d8ccff;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.tag img { width: 18px; height: 18px; object-fit: contain; }
.more { margin-top: auto; font-weight: 650; font-size: .9rem; color: var(--text); display: inline-flex; gap: 8px; align-items: center; }
.more::after { content: "\2192"; color: var(--brand); transition: transform .35s var(--ease); }
.feature:hover .more::after, .pc:hover .more::after { transform: translateX(5px); }

/* the wide Matte feature: text on the left, the recording on the right */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: stretch; }
.feature-body { display: flex; flex-direction: column; gap: 14px; padding: 36px; }
.feature-body h3 { margin: 4px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.035em; }
.feature-body p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 46ch; }
.mini { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 9px; }
.mini li { position: relative; padding-left: 26px; color: #c9c3da; font-size: .92rem; }
.mini li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(139, 92, 246, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.feature-media { position: relative; overflow: hidden; border-left: 1px solid var(--border); background: #0b0a12; min-height: 320px; }
.feature-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media video { transform: scale(1.03); }
.feature-media .badge { position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff;
  background: rgba(10, 9, 16, .72); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); }

/* equal cards: picture on top (same shape for every card), text below */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pc { display: flex; flex-direction: column; }
.pc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0a12; border-bottom: 1px solid var(--border); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.1s var(--ease); }
.pc:hover .pc-media img { transform: scale(1.045); }
.pc-media .tvframe { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; animation: none; }
.pc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(7, 6, 12, .45)); }
.pc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 26px; }
.pc-body h3 { margin: 6px 0 0; font-size: 1.3rem; letter-spacing: -.03em; }
.pc-body p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }

@media (max-width: 1000px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { order: -1; border-left: 0; border-bottom: 1px solid var(--border); min-height: 0; aspect-ratio: 16 / 9; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: 1fr; }
  .feature-body { padding: 26px; }
  .prow { margin-top: 56px; }
}

/* principles */
.principles .card { padding: 30px; }

