:root {
  --bg: #070b0f;
  --bg-2: #0c1118;
  --panel: #101720;
  --panel-2: #141d29;
  --light: #f4f6fa;
  --text: #dde4ef;
  --muted: #6f8098;
  --ink: #182333;
  --cyan: #00d4e8;
  --violet: #6c47ff;
  --amber: #f59e0b;
  --green: #22c55e;
  --border: rgba(255, 255, 255, .08);
  --grad: linear-gradient(135deg, var(--cyan), var(--violet));
  --radius: 18px;
  --gallery-size: 220px;
  --gallery-gap: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; left: 20px; top: -80px; padding: 12px 18px;
  background: #fff; color: #000; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(7, 11, 15, .78); backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s, background .2s;
}
.site-header.scrolled { background: rgba(7, 11, 15, .94); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; letter-spacing: -.025em; }
.brand-mark { color: var(--cyan); text-shadow: 0 0 24px rgba(0,212,232,.75); }
.pro-badge, .demo-badge {
  border-radius: 30px; font: 800 10px/1 "Courier New", monospace; letter-spacing: .08em;
  padding: 5px 8px; background: var(--grad); color: #02090b;
}
.demo-badge { color: #a9b8ca; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: #8190a5; }
.nav-links a:hover { color: #fff; }
.nav-links .buy-link {
  padding: 10px 18px; background: var(--grad); color: #000; border-radius: 9px;
  font-weight: 800; box-shadow: 0 8px 28px rgba(0,212,232,.16);
}
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; background: transparent; border: 1px solid var(--border); border-radius: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: #fff; }

.hero {
  position: relative; min-height: 790px; padding: 160px 0 105px; overflow: hidden;
  display: grid; align-items: center;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 76px 76px; mask-image: radial-gradient(ellipse at 52% 42%, #000 10%, transparent 72%);
}
.hero-orb { position: absolute; pointer-events: none; filter: blur(2px); }
.hero-orb-one { width: 850px; height: 650px; left: 8%; top: -250px; background: radial-gradient(ellipse, rgba(0,212,232,.12), transparent 65%); }
.hero-orb-two { width: 650px; height: 650px; right: -160px; bottom: -270px; background: radial-gradient(ellipse, rgba(108,71,255,.14), transparent 65%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 30px;
  color: var(--cyan); background: rgba(0,212,232,.08); border: 1px solid rgba(0,212,232,.23);
  font: 700 11px/1.2 "Courier New", monospace; letter-spacing: .11em; text-transform: uppercase;
}
.eyebrow-violet { color: #b8a8ff; border-color: rgba(108,71,255,.3); background: rgba(108,71,255,.09); }
.pulse, .live-dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Black", "Segoe UI", sans-serif; line-height: 1.09; letter-spacing: -.035em; }
.hero h1 { margin: 26px 0 24px; font-size: clamp(3rem, 5.4vw, 5.1rem); color: #fff; }
.gradient-text { color: var(--cyan); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy > p { max-width: 570px; color: #7f8fa5; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.hero-actions.centered { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px;
  padding: 0 25px; border-radius: 11px; font-weight: 800; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #02090b; background: var(--grad); box-shadow: 0 10px 30px rgba(0,212,232,.22); }
.button-primary:hover { box-shadow: 0 15px 38px rgba(0,212,232,.34); }
.button-ghost { border: 1px solid var(--border); color: #c4cfdd; }
.button-ghost:hover { border-color: rgba(255,255,255,.22); color: #fff; }
.hero-stats { display: flex; gap: 36px; margin-top: 50px; }
.hero-stats div { display: grid; }
.hero-stats strong { font: 900 30px/1 "Arial Black", sans-serif; color: #fff; }
.hero-stats span { color: #596a81; font: 11px "Courier New", monospace; text-transform: uppercase; letter-spacing: .1em; }
.hero-preview { position: relative; }
.browser-frame { overflow: hidden; border-radius: 20px; background: #0c131c; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 45px 110px rgba(0,0,0,.55), 0 0 80px rgba(0,212,232,.08); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.browser-bar { height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--border); color: #526176; font: 10px "Courier New", monospace; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5e57; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 14px; }
.mini-gallery { height: 410px; padding: 12px; display: grid; grid-template: 1fr 1fr / 1.2fr .8fr 1fr; gap: 9px; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; filter: saturate(.9); }
.mini-gallery img:first-child { grid-row: 1 / 3; }.mini-gallery img:nth-child(4) { grid-column: 2 / 4; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: rgba(13,20,30,.94); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.45); }
.floating-card-one { left: -28px; bottom: -24px; }.floating-card-two { right: -25px; top: 50px; }
.floating-card span { display: grid; }.floating-card strong { font-size: 12px; color: #fff; }.floating-card small { color: #5f7189; font: 9px "Courier New", monospace; }
.floating-icon { width: 34px; height: 34px; place-items: center; display: grid !important; border-radius: 9px; color: #000; background: var(--grad); }
.status-dot { color: var(--green); background: var(--green); }

.compatibility { padding: 27px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #080d12; }
.compatibility-inner { display: flex; justify-content: center; align-items: center; gap: 32px; }
.compatibility-inner > span { color: #4d5d72; font: 10px "Courier New", monospace; letter-spacing: .12em; }
.compatibility-inner > div { display: flex; gap: 9px; flex-wrap: wrap; }
.compatibility b { padding: 7px 13px; border: 1px solid var(--border); border-radius: 7px; color: #8796aa; font: 11px "Courier New", monospace; }

.demo-section { padding: 110px 0; color: var(--ink); background: var(--light); }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading h2 { margin: 20px 0 17px; color: #152131; font-size: clamp(2.25rem, 4.3vw, 3.65rem); }
.section-heading p { color: #748298; font-size: 1.04rem; }
.demo-app { display: grid; grid-template-columns: 310px minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid rgba(15,26,40,.1); box-shadow: 0 30px 90px rgba(31,49,72,.14); }
.control-panel { padding: 24px; color: #dfe6f0; background: #0d141e; border-right: 1px solid rgba(255,255,255,.07); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 19px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.panel-kicker { display: block; margin-bottom: 5px; color: var(--cyan); font: 10px "Courier New", monospace; letter-spacing: .12em; }
.panel-heading h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.reset-button { cursor: pointer; padding: 5px 9px; color: #7d8da1; background: transparent; border: 1px solid var(--border); border-radius: 6px; font-size: 11px; }
.reset-button:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.control-group { margin-bottom: 20px; }
.control-group label, .control-label { display: block; margin-bottom: 8px; color: #8493a7; font: 10px "Courier New", monospace; letter-spacing: .09em; text-transform: uppercase; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; pointer-events: none; right: 12px; top: 8px; color: #73839a; }
select { width: 100%; padding: 9px 33px 9px 11px; color: #e1e8f2; background: #151e2a; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; outline: none; appearance: none; font-size: 13px; }
select:focus { border-color: rgba(0,212,232,.45); box-shadow: 0 0 0 3px rgba(0,212,232,.07); }
.layout-stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #63748b; font: 10px "Courier New", monospace; }
.layout-stepper button { width: 29px; height: 26px; cursor: pointer; color: #8d9cb0; background: #151e2a; border: 1px solid var(--border); border-radius: 6px; }
.layout-stepper button:hover { color: var(--cyan); border-color: rgba(0,212,232,.25); }
.engine-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.engine-option { min-width: 0; padding: 7px 6px; cursor: pointer; color: #78899f; background: #121b26; border: 1px solid var(--border); border-radius: 7px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.engine-option:hover { color: #dfe7f2; }.engine-option.active { color: var(--cyan); border-color: rgba(0,212,232,.35); background: rgba(0,212,232,.08); }
.engine-option:disabled { cursor: not-allowed; opacity: .35; }
.engine-option.active:disabled { color: #78899f; border-color: var(--border); background: #121b26; }
.control-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.range-label { display: flex; align-items: center; justify-content: space-between; }
.range-label output { color: var(--cyan); font: 10px "Courier New", monospace; }
input[type="range"] { width: 100%; height: 4px; appearance: none; border-radius: 10px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; appearance: none; border: 3px solid #0d141e; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--cyan); }
.toggle-list { border-top: 1px solid var(--border); padding-top: 5px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; cursor: pointer; }
.toggle-row > span { display: grid; }.toggle-row b { font-size: 12px; color: #c8d2e0; }.toggle-row small { color: #5f7086; font-size: 10px; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row i { position: relative; width: 34px; height: 19px; flex: 0 0 auto; background: #253143; border-radius: 20px; transition: background .2s; }
.toggle-row i::after { content: ""; position: absolute; width: 13px; height: 13px; left: 3px; top: 3px; border-radius: 50%; background: #8190a3; transition: transform .2s, background .2s; }
.toggle-row input:checked + i { background: rgba(0,212,232,.2); }.toggle-row input:checked + i::after { background: var(--cyan); transform: translateX(15px); }
.toggle-row input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 2px; }
.stage-column { min-width: 0; background: #eef1f6; }
.stage-toolbar { min-height: 58px; padding: 12px 19px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(15,26,40,.08); background: #fff; }
.stage-status { display: flex; align-items: center; gap: 8px; color: #6c7b90; font: 10px "Courier New", monospace; letter-spacing: .1em; }
.live-dot { color: var(--green); background: var(--green); }
.stage-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.stage-badges span { padding: 5px 9px; border-radius: 20px; color: #44536a; background: #f2f4f8; border: 1px solid #e2e6ed; font: 10px "Courier New", monospace; }
.gallery-stage { min-height: 630px; padding: 22px; overflow: hidden; display: grid; place-items: center; }
#gallery-root { width: 100%; max-width: 790px; }
.demo-hint { padding: 11px 20px; text-align: center; border-top: 1px solid rgba(15,26,40,.07); background: #fff; color: #78869a; font-size: 11px; }
.demo-hint > span { margin-right: 8px; color: var(--violet); font: 800 9px "Courier New", monospace; }
kbd { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; color: #46556b; background: #f1f3f6; border: 1px solid #d7dce4; border-bottom-width: 2px; border-radius: 4px; }
.shortcode-panel { display: grid; grid-template-columns: .8fr 1.5fr auto; gap: 20px; align-items: center; margin-top: 20px; padding: 19px 22px; border-radius: 14px; color: #c8d2df; background: #0d141e; box-shadow: 0 12px 35px rgba(21,33,50,.13); }
.shortcode-panel p { margin: 0; color: #66768b; font-size: 12px; }
.shortcode-panel code { overflow: auto; padding: 11px 13px; border-radius: 8px; color: #9ee8ca; background: #080d13; border: 1px solid var(--border); font: 11px/1.5 "Courier New", monospace; white-space: nowrap; }
.shortcode-panel button { cursor: pointer; padding: 10px 14px; color: var(--cyan); background: rgba(0,212,232,.08); border: 1px solid rgba(0,212,232,.23); border-radius: 8px; font-size: 11px; }

/* Live gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--gallery-size), 100%), 1fr)); gap: var(--gallery-gap); }
.gallery-item { position: relative; min-width: 0; overflow: hidden; cursor: zoom-in; background: #d8dee8; border: 0; padding: 0; color: inherit; text-align: left; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.055); }
.gallery-caption { position: absolute; inset: auto 0 0; z-index: 2; padding: 30px 13px 11px; color: #fff; background: linear-gradient(transparent, rgba(4,8,13,.82)); transition: opacity .2s; }
.gallery-caption strong { display: block; font-size: 12px; }.gallery-caption span { display: block; opacity: .72; font-size: 9px; }
.hide-captions .gallery-caption { display: none; }
.gallery-grid.layout-classic .gallery-item { height: 170px; border-radius: 7px; box-shadow: 0 3px 12px rgba(16,31,50,.12); }
.gallery-grid.layout-elegant { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.layout-elegant .gallery-item { height: 205px; border-radius: 2px; border: 7px solid #fff; box-shadow: 0 8px 22px rgba(13,30,50,.13); }
.gallery-grid.layout-elegant .gallery-caption { position: absolute; inset: auto 7px 7px; background: rgba(255,255,255,.92); color: #1c293a; padding: 10px; }
.gallery-grid.layout-artistic { grid-template: repeat(3, 125px) / repeat(4, 1fr); }
.gallery-grid.layout-artistic .gallery-item { border-radius: 12px; }
.gallery-grid.layout-artistic .gallery-item:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }.gallery-grid.layout-artistic .gallery-item:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }.gallery-grid.layout-artistic .gallery-item:nth-child(5) { grid-area: 2 / 4 / 4 / 5; }.gallery-grid.layout-artistic .gallery-item:nth-child(6) { grid-area: 3 / 1 / 4 / 3; }
.gallery-grid.layout-sleek .gallery-item { height: 190px; border-radius: 14px; box-shadow: 0 8px 22px rgba(22,37,58,.13); transition: transform .25s, box-shadow .25s; }
.gallery-grid.layout-sleek .gallery-item:hover { transform: translateY(-6px); box-shadow: 0 16px 28px rgba(22,37,58,.2); }
.gallery-grid.layout-square { grid-template-columns: repeat(4, 1fr); gap: var(--gallery-gap); }
.gallery-grid.layout-square .gallery-item { aspect-ratio: 1; }
.gallery-grid.layout-seamless { grid-template-columns: repeat(4, 1fr); gap: 0; }
.gallery-grid.layout-seamless .gallery-item { aspect-ratio: 1; }
.gallery-grid.layout-polaroids { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--gallery-gap) + 15px); padding: 18px; }
.gallery-grid.layout-polaroids .gallery-item { width: 155px; height: 185px; padding: 8px 8px 35px; overflow: visible; background: #fff; box-shadow: 0 9px 20px rgba(27,40,57,.18); transform: rotate(-2deg); }
.gallery-grid.layout-polaroids .gallery-item:nth-child(even) { transform: rotate(2deg); }.gallery-grid.layout-polaroids .gallery-item:nth-child(3n) { transform: rotate(-3.5deg); }
.gallery-grid.layout-polaroids .gallery-item:hover { z-index: 3; transform: scale(1.08) rotate(0); }
.gallery-grid.layout-polaroids .gallery-caption { inset: auto 8px 5px; padding: 5px; color: #263348; background: none; text-align: center; }
.gallery-grid.layout-polaroids .gallery-caption span { display: none; }
.gallery-grid.layout-masonry { display: block; columns: var(--gallery-size); column-gap: var(--gallery-gap); }
.gallery-grid.layout-masonry .gallery-item { width: 100%; height: auto; margin-bottom: var(--gallery-gap); break-inside: avoid; border-radius: 8px; }
.gallery-grid.layout-masonry .gallery-item img { height: auto; aspect-ratio: auto; }
.gallery-grid.layout-justified { display: flex; flex-wrap: wrap; gap: var(--gallery-gap); }
.gallery-grid.layout-justified .gallery-item { flex: 1 1 calc(var(--gallery-size) * 1.35); height: 150px; border-radius: 5px; }
.gallery-grid.layout-justified .gallery-item:nth-child(3n+1) { flex-grow: 1.6; }.gallery-grid.layout-justified .gallery-item:nth-child(4n+2) { flex-grow: .8; }
.gallery-viewer { overflow: hidden; border-radius: 13px; background: #0b1017; box-shadow: 0 12px 32px rgba(15,31,52,.2); }
.viewer-main { position: relative; height: 430px; overflow: hidden; cursor: zoom-in; background: #101722; }
.viewer-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .28s, transform .4s; }
.viewer-main:hover img { transform: scale(1.02); }
.viewer-main .gallery-caption { padding: 70px 24px 20px; }
.viewer-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #0d141d; scrollbar-width: thin; }
.viewer-thumb { width: 86px; height: 60px; padding: 0; flex: 0 0 auto; cursor: pointer; overflow: hidden; border: 2px solid transparent; border-radius: 5px; background: none; opacity: .58; }
.viewer-thumb img { width: 100%; height: 100%; object-fit: cover; }.viewer-thumb.active { border-color: var(--cyan); opacity: 1; }
.gallery-galleria { display: grid; grid-template-columns: 1.7fr .7fr; gap: var(--gallery-gap); height: 515px; }
.gallery-galleria .viewer-main { height: 100%; border-radius: 10px; }.gallery-galleria .viewer-thumbs { flex-direction: column; padding: 0; background: none; overflow-y: auto; }
.gallery-galleria .viewer-thumb { width: 100%; height: 91px; }
.gallery-slider { position: relative; overflow: hidden; height: 470px; border-radius: 14px; background: #0b1118; box-shadow: 0 14px 38px rgba(15,31,52,.18); }
.gallery-slider .slider-track { height: 100%; display: flex; transition: transform .5s ease; }
.gallery-slider.transition-fade .slider-track { position: relative; transform: none !important; }.gallery-slider.transition-fade .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s; }.gallery-slider.transition-fade .slide.active { opacity: 1; z-index: 1; }
.gallery-slider.transition-zoom .slide img { transform: scale(1.08); transition: transform .8s; }.gallery-slider.transition-zoom .slide.active img { transform: scale(1); }
.slide { position: relative; min-width: 100%; height: 100%; cursor: zoom-in; }.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-arrow { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; cursor: pointer; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; background: rgba(4,8,12,.46); backdrop-filter: blur(8px); transform: translateY(-50%); font-size: 24px; }
.slider-arrow:hover { background: rgba(0,212,232,.7); color: #031013; }.slider-arrow.prev { left: 15px; }.slider-arrow.next { right: 15px; }
.slider-dots { position: absolute; z-index: 3; inset: auto 0 15px; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; cursor: pointer; border: 0; border-radius: 20px; background: rgba(255,255,255,.45); }.slider-dots button.active { width: 20px; background: var(--cyan); }
.gallery-single { width: min(560px, 100%); margin: auto; }
.single-cover { position: relative; width: 100%; height: 390px; padding: 0; overflow: hidden; cursor: zoom-in; border: 0; border-radius: 16px; box-shadow: 0 20px 45px rgba(15,31,52,.22); }
.single-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }.single-cover:hover img { transform: scale(1.04); }
.single-cover::after { content: "View full gallery  →"; position: absolute; left: 50%; top: 50%; padding: 12px 20px; color: #fff; background: rgba(5,10,16,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 30px; backdrop-filter: blur(10px); transform: translate(-50%,-50%); font-weight: 700; }

/* Catalog sections */
.layouts-section { padding: 110px 0; background: var(--bg); }
.layouts-section .section-heading h2, .engines-section .section-heading h2 { color: #fff; }
.compact-heading { margin-bottom: 45px; }
.layout-catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.layout-card { overflow: hidden; padding: 0; cursor: pointer; color: #d7e0ec; text-align: left; background: #0d141d; border: 1px solid var(--border); border-radius: 13px; transition: transform .22s, border-color .22s, box-shadow .22s; }
.layout-card:hover, .layout-card.active { transform: translateY(-5px); border-color: rgba(0,212,232,.38); box-shadow: 0 18px 40px rgba(0,0,0,.34); }
.layout-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #111923; }
.layout-card div { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; font: 11px "Courier New", monospace; }
.layout-card small { color: var(--cyan); }
.engines-section { padding: 110px 0; background: #0b1017; border-top: 1px solid var(--border); }
.engine-catalog { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.engine-card { min-width: 0; padding: 21px 13px; cursor: pointer; text-align: center; background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 12px; transition: transform .2s, border-color .2s, background .2s; }
.engine-card:hover, .engine-card.active { transform: translateY(-4px); border-color: rgba(108,71,255,.45); background: rgba(108,71,255,.08); }
.engine-card i { display: block; width: 10px; height: 10px; margin: 0 auto 13px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 16px rgba(108,71,255,.9); }
.engine-card strong { display: block; overflow: hidden; color: #dbe3ef; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.engine-card small { display: block; margin-top: 4px; color: #596b82; font-size: 9px; }
.feature-strip { padding: 85px 0; color: var(--ink); background: #f4f6fa; }
.feature-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; }
.feature-strip article > span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 19px; border-radius: 11px; color: var(--violet); background: rgba(108,71,255,.09); font-size: 21px; }
.feature-strip h3 { margin-bottom: 9px; font-size: 15px; letter-spacing: -.02em; }.feature-strip p { color: #77859a; font-size: 13px; }
.final-cta { position: relative; overflow: hidden; padding: 110px 0; text-align: center; }
.final-cta .cta-orb { position: absolute; width: 900px; height: 500px; left: 50%; top: -220px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(0,212,232,.12), transparent 67%); }
.final-cta .shell { position: relative; }.final-cta h2 { margin: 25px 0 18px; color: #fff; font-size: clamp(2.4rem, 5vw, 4.3rem); }.final-cta p { color: #687991; }
footer { padding: 28px 0; border-top: 1px solid var(--border); background: #06090d; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #54657b; font-size: 11px; }
.footer-inner p { margin: 0; }.footer-inner > div:last-child { display: flex; gap: 20px; }.footer-inner a:hover { color: var(--cyan); }

/* Lightbox and seven visual engine profiles */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 500; color: #fff; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(3,6,10,.94); backdrop-filter: blur(18px); }
.lightbox-shell { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; grid-template: 64px 1fr auto / 76px 1fr 76px; }
.lightbox-toolbar { grid-area: 1 / 1 / 2 / 4; display: flex; align-items: center; justify-content: space-between; padding: 0 23px; border-bottom: 1px solid rgba(255,255,255,.08); }
.lightbox-brand { display: flex; align-items: center; gap: 13px; font: 10px "Courier New", monospace; letter-spacing: .08em; text-transform: uppercase; }
#lightbox-engine { color: var(--cyan); } #lightbox-counter { color: #7b899b; }
.lightbox-actions { display: flex; gap: 5px; }
.lightbox-actions button, .lightbox-actions a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer; border: 0; border-radius: 8px; color: #c9d2df; background: rgba(255,255,255,.055); font-size: 18px; }
.lightbox-actions button:hover, .lightbox-actions a:hover { color: #fff; background: rgba(255,255,255,.12); }
.lightbox-figure { grid-area: 2 / 2 / 3 / 3; min-width: 0; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 0; }
.lightbox-image-wrap { display: grid; place-items: center; max-width: 100%; max-height: calc(100vh - 190px); overflow: hidden; transition: transform .25s; }
.lightbox-image-wrap img { width: auto; max-width: min(1100px, 100%); max-height: calc(100vh - 190px); object-fit: contain; user-select: none; transition: transform .25s, opacity .22s; }
.lightbox-image-wrap.zoomed { overflow: auto; cursor: zoom-out; }.lightbox-image-wrap.zoomed img { max-width: none; max-height: none; transform: scale(1.65); cursor: zoom-out; }
.lightbox-figure figcaption { position: absolute; left: 50%; bottom: 105px; width: min(700px, calc(100% - 150px)); padding: 30px 20px 8px; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.64)); transform: translateX(-50%); pointer-events: none; }
.lightbox-figure h3 { margin: 0 0 3px; font-size: 16px; }.lightbox-figure p { margin: 0; color: #aab5c4; font-size: 12px; }
.lightbox-arrow { align-self: center; justify-self: center; width: 47px; height: 47px; cursor: pointer; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #fff; background: rgba(255,255,255,.055); font-size: 33px; line-height: 1; }
.lightbox-arrow:hover { color: #001014; background: var(--cyan); }.lightbox-prev { grid-area: 2 / 1; }.lightbox-next { grid-area: 2 / 3; }
.lightbox-thumbs { grid-area: 3 / 1 / 4 / 4; min-width: 0; display: flex; gap: 6px; justify-content: center; overflow-x: auto; padding: 9px 20px 13px; }
.lightbox-thumbs button { width: 66px; height: 48px; flex: 0 0 auto; padding: 0; cursor: pointer; overflow: hidden; border: 2px solid transparent; border-radius: 5px; background: none; opacity: .48; }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }.lightbox-thumbs button.active { border-color: var(--cyan); opacity: 1; }
.lightbox.engine-fancybox .lightbox-backdrop { background: rgba(18,18,20,.96); }
.lightbox.engine-fancybox .lightbox-toolbar { background: #1f1f22; }.lightbox.engine-fancybox #lightbox-engine { color: #fff; }.lightbox.engine-fancybox .lightbox-arrow { border-radius: 4px; }
.lightbox.engine-magnific .lightbox-toolbar { border: 0; background: transparent; }.lightbox.engine-magnific .lightbox-thumbs { display: none; }.lightbox.engine-magnific .lightbox-figure figcaption { bottom: 28px; text-align: left; }
.lightbox.engine-colorbox .lightbox-backdrop { background: rgba(0,0,0,.78); backdrop-filter: none; }.lightbox.engine-colorbox .lightbox-figure { width: min(930px, calc(100vw - 140px)); height: calc(100vh - 150px); place-self: center; padding: 12px 12px 70px; background: #fff; border: 5px solid #e7e7e7; box-shadow: 0 15px 55px rgba(0,0,0,.5); }.lightbox.engine-colorbox .lightbox-image-wrap img { max-height: calc(100vh - 250px); }.lightbox.engine-colorbox .lightbox-figure figcaption { bottom: 78px; color: #222; background: #fff; }.lightbox.engine-colorbox .lightbox-figure p { color: #777; }.lightbox.engine-colorbox .lightbox-thumbs { display: none; }
.lightbox.engine-photoswipe .lightbox-backdrop { background: #000; backdrop-filter: none; }.lightbox.engine-photoswipe .lightbox-toolbar { background: rgba(0,0,0,.52); }.lightbox.engine-photoswipe .lightbox-figure figcaption { bottom: 8px; }.lightbox.engine-photoswipe .lightbox-thumbs { display: none; }
.lightbox.engine-spotlight .lightbox-backdrop { background: rgba(0,0,0,.97); backdrop-filter: none; }.lightbox.engine-spotlight .lightbox-toolbar { opacity: .68; border: 0; }.lightbox.engine-spotlight .lightbox-thumbs { opacity: .48; }.lightbox.engine-spotlight .lightbox-figure figcaption { opacity: .78; }
.lightbox.engine-lightgallery .lightbox-toolbar { background: rgba(0,0,0,.72); }.lightbox.engine-lightgallery #lightbox-engine { color: #fff; }.lightbox.engine-lightgallery .lightbox-thumbs { padding-top: 13px; background: rgba(0,0,0,.58); }.lightbox.engine-lightgallery .lightbox-thumbs button { width: 75px; height: 53px; }
.lightbox.transition-fade .lightbox-image-wrap img { animation: lbFade .3s both; }.lightbox.transition-slide .lightbox-image-wrap img { animation: lbSlide .3s both; }.lightbox.transition-zoom .lightbox-image-wrap img { animation: lbZoom .35s both; }
@keyframes lbFade { from { opacity: 0; } } @keyframes lbSlide { from { opacity: 0; transform: translateX(25px); } } @keyframes lbZoom { from { opacity: 0; transform: scale(.92); } }
.toast { position: fixed; z-index: 800; left: 50%; bottom: 28px; padding: 10px 16px; border-radius: 9px; color: #fff; background: #111a25; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .25s; font-size: 12px; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.hero-copy > p { margin-inline: auto; }.hero-actions, .hero-stats { justify-content: center; }.hero-preview { max-width: 720px; margin: 10px auto 0; }
  .demo-app { grid-template-columns: 265px minmax(0,1fr); }.gallery-stage { min-height: 580px; padding: 14px; }
  .layout-catalog { grid-template-columns: repeat(3,1fr); }.engine-catalog { grid-template-columns: repeat(4,1fr); }
  .feature-strip-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .menu-button { display: block; }.nav-links { position: fixed; left: 14px; right: 14px; top: 82px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: #0d141e; box-shadow: 0 20px 45px rgba(0,0,0,.4); }.nav-links.open { display: flex; }.nav-links a { padding: 10px; }
  .demo-badge { display: none; }.hero { padding-top: 130px; }.hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }.floating-card-two { right: 5px; }.floating-card-one { left: 5px; }.mini-gallery { height: 330px; }
  .compatibility-inner { flex-direction: column; gap: 12px; }.compatibility-inner > div { justify-content: center; }
  .demo-section, .layouts-section, .engines-section { padding: 80px 0; }
  .demo-app { display: block; }.control-panel { border-right: 0; }.gallery-stage { min-height: 560px; }.stage-toolbar { align-items: flex-start; }
  .shortcode-panel { grid-template-columns: 1fr auto; }.shortcode-panel > div { grid-column: 1 / 3; }.shortcode-panel code { min-width: 0; }
  .layout-catalog { grid-template-columns: repeat(2,1fr); }.engine-catalog { grid-template-columns: repeat(2,1fr); }
  .gallery-grid.layout-elegant { grid-template-columns: repeat(2,1fr); }.gallery-grid.layout-square, .gallery-grid.layout-seamless { grid-template-columns: repeat(3,1fr); }
  .gallery-grid.layout-artistic { grid-template: repeat(4, 105px) / repeat(2, 1fr); }.gallery-grid.layout-artistic .gallery-item:nth-child(n) { grid-area: auto; }.gallery-grid.layout-artistic .gallery-item:first-child { grid-area: 1 / 1 / 3 / 3; }
  .gallery-galleria { grid-template-columns: 1fr; height: auto; }.gallery-galleria .viewer-main { height: 370px; }.gallery-galleria .viewer-thumbs { flex-direction: row; overflow-x: auto; }.gallery-galleria .viewer-thumb { width: 85px; height: 58px; }
  .viewer-main, .gallery-slider { height: 390px; }.lightbox-shell { grid-template-columns: 48px 1fr 48px; }.lightbox-arrow { width: 38px; height: 38px; }.lightbox-figure figcaption { width: calc(100% - 35px); }.lightbox-toolbar { padding: 0 10px; }.lightbox-actions button, .lightbox-actions a { width: 34px; }.lightbox-brand #lightbox-engine { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }.footer-inner > div:last-child { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 23px; }.hero-stats strong { font-size: 25px; }.hero-preview { margin-inline: -4px; }.floating-card { display: none; }.mini-gallery { height: 270px; }
  .stage-badges { display: none; }.gallery-stage { min-height: 510px; padding: 10px; }.layout-catalog { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery-grid.layout-square, .gallery-grid.layout-seamless { grid-template-columns: repeat(2,1fr); }.gallery-grid.layout-elegant { grid-template-columns: 1fr 1fr; }.gallery-grid.layout-elegant .gallery-item { height: 160px; border-width: 4px; }
  .viewer-main, .gallery-slider { height: 330px; }.single-cover { height: 340px; }.shortcode-panel { gap: 10px; padding: 15px; }
  .feature-strip-grid { grid-template-columns: 1fr; gap: 18px; }.feature-strip article { padding-bottom: 17px; border-bottom: 1px solid #dfe3ea; }
  .lightbox-shell { grid-template: 57px 1fr 70px / 42px 1fr 42px; }.lightbox-thumbs { justify-content: flex-start; }.lightbox-figure figcaption { bottom: 80px; }.lightbox.engine-colorbox .lightbox-figure { width: calc(100vw - 50px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
