/* VR Tours service page (src/pages/vr-tours.html). Builds on style.css tokens. */

/* ---------- Hero ---------- */
.vr-hero { padding: clamp(130px, 16vw, 190px) 0 clamp(80px, 11vw, 130px); }
/* the headline is a full sentence, so a bit smaller than the site's usual one-liners */
.vr-hero .mega { font-size: clamp(44px, 7.4vw, 118px); }
@media (max-width: 640px) { .vr-hero .mega { font-size: 9.4vw; } }
.vr-hero .lead { margin: 26px auto 0; max-width: 60ch; text-wrap: balance; }
.vr-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Browser frame around a tour screenshot */
.vr-browser { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); transition: transform .5s cubic-bezier(.625,.05,0,1), border-color .3s; }
.vr-browser:hover { transform: translateY(-6px); border-color: var(--text); }
.vr-browser img { display: block; width: 100%; height: auto; }
.vr-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.vr-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.vr-url { margin: 0 auto; padding: 4px 14px; border-radius: 99px; background: var(--tint-2); font-size: 12px; color: var(--muted); }
.vr-browser-hero { margin-top: clamp(48px, 7vw, 80px); box-shadow: 0 40px 120px -40px rgba(0, 255, 157, .25); }
.vr-360 { position: absolute; right: 20px; bottom: 20px; padding: 10px 14px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 14px var(--f-pixel); color: var(--accent); }

/* ---------- Case ---------- */
.vr-case { padding: clamp(80px, 11vw, 130px) 0; }
.vr-case-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(44px, 6vw, 70px); }
.vr-case-head .eyebrow { color: #6b6b66; margin-bottom: 16px; }
.vr-case-sub { margin-top: 14px; font-size: 18px; color: #55554f; }
.vr-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 4vw, 52px); }
.vr-facts b { display: block; font: 800 clamp(40px, 5vw, 64px)/1 var(--f-display); letter-spacing: -.03em; }
.vr-facts span { display: block; margin-top: 8px; font-size: 14px; color: #55554f; max-width: 15ch; }
.vr-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); margin-bottom: clamp(44px, 6vw, 70px); }
.vr-story h3 { font: 400 11px/1.2 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: #6b6b66; margin: 0 0 14px; }
.vr-story p { font-size: 17px; line-height: 1.55; color: #33332f; }
.vr-story p b { color: var(--light-text); }
.vr-case-cta { margin-top: 34px; text-align: center; }

/* ---------- Your brand ---------- */
.vr-brand { padding: clamp(90px, 12vw, 140px) 0; }
.vr-brand-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.vr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vr-compare .vr-browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.vr-cap { display: grid; gap: 6px; padding: 18px 20px 22px; }
.vr-cap b { font-weight: 600; }
.vr-cap span { color: var(--muted); font-size: 14px; }

/* ---------- Features ---------- */
.vr-features { padding: 0 0 clamp(90px, 12vw, 140px); }
.vr-features .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.vr-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.vr-feature-list li { border-top: 1px solid var(--line); padding: 22px 0 26px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.vr-feature-list li > div { display: grid; gap: 8px; min-width: 0; }
.vr-feature-list b { font-weight: 600; font-size: 17px; }

/* Neon icons: a slow idle loop, a little livelier on hover */
.vr-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 255, 157, .07); border: 1px solid rgba(0, 255, 157, .28); box-shadow: 0 0 22px -6px rgba(0, 255, 157, .45), inset 0 0 14px -6px rgba(0, 255, 157, .5); transition: box-shadow .3s, border-color .3s; }
.vr-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(0, 255, 157, .8)); overflow: visible; }
.vr-feature-list li:hover .vr-ic { border-color: var(--accent); box-shadow: 0 0 32px -4px rgba(0, 255, 157, .7), inset 0 0 18px -6px rgba(0, 255, 157, .7); }
.ic-draw { stroke-dasharray: 16; animation: ic-draw 3.2s ease-in-out infinite; }
.ic-swing { transform-origin: 16px 16px; animation: ic-swing 3s ease-in-out infinite; }
.ic-pulse { fill: var(--accent); transform-origin: 16.5px 16px; animation: ic-pulse 1.8s ease-in-out infinite; }
.ic-spin { transform-origin: 16px 16px; animation: ic-spin 6s linear infinite; }
.ic-blink { fill: var(--accent); stroke: none; transform-box: fill-box; transform-origin: center; animation: ic-blink 4s ease-in-out infinite; }
.ic-turn { transform-origin: 16px 16px; animation: ic-turn 4s ease-in-out infinite; }
.vr-feature-list li:hover .ic-spin { animation-duration: 1.6s; }
.vr-feature-list li:hover .ic-swing, .vr-feature-list li:hover .ic-turn { animation-duration: 1.2s; }
@keyframes ic-draw { 0% { stroke-dashoffset: 16; } 35%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -16; } }
@keyframes ic-swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes ic-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .6; } }
@keyframes ic-spin { to { transform: rotate(360deg); } }
@keyframes ic-blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes ic-turn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@media (prefers-reduced-motion: reduce) { .vr-ic * { animation: none !important; } }
.vr-feature-list span { color: var(--muted); }

/* ---------- Closing ---------- */
.vr-close { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 16vw, 200px) 0; color: #f2f2ee; }  /* always light text: the photos stay dark in both themes */
/* Tour screenshots slowly cross-fading and panning behind the closing text, like looking around in 360° */
.vr-close-bg { position: absolute; inset: 0; z-index: -1; }
.vr-close-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); animation: vr-bg 18s linear infinite; }
.vr-close-bg img:nth-child(2) { animation-delay: 6s; }
.vr-close-bg img:nth-child(3) { animation-delay: 12s; }
.vr-close-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, .9) 70%), linear-gradient(var(--bg), transparent 25%, transparent 75%, var(--bg)); }
@keyframes vr-bg {
  0% { opacity: 0; transform: scale(1.15) translateX(3%); }
  8%, 33% { opacity: 1; }
  41%, 100% { opacity: 0; transform: scale(1.15) translateX(-3%); }
}
@media (prefers-reduced-motion: reduce) { .vr-close-bg img { animation: none; } .vr-close-bg img:first-child { opacity: 1; } }
.vr-close .lead { color: #c9c9c4; }
.vr-close .lead { margin: 22px auto 32px; }

/* ---------- Light theme ---------- */
:root[data-theme="light"] .vr-browser-hero { box-shadow: 0 40px 120px -50px rgba(0, 0, 0, .35); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .vr-story, .vr-brand-head, .vr-features .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vr-compare, .vr-feature-list { grid-template-columns: 1fr; }
  .vr-facts { width: 100%; justify-content: space-between; gap: 16px; }
  .vr-ctas .btn { width: 100%; }
  .vr-360 { right: 12px; bottom: 12px; font-size: 12px; }
}
/* ---------- Checks under the hero visual ---------- */
.vr-checks { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.vr-checks li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.vr-checks li > div { display: grid; gap: 6px; min-width: 0; }
.vr-checks b { font-weight: 600; font-size: 17px; }
.vr-checks span:not(.vr-ic) { color: var(--muted); }
.vr-check .ic-draw { stroke-dasharray: 16; stroke-width: 2.2; }
.vr-checks li:nth-child(2) .ic-draw { animation-delay: .5s; }
.vr-checks li:nth-child(3) .ic-draw { animation-delay: 1s; }
.vr-checks li:nth-child(4) .ic-draw { animation-delay: 1.5s; }

/* ---------- What makes Winsbits tours different ---------- */
.vr-diff { padding: clamp(90px, 12vw, 140px) 0; border-top: 1px solid var(--line); margin-top: clamp(80px, 11vw, 130px); }
.vr-diff-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(40px, 6vw, 64px); }

/* Comparison table */
.vr-table-wrap { margin-top: 0; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.vr-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.vr-table th, .vr-table td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.vr-table thead th { border-top: 0; font: 400 11px/1.2 var(--f-pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vr-table thead th:last-child { color: var(--accent-text); }
.vr-table tbody th { font-weight: 600; width: 18%; }
.vr-table td { color: var(--muted); }
.vr-table td:last-child { color: var(--text); background: rgba(0, 255, 157, .05); }
.vr-table td:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--accent); box-shadow: 0 0 8px var(--accent); vertical-align: 1px; }

@media (max-width: 1100px) { .vr-checks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .vr-checks { grid-template-columns: 1fr; }
}
