/* Visual layer: product screenshots, logo and galleries. Loaded after styles.css. */
.brand img { height: 24px; width: auto; border-radius: 6px; }
.brand-logo { height: 26px; width: auto; border-radius: 6px; box-shadow: 0 0 22px var(--glow); }

.hero-visual {
  position: relative;
  margin: 64px auto 0;
  max-width: 980px;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: -10% 6% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(113,112,255,.45), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.frame {
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.frame img { width: 100%; height: auto; display: block; }
.frame-bar {
  display: flex; gap: 6px; align-items: center;
  height: 28px; padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); display: block; }
.float { animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.thumb {
  aspect-ratio: 16 / 10;
  margin: -28px -28px 14px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.04); }
.card { min-height: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.gallery .frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gallery .wide { grid-column: 1 / -1; }

.showcase {
  display: grid;
  gap: 56px;
}
.showcase-row {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .showcase-row { grid-template-columns: .9fr 1.1fr; }
  .showcase-row.flip { grid-template-columns: 1.1fr .9fr; }
  .showcase-row.flip > :first-child { order: 2; }
}
.showcase-row h3 { font-size: 26px; letter-spacing: -0.02em; }
.showcase-row p { color: var(--muted); margin: 12px 0 0; }

.logo-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}
.logo-row img { height: 30px; width: auto; opacity: .85; }

.product-thumb-hero {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.product-hero .split { align-items: center; }

.glow-band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
}
.glow-band img { width: 100%; height: auto; display: block; opacity: .9; }
.glow-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
  pointer-events: none;
}
.glow-band .caption {
  position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 1;
}
.glow-band .caption h3 { font-size: clamp(22px, 3vw, 32px); }
.glow-band .caption p { color: var(--muted); margin: 8px 0 0; max-width: 520px; }

@media (prefers-reduced-motion: reduce) {
  .float, .hero-visual::before { animation: none !important; }
}
