.web-page { background: var(--h-bg); }
.web-page main { padding-top: 72px; }

.wb-hero { padding: clamp(3.5rem, 8vw, 7rem) 0 0; position: relative; overflow: hidden; }
.wb-hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 30% 30%, rgba(208, 20, 44, 0.18), transparent 70%), radial-gradient(40% 50% at 80% 20%, rgba(124, 58, 237, 0.14), transparent 70%); pointer-events: none; }
.wb-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem 5rem; align-items: end; }
.wb-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.wb-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.wb-facts li { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--h-line); }
.wb-facts strong { font-family: var(--h-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.wb-facts strong sup { font-size: 0.45em; vertical-align: top; color: var(--h-red-text); }
.wb-facts span { font-size: 0.85rem; color: var(--h-text-2); }

.wb-marquee { margin-top: clamp(3rem, 6vw, 5rem); padding: 1.5rem 0; border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); direction: ltr; }
.wb-marquee-track { display: flex; gap: 1rem; width: max-content; animation: wbMarquee 60s linear infinite; }
.wb-marquee:hover .wb-marquee-track { animation-play-state: paused; }
.wb-marquee-item { flex: none; width: 220px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--h-line); background: #111; position: relative; }
.wb-marquee-item::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); }
.wb-marquee-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: saturate(0.9); transition: transform 0.6s var(--h-ease); }
.wb-marquee-item:hover img { transform: scale(1.04); }
@keyframes wbMarquee { to { transform: translate3d(-50%, 0, 0); } }

.wb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.wb-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wb-filter { border: 1px solid var(--h-line-2); background: transparent; color: var(--h-text-2); border-radius: 999px; padding: 0.5rem 0.95rem; font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s var(--h-ease), color 0.2s var(--h-ease), background 0.2s var(--h-ease); }
.wb-filter span { font-size: 0.72rem; color: var(--h-text-3); margin-left: 0.3rem; }
.wb-filter:hover { border-color: var(--h-text-3); color: var(--h-text); }
.wb-filter.is-active { background: var(--h-text); border-color: var(--h-text); color: var(--h-bg); }
.wb-filter.is-active span { color: inherit; opacity: 0.6; }
.wb-view { display: inline-flex; border: 1px solid var(--h-line-2); border-radius: 999px; padding: 3px; }
.wb-view button { border: 0; background: transparent; color: var(--h-text-2); width: 36px; height: 30px; border-radius: 999px; cursor: pointer; }
.wb-view button.is-active { background: var(--h-text); color: var(--h-bg); }

.wb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.wb-card { display: flex; flex-direction: column; border: 1px solid var(--h-line); border-radius: 18px; background: var(--h-bg-2); overflow: hidden; transition: transform 0.4s var(--h-ease), border-color 0.3s var(--h-ease), opacity 0.3s var(--h-ease); }
.wb-card:hover { transform: translateY(-4px); border-color: var(--h-line-2); }
.wb-card.is-hidden { display: none; }
.wb-card-media { position: relative; display: block; width: 100%; padding: 1.25rem 1.25rem 0; border: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; text-align: left; }
.wb-card-glow { position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: 0; transition: opacity 0.4s var(--h-ease); pointer-events: none; }
.wb-card:hover .wb-card-glow { opacity: 1; }
.wb-frame { position: absolute; display: block; overflow: hidden; background: #0d0d0f; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); transition: transform 0.55s var(--h-ease), opacity 0.4s var(--h-ease); }
.wb-frame-desktop { left: 1.25rem; right: 1.25rem; top: 1.5rem; border-radius: 10px 10px 0 0; border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 0; }
.wb-frame-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: #1a1a1e; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.wb-frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.wb-frame-bar em { margin-left: auto; margin-right: auto; font-style: normal; font-size: 9px; color: rgba(255, 255, 255, 0.35); font-family: ui-monospace, monospace; }
.wb-frame-desktop img { display: block; width: 100%; height: auto; transition: transform 6s linear; }
.wb-card:hover .wb-frame-desktop img { transform: translateY(-18%); transition-duration: 4s; }
.wb-frame-phone { right: 1.25rem; bottom: -14%; width: 28%; aspect-ratio: 390 / 820; border-radius: 18px; border: 3px solid #1f1f23; opacity: 0; transform: translateY(20px); }
.wb-frame-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wb-card:hover .wb-frame-phone { opacity: 1; transform: translateY(0); }
.wb-card-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.9); display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.95rem; border-radius: 999px; background: rgba(11, 11, 12, 0.85); color: #fff; font-size: 0.82rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.15); opacity: 0; transition: opacity 0.3s var(--h-ease), transform 0.3s var(--h-ease); backdrop-filter: blur(8px); }
.wb-card:hover .wb-card-cta, .wb-card-media:focus-visible .wb-card-cta { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wb-card-media:focus-visible { outline: 2px solid var(--h-red-text); outline-offset: -2px; }
.wb-grid[data-view="phone"] .wb-frame-desktop { opacity: 0.25; transform: scale(0.92) translateY(10px); }
.wb-grid[data-view="phone"] .wb-frame-phone { opacity: 1; transform: translateY(0); right: 50%; margin-right: -16%; width: 32%; bottom: -6%; }
.wb-card-body { padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1 1 auto; }
.wb-card-top { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--h-text-3); }
.wb-card-kind { color: var(--h-text-2); }
.wb-card-city { margin-left: auto; }
.wb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); flex: none; }
.wb-card h3 { font-family: var(--h-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.wb-card p { margin: 0; color: var(--h-text-2); font-size: 0.93rem; line-height: 1.55; }
.wb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.9rem; }
.wb-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.wb-tags span { font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--h-line-2); color: var(--h-text-2); }
.wb-ext { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--h-line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--h-text-2); flex: none; transition: border-color 0.2s var(--h-ease), color 0.2s var(--h-ease); }
.wb-ext:hover { border-color: var(--h-text); color: var(--h-text); }
.wb-empty { text-align: center; color: var(--h-text-3); padding: 3rem 0; }
.wb-steps li { background: var(--h-bg-2); }
.wb-band { background: var(--h-bg-2); }

.wb-viewer { position: fixed; inset: 0; z-index: 1200; background: #08080a; display: flex; flex-direction: column; animation: wbIn 0.35s var(--h-ease); }
.wb-viewer[hidden] { display: none; }
@keyframes wbIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wb-viewer-bar { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--h-line); background: var(--h-bg); flex: none; }
.wb-viewer-meta { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1 1 auto; }
.wb-viewer-meta strong { display: block; font-family: var(--h-display); font-size: 1.05rem; line-height: 1.1; }
.wb-viewer-meta small { color: var(--h-text-3); font-size: 0.78rem; }
.wb-devices { display: inline-flex; border: 1px solid var(--h-line-2); border-radius: 999px; padding: 3px; flex: none; }
.wb-devices button { border: 0; background: transparent; color: var(--h-text-2); display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.8rem; cursor: pointer; }
.wb-devices button.is-active { background: var(--h-text); color: var(--h-bg); }
.wb-viewer-actions { display: flex; align-items: center; gap: 0.4rem; flex: none; }
.wb-viewer-actions button, .wb-viewer-open { height: 36px; min-width: 36px; padding: 0 0.6rem; border-radius: 999px; border: 1px solid var(--h-line-2); background: transparent; color: var(--h-text); display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.82rem; text-decoration: none; cursor: pointer; }
.wb-viewer-actions button:hover, .wb-viewer-open:hover { border-color: var(--h-text); }
.wb-viewer-body { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.wb-stage { position: relative; display: flex; align-items: flex-start; justify-content: center; padding: 1.5rem; overflow: auto; background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--accent, #d0142c) 18%, transparent), transparent 70%); }
.wb-device { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); transition: width 0.45s var(--h-ease), height 0.45s var(--h-ease), border-radius 0.45s var(--h-ease); }
.wb-device iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.wb-stage[data-device="tablet"] .wb-device { width: 820px; max-width: 100%; height: 100%; border-radius: 22px; border-width: 8px; border-color: #1b1b1f; }
.wb-stage[data-device="phone"] .wb-device { width: 400px; max-width: 100%; height: 100%; max-height: 840px; border-radius: 34px; border-width: 10px; border-color: #1b1b1f; }
.wb-device-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem; background: #0d0d0f; color: var(--h-text-2); font-size: 0.85rem; z-index: 2; transition: opacity 0.3s var(--h-ease); }
.wb-device-loading span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--h-red); animation: wbSpin 0.8s linear infinite; }
.wb-device.is-ready .wb-device-loading { opacity: 0; pointer-events: none; }
@keyframes wbSpin { to { transform: rotate(360deg); } }
.wb-panel { border-left: 1px solid var(--h-line); background: var(--h-bg); overflow: auto; }
.wb-panel-scroll { padding: 1.5rem; }
.wb-panel-pitch { font-family: var(--h-display); font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
.wb-panel-desc { color: var(--h-text-2); font-size: 0.92rem; line-height: 1.6; }
.wb-panel-facts { display: grid; gap: 0.6rem; margin: 1.25rem 0; }
.wb-panel-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 0.75rem; font-size: 0.85rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--h-line); }
.wb-panel-facts dt { color: var(--h-text-3); font-weight: 500; }
.wb-panel-facts dd { margin: 0; }
.wb-palette { display: flex; gap: 0.5rem; margin-top: 1rem; }
.wb-palette span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); }
.wb-panel-note { font-size: 0.78rem; color: var(--h-text-3); margin-top: 1rem; }
body.wb-open { overflow: hidden; }

[dir="rtl"] .wb-card-media { text-align: right; }
[dir="rtl"] .wb-frame-phone { right: auto; left: 1.25rem; }
[dir="rtl"] .wb-grid[data-view="phone"] .wb-frame-phone { left: 50%; right: auto; margin-left: -16%; margin-right: 0; }
[dir="rtl"] .wb-card-city { margin-left: 0; margin-right: auto; }
[dir="rtl"] .wb-filter span { margin-left: 0; margin-right: 0.3rem; }
[dir="rtl"] .wb-panel { border-left: 0; border-right: 1px solid var(--h-line); }
[dir="rtl"] .wb-viewer-actions .bi-chevron-left, [dir="rtl"] .wb-viewer-actions .bi-chevron-right { transform: scaleX(-1); }

@media (max-width: 1100px) { .wb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wb-viewer-body { grid-template-columns: minmax(0, 1fr); } .wb-panel { display: none; } }
@media (max-width: 900px) { .wb-hero-grid { grid-template-columns: 1fr; } .wb-facts { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
    .wb-grid { grid-template-columns: 1fr; }
    .wb-facts { grid-template-columns: 1fr 1fr; }
    .wb-devices button span, .wb-viewer-open span { display: none; }
    .wb-viewer-bar { gap: 0.5rem; padding: 0.6rem 0.75rem; }
    .wb-viewer-meta > div { min-width: 0; }
    .wb-viewer-meta small { display: none; }
    .wb-viewer-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; }
    .wb-viewer-actions button, .wb-viewer-open { min-width: 32px; height: 32px; padding: 0 0.4rem; }
    .wb-stage { padding: 0; }
    .wb-device, .wb-stage[data-device="tablet"] .wb-device, .wb-stage[data-device="phone"] .wb-device { width: 100%; height: 100%; border-radius: 0; border: 0; max-height: none; }
    .wb-marquee-item { width: 160px; }
}
@media (prefers-reduced-motion: reduce) { .wb-marquee-track { animation: none; } .wb-card:hover .wb-frame-desktop img { transform: none; } }
