/* ==========================================================================
   VinFast Site — Motion & interaction layer (loaded after vinfast-site.css)
   ========================================================================== */

/* Scroll progress bar */
.vf-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    background: var(--vf-blue-mid); transform-origin: 0 50%; transform: scaleX(0);
    z-index: 200; pointer-events: none;
}

/* Translucent header that compacts on scroll */
.vf-header {
    background: rgba(255,255,255,0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: height .3s ease, box-shadow .3s ease, background .3s ease;
}
.vf-header--scrolled { height: 56px; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.06); }
.vf-nav__link, .vf-nav__dropdown-item { transition: color .2s ease, opacity .2s ease, background .2s ease; }

/* Reveal on scroll */
[data-reveal] {
    opacity: 0; transform: translateY(40px) scale(.98);
    transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--vf-delay, 0s);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero */
.vf-hero-slider { height: 68vh; max-height: 68vh; background: #0b0b0d; }
.vf-hero { flex-direction: column; align-items: stretch; background: #0b0b0d; min-height: 0; }
.vf-hero-intro { text-align: center; color: #fff; padding: 1.75rem 1.5rem 1.25rem; }
.vf-hero-intro__title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.vf-hero-intro__title span {
    display: inline-block; opacity: 0; transform: translateY(30px);
    animation: vfRise 1s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.2s + var(--i) * .15s);
}
.vf-hero-intro__sub { margin-top: .75rem; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; opacity: 0; animation: vfRise 1s .6s cubic-bezier(.16,1,.3,1) forwards; color: rgba(255,255,255,.75); }
@keyframes vfRise { to { opacity: 1; transform: none; } }
@keyframes vfCue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* Big statement text, words light up while scrolling */
.vf-statement { background: #000; color: #fff; padding: 9rem 2rem; }
.vf-statement__text {
    max-width: 980px; margin: 0 auto; font-size: clamp(1.8rem, 4.6vw, 3.6rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
}
.vf-statement__text .w { opacity: .18; transition: opacity .35s ease; }
.vf-statement__text .w.on { opacity: 1; }

/* Bike cards: spotlight, tilt, image float */
.vf-bike-card {
    position: relative; border-radius: 22px; border: 0; background: var(--vf-gray-100);
    transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s ease;
    will-change: transform;
}
.vf-bike-card:hover { transform: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25); }
.vf-bike-card::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.75), transparent 60%);
}
.vf-bike-card:hover::before { opacity: 1; }
.vf-bike-card__image-wrap { background: transparent; }
.vf-bike-card__image { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.vf-bike-card:hover .vf-bike-card__image { transform: scale(1.12) translateY(-4px); }
.vf-bike-card__info { text-align: center; padding-bottom: 2rem; }
.vf-bike-card__actions { justify-content: center; }
.vf-link { position: relative; }
.vf-link::after { content: ' ›'; display: inline-block; transition: transform .25s ease; }
.vf-link--external::after { content: none; }
.vf-link:hover::after { transform: translateX(4px); }

/* Features: lift + icon pop */
.vf-feature { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; border-radius: 22px; }
.vf-feature:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); background: #fff; }
.vf-feature__icon { display: inline-block; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.vf-feature:hover .vf-feature__icon { transform: scale(1.3) rotate(-8deg); }

/* Buttons */
.vf-btn { border-radius: 980px; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .2s, color .2s; }
.vf-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.vf-btn:active { transform: scale(.97); }

/* Stats count-up emphasis */
.vf-stats-strip__value { font-variant-numeric: tabular-nums; }

/* Motorcycle detail: hero image floats with pointer */
.vf-moto-hero__image { transition: transform .25s ease-out, opacity .4s ease; will-change: transform; }
.vf-swatch { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.vf-swatch:hover { transform: scale(1.18); }

/* CTA banner shimmer */
.vf-cta-banner { position: relative; overflow: hidden; }
.vf-cta-banner::before {
    content: ''; position: absolute; inset: -40%; pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.16), transparent 40%),
                radial-gradient(circle at 75% 70%, rgba(255,255,255,.10), transparent 45%);
    animation: vfDrift 14s ease-in-out infinite alternate;
}
.vf-cta-banner__inner { position: relative; }
@keyframes vfDrift { to { transform: translate(6%, 4%) rotate(8deg); } }

@media (max-width: 768px) {
    .vf-hero-slider { height: 70vh; max-height: 70vh; }
    .vf-hero-intro { padding: 2rem 1rem 1.25rem; }
    .vf-statement { padding: 5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .vf-hero-intro__title span, .vf-hero-intro__sub { animation: none; opacity: 1; transform: none; }
    .vf-cta-banner::before { animation: none; }
    .vf-statement__text .w { opacity: 1; }
    * { scroll-behavior: auto !important; }
}

/* Hero slides: blurred ambient backdrop + framed photo (wide photos go full-bleed) */
.vf-hero-slide { position: absolute; inset: 0; margin: 0; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; overflow: hidden; }
.vf-hero-slider__slide--active.vf-hero-slide { opacity: 1; pointer-events: auto; }
.vf-hero-slide__bg {
    position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover;
    filter: blur(48px) saturate(1.4) brightness(.55); transform: scale(1.1);
}
.vf-hero-slide__img {
    position: relative; display: block; height: calc(100% - 3rem); width: auto; max-width: calc(100% - 3rem);
    margin: 0; flex: 0 0 auto; object-fit: contain; border-radius: 22px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
    transform: scale(.96); transition: transform 6s cubic-bezier(.16,1,.3,1);
}
.vf-hero-slider__slide--active .vf-hero-slide__img { transform: scale(1); }
.vf-hero-slide--wide .vf-hero-slide__bg { display: none; }
.vf-hero-slide--wide .vf-hero-slide__img { width: 100%; max-width: none; height: 100%; margin: 0; border-radius: 0; box-shadow: none; object-fit: cover; }
@media (max-width: 768px) { .vf-hero-slide__img { border-radius: 16px; height: calc(100% - 2rem); max-width: calc(100% - 2rem); } }

/* Variant guide & promos */
.vf-price-card__hint { font-size: .9rem; color: var(--vf-gray-600); text-align: center; margin-bottom: .75rem; }
.vf-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vf-variant { background: var(--vf-gray-100); border-radius: 22px; padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: .75rem; }
.vf-variant__name { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; }
.vf-variant__tagline { font-weight: 600; }
.vf-variant__desc { color: var(--vf-gray-600); font-size: .95rem; }
.vf-variant__facts { margin-top: .5rem; border-top: 1px solid var(--vf-border); }
.vf-variant__facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--vf-border); font-size: .9rem; }
.vf-variant__facts dt { color: var(--vf-gray-600); }
.vf-variant__facts dd { font-weight: 600; text-align: right; }
.vf-variant__for { margin-top: auto; padding-top: .5rem; font-size: .9rem; color: var(--vf-gray-600); }
.vf-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.vf-promo { background: #0b0b0d; color: #fff; border-radius: 22px; padding: 2rem; }
.vf-promo__badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; background: #fff; color: #000; border-radius: 980px; padding: .25rem .75rem; margin-bottom: .75rem; }
.vf-promo__title { font-size: 1.3rem; margin-bottom: .5rem; }
.vf-promo__desc { color: rgba(255,255,255,.8); }
.vf-promo__until { margin-top: .75rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.vf-promos__note { grid-column: 1 / -1; text-align: center; font-size: .85rem; color: var(--vf-gray-600); }
@media (max-width: 900px) { .vf-variants, .vf-promos { grid-template-columns: 1fr; } }

/* ==========================================================================
   Polish pass: type, surfaces, and spacing that hold across every page
   ========================================================================== */
:root { --vf-header-h: 52px; --font: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --vf-ink: #1d1d1f; --vf-muted: #6e6e73; --vf-surface: #f5f5f7; }
body { color: var(--vf-ink); }
.vf-icon { width: 1.75rem; height: 1.75rem; display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--vf-blue-mid); outline-offset: 2px; }

/* Header */
.vf-header { height: 52px; border-bottom: 0; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.vf-header--scrolled { height: 52px; }
.vf-nav__link { font-weight: 500; font-size: .85rem; color: var(--vf-ink); }
.vf-nav__link::before, .vf-nav__link::after { display: none; }
.vf-nav__link:hover, .vf-nav__link--active { color: var(--vf-blue-mid); }
.vf-nav__cta { padding: .4rem .95rem; font-size: .8rem; font-weight: 500; box-shadow: none; }
.vf-nav__cta:hover, .vf-nav__cta--active { transform: none; box-shadow: none; }

/* Sections */
.vf-section, .vf-section--gray { padding-top: 6.5rem; padding-bottom: 6.5rem; }
.vf-section--gray { background: var(--vf-surface); }
.vf-section__header { margin-bottom: 4rem; }
.vf-section__label { color: var(--vf-muted); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 1rem; }
.vf-section__title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; color: var(--vf-ink); }
.vf-section__subtitle { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--vf-muted); max-width: 40rem; margin: 1rem auto 0; line-height: 1.4; }

/* Page headers: light surface instead of a solid banner */
.vf-page-hero { background: var(--vf-surface); color: var(--vf-ink); padding: 6rem 1.5rem 5rem; text-align: center; }
.vf-page-hero .vf-section__label { color: var(--vf-muted); }
.vf-page-hero__title { color: var(--vf-ink); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.vf-page-hero__sub { color: var(--vf-muted); font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.35; opacity: 1; max-width: 42rem; margin: 1rem auto 0; }

/* Hero slider controls */
.vf-hero-slider__nav { background: rgba(255,255,255,.14); color: #fff; border: 0; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .2s ease; }
.vf-hero-slider__nav:hover { background: rgba(255,255,255,.28); }
.vf-hero-slider__dots { z-index: 3; }
.vf-hero-slider__dot { background: rgba(255,255,255,.4); border: 0; }
.vf-hero-slider__dot--active { background: #fff; }

/* Cards */
.vf-bike-card, .vf-variant, .vf-other-card, .vf-spec-card, .vf-mv-card, .vf-stat, .vf-highlight, .vf-location-panel { border-radius: 22px; border: 0; }
.vf-bike-card { background: var(--vf-surface); }
.vf-bike-card__name { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.vf-bike-card__tagline { color: var(--vf-muted); font-size: 1rem; line-height: 1.35; }
.vf-bike-card--horizontal { margin-bottom: 0; }
.vf-link { color: var(--vf-blue-mid); font-weight: 500; font-size: 1rem; border: 0; text-decoration: none; }
.vf-link:hover { text-decoration: underline; }
.vf-feature { padding: 2rem 1.5rem; text-align: left; }
.vf-feature__icon { color: var(--vf-blue-mid); margin-bottom: 1rem; }
.vf-feature:hover { background: #fff; }
.vf-feature:hover .vf-feature__icon { transform: scale(1.12); }
.vf-feature__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.vf-feature__desc { color: var(--vf-muted); font-size: 1rem; line-height: 1.45; }
.vf-btn { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; box-shadow: none; }
.vf-btn:hover { transform: scale(1.02); box-shadow: none; }

/* Dark bands */
.vf-cta-banner { background: #000; padding: 7rem 1.5rem; }
.vf-cta-banner__title { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.vf-cta-banner__sub { color: rgba(255,255,255,.72); font-size: 1.15rem; }
.vf-cta-banner__label { letter-spacing: .02em; text-transform: none; font-size: 1rem; }
.vf-stats-strip { background: #000; }
.vf-stats-strip__value { color: #fff; font-weight: 700; letter-spacing: -.02em; }
.vf-stats-strip__label { color: rgba(255,255,255,.72); letter-spacing: .01em; text-transform: none; }
.vf-stats-strip__note { color: rgba(255,255,255,.5); }
.vf-footer { background: var(--vf-surface); color: var(--vf-muted); }
.vf-footer__tagline, .vf-footer__bottom, .vf-footer__bottom p { color: var(--vf-muted); }
.vf-footer__heading { color: var(--vf-ink); text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 600; }
.vf-footer__link { color: var(--vf-muted); }
.vf-footer__link:hover { color: var(--vf-ink); }

/* Motorcycle page */
.vf-moto-hero__title { letter-spacing: -.03em; font-weight: 700; }
.vf-moto-hero__tagline { color: var(--vf-muted); font-style: normal; border: 0; padding: 0; font-size: 1.3rem; line-height: 1.3; }
.vf-moto-hero__desc { color: var(--vf-muted); font-size: 1.05rem; }
.vf-moto-hero__eyebrow { color: var(--vf-muted) !important; letter-spacing: .02em; text-transform: none; font-size: 1rem; font-weight: 600; }
.vf-moto-hero__accent-bar { display: none; }
.vf-moto-hero__ctas .vf-btn--outline { border-color: #d2d2d7 !important; color: var(--vf-ink) !important; }
.vf-highlight { background: var(--vf-surface); padding: 2rem; }
.vf-highlight__title { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.vf-highlight__desc { color: var(--vf-muted); line-height: 1.45; }
.vf-spec-card { background: #fff; border-top: 0 !important; }
.vf-spec-card__value { color: var(--vf-ink) !important; font-weight: 700; letter-spacing: -.02em; }
.vf-spec-table th { color: var(--vf-ink) !important; }
.vf-other-card__name { color: var(--vf-ink) !important; }
.vf-other-card__arrow { color: var(--vf-blue-mid) !important; }
.vf-other-card__accent { display: none; }

/* Variant comparison */
.vf-variants { max-width: 1040px; margin: 0 auto; gap: 1.25rem; }
.vf-variant { background: var(--vf-surface); padding: 2.5rem 2rem; text-align: center; align-items: center; gap: .5rem; }
.vf-variant__name { font-size: 1.75rem; letter-spacing: -.025em; color: var(--vf-ink); }
.vf-variant__tagline { color: var(--vf-muted); font-weight: 400; }
.vf-variant__price { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin: .75rem 0 .5rem; }
.vf-variant .vf-btn { min-width: 8rem; justify-content: center; }
.vf-variant__facts { width: 100%; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 1.25rem; }
.vf-variant__facts > div { display: block; padding: 0; border: 0; }
.vf-variant__facts dd { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-align: center; }
.vf-variant__facts dt { color: var(--vf-muted); font-size: .85rem; }
.vf-variant__for { margin-top: 1.25rem; padding-top: 0; color: var(--vf-muted); }
.vf-promos { max-width: 1040px; margin: 1.25rem auto 0; gap: 1.25rem; }
.vf-promo { background: #000; padding: 2.5rem; }
.vf-promo__badge { background: transparent; color: rgba(255,255,255,.65); padding: 0; letter-spacing: .02em; text-transform: none; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
.vf-promo__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

/* Locations */
.vf-location-tabs { background: var(--vf-surface); border: 0; border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 1.5rem; }
.vf-location-tab { background: transparent; border: 0; border-radius: 11px; color: var(--vf-muted); font-weight: 500; transition: background .2s ease, color .2s ease; }
.vf-location-tab--active { background: #fff; color: var(--vf-ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.vf-location-tab__number { display: none; }
.vf-location-panel { background: var(--vf-surface); overflow: hidden; }
.vf-location-panel__map iframe { display: block; height: 100%; min-height: 340px; }
.vf-location-panel__name { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.vf-dealer__icon { color: var(--vf-muted); flex: none; }
.vf-dealer__icon .vf-icon { width: 1.25rem; height: 1.25rem; }

/* About */
.vf-stat { background: var(--vf-surface); box-shadow: none; }
.vf-stat__number { color: var(--vf-ink); font-weight: 700; letter-spacing: -.02em; }
.vf-stat__label { color: var(--vf-muted); letter-spacing: 0; text-transform: none; }
.vf-mv-card { background: #fff; box-shadow: none; }
.vf-about__body { color: var(--vf-muted); font-size: 1.1rem; line-height: 1.5; }

@media (max-width: 768px) {
    .vf-section, .vf-section--gray { padding: 4.5rem 1.25rem; }
    .vf-section__header { margin-bottom: 2.5rem; }
    .vf-page-hero { padding: 4rem 1.25rem 3rem; }
    .vf-cta-banner { padding: 5rem 1.25rem; }
    .vf-hero-slider { height: 62vh; max-height: 62vh; }
    .vf-hero-slider__nav { display: none; }
    .vf-location-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
    .vf-location-tab { flex: 0 0 auto; }
    .vf-bike-card, .vf-bike-card:hover { transform: none !important; }
    input, select, textarea { font-size: 16px !important; }
    .vf-moto-hero__visual { overflow: hidden; }
    .vf-highlights { grid-template-columns: minmax(0, 1fr); }
    .vf-spec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .vf-bike-card--horizontal .vf-bike-card__image-wrap { aspect-ratio: 4/3; width: 100%; }
    .vf-bike-card--horizontal .vf-bike-card__image { width: 100%; height: 100%; }
}

/* Tipografi Mulish (standar VinFast): judul besar ExtraBold, nama lokasi Black seperti papan nama toko */
.vf-hero-intro__title, .vf-section__title, .vf-page-hero__title, .vf-cta-banner__title, .vf-moto-hero__title { font-weight: 800; }
.vf-location-panel__name { font-weight: 900; letter-spacing: -.01em; }
.vf-location-tab__name { font-weight: 800; }
