/* ══════════════════════════════════════════════════════════════════════════
   APPLE PURE HERO — "APPLE STYLE COOL & BALANCED"
   Pure Apple Light Studio Aesthetic (#f5f5f7 / #ffffff).
   Elegantly scaled: Girl on left, curved Micro-LED wall on right.
   Generous negative space, sleek proportions, active 60fps video.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --ac-vp-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ac-vp-bg: #f5f5f7;
    --ac-vp-ink: #1d1d1f;
    --ac-vp-sub: #1d1d1f;
    --ac-vp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Full Viewport Container ────────────────────────────────────────── */
header#hero,
#hero.ac-apple-vision-hero,
.ac-apple-vision-hero {
    position: relative !important;
    background-color: var(--ac-vp-bg) !important;
    color: var(--ac-vp-ink) !important;
    font-family: var(--ac-vp-font) !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    isolation: isolate !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ── Centered Studio Stage with Apple Breathing Room ────────────────── */
.ac-vp-stage {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 44px 24px 84px !important;
    box-sizing: border-box !important;
}

/* ── Scene Wrapper (Elegantly Sized Apple Hardware Stage) ───────────── */
.ac-vp-scene-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 1240px !important;
    max-height: min(66vh, 600px) !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 1 !important;
    filter: none !important;
}

/* ── Active Video Screen on Overhead Circular Ring LED Wall ─────────── */
.ac-vp-curved-screen {
    position: absolute !important;
    left: 29.69% !important;
    top: 5.56% !important;
    width: 40.63% !important;
    height: 34.17% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    clip-path: polygon(
        0.00% 69.65%,
        6.67% 13.28%,
        13.33% 8.40%,
        20.00% 5.15%,
        26.67% 2.98%,
        33.33% 1.36%,
        40.00% 0.81%,
        46.67% 0.00%,
        53.33% 0.00%,
        60.00% 0.81%,
        66.67% 1.36%,
        73.33% 2.98%,
        80.00% 5.15%,
        86.67% 8.40%,
        93.33% 13.01%,
        100.00% 66.94%,
        100.00% 81.30%,
        93.33% 90.24%,
        86.67% 94.58%,
        80.00% 96.75%,
        73.33% 98.37%,
        66.67% 94.31%,
        60.00% 85.09%,
        53.33% 84.55%,
        46.67% 86.99%,
        40.00% 92.68%,
        33.33% 99.46%,
        26.67% 98.37%,
        20.00% 96.75%,
        13.33% 94.58%,
        6.67% 90.24%,
        0.00% 80.76%
    ) !important;
    background: #000000 !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.ac-vp-live-video,
.ac-vp-live-canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 35% !important;
    display: block !important;
    transition: opacity 0.2s ease !important;
}

.ac-vp-live-canvas {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.ac-vp-screen-mesh {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1) 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3) !important;
}

/* ── Foreground Studio Overlay & 60fps Video Player ─────────────────── */
.ac-vp-halo-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 2 !important;
    -webkit-mask-image: url('../assets/apple/halo-subject-mask.png') !important;
    mask-image: url('../assets/apple/halo-subject-mask.png') !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    pointer-events: none !important;
    display: block !important;
    transition: opacity 0.25s var(--ac-vp-ease) !important;
    background: transparent !important;
}

.ac-vp-overlay-picture,
.ac-vp-overlay-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: block !important;
    transition: opacity 0.25s var(--ac-vp-ease) !important;
}

/* ── Apple 1:1 Bottom Bar (Pinned to Viewport like Apple Vision Pro) ─── */
.ac-vp-bottom-bar {
    position: absolute !important;
    bottom: clamp(16px, 3vh, 36px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
}

.ac-vp-brand-block,
.ac-vp-actions {
    pointer-events: auto !important;
}

/* Bottom Left: Brand Title & Subtitle */
.ac-vp-brand-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    max-width: 580px !important;
}

.ac-vp-brand-title {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.ac-vp-apple-icon {
    width: auto !important;
    height: 0.82em !important;
    max-height: 44px !important;
    color: #1d1d1f !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
    transform: translateY(-0.05em) !important;
}

.ac-vp-title-text {
    font-size: clamp(2rem, 1.8rem + 1.8vw, 3.6rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    color: #1d1d1f !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.ac-vp-subtitle {
    font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.35 !important;
    color: #1d1d1f !important;
    margin: 8px 0 0 !important;
    max-width: 44ch !important;
}

/* Bottom Right: Video Switcher Pills + Action Buttons */
.ac-vp-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

/* ── Video demo switcher pills ──────────────────────────────────────── */
.ac-vp-video-switchers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    padding: 3px !important;
    border-radius: 980px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.ac-vp-pill-tab {
    border: none !important;
    background: transparent !important;
    color: #1d1d1f !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    padding: 6px 13px !important;
    border-radius: 980px !important;
    cursor: pointer !important;
    transition: all 0.2s var(--ac-vp-ease) !important;
    white-space: nowrap !important;
}

.ac-vp-pill-tab:hover {
    color: #000000 !important;
}

.ac-vp-pill-tab.active {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* "Book a demo" pill (White outline pill) */
.ac-vp-btn-demo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 20px !important;
    border-radius: 980px !important;
    background: #ffffff !important;
    border: 1px solid #1d1d1f !important;
    color: #1d1d1f !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em !important;
    text-decoration: none !important;
    transition: all 0.2s var(--ac-vp-ease) !important;
    white-space: nowrap !important;
}

.ac-vp-btn-demo:hover {
    background: #1d1d1f !important;
    color: #ffffff !important;
}

/* "Buy" pill (Solid dark capsule pill) */
.ac-vp-btn-buy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 22px !important;
    border-radius: 980px !important;
    background: #1d1d1f !important;
    border: 1px solid #1d1d1f !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em !important;
    text-decoration: none !important;
    transition: all 0.2s var(--ac-vp-ease) !important;
    white-space: nowrap !important;
}

.ac-vp-btn-buy:hover {
    background: #333336 !important;
    border-color: #333336 !important;
}

/* ── Light-theme Navbar integration ─────────────────────────────────── */
nav.nv {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

nav.nv .nv-logo,
nav.nv:not(.scrolled) .nv-logo {
    color: #1d1d1f !important;
}

nav.nv .nv-logo img,
nav.nv:not(.scrolled) .nv-logo img {
    filter: none !important;
}

nav.nv .nv-links,
nav.nv:not(.scrolled) .nv-links {
    color: #1d1d1f !important;
}

nav.nv .nv-links > a,
nav.nv:not(.scrolled) .nv-links > a {
    color: rgba(0, 0, 0, 0.8) !important;
}

nav.nv .nv-links > a:hover,
nav.nv:not(.scrolled) .nv-links > a:hover {
    color: #000000 !important;
}

nav.nv .nv-search,
nav.nv:not(.scrolled) .nv-search {
    border-color: rgba(0, 0, 0, 0.16) !important;
    color: #1d1d1f !important;
    background: transparent !important;
}

nav.nv .nv-search svg path,
nav.nv:not(.scrolled) .nv-search svg path {
    stroke: #1d1d1f !important;
}

nav.nv .nv-search:hover,
nav.nv:not(.scrolled) .nv-search:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

nav.nv .nv-cta,
nav.nv:not(.scrolled) .nv-cta {
    background: #0071e3 !important;
    color: #ffffff !important;
}

nav.nv .nv-cta:hover,
nav.nv:not(.scrolled) .nv-cta:hover {
    background: #0077ed !important;
}

nav.nv .nv-burger span,
nav.nv:not(.scrolled) .nv-burger span {
    background: #1d1d1f !important;
}

/* ── Responsive Adaptations ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .ac-vp-stage {
        padding: 10px 20px !important;
    }

    .ac-vp-scene-wrapper {
        max-width: 100% !important;
        max-height: min(52vh, 420px) !important;
    }

    .ac-vp-bottom-bar {
        padding: 0 24px 28px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .ac-vp-actions {
        width: 100% !important;
        gap: 10px !important;
        justify-content: flex-start !important;
    }

    .ac-vp-video-switchers {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .ac-vp-pill-tab {
        flex: 1 !important;
        text-align: center !important;
    }

    .ac-vp-btn-demo,
    .ac-vp-btn-buy {
        flex: 1 !important;
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .ac-vp-scene-wrapper {
        max-height: 42vh !important;
    }

    .ac-vp-apple-icon {
        height: 0.8em !important;
    }

    .ac-vp-title-text {
        font-size: 2.1rem !important;
    }

    .ac-vp-subtitle {
        font-size: 1rem !important;
        margin-top: 6px !important;
    }

    .ac-vp-bottom-bar {
        padding: 0 16px 20px !important;
    }

    .ac-vp-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .ac-vp-btn-demo,
    .ac-vp-btn-buy {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* Apple Vision Pro proportions: large title, clean subtitle, pinned viewport (25 Sep 2026) */
.ac-vp-title-text { 
    font-size: clamp(2rem, 1.6rem + 1.8vw, 3.4rem) !important; 
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
    color: #1d1d1f !important;
    margin: 0 !important;
}

.ac-vp-apple-icon {
    width: auto !important;
    height: 0.82em !important;
    max-height: 44px !important;
    color: #1d1d1f !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
    transform: translateY(-0.06em) !important;
}

.ac-vp-subtitle {
    font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.2rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.35 !important;
    color: #1d1d1f !important;
    max-width: 48ch !important;
    margin-top: 6px !important;
}

.ac-apple-vision-hero { --ac-vp-bg: #f5f5f7; }

/* Desktop: title left, actions right */
@media (min-width: 901px) {
    .ac-vp-bottom-bar { 
        bottom: clamp(16px, 2.5vh, 32px) !important;
        align-items: flex-end !important; 
        padding-right: clamp(24px, 4vw, 64px) !important;
    }
    .ac-vp-brand-block { max-width: 680px !important; }
    .ac-vp-title-text { white-space: nowrap !important; }
    .ac-vp-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 10px !important;
    }
    .ac-vp-cta-group {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
}

@media (max-width: 900px) {
    .ac-vp-bottom-bar {
        bottom: 16px !important;
        padding: 0 20px 72px !important;
    }
    .ac-vp-title-text { font-size: 2rem !important; }
    .ac-vp-subtitle { font-size: 0.95rem !important; }
}

@media (max-height: 650px) {
    .ac-vp-stage {
        padding: 40px 16px 64px !important;
    }
    .ac-vp-scene-wrapper {
        max-height: min(50vh, 340px) !important;
    }
    .ac-vp-bottom-bar {
        bottom: 10px !important;
    }
    .ac-vp-title-text {
        font-size: 1.9rem !important;
    }
    .ac-vp-subtitle {
        font-size: 0.9rem !important;
        margin-top: 3px !important;
    }
    .ac-vp-pill-tab {
        padding: 4px 9px !important;
        font-size: 11px !important;
    }
    .ac-vp-btn-demo,
    .ac-vp-btn-buy {
        padding: 6px 14px !important;
        font-size: 12.5px !important;
    }
}

