/* ─────────────────────────────────────────────────────────────────────
   WallsPy landing page (extends base.css)
   ─────────────────────────────────────────────────────────────────────
   Pure-WallsPy marketing homepage. Builds entirely on the base.css design
   tokens (brand triad + surfaces + motion). Showcases the four product
   pillars: WallPT (AI), Interactive Living Wallpapers, Live 3D Parallax,
   and Live Effects.
*/

/* ─── shared bits ─────────────────────────────────────────────────── */
/* .brand__logo lives in base.css so every page's header can use it. */

.nav__cta {
    color: var(--text) !important;
    background: var(--accent-soft);
    border: 1px solid rgba(34, 200, 227, 0.32);
    font-weight: 600;
}
.nav__cta:hover { background: rgba(34, 200, 227, 0.2) !important; }

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-2);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border: 1px solid rgba(34, 200, 227, 0.28);
}

.grad-text {
    background: linear-gradient(120deg, var(--brand-cyan) 0%, var(--brand-yellow) 48%, var(--brand-pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.16;
    padding-bottom: 0.06em;
    letter-spacing: -0.025em;
    margin: 16px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #c8c8d2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head p {
    margin: 14px 0 0;
    color: var(--text-mute);
    font-size: 1.02rem;
}

.section {
    padding: 84px 0;
    position: relative;
}

/* reveal-on-scroll (JS toggles .in; reduced-motion shows instantly) */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ─── hero ────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 24px 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.hero__copy, .hero__visual { position: relative; z-index: 3; }
.hero__copy { max-width: 560px; }

/* Featured-wallpaper background slider — full-bleed, populated by landing.js.
   Heavily dimmed so the hero copy + phone stay perfectly legible. Falls back
   to the plain ambient backdrop when there's no data. */
.hero__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    overflow: hidden;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    filter: blur(2px) saturate(1.05);
    transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(125% 85% at 50% 0%, rgba(8, 8, 13, 0.55), transparent 62%),
        linear-gradient(180deg, rgba(8, 8, 13, 0.80) 0%, rgba(8, 8, 13, 0.62) 38%, rgba(8, 8, 13, 0.93) 100%);
}
.hero__title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.08;
    padding-bottom: 0.06em;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 22px 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #c4c4d0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__sub {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--text-mute);
    margin: 0 0 30px;
}
.hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero__meta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.86rem;
}
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }

/* glowing brand orb behind the hero visual */
.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}
.hero__visual::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 38%, rgba(34, 200, 227, 0.40) 0%, transparent 56%),
        radial-gradient(circle at 70% 38%, rgba(238, 77, 159, 0.34) 0%, transparent 56%),
        radial-gradient(circle at 50% 72%, rgba(251, 208, 40, 0.22) 0%, transparent 56%);
    filter: blur(34px);
    z-index: 0;
    animation: orbFloat 9s ease-in-out infinite;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-18px) scale(1.05); }
}

/* the parallax "phone" — a live demo of the 3D depth feature */
.phone {
    position: relative;
    z-index: 1;
    width: clamp(220px, 26vw, 286px);
    aspect-ratio: 9 / 19;
    border-radius: 40px;
    padding: 9px;
    background: linear-gradient(160deg, #2a2a36 0%, #14141c 100%);
    border: 1px solid var(--border-strong);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.08) inset,
        0 40px 90px rgba(0,0,0,0.6),
        0 0 0 1px rgba(0,0,0,0.4);
    transform: perspective(1200px) rotateY(-14deg) rotateX(6deg);
    transition: transform var(--t-slow) var(--ease);
}
.phone:hover { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); }
.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #05060c;
}
.phone__layer {
    position: absolute;
    inset: -8% -8% -8% -8%;
    will-change: transform;
    transition: transform 120ms linear;
}
.layer-sky   { background: linear-gradient(180deg, #0a1a3a 0%, #16365f 38%, #b65a86 78%, #f4a05f 100%); }
.layer-sun   {
    background: radial-gradient(circle at 50% 62%, rgba(251,208,40,0.95) 0%, rgba(253,160,133,0.6) 18%, transparent 42%);
    mix-blend-mode: screen;
}
.layer-ridge {
    background:
        radial-gradient(120% 80% at 20% 100%, #1a2348 40%, transparent 41%),
        radial-gradient(120% 70% at 80% 100%, #241a40 46%, transparent 47%);
}
.layer-fg {
    background:
        radial-gradient(150% 60% at 50% 118%, #07070e 52%, transparent 53%);
}
.phone__notch {
    position: absolute;
    top: 16px; left: 50%;
    transform: translateX(-50%);
    width: 86px; height: 22px;
    background: #05060c;
    border-radius: 999px;
    z-index: 5;
}
.phone__chip {
    position: absolute;
    z-index: 6;
    left: 14px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem; font-weight: 600;
    color: #fff;
    background: rgba(8, 8, 14, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.16);
}
.phone__chip .spark { color: var(--brand-yellow); }

/* floating feature pills around the phone */
.float-pill {
    position: absolute;
    z-index: 2;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(22, 22, 31, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    white-space: nowrap;
    animation: floatY 6s ease-in-out infinite;
}
.float-pill .ic { margin-right: 6px; }
.float-pill--a { top: 12%; left: 2%;  border-color: rgba(34,200,227,0.4); }
.float-pill--b { top: 44%; right: 2%; animation-delay: 1.4s; border-color: rgba(238,77,159,0.4); }
.float-pill--c { bottom: 14%; left: 6%; animation-delay: 2.6s; border-color: rgba(251,208,40,0.4); }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

/* ─── stat band ───────────────────────────────────────────────────── */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
    margin-bottom: 8px;
}
.stat {
    text-align: center;
    padding: 26px 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
}
.stat__num {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, var(--brand-cyan), var(--brand-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat__label {
    display: block;
    margin-top: 6px;
    font-size: 0.84rem;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}

/* ─── feature rows ────────────────────────────────────────────────── */

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 72px;
}
.feature:first-of-type { margin-top: 0; }
.feature--reverse .feature__media { order: 2; }
.feature__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.feature__eyebrow.c-cyan   { color: var(--brand-cyan-2); }
.feature__eyebrow.c-pink   { color: var(--brand-pink-2); }
.feature__eyebrow.c-yellow { color: var(--brand-yellow-2); }
.feature h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.18;
    padding-bottom: 0.04em;
    letter-spacing: -0.02em;
    margin: 12px 0 14px;
}
.feature p {
    color: var(--text-mute);
    font-size: 1.02rem;
    margin: 0 0 18px;
}
.feature__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature__list li {
    display: flex; gap: 10px; align-items: flex-start;
    color: var(--text); font-size: 0.94rem;
}
.feature__list .tick {
    flex: none;
    width: 20px; height: 20px; margin-top: 1px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent-2);
    font-size: 0.7rem; font-weight: 800;
    border: 1px solid rgba(34,200,227,0.3);
}

.feature__media {
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0,0,0,0.4);
    overflow: hidden;
    min-height: 320px;
    padding: 24px;
    display: grid;
    place-items: center;
}

/* WallPT demo */
.wallpt {
    width: 100%;
    max-width: 360px;
    display: grid;
    gap: 16px;
}
.wallpt__bar {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--surface-3);
    border: 1px solid var(--border-strong);
    font-size: 0.92rem;
}
.wallpt__bar .spark { color: var(--brand-yellow); }
.wallpt__prompt { color: var(--text); min-height: 1.2em; }
.wallpt__caret {
    display: inline-block; width: 2px; height: 1em;
    background: var(--accent-2); vertical-align: text-bottom;
    animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.wallpt__canvas {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 30% 25%, rgba(34,200,227,0.5), transparent 45%),
        radial-gradient(circle at 75% 30%, rgba(238,77,159,0.5), transparent 45%),
        radial-gradient(circle at 55% 80%, rgba(251,208,40,0.45), transparent 50%),
        linear-gradient(140deg, #141a2e, #221426);
    background-size: 220% 220%;
    animation: aiShift 8s ease-in-out infinite;
    position: relative;
}
@keyframes aiShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.wallpt__models { display: flex; gap: 8px; flex-wrap: wrap; }

/* 3D parallax demo card */
.depthcard {
    position: relative;
    width: 100%; max-width: 320px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
}
.depthcard__layer { position: absolute; inset: -10%; transition: transform 140ms linear; will-change: transform; }
.depthcard .d-bg { background: linear-gradient(180deg, #122044 0%, #3a2150 60%, #7a3b66 100%); }
.depthcard .d-mid {
    background: radial-gradient(circle at 50% 78%, rgba(251,208,40,0.9), rgba(253,160,133,0.4) 22%, transparent 44%);
    mix-blend-mode: screen;
}
.depthcard .d-fg {
    background:
        radial-gradient(140% 52% at 50% 122%, #07070e 55%, transparent 56%),
        radial-gradient(60% 30% at 22% 120%, #0c1230 60%, transparent 61%);
}
.depthcard__hint {
    position: absolute; z-index: 4; left: 12px; bottom: 12px;
    font-size: 0.74rem; color: var(--text-mute);
    background: rgba(8,8,14,0.5); border: 1px solid var(--border-strong);
    padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* live effect demo */
.effectbox {
    width: 100%; max-width: 340px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    overflow: hidden;
    position: relative;
    background: #05060c;
}
.effectbox::before, .effectbox::after {
    content: ""; position: absolute; inset: -40%;
}
.effectbox::before {
    background: conic-gradient(from 0deg, var(--brand-cyan), var(--brand-pink), var(--brand-yellow), var(--brand-cyan));
    filter: blur(34px); opacity: 0.55;
    animation: spinSlow 12s linear infinite;
}
.effectbox::after {
    background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px);
    animation: pulseGrid 5s ease-in-out infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseGrid { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.08); opacity: 0.85; } }

/* ─── interactive living-wallpaper media (flagship pillar) ────────── */

.feature--lead .feature__media {
    border-color: rgba(34, 200, 227, 0.28);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 200, 227, 0.12);
}
.feature__eyebrow .flag {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 999px;
    color: #06121a;
    background: linear-gradient(120deg, var(--brand-cyan), var(--brand-cyan-2));
    vertical-align: middle;
}

.living { width: 100%; max-width: 360px; display: grid; gap: 16px; }
.living__stage {
    position: relative;
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
}
/* JS removes .effectbox and injects .living__grid once preview videos load;
   until then the animated gradient is the fallback preview surface. */
.living__grid { display: grid; gap: 6px; width: 100%; height: 100%; }
.living__grid--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.living__grid--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.living__grid--3,
.living__grid--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.living__grid--3 .living__cell:first-child { grid-column: span 2; }
.living__cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
}
.living__cell video,
.living__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.living__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.itag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
}
.itag .ic { color: var(--brand-cyan-2); }
.feature__list .tick .ic { width: 0.78rem; height: 0.78rem; stroke-width: 2.6; }

/* category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
    transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--border-strong); transform: translateY(-2px); background: var(--surface-3); }
.chip__count {
    font-size: 0.76rem; font-weight: 700;
    color: var(--accent-2);
    background: var(--accent-soft);
    padding: 1px 8px; border-radius: 999px;
}

/* ─── showcase gallery (masonry) ──────────────────────────────────── */

.gallery {
    columns: 4 220px;
    column-gap: 16px;
    margin-top: 8px;
}
.tile {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background: var(--surface-2);
    transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.tile:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.tile img {
    width: 100%; height: auto; display: block;
    background: var(--surface-3);
}
.tile__meta {
    position: absolute; inset: auto 0 0 0;
    padding: 26px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(5,6,12,0.82));
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.tile:hover .tile__meta { opacity: 1; }
.tile__title { font-size: 0.84rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__tag {
    flex: none;
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #06121a;
    background: linear-gradient(120deg, var(--brand-cyan), var(--brand-cyan-2));
    padding: 3px 7px; border-radius: 6px;
}
/* fallback gradient tiles (no API) */
.tile--ph { aspect-ratio: 9 / 16; }
.tile--ph.g1 { background: linear-gradient(160deg,#13294b,#5a2a6e); }
.tile--ph.g2 { background: linear-gradient(160deg,#0c3b46,#1f6f7a); aspect-ratio: 9/14; }
.tile--ph.g3 { background: linear-gradient(160deg,#4a1d3f,#b3506f); aspect-ratio: 9/15; }
.tile--ph.g4 { background: linear-gradient(160deg,#3a3410,#caa12f); aspect-ratio: 9/13; }
.tile--ph.g5 { background: linear-gradient(160deg,#1a1840,#43307e); aspect-ratio: 9/16; }
.tile--ph.g6 { background: linear-gradient(160deg,#102a2a,#2f7d6a); aspect-ratio: 9/14; }
.tile.is-broken { display: none; }

.gallery-skeleton .tile {
    aspect-ratio: 9/16;
    background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── plans teaser ────────────────────────────────────────────────── */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.plan {
    padding: 26px 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.plan--featured {
    border-color: rgba(34,200,227,0.45);
    box-shadow: 0 0 0 1px rgba(34,200,227,0.25), 0 24px 60px rgba(0,0,0,0.4);
}
.plan__name { font-weight: 700; font-size: 1.05rem; }
.plan__tag {
    align-self: flex-start; margin-top: 8px;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent-2); background: var(--accent-soft);
    padding: 3px 9px; border-radius: 999px;
}
.plan__perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.plan__perks li { font-size: 0.88rem; color: var(--text-mute); }
.plan__perks b { color: var(--text); font-weight: 600; }
.plans__note { text-align: center; color: var(--text-dim); font-size: 0.84rem; margin-top: 18px; }

/* ─── final CTA ───────────────────────────────────────────────────── */

.cta {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 32px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(600px 240px at 50% -20%, rgba(34,200,227,0.16), transparent 70%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.cta__icon { width: 72px; height: 72px; margin: 0 auto 18px; }
.cta h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    line-height: 1.14;
    padding-bottom: 0.04em;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}
.cta p { color: var(--text-mute); margin: 0 0 26px; }

/* ─── responsive ──────────────────────────────────────────────────── */

@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 48px;
        gap: 28px;
    }
    .hero__copy { max-width: 620px; margin: 0 auto; }
    .hero__cta-row, .hero__meta { justify-content: center; }
    .hero__visual { min-height: 400px; order: -1; }
    .feature, .feature--reverse { grid-template-columns: 1fr; gap: 26px; }
    .feature--reverse .feature__media { order: 0; }
    .feature__media { min-height: 280px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .gallery { columns: 2 160px; }
}

@media (max-width: 540px) {
    .section { padding: 60px 0; }
    .hero { padding: 36px 18px 24px; }
    .float-pill { display: none; }
    .plans { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery { columns: 2 130px; column-gap: 12px; }
    .cta { padding: 40px 22px; }
}

/* compact nav on phones — hide the section anchors, keep the CTA */
@media (max-width: 700px) {
    .nav a:not(.nav__cta) { display: none; }
    .nav__cta { padding: 8px 14px; white-space: nowrap; }
    .site-header__inner { gap: 12px; }
}

/* respect reduced motion — kill ambient + demo loops */
@media (prefers-reduced-motion: reduce) {
    .hero__visual::before,
    .float-pill,
    .wallpt__canvas,
    .effectbox::before,
    .effectbox::after,
    .gallery-skeleton .tile { animation: none !important; }
    .phone { transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
}

/* ─── light-theme tweaks for landing-specific pieces ──────────────── */
:root[data-theme="light"] .hero__title,
:root[data-theme="light"] .section-head h2 {
    background: linear-gradient(180deg, #14161f 0%, #3c4150 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .float-pill {
    background: rgba(255, 255, 255, 0.80);
    color: var(--text);
}
:root[data-theme="light"] .hero__bg::after {
    background:
        radial-gradient(125% 85% at 50% 0%, rgba(238, 240, 246, 0.55), transparent 62%),
        linear-gradient(180deg, rgba(238, 240, 246, 0.80) 0%, rgba(238, 240, 246, 0.60) 38%, rgba(238, 240, 246, 0.93) 100%);
}
