:root {
    --primary: #0088ff;
    --primary-dark: #0066cc;
    --primary-light: #55aaff;
    --primary-glow: rgba(0, 136, 255, 0.4);
    --primary-subtle: rgba(0, 136, 255, 0.08);
    --primary-border: rgba(0, 136, 255, 0.25);
    --accent-red: #ff3b30;
    --accent-green: #34c759;
    --accent-yellow: #ffcc00;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --navbar-h: 160px;
    --vf-padding: 30px;
}

@media (max-width: 768px) {
    :root {
        --vf-padding: 15px;
        --navbar-h: 70px;
    }
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
    cursor: auto;
}

.site-frame-wrapper {
    margin: 0;
    background: #fff;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button,
input,
textarea,
select {
    cursor: auto;
    font-family: inherit;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    padding: 10px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
}

/* ===================== VIEWFINDER OVERLAY ===================== */
.vf-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 900;
}

.vf-corner {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-green);
    z-index: 1999;
    pointer-events: none;
    transition: all .4s var(--smooth);
    filter: drop-shadow(0 0 15px var(--accent-green));
}

.vf-corner-tl {
    top: var(--vf-padding);
    left: var(--vf-padding);
    border-right: none;
    border-bottom: none;
}

.vf-corner-tr {
    top: var(--vf-padding);
    right: var(--vf-padding);
    border-left: none;
    border-bottom: none;
}

.vf-corner-bl {
    bottom: var(--vf-padding);
    left: var(--vf-padding);
    border-right: none;
    border-top: none;
}

.vf-corner-br {
    bottom: var(--vf-padding);
    right: var(--vf-padding);
    border-left: none;
    border-top: none;
}

/* Remove all inner shadows for a clean look */
.vf-frame {
    position: fixed;
    inset: var(--vf-padding);
    width: auto;
    height: auto;
    border: none;
    pointer-events: none;
    z-index: 1998;
    transition: all .5s var(--smooth);
    box-sizing: border-box;
    box-shadow: none; /* Removed shade */
}

.vf-frame.focused {
    box-shadow: none; /* Removed shade */
}

.vf-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
    pointer-events: none;
    animation: scanAnim 4s linear infinite;
}

@keyframes scanAnim {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.vf-center-target {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 180px;
    pointer-events: none;
    opacity: 0.9;
    z-index: 1999;
    transition: top .4s var(--smooth);
}

.vf-center-target .target-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid #111; /* Dark target */
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.vf-center-target .target-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.vf-center-target .target-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.vf-center-target .target-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.vf-center-target .target-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.vf-center-target .target-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
}

.vf-center-target .target-cross::before,
.vf-center-target .target-cross::after {
    content: '';
    position: absolute;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.vf-center-target .target-cross::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    transform: translateY(-50%);
}

.vf-center-target .target-cross::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.5px;
    transform: translateX(-50%);
}

.vf-histogram {
    display: none !important;
}

.vf-exposure {
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    display: none !important;
    /* Hide the exposure meter sideline */
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.vf-ebar {
    width: 2.5px;
    height: 9px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    transition: all .3s;
}

.vf-ebar.on {
    background: var(--accent-green);
}

.vf-ebar.hot {
    background: var(--accent-red);
}

.vf-edot {
    width: 7px;
    height: 7px;
    border: 1.5px solid #222;
    transform: rotate(45deg);
    margin: 3px 0;
}

.vf-level {
    display: none !important;
}

.vf-caminfo {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: 'Courier New', monospace;
    font-size: 10.5px;
    color: rgba(0, 0, 0, 0.52);
    letter-spacing: .8px;
    white-space: nowrap;
}

.vf-ci {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vf-cv {
    font-weight: 700;
    color: #2a6a2a;
}

.vf-vignette {
    display: none; /* Removed vignette shade */
}

/* ===================== SHUTTER & FLASH ===================== */


.shutter {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
}

.shutter-leaf {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    transition: transform .1s var(--smooth);
}

.shutter-leaf:nth-child(1) {
    transform: translateY(-100%);
}

.shutter-leaf:nth-child(2) {
    transform: translateY(100%);
}

.shutter-leaf:nth-child(3) {
    transform: translateX(-100%);
}

.shutter-leaf:nth-child(4) {
    transform: translateX(100%);
}

.shutter.snap .shutter-leaf:nth-child(1) {
    transform: translateY(-28%);
}

.shutter.snap .shutter-leaf:nth-child(2) {
    transform: translateY(28%);
}

.shutter.snap .shutter-leaf:nth-child(3) {
    transform: translateX(-28%);
}

.shutter.snap .shutter-leaf:nth-child(4) {
    transform: translateX(28%);
}

.shutter.shut .shutter-leaf {
    transform: translate(0);
}

.flash {
    position: absolute;
    inset: 0;
    z-index: 14;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}

.flash.pop {
    animation: flashPop .35s ease-out forwards;
}

@keyframes flashPop {
    0% {
        opacity: .75;
    }

    100% {
        opacity: 0;
    }
}

/* ===================== GRAIN ===================== */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .012;
    pointer-events: none;
    z-index: 9988;
    animation: grainAnim .45s steps(8) infinite;
}

@keyframes grainAnim {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-8%, -8%);
    }
}

/* ===================== SCANLINE ===================== */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: 9990;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

/* ===================== FLOATING ===================== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* ===================== MAGNETIC BUTTONS ===================== */
.magnetic-wrap {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.bokeh-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.bokeh {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(79, 138, 255, 0.22), rgba(79, 138, 255, 0.01));
    animation: bokehDrift 22s ease-in-out infinite;
}

@keyframes bokehDrift {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: .06;
    }

    50% {
        transform: translateY(-70px) scale(1.25);
        opacity: .16;
    }
}

/* ===================== LIGHT LEAK ===================== */
.light-leak {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.8s;
}

.light-leak.show {
    opacity: 1;
}
/* ===================== HUD ELEMENTS (REC, BATTERY, TIMER) ===================== */
.hud-brand {
    position: fixed;
    top: calc(var(--vf-padding) + 15px); 
    left: calc(var(--vf-padding) + 15px);
    z-index: 2005;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff4d4d; /* Brand Red */
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    transition: all .4s var(--smooth);
}

.hud-brand span { display: none; }

.hud-brand-dot {
    width: 12px;
    height: 12px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff4d4d;
    animation: recBlink 1.2s infinite ease-in-out;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; transform: scale(1.1); }
    50% { opacity: 0.1; transform: scale(0.9); }
}

/* ===================== ELITE HUD EXTENSIONS ===================== */
.hud-battery {
    position: fixed;
    top: calc(var(--vf-padding) + 15px);
    right: calc(var(--vf-padding) + 15px);
    z-index: 2005;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff; /* White base for difference mode */
    mix-blend-mode: difference;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 13px;
    text-shadow: none; /* Removed shadow */
    transition: all .4s var(--smooth);
}

.hud-bat-body {
    position: relative;
    width: 28px;
    height: 14px;
    border: 1.5px solid #fff; /* White border */
    border-radius: 2px;
    padding: 1.5px;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.hud-bat-body::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 8px;
    background: #fff; /* White battery cap */
    border-radius: 0 2px 2px 0;
}

.hud-bat-fill {
    height: 100%;
    width: 100%;
    background: #4cd137;
    border-radius: 1px;
    transition: width .35s ease;
}

.hud-bat-fill.mid { background: #fbc531; }
.hud-bat-fill.low { background: #e84118; }

/* ===================== ELITE HUD EXTENSIONS ===================== */
.hud-histogram {
    position: fixed;
    bottom: calc(var(--vf-padding) + 80px);
    right: calc(var(--vf-padding) + 30px);
    z-index: 2005;
    width: 140px;
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding-bottom: 2px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.hist-bar {
    flex: 1;
    background: #fff;
    opacity: 0.6;
    transition: height 0.1s linear;
}

.hud-horizon {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 2px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1990;
}

.horizon-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    position: relative;
    transition: transform 0.1s linear;
}

.horizon-line::before, .horizon-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 2px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
}

.horizon-line::before { left: 20%; }
.horizon-line::after { right: 20%; }

.vf-center-target.active .target-corner {
    border-color: var(--accent-green) !important;
    filter: drop-shadow(0 0 15px var(--accent-green));
}

.hud-timer {
    position: fixed;
    bottom: calc(var(--vf-padding) + 24px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2005;
    color: #fff; /* White base for difference mode */
    mix-blend-mode: difference;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2.5px;
    text-shadow: none;
    transition: all .4s var(--smooth);
}

/* ===================== TOP BAR (REMOVED) ===================== */
.top-bar {
    display: none !important;
}

.top-bar a {
    color: #555;
    transition: color .25s;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--primary);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-center {
    display: flex;
    gap: 8px;
}

.top-bar-center a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    color: #555;
    font-size: 11px;
    transition: all .25s;
    background: transparent;
}

.top-bar-center a:hover {
    border-color: var(--primary);
    color: #fff;
    background: var(--primary);
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 6px 15px rgba(79, 138, 255, 0.3);
}

.top-bar i {
    color: var(--primary);
    font-size: 11px;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: absolute;
    left: var(--vf-padding);
    right: var(--vf-padding);
    width: auto;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 15px 45px;
    height: var(--navbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: var(--vf-padding);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    animation: float 5s ease-in-out infinite;
}

.nav-menu a {
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--stark-white);
    opacity: 0.7;
    transition: all 0.3s var(--smooth);
}

.nav-menu a:hover, .nav-menu a.active {
    opacity: 1;
    color: var(--primary);
    letter-spacing: 0.15em;
}

/* ===================== DROPDOWN STYLES ===================== */
.nav-menu .dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-trigger i {
    font-size: 10px;
    transition: transform 0.3s var(--smooth);
}

.nav-menu .dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 260px;
    padding: 15px 0;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    list-style: none;
    z-index: 1000;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px !important;
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s var(--smooth) !important;
    opacity: 1 !important; 
    border: none !important;
}

.dropdown-menu li a i {
    font-size: 14px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary) !important;
    padding-left: 30px !important;
    letter-spacing: 0.1em !important;
}

/* Mobile Dropdown */
.mobile-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-btn {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.mobile-dropdown-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.mobile-dropdown.active .mobile-dropdown-btn i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--smooth);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 800px;
    margin-bottom: 15px;
    padding: 10px 0;
}

.mobile-dropdown-content a {
    display: block;
    padding: 12px 20px !important;
    font-size: 14px !important;
    opacity: 0.7 !important;
    border: none !important;
    text-transform: capitalize !important;
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 110px;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.3));
    transition: height .4s var(--smooth);
    margin-top: 15px;
}

.navbar.scrolled .nav-logo img {
    height: 80px;
    margin-top: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 38px;
    align-items: center;
}

.nav-menu a {
    font-size: 16.5px; /* Increased size */
    font-weight: 800; /* Extra bold */
    text-transform: capitalize;
    letter-spacing: 0.5px; /* More breathing room */
    color: #fff;
    padding: 8px 0;
    position: relative;
    transition: all .3s;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0,0,0,0.5); 
    -webkit-font-smoothing: antialiased;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff4d4d; /* High-contrast red from image */
    text-shadow: 0 2px 15px rgba(255, 77, 77, 0.3);
}

.nav-cta-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all .3s var(--smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.nav-cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    background: #f8f8f8;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .97);
    z-index: 1998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    transition: color .25s;
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* NAVBAR CTA PILL */
.nav-cta-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 40px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.4s var(--smooth) !important;
    text-decoration: none !important;
    margin-right: 15px;
}

.nav-cta-pill:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.nav-cta-pill i {
    font-size: 14px;
    color: #25d366; /* WhatsApp Green */
}

.nav-cta-pill:hover i {
    color: #fff;
}

/* ===================== HERO SLIDER ===================== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: calc(var(--header-total) + 40px) 46px 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) contrast(1.1) saturate(0.7) blur(2px); /* Moody inactive state with slight blur */
    transform: scale(1.15) rotate(1deg);
    transition: transform 8s ease-out, filter 1.6s var(--smooth);
}

.hero-slide.active .hero-bg img {
    transform: scale(1) rotate(0);
    filter: brightness(0.85) contrast(1) saturate(1.2) blur(0); /* Vibrant and clear active state */
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 1s;
}

.hero-slide.active .hero-bg::after {
    animation: lensGlowPulse 4s infinite alternate;
}

@keyframes lensGlowPulse {
    0% { background: radial-gradient(circle at center, transparent 35%, rgba(0,0,0,0.5) 100%); }
    100% { background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.7) 100%); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s 0.2s;
    animation: float 6s ease-in-out infinite;
}

.hero-slide.active .hero-tag {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5.5vw, 84px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s 0.4s;
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-title .line { display: block; }
.hero-title .highlight { color: var(--primary); font-style: italic; }
.hero-title .outline-text {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    color: transparent;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s 0.6s;
}

.hero-slide.active .hero-desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s 0.8s;
}

.hero-slide.active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 16px 36px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.4s var(--smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 10px 25px var(--primary-glow) !important;
    text-decoration: none !important;
}

.btn-primary:hover {
    background: #fff !important;
    color: var(--primary) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    padding: 15px 35px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s var(--smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.hero-images {
    position: relative;
    height: 480px;
    perspective: 1000px;
}

.hero-img-wrapper {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08); /* Sophisticated subtle border */
    transform: translateZ(-100px) rotateY(15deg);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

/* High-End Highlight Glow & Border */
.hero-slide.active .hero-img-wrapper {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 
                0 0 30px var(--primary-glow),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Lens Shine Sweep-across Animation */
.hero-img-wrapper::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(255, 255, 255, 0.25) 50%, 
        transparent 55%);
    transform: translateX(-100%) translateY(-100%);
    pointer-events: none;
    z-index: 10;
}

.hero-slide.active .hero-img-wrapper::after {
    animation: highlightShine 1.6s 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes highlightShine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.hero-slide.active .h-i-1 { opacity: 1; transform: translate(0, 0) translateZ(0); transition-delay: 0.8s; }
.hero-slide.active .h-i-2 { opacity: 1; transform: translate(40px, -20px) translateZ(80px) rotateY(-10deg); transition-delay: 1s; }
.hero-slide.active .h-i-3 { opacity: 1; transform: translate(-40px, 60px) translateZ(-60px) rotateY(10deg); transition-delay: 1.2s; }

.h-i-1 { width: 260px; height: 340px; top: 0; left: 0; z-index: 2; }
.h-i-2 { width: 210px; height: 280px; top: 80px; right: -40px; z-index: 3; }
.h-i-3 { width: 190px; height: 240px; bottom: 10px; left: 30px; z-index: 1; }

.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* SLIDER NAV */
.hero-nav {
    position: absolute;
    bottom: 60px;
    right: 46px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

.hero-nav-numbers {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
}

.hero-nav-progress {
    width: 100px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    position: relative;
}

#heroBar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.hero-nav-btns {
    display: flex;
    gap: 15px;
}

.hero-nav-btns button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btns button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.hero-brand-overlay {
    position: absolute;
    bottom: 20px;
    left: 46px;
    font-family: 'Playfair Display', serif;
    font-size: 140px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 0.8;
    pointer-events: none;
    z-index: 5;
}

/* THUMBNAIL HIGHLIGHT SYSTEM */
.hero-thumb-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px; /* Increased gap */
    z-index: 100;
    align-items: flex-end;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-thumb {
    position: relative;
    width: 50px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s var(--smooth);
    opacity: 0.4;
    background: #000;
    flex-shrink: 0;
}

.hero-thumb::before {
    content: attr(data-index);
    position: absolute;
    top: 5px;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    z-index: 10;
    opacity: 0.7;
}

.hero-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 5;
    transition: opacity 0.4s;
}

.hero-thumb .thumb-rec {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #ff4d4d;
    border-radius: 50%;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 0 10px #ff4d4d;
    transition: opacity 0.4s;
}

.hero-thumb:hover {
    opacity: 0.8;
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.hero-thumb.active {
    opacity: 1;
    width: 80px;
    height: 95px;
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                0 0 25px var(--primary-glow);
    z-index: 2;
    transform: translateY(-8px);
}

.hero-thumb.active .thumb-rec {
    opacity: 1;
    animation: thumbRecBlink 1.5s infinite;
}

@keyframes thumbRecBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.8) brightness(0.6);
    transition: all 0.6s var(--smooth);
    transform: scale(1.1);
}

.hero-thumb.active img {
    filter: grayscale(0) brightness(1);
    transform: scale(1);
}

.hero-thumb.active::after {
    opacity: 0.3;
}

/* ===================== TICKER ===================== */
.ticker-section {
    padding: 24px 0;
    background: #0030b5; 
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.ticker-item {
    display: flex;
    align-items: center;
    padding: 0 45px;
    transition: transform 0.3s ease;
}
.ticker-item img {
    height: 52px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.3s ease;
}
.ticker-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.ticker-dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, .55);
    border-radius: 50%;
}

/* ===================== SECTIONS ===================== */
.section-padding {
    padding: 65px var(--vf-padding); 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: var(--primary);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: #111;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 15.5px;
    color: #555;
    line-height: 1.82;
    max-width: 530px;
}

.accent-text {
    color: var(--primary) !important;
}

.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .75s var(--smooth), transform .75s var(--smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== SECTION BACKGROUNDS ===================== */
.about-section,
.gallery-section,
.testimonial-section,
.footer {
    background: #f8f8f8;
}

.services-section,
.discovery-section,
.film-section,
.portfolio-section,
.contact-section {
    background: #fff;
}

/* ===================== ABOUT ===================== */
.about-grid,
.discovery-grid,
.film-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 78px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 38px;
}

.stat-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.045);
    transition: all .4s var(--smooth);
}

.stat-card:hover {
    border-color: var(--primary-border);
    background: var(--primary-subtle);
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 490px;
    border-radius: 18px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(28%);
    transition: filter .6s;
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-badge {
    position: absolute;
    bottom: -28px;
    left: -28px;
    width: 130px;
    height: 130px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 36px var(--primary-glow);
}

.about-badge .badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 900;
}

.about-badge .badge-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== SERVICES ===================== */
.services-section {
    background: #f8f9fc;
    padding: 120px 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header .section-label { justify-content: center; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1600px;
    margin: 0 auto;
}

/* ---- Card shell ---- */
.service-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.055);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: transform 0.55s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.55s cubic-bezier(0.23,1,0.32,1),
                border-color 0.4s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-14px);
    border-color: rgba(79,138,255,0.22);
    box-shadow: 0 28px 64px rgba(79,138,255,0.10), 0 4px 16px rgba(0,0,0,0.06);
}

/* ---- Image ---- */
.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.92);
    transform: scale(1.04);
    transition: filter 0.7s ease, transform 0.9s cubic-bezier(0.23,1,0.32,1);
}

.service-card:hover .service-card-image img {
    filter: saturate(1.1) brightness(1.0);
    transform: scale(1.1);
}

/* Gradient overlay on image */
.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

/* ---- Badge ---- */
.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--primary);
    color: #fff;
    padding: 4px 13px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ---- Content ---- */
.service-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover .service-content {
    /* Static — no transform needed in card layout */
}

.service-content-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.service-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    transition: color 0.3s;
}

.service-card:hover .service-content h3 { color: var(--primary); }

.service-content p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 18px;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.service-feature-tag {
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.service-card:hover .service-feature-tag {
    background: var(--primary-subtle);
    color: var(--primary);
    border-color: rgba(79, 138, 255, 0.2);
    transform: translateY(-2px);
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap .3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link:hover {
    gap: 13px;
}

/* ===================== GALLERY ===================== */
.gallery-header {
    text-align: center;
    margin-bottom: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 6 items (2 rows) */
    grid-template-rows: repeat(2, 380px);
    gap: 25px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    transition: all 0.5s var(--smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.85);
    transition: all 0.8s var(--smooth);
}

.gallery-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                0 0 20px var(--primary-glow);
}

.gallery-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .68));
    transform: translateY(100%);
    transition: transform .38s var(--smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 3px;
}

.gallery-overlay span {
    font-size: 11.5px;
    color: var(--primary-light);
}

/* ===================== DISCOVERY ===================== */
.discovery-stats {
    display: flex;
    gap: 38px;
    margin: 26px 0;
}

.discovery-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
}

.discovery-stat .label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discovery-services {
    list-style: none;
    margin-top: 26px;
}

.discovery-services li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13.5px;
    color: #555;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all .3s;
}

.discovery-services li:hover {
    color: var(--primary);
    padding-left: 9px;
}

.discovery-services li i {
    color: var(--primary);
    font-size: 10px;
}

.discovery-images {
    height: 580px;
    display: flex;
    gap: 14px;
    overflow: hidden;
}

.discovery-col {
    flex: 1;
    overflow: hidden;
}

.discovery-col-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.discovery-col:nth-child(1) .discovery-col-inner {
    animation: scrollUp 20s linear infinite;
}

.discovery-col:nth-child(2) .discovery-col-inner {
    animation: scrollDown 25s linear infinite;
}

.discovery-col:nth-child(3) .discovery-col-inner {
    animation: scrollUp 22s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.discovery-img {
    width: 100%;
    height: 195px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.4s var(--smooth);
    border: 1.5px solid transparent;
    background: #eee; /* Light grey placeholder to avoid white gaps */
}

.discovery-img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--primary-glow);
    z-index: 10;
}

.discovery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(46%) brightness(0.9);
    transition: all 0.6s var(--smooth);
}

.discovery-img:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* ===================== TESTIMONIAL ===================== */
.testimonial-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.6vw, 30px);
    font-style: italic;
    line-height: 1.55;
    color: #111;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 110px;
    color: var(--primary);
    opacity: .1;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author-info span {
    color: var(--primary);
    font-size: 12.5px;
}

/* ===================== FILM ===================== */
.film-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3.8vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 18px;
}

.film-title .accent {
    color: var(--primary);
}

.filmstrip-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.filmstrip {
    display: flex;
    will-change: transform;
}

.film-frame {
    flex-shrink: 0;
    width: 212px;
    background: #e4e4e4;
    padding: 14px 7px;
    position: relative;
}

.film-frame::before,
.film-frame::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background: repeating-linear-gradient(90deg, #ccc 0, #ccc 11px, #e4e4e4 11px, #e4e4e4 15px, #ccc 15px, #ccc 19px, transparent 19px, transparent 22px);
}

.film-frame::before {
    top: 0;
}

.film-frame::after {
    bottom: 0;
}

.film-frame-image {
    width: 198px;
    height: 132px;
    overflow: hidden;
}

.film-frame-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-frame-number {
    position: absolute;
    bottom: 17px;
    right: 10px;
    font-family: monospace;
    font-size: 8.5px;
    color: #e8620a;
}

/* ===================== POLAROID ===================== */
.polaroid-section {
    padding: 112px 46px;
    background: #eee;
}

.polaroid-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
}

.polaroid {
    background: #fff;
    padding: 11px 11px 46px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.13);
    transform: rotate(var(--rotation, 0deg));
    transition: all .45s var(--bounce);
    position: relative;
}

.polaroid:nth-child(1) {
    --rotation: -5deg;
}

.polaroid:nth-child(2) {
    --rotation: 3deg;
}

.polaroid:nth-child(3) {
    --rotation: -2deg;
}

.polaroid:nth-child(4) {
    --rotation: 4deg;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.07) translateY(-14px);
    z-index: 10;
}

.polaroid-image {
    width: 242px;
    height: 242px;
    overflow: hidden;
    position: relative;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(18%) saturate(108%);
    transition: all .45s;
}

.polaroid:hover .polaroid-image img {
    filter: sepia(0%) saturate(115%);
    transform: scale(1.04);
}

.polaroid.developing .polaroid-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(200, 205, 220, .75) 50%, rgba(80, 100, 140, .65));
    animation: polaDev 3s forwards;
}

@keyframes polaDev {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.polaroid-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    color: #333;
}

/* ===================== PORTFOLIO ===================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 58px;
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-categories {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 112px;
    width: 280px; /* Enforced width to prevent collapsing */
}

.portfolio-categories li {
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
    border-left: 3px solid transparent;
    border-radius: 0 12px 12px 0;
    transition: all .38s var(--smooth);
    position: relative;
    cursor: pointer;
    width: 100%;
}

.portfolio-categories li:hover,
.portfolio-categories li.active {
    color: #111;
    border-left-color: var(--primary);
    background: var(--primary-subtle);
    padding-left: 28px;
    box-shadow: 4px 0 15px rgba(79, 138, 255, 0.1);
}

.portfolio-categories li .count {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    transition: opacity .3s;
}

.portfolio-categories li:hover .count,
.portfolio-categories li.active .count {
    opacity: 1;
}

.portfolio-preview {
    position: relative;
    height: 640px;
    border-radius: 24px;
    background: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.portfolio-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all .65s var(--smooth);
    display: block;
}

.portfolio-preview:hover img {
    filter: brightness(1.05);
    transform: scale(1.02);
}

.portfolio-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
}

.portfolio-preview-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px; /* Slightly reduced to avoid overlap */
    margin-bottom: 6px;
    color: #fff;
    font-weight: 700;
}

.portfolio-preview-overlay p {
    color: var(--primary-light);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.portfolio-preview-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===================== CONTACT ===================== */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all .3s;
}

.contact-info-item:hover {
    border-color: var(--primary-border);
    transform: translateX(5px);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 17px;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 3px;
}

.contact-info-text p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.72;
}

.contact-form {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.055);
}

.contact-form h3 {
    font-size: 21px;
    font-weight: 700;
    color: #111;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.11);
    border-radius: 11px;
    padding: 13px 16px;
    font-size: 13.5px;
    color: #111;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 138, 255, 0.09);
    background: #fff;
}

.form-group textarea {
    height: 115px;
    resize: none;
}

.form-group select option {
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .4s var(--bounce);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px var(--primary-glow);
}

/* ===================== FOOTER ===================== */
.footer {
    background: #f8f8f8;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    width: 100%;
    max-width: 1200px; /* Unified width */
    margin: 0 auto;
    padding: 80px var(--vf-padding);
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 14px;
    color: #111;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: #666;
    font-size: 13.5px;
    line-height: 1.82;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 13px;
    transition: all .3s;
}

.footer-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 22px;
    color: #111;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 13.5px;
    color: #666;
    transition: all .3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 24px var(--vf-padding); /* Standardized padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Unified width */
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 12.5px;
    color: #888;
}

.footer-bottom a {
    color: var(--primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1060px) {

    .hero-grid,
    .about-grid,
    .discovery-grid,
    .film-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-categories {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .portfolio-categories li {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-images,
    .discovery-images {
        display: none;
    }
}

@media (max-width: 768px) {

    :root {
        --topbar-h: 42px;
        --navbar-h: 76px;
        --header-total: 118px;
    }

    .vf-overlay,
    .grain,
    .vf-frame,
    .vf-vignette {
        display: none;
    }

    body {
        cursor: auto;
    }

    .cursor-ring,
    .cursor-dot {
        display: none;
    }

    .top-bar {
        padding: 0 16px;
        font-size: 11px;
    }

    .top-bar-left,
    .top-bar-right {
        display: none;
    }

    .top-bar-center {
        display: flex;
    }

    .navbar {
        padding: 0 16px;
    }

    .navbar.scrolled {
        height: 64px;
    }

    .nav-logo img {
        height: 56px;
    }

    .navbar.scrolled .nav-logo img {
        height: 46px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: calc(var(--header-total) + 28px) 20px 58px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 14px;
    }

    .section-padding,
    .polaroid-section {
        padding: 78px 20px;
    }

    .about-stats,
    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-grid {
        gap: 36px;
        padding: 54px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 9px;
        text-align: center;
        padding: 18px 20px;
    }

    .polaroid-image {
        width: 195px;
        height: 195px;
    }

    .testimonial-quote {
        font-size: 17px;
    }

    .film-title {
        font-size: 28px;
    }

    .portfolio-preview {
        height: 320px;
    }

    /* HUD elements placed optimally inside viewfinder on mobile */
    .hud-brand {
        top: calc(var(--header-total) + 16px);
        right: 14px;
        font-size: 10px;
        gap: 5px;
    }

    .hud-brand-dot {
        width: 6px;
        height: 6px;
    }

    .hud-battery {
        top: calc(var(--header-total) + 16px);
        left: 14px;
        font-size: 9.5px;
        gap: 4px;
    }

    .hud-bat-body {
        width: 21px;
        height: 10px;
    }

    .hud-timer {
        font-size: 11px;
        bottom: 14px;
    }
}

@media (max-width: 480px) {
    :root {
        --topbar-h: 40px;
        --navbar-h: 70px;
        --header-total: 110px;
    }

    .hud-brand {
        top: calc(var(--header-total) + 16px);
        right: 10px;
        font-size: 9px;
        gap: 4px;
    }

    .hud-brand-dot {
        width: 5px;
        height: 5px;
    }

    .hud-battery {
        top: calc(var(--header-total) + 16px);
        left: 10px;
        font-size: 9px;
        gap: 3px;
    }

    .hud-bat-body {
        width: 19px;
        height: 9px;
    }

    .hud-timer {
        font-size: 10px;
        bottom: 11px;
    }
}
/* ===================== RHYTHMIC MONTAGE SPLASH ===================== */
.montage-splash {
    position: fixed;
    inset: 0;
    z-index: 1100000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: all;
}

.montage-images {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.montage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: grayscale(100%) contrast(1.2) brightness(0.6);
    transform: scale(1.1);
    transition: opacity 0.1s ease;
}

.montage-img.active {
    opacity: 0.8;
    filter: grayscale(0%) contrast(1.1) brightness(0.8);
    transform: scale(1);
    transition: transform 0.5s ease;
}

/* Overlay Vibe */
.montage-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 60%, #000 100%);
}

.montage-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.montage-brand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(60px, 10vw, 110px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 25px;
    margin-left: 25px;
    text-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: brandEntrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.montage-brand span { color: var(--primary); }

.montage-tag {
    font-family: 'Helvetica', sans-serif;
    font-size: 11px;
    letter-spacing: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

@keyframes brandEntrance {
    0% { transform: scale(1.5); filter: blur(20px); opacity: 0; }
    100% { transform: scale(1); filter: blur(0px); opacity: 1; }
}

/* Exit Animation: The White Snap */
.montage-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

.montage-splash.outro .montage-flash {
    animation: finalFlash 1s ease-out forwards;
}

@keyframes finalFlash {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

.montage-splash.outro {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease 0.5s, visibility 1s ease 0.5s;
}

/* ===================== APYB CHATBOT STYLES ===================== */
.chatbot-wrapper {
    position: fixed;
    bottom: var(--vf-padding);
    right: var(--vf-padding);
    z-index: 10000;
}

.chatbot-launcher {
    width: 60px; /* Refined compact size */
    height: 60px;
    border-radius: 50%;
    background: #111; /* Dark lens body */
    border: 3px solid #333;
    color: var(--primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        inset 0 0 15px rgba(0,136,255,0.2);
    transition: all 0.4s var(--smooth);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.chatbot-launcher::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.chatbot-launcher::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 20px;
    height: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
    pointer-events: none;
}

.chatbot-launcher:hover {
    transform: scale(1.08) rotate(5deg);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.chatbot-launcher i {
    filter: drop-shadow(0 0 8px var(--primary-glow));
    transition: transform 0.4s var(--bounce);
}

.chatbot-launcher:hover i {
    transform: scale(1.15);
}



.chatbot-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: launcherPulse 2s infinite;
    pointer-events: none;
}

@keyframes launcherPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chat-widget {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 140px); /* Ensures it stays within screen boundaries */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.9) rotate(2deg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
    clip-path: circle(0% at 100% 100%); /* Shutter Aperture Initial State */
}

.chat-widget.active {
    transform: translateY(0) scale(1) rotate(0);
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at 100% 100%); /* Aperture Open */
}
}

.chat-widget.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: var(--primary);
    padding: 18px 22px; /* Slightly more compact */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-status-dot {
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
    box-shadow: 0 0 10px #4cd137;
    animation: statusBreath 2s infinite alternate var(--smooth);
}

@keyframes statusBreath {
    from { transform: scale(1); opacity: 1; box-shadow: 0 0 5px #4cd137; }
    to { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 12px #4cd137; }
}

.chat-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 12px;
}

.chat-waveform span {
    width: 2px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: waveAnim 1.2s infinite ease-in-out;
}

.chat-waveform span:nth-child(2) { animation-delay: 0.2s; height: 10px; }
.chat-waveform span:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.chat-waveform span:nth-child(4) { animation-delay: 0.1s; height: 5px; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.8); }
}

.chat-header h4 {
    font-size: 16px;
    font-weight: 700;
}

.chat-header p {
    font-size: 11px;
    opacity: 0.8;
}

.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 136, 255, 0.03) 0%, transparent 80%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.chat-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.15;
    animation: chatScan 6s linear infinite;
    pointer-events: none;
}

@keyframes chatScan {
    0% { transform: translateY(0); }
    100% { transform: translateY(500px); }
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    animation: msgIn 0.5s var(--bounce);
    position: relative;
}

.message::after {
    content: 'DATA_CAP: OK';
    position: absolute;
    bottom: -14px;
    font-family: var(--font-mono);
    font-size: 7px;
    opacity: 0.4;
    letter-spacing: 0.5px;
}

.bot-msg::after { left: 5px; color: var(--primary); }
.user-msg::after { right: 5px; color: #888; content: 'USER_PUSH: SENT'; }

.message.typing {
    background: rgba(0,0,0,0.05);
    border: 1px dashed var(--primary-border);
    width: 180px;
    padding: 10px 15px;
}

.message.typing::after {
    content: 'STATUS: ACTIVE_SCAN';
}

.message.typing .status {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--primary);
    letter-spacing: 1px;
    animation: blink 0.5s infinite alternate;
}

.message.typing .scan-bar {
    position: absolute;
    bottom: 5px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: typingScan 0.8s ease-in-out infinite;
}

@keyframes typingScan {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}


@keyframes msgIn {
    0% { opacity: 0; transform: translateY(20px) scale(0.85); filter: blur(4px); }
    70% { transform: translateY(-5px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.bot-msg {
    align-self: flex-start;
    background: #f1f1f1;
    color: #333;
    border-bottom-left-radius: 4px;
}

.user-msg {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-quick-replies {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 5px;
}

.chat-quick-replies::-webkit-scrollbar {
    height: 0;
}

.quick-reply {
    background: transparent;
    border: 1.5px solid var(--primary-border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-reply:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.chat-input-wrap {
    display: flex;
    background: #f8f8f8;
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 10px 0;
}

#chatSend {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

#chatSend:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .chat-widget {
        width: calc(100vw - 40px);
        height: 80vh;
        bottom: 75px;
    }
}


/* ===================== AI MOODBOARD GRID ===================== */
.message.moodboard-msg {
    max-width: 90% !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    padding: 12px !important;
}

.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.moodboard-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s;
    filter: grayscale(40%);
}

.moodboard-grid img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.moodboard-caption {
    font-family: monospace;
    font-size: 9px;
    color: #0088ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding-top: 5px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* ===================== REELS PREVIEW SECTION ===================== */
.reels-preview-section {
    background: #000;
    color: #fff;
    overflow: hidden;
}

.reels-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 40px;
}

.reel-mockup {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s var(--smooth);
    background: #111;
}

.reel-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--smooth);
}

.reel-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--smooth);
}

.reel-info-tag {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reel-preview-card:hover .reel-mockup {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 136, 255, 0.2);
}

.reel-preview-card:hover .reel-mockup img {
    transform: scale(1.1);
}

.reel-preview-card:hover .reel-overlay-play {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--primary);
    opacity: 1;
}

.reels-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .reels-grid-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .reels-grid-preview {
        grid-template-columns: 1fr;
        padding: 0 60px;
    }
}

/* ===================== BEHIND THE LENS (FLIP) ===================== */
.bts-flipper { perspective: 1200px; overflow: visible !important; width: 100%; }
.flipper-inner { position: relative; width: 100%; height: 100%; min-height: inherit; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d; }
.bts-flipper.flipped .flipper-inner { transform: rotateY(180deg); }
.flipper-front, .flipper-back { 
    position: absolute; 
    inset: 0; 
    backface-visibility: hidden; 
    -webkit-backface-visibility: hidden; 
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
}
.flipper-back { transform: rotateY(180deg); background: #111; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.flipper-back img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) sepia(0.2); }
.bts-label { position: absolute; bottom: 20px; left: 20px; background: var(--accent); color: #fff; padding: 5px 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; }
.bts-toggle { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: all 0.4s var(--smooth); }
.bts-toggle:hover { background: var(--accent); transform: rotate(90deg) scale(1.1); }
.bts-flipper.flipped .bts-toggle { background: #fff; color: #000; transform: rotate(45deg); }


/* ===================== GEAR TOOLKIT (REFINED LIGHT) ===================== */
.gear-bag-section { background: #ffffff; position: relative; overflow: hidden; padding: 80px 0; border-top: 1px solid rgba(0,0,0,0.03); }
.gear-interactive-container { padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 600px; position: relative; }
.gear-main-wrap { position: relative; width: 100%; max-width: 1300px; height: 550px; display: flex; align-items: center; justify-content: center; }
.bag-wrap { position: relative; width: 360px; height: 460px; cursor: pointer; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); z-index: 5; }
.bag-wrap:hover { transform: scale(1.03); }
.bag-wrap.open .bag-img { opacity: 0.1; transform: scale(0.9) translateY(40px); }
.bag-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.08)); transition: all 0.6s ease; }

.zipper-handle { 
    position: absolute; 
    top: 42%; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 48px; 
    height: 48px; 
    background: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid rgba(0,0,0,0.05); 
    z-index: 6; 
    color: var(--primary); 
    transition: all 0.5s; 
    font-size: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.07); 
    animation: handlePulse 2s infinite;
}

.bag-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 20px var(--primary);
    z-index: 8;
    animation: scanBag 3.5s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}
.bag-wrap:hover .bag-scanner { opacity: 0.8; }

@keyframes scanBag {
    0% { top: 0; }
    100% { top: 100%; }
}

.hud-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 1.5px solid var(--primary);
    z-index: 8;
    opacity: 0;
    transition: all 0.6s var(--smooth);
}
.hud-corner.tl { top: -15px; left: -15px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -15px; right: -15px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -15px; left: -15px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -15px; right: -15px; border-left: 0; border-top: 0; }

.bag-wrap:hover .hud-corner { opacity: 0.8; transform: scale(1.1); }
.bag-wrap.open .hud-corner, .bag-wrap.open .bag-scanner { display: none; }

.bag-hint span {
    background: rgba(0, 136, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 136, 255, 0.5);
    color: #fff;
    padding: 14px 40px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.3);
    display: block;
    animation: hintFloat 3s ease-in-out infinite;
    white-space: nowrap;
    transition: all 0.4s;
}

.bag-wrap:hover .bag-hint span {
    background: var(--primary);
    box-shadow: 0 0 40px var(--primary-glow);
    letter-spacing: 6px;
}

@keyframes handlePulse {
    0% { transform: translate(-50%, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.6); }
    70% { transform: translate(-50%, 0) scale(1.1); box-shadow: 0 0 0 20px rgba(0, 136, 255, 0); }
    100% { transform: translate(-50%, 0) scale(1); box-shadow: 0 0 0 0 rgba(0, 136, 255, 0); }
}
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 136, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 255, 0); }
}

@keyframes hintFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gear-items { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.bag-wrap.open + .gear-items .gear-item { opacity: 1; pointer-events: auto; }
.gear-item { position: absolute; width: 180px; height: 180px; opacity: 0; transform: scale(0.5); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); z-index: 10; perspective: 1200px; }
.gear-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 25px 50px rgba(0,0,0,0.1)); transition: transform 0.1s; }
.gear-item-label { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1.2px; opacity: 0; transition: 0.3s; white-space: nowrap; }
.gear-item:hover .gear-item-label { opacity: 1; }

/* Refined Spread */
.bag-wrap.open + .gear-items .item-1 { transform: translate(-350px, -180px) scale(1.1); transition-delay: 0.1s; }
.bag-wrap.open + .gear-items .item-2 { transform: translate(350px, -180px) scale(1.1); transition-delay: 0.2s; }
.bag-wrap.open + .gear-items .item-3 { transform: translate(-400px, 100px) scale(1); transition-delay: 0.3s; }
.bag-wrap.open + .gear-items .item-4 { transform: translate(400px, 100px) scale(1); transition-delay: 0.4s; }
.bag-wrap.open + .gear-items .item-5 { transform: translate(0, -280px) scale(1.2); transition-delay: 0.5s; }
.gear-main-wrap.focus-active .bag-wrap, .gear-main-wrap.focus-active .bg-glow { filter: blur(15px); opacity: 0.1; }
.gear-item.active-focus { z-index: 1000; filter: none !important; opacity: 1 !important; scale: 1.25 !important; }
/* Light Popup */
.preview-popup { 
    position: fixed; 
    bottom: 40px; 
    right: 40px; 
    width: 340px; 
    background: rgba(255, 255, 255, 0.96); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    border: 1px solid rgba(0,0,0,0.06); 
    border-radius: 24px; 
    box-shadow: 0 40px 100px rgba(0,0,0,0.15); 
    transform: scale(0.8);
    opacity: 0;
    filter: blur(15px);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1); 
    z-index: 10000; pointer-events: none; 
    overflow: hidden; 
}
.preview-popup.active { transform: scale(1); opacity: 1; filter: blur(0); pointer-events: auto; }
.preview-img-wrap { width: 100%; height: 200px; overflow: hidden; position: relative; }
.preview-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.5s ease; 
}
.preview-img.loaded { 
    opacity: 1; 
    visibility: visible;
}
.preview-content { padding: 25px; }
.preview-content h4 { font-family: 'Playfair Display', serif; font-size: 21px; color: #111; margin-bottom: 8px; }
.preview-content p { font-size: 13.5px; color: #666; margin-bottom: 22px; line-height: 1.62; }
.tech-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 22px; }
.spec-label { font-size: 9px; text-transform: uppercase; color: var(--primary); font-weight: 700; letter-spacing: 1px; }
.spec-val { font-size: 13px; font-weight: 600; color: #111; }
.bg-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background: radial-gradient(circle, rgba(0, 136, 255, 0.04) 0%, transparent 70%); pointer-events: none; z-index: 1; transition: all 0.8s; }


/* ---- ELITE REVEAL ANIMATIONS ---- */
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; transform: translateY(110%); transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1); }
.hero-slide.active .hero-title .line span { transform: translateY(0); }
.hero-slide .hero-title .line:nth-child(1) span { transition-delay: 0.4s; }
.hero-slide .hero-title .line:nth-child(2) span { transition-delay: 0.5s; }
.hero-slide .hero-title .line:nth-child(3) span { transition-delay: 0.6s; }

.section-title { position: relative; overflow: hidden; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.8s var(--smooth); }
.section-title.reveal.active::after { width: 100%; }

.service-card { transition: transform 0.6s var(--smooth), box-shadow 0.6s var(--smooth) !important; }
.service-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important; }


.nav-logo { display: flex; align-items: center; justify-content: center; height: 100%; transition: transform 0.4s var(--smooth); }
.nav-logo img { height: 140px; max-height: 140px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,255,255,0.08)); }
.nav-logo:hover { transform: scale(1.05); }

.footer-logo img {
    height: 260px;
    width: auto;
    object-fit: contain;
    margin-bottom: 70px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.05));
}

