/* ================================================================
   Variablz Technologies landing page (templates/technologies-page.php)
   Hero: centred copy over a wall of product tiles, each showing the product
   at work. Then the products available now. Prefix: vt-
   ================================================================ */
.vt {
  --vt-ink: #0e1222;
  --vt-ink-2: #1a2036;
  --vt-text: #323232;
  --vt-muted: #5d6170;
  --vt-line: #e7e8ee;
  --vt-soft: #f6f7fb;
  --vt-primary: var(--color-primary, #a22d75);
  --vt-secondary: var(--color-secondary, #2d9ba2);
  --vt-support: var(--color-support, #2d4ea2);
  --vt-radius: 22px;
  --vt-shadow: 0 1px 2px rgba(14, 18, 34, .04), 0 12px 32px -12px rgba(14, 18, 34, .14);
  --vt-shadow-lg: 0 2px 4px rgba(14, 18, 34, .04), 0 32px 64px -24px rgba(14, 18, 34, .28);
  position: relative;
  color: var(--vt-text);
  background: #fff;
  overflow-x: clip;
}
.vt h1, .vt h2, .vt h3 { font-family: var(--font-heading); color: var(--vt-ink); letter-spacing: -.02em; }
.vt p { margin: 0; }
.vt img[loading="lazy"] { opacity: 1; } /* main.css hides lazy images until a script fades them in */
.vt .container { max-width: 1200px; }

/* ── Buttons & links ─────────────────────────────────────────── */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.vt-btn:hover { opacity: 1; transform: translateY(-1px); }
.vt-btn svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .18s ease; }
.vt-btn:hover svg { transform: rotate(90deg) translateX(3px); }
.vt-btn--primary { color: #fff; background: var(--vt-ink); box-shadow: 0 10px 24px -10px rgba(14, 18, 34, .55); }
.vt-btn--primary:hover { color: #fff; background: var(--vt-primary); }
.vt-btn:focus-visible, .vt-link:focus-visible, .vt-store:focus-visible, .vt-tile:focus-visible { outline: 3px solid var(--vt-secondary); outline-offset: 3px; }

.vt-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--vt-ink); text-decoration: none; }
.vt-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.vt-link:hover { opacity: 1; color: var(--vt-primary); }
.vt-link:hover svg { transform: translateX(3px); }

.vt-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 24px; }
.vt-store { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: .9375rem; font-weight: 600; color: #fff; background: var(--vt-ink); text-decoration: none; transition: background-color .18s ease; }
.vt-store:hover { opacity: 1; color: #fff; background: var(--vt-primary); }

/* ── Small pieces ────────────────────────────────────────────── */
.vt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px !important; padding: 6px 14px 6px 10px;
  border: 1px solid var(--vt-line); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 600; color: var(--vt-ink-2);
}
.vt-eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vt-secondary); box-shadow: 0 0 0 4px rgba(45, 155, 162, .18); }
.vt-grad { background: linear-gradient(100deg, var(--vt-primary) 0%, #6b3fa0 45%, var(--vt-support) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.vt-icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 18, 34, .08);
}
.vt-icon img { width: 100%; height: 100%; object-fit: cover; }
.vt-icon--mono { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; background: linear-gradient(140deg, var(--vt-accent), color-mix(in srgb, var(--vt-accent) 70%, #0e1222)); box-shadow: none; }
.vt-icon--lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.35rem; }
.vt-icon--xs { width: 30px; height: 30px; border-radius: 9px; font-size: .7rem; }

.vt-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vt-meta li { margin: 0; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--vt-ink-2); background: var(--vt-soft); }
.vt-meta li.is-price { color: #257d36; background: #e8f9eb; }
.vt-meta li.is-beta { color: #1f5fa8; background: #e7f0fb; }

/* ── Hero ────────────────────────────────────────────────────── */
.vt-hero {
  padding: calc(var(--space-24) + 32px) 0 96px;
  background: radial-gradient(50% 40% at 50% 0%, rgba(45, 155, 162, .10), transparent 70%), radial-gradient(40% 30% at 85% 10%, rgba(162, 45, 117, .08), transparent 70%), #fff;
}
.vt-hero__copy { max-width: 860px; margin: 0 auto 64px; text-align: center; }
.vt .vt-hero__title { margin: 0 0 24px; font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 800; line-height: 1.03; letter-spacing: -.04em; }
.vt-hero__lead { max-width: 60ch; margin: 0 auto 36px !important; font-size: 1.1875rem; line-height: 1.65; color: var(--vt-muted); }

/* Product wall */
.vt-wall { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: 300px; }
.vt-wall--4 { grid-template-columns: 1.3fr 1fr .9fr; grid-template-areas: "ed ed ph" "pl sp ph"; }
.vt-wall--4 .vt-tile--editor { grid-area: ed; }
.vt-wall--4 .vt-tile--phone { grid-area: ph; }
.vt-wall--4 .vt-tile--player { grid-area: pl; }
.vt-wall--4 .vt-tile--spec { grid-area: sp; }

.vt-tile {
  position: relative; display: block; overflow: hidden; border-radius: 26px; color: inherit; text-decoration: none;
  background: var(--vt-soft); box-shadow: var(--vt-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
a.vt-tile:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--vt-shadow-lg); }
.vt-tile__art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 24px 76px; }
.vt-tile__tag { max-width: 28ch; text-align: center; font-weight: 600; color: var(--vt-ink-2); }
.vt-tile__cap {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 28px);
  padding: 8px 16px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px -8px rgba(14, 18, 34, .35);
}
.vt-tile__cap > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.vt-tile__cap b { font-size: .9375rem; color: var(--vt-ink); }
.vt-tile__cap small { overflow: hidden; font-size: .8125rem; color: var(--vt-muted); white-space: nowrap; text-overflow: ellipsis; }

/* Editor scene (Variablz Dark) */
.vt-tile--editor { background: linear-gradient(160deg, #1b1f2e, #10131d); }
.vt-tile--editor .vt-tile__art { align-items: stretch; justify-content: flex-start; padding: 22px 22px 76px; }
.vt-ed { flex: 1; display: flex; flex-direction: column; border-radius: 14px; background: #161a26; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.vt-ed__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1d2231; }
.vt-ed__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.vt-ed__bar i:nth-child(2) { background: #febc2e; } .vt-ed__bar i:nth-child(3) { background: #28c840; }
.vt-ed__tab { margin-left: 10px; padding: 3px 10px; border-radius: 6px; font: 500 .75rem/1.4 var(--font-mono); color: #c8cbe0; background: #161a26; }
.vt-ed__code { flex: 1; margin: 0; padding: 12px 18px; overflow: hidden; font: 400 .8125rem/1.6 var(--font-mono); color: #d5d8ea; background: none; white-space: pre; }
.vt-ed__code .c { color: #6b7394; font-style: italic; }
.vt-ed__code .k { color: #ff79c6; }
.vt-ed__code .s { color: #7fd8de; }
.vt-ed__code .f { color: #a5b4ff; }
.vt-ed__code .t { color: #f1d306; }
.vt-ed__code .n { color: #ffb86c; }

/* Phone scene (Jobz) */
.vt-tile--phone { background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--vt-accent) 22%, #fff), #f3f4f8); }
.vt-tile--phone .vt-tile__art { justify-content: flex-start; padding: 36px 24px 0; }
.vt-mini-phone { width: min(230px, 78%); aspect-ratio: 9 / 18; padding: 8px; border-radius: 34px 34px 0 0; background: #0e1222; box-shadow: var(--vt-shadow-lg); }
.vt-mini-phone img { width: 100%; height: 100%; border-radius: 27px 27px 0 0; object-fit: cover; object-position: top; background: #fff; }

/* Player scene (Vibez Time) */
.vt-tile--player { background: linear-gradient(150deg, #2b1745, #6b3fa0 55%, #a22d75); }
.vt-pl { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px 14px; width: 100%; max-width: 320px; color: #fff; }
.vt-pl__art { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.vt-pl__info { display: flex; flex-direction: column; line-height: 1.3; }
.vt-pl__info b { font-size: 1rem; }
.vt-pl__info small { font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.vt-pl__eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.vt-pl__eq i { width: 4px; border-radius: 2px; background: #7fd8de; transform-origin: bottom; animation: vt-eq 1.1s ease-in-out infinite; }
.vt-pl__eq i:nth-child(1) { height: 40%; } .vt-pl__eq i:nth-child(2) { height: 90%; animation-delay: -.3s; } .vt-pl__eq i:nth-child(3) { height: 60%; animation-delay: -.6s; } .vt-pl__eq i:nth-child(4) { height: 100%; animation-delay: -.15s; } .vt-pl__eq i:nth-child(5) { height: 50%; animation-delay: -.45s; }
@keyframes vt-eq { 50% { transform: scaleY(.35); } }
.vt-pl__bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.vt-pl__bar span { display: block; width: 38%; height: 100%; border-radius: 2px; background: #fff; }
.vt-pl__ctl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 26px; color: rgba(255, 255, 255, .85); }
.vt-pl__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #2b1745; background: #fff; }

/* Spec scene (Metric Fasteners) */
.vt-tile--spec { background: linear-gradient(160deg, #f4f6f9, #e6ebf2); }
.vt-sp { display: flex; align-items: center; gap: 22px; color: var(--vt-support); }
.vt-sp__bolt { width: 44px; height: auto; flex: none; }
.vt-sp__rows { display: grid; gap: 8px; margin: 0; }
.vt-sp__rows div { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px -4px rgba(14, 18, 34, .2); }
.vt-sp__rows dt { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vt-muted); }
.vt-sp__rows dd { margin: 0; font: 600 .9375rem/1.4 var(--font-mono); color: var(--vt-ink); }

/* ── Products ────────────────────────────────────────────────── */
.vt-section { padding: 104px 0 120px; background: linear-gradient(180deg, var(--vt-soft), #fff 40%); }
.vt-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.vt-kicker { margin-bottom: 12px !important; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vt-primary); }
.vt .vt-h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.vt-sub { margin-top: 14px !important; font-size: 1.125rem; line-height: 1.65; color: var(--vt-muted); }

.vt-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }

.vt-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; overflow: hidden;
  padding: 48px; margin-bottom: 24px; border-radius: 28px; background: #fff; border: 1px solid var(--vt-line); box-shadow: var(--vt-shadow);
}
.vt-feature::before { content: ""; position: absolute; inset: 0 0 0 50%; background: radial-gradient(70% 70% at 60% 50%, color-mix(in srgb, var(--vt-accent) 18%, transparent), transparent 70%), var(--vt-soft); }
.vt-feature > * { position: relative; }
.vt-feature__copy { display: flex; flex-direction: column; }
.vt .vt-feature__name { margin: 0 0 6px; font-size: 2.25rem; font-weight: 800; }
.vt-feature__tag { margin-bottom: 14px !important; font-size: 1.125rem; font-weight: 600; color: var(--vt-ink-2); }
.vt-feature__sum { font-size: 1.0625rem; line-height: 1.65; color: var(--vt-muted); }
.vt-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.vt-ticks li { position: relative; margin: 0; padding-left: 26px; font-size: .9375rem; font-weight: 500; color: var(--vt-ink-2); }
.vt-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e8f9eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23257d36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.vt-feature__shots { position: relative; height: 460px; }
.vt-shot { position: absolute; top: 50%; left: 50%; width: 190px; border-radius: 24px; border: 6px solid #0e1222; box-shadow: var(--vt-shadow-lg); background: #fff; }
.vt-shot--1 { z-index: 3; translate: -50% -50%; }
.vt-shot--2 { z-index: 2; translate: calc(-50% - 130px) -44%; rotate: -8deg; }
.vt-shot--3 { z-index: 1; translate: calc(-50% + 130px) -44%; rotate: 8deg; }

.vt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.vt-card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--vt-radius); background: #fff;
  border: 1px solid var(--vt-line); box-shadow: var(--vt-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.vt-card:hover { transform: translateY(-4px); box-shadow: var(--vt-shadow-lg); }
.vt .vt-card__name { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; }
.vt-card__sum { font-size: 1rem; line-height: 1.6; color: var(--vt-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .vt-wall--4 { grid-template-columns: 1fr 1fr; grid-template-areas: "ed ed" "pl sp" "ph ph"; }
  .vt-wall--4 .vt-tile--phone { min-height: 420px; }
}
@media (max-width: 860px) {
  .vt-feature { grid-template-columns: 1fr; padding: 32px; }
  .vt-feature::before { inset: 55% 0 0 0; }
  .vt-feature__shots { height: 400px; }
}
@media (max-width: 600px) {
  .vt .container { padding-inline: 16px; }
  .vt-hero { padding: 104px 0 64px; }
  .vt-hero__copy { margin-bottom: 40px; }
  .vt-hero__lead { font-size: 1.0625rem; }
  .vt-btn { width: 100%; }
  .vt-wall, .vt-wall--4 { grid-template-columns: 1fr; grid-template-areas: none; grid-auto-rows: auto; }
  .vt-wall--4 .vt-tile { grid-area: auto; }
  .vt-tile { min-height: 250px; }
  .vt-tile--editor { min-height: 290px; }
  .vt-ed__code { font-size: .75rem; padding: 12px; }
  .vt-wall--4 .vt-tile--phone { min-height: 380px; }
  .vt-section { padding: 72px 0 88px; }
  .vt-feature { padding: 24px; border-radius: 22px; }
  .vt .vt-feature__name { font-size: 1.85rem; }
  .vt-ticks { grid-template-columns: 1fr; }
  .vt-feature__shots { height: 330px; }
  .vt-shot { width: 140px; border-width: 5px; border-radius: 18px; }
  .vt-shot--2 { translate: calc(-50% - 88px) -44%; }
  .vt-shot--3 { translate: calc(-50% + 88px) -44%; }
  .vt-card { padding: 26px 22px; }
  .vt-grid { grid-template-columns: 1fr; }
  .vt-card__top { flex-direction: column; }
  .vt-meta { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .vt-pl__eq i { animation: none; }
  .vt-btn, .vt-card, .vt-tile, .vt-link svg, .vt-btn svg { transition: none; }
}
