/* 
 * Front Page Styles
 * Specific styles for the homepage (Movy Premium DNA)
 */

/* ==========================================================================
   1. Hero Section (Cinematic Portal)
   ========================================================================== */
.hero-section {
    height: 85vh;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    padding-top: 90px;
    padding-bottom: 50px;
    overflow: hidden;
    z-index: 1;
}

.hero-section__bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Camera Lens Simulator Container */
.hero-lens-container {
    position: relative;
    width: min(135vw, 125vh);
    height: min(135vw, 125vh);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Perfectly Circular Portal Mask (Lens Aperture) */
.hero-portal-mask {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 30px 90px rgba(0, 0, 0, 0.6);
    will-change: transform;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s ease,
        opacity 0.4s ease;
}

/* Portal Shape Transition State */
.hero-portal-mask.portal-transitioning {
    opacity: 0;
    transform: scale(0.85) !important;
}

/* Aspect Ratio Morphing Classes */
.hero-portal-mask.portal-ratio-16-9 {
    width: 85%;
    height: calc(85% * 9 / 16);
    border-radius: 20px;
    clip-path: none !important;
}

.hero-portal-mask.portal-ratio-2-39 {
    width: 90%;
    height: calc(90% * 100 / 239);
    border-radius: 16px;
    clip-path: none !important;
}

.hero-portal-mask.portal-ratio-9-16 {
    width: calc(80% * 9 / 16);
    height: 80%;
    border-radius: 24px;
    clip-path: none !important;
}

.hero-section__bg-media video,
.hero-section__bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    scale: 1.05;
    animation: lensFocusBreath 12s ease-in-out infinite alternate;
}

.hero-section__bg-image--mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-section__bg-image--mobile {
        display: block;
    }

    .hero-section__bg-image--mobile+.hero-section__bg-video {
        display: none !important;
    }
}

/* Concentric Lens Housing Rings */
.hero-lens-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.hero-lens-ring--outer {
    inset: -32px;
    border: 3px solid rgba(99, 57, 216, 0.35);
    background: radial-gradient(circle, transparent 65%, rgba(99, 57, 216, 0.08) 100%);
    box-shadow: 0 0 40px rgba(99, 57, 216, 0.15),
        inset 0 0 25px rgba(0, 0, 0, 0.7);
    animation: rotateOuterLens 35s linear infinite;
}

.hero-lens-ring--inner {
    inset: -16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    animation: rotateInnerLens 45s linear infinite reverse;
}

/* Rotating Lens Metadata text path SVG */
.hero-lens-text-ring {
    position: absolute;
    inset: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    pointer-events: none;
    z-index: 2;
    animation: rotateOuterLens 75s linear infinite;
}

/* Lens Reflection Glare Coating Overlay */
.hero-lens-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(99, 57, 216, 0.18) 0%,
            transparent 45%,
            rgba(0, 242, 254, 0.12) 75%,
            rgba(99, 57, 216, 0.22) 100%);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    opacity: 0.9;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
}

/* Glass Coating Glare reflections */
.hero-lens-glare::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 8%;
    width: 32%;
    height: 32%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 75%);
    filter: blur(8px);
    border-radius: 50%;
}

.hero-lens-glare::after {
    content: '';
    position: absolute;
    bottom: 12%;
    right: 12%;
    width: 28%;
    height: 28%;
    background: radial-gradient(circle, rgba(99, 57, 216, 0.3) 0%, transparent 75%);
    filter: blur(12px);
    border-radius: 50%;
}

/* Camera Viewfinder UI Overlay */
.hero-viewfinder-overlay {
    position: absolute;
    inset: 0;
    padding: min(10vw, 10vh);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.viewfinder-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.viewfinder-corner--tl {
    top: min(10vw, 10vh);
    left: min(10vw, 10vh);
    border-right: none;
    border-bottom: none;
}

.viewfinder-corner--tr {
    top: min(10vw, 10vh);
    right: min(10vw, 10vh);
    border-left: none;
    border-bottom: none;
}

.viewfinder-corner--bl {
    bottom: min(10vw, 10vh);
    left: min(10vw, 10vh);
    border-right: none;
    border-top: none;
}

.viewfinder-corner--br {
    bottom: min(10vw, 10vh);
    right: min(10vw, 10vh);
    border-left: none;
    border-top: none;
}

.viewfinder-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    padding: 10px 15px;
}

.viewfinder-rec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff3b30;
}

.rec-dot {
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    display: inline-block;
    animation: blinkRec 1.5s infinite steps(1, start);
    box-shadow: 0 0 10px #ff3b30;
}

.viewfinder-battery {
    display: flex;
    align-items: center;
    gap: 8px;
}

.battery-icon {
    width: 22px;
    height: 11px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    position: relative;
    display: inline-block;
}

.battery-icon::before {
    content: '';
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    width: 13px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.55);
}

.battery-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    right: -4px;
    width: 2px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 0 1px 1px 0;
}

@keyframes blinkRec {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 65vh;
        padding-top: 95px;
        padding-bottom: 60px;
    }

    .hero-lens-container {
        width: 100%;
        height: 100%;
    }

    .hero-lens-text-ring,
    .hero-lens-ring,
    .hero-lens-glare {
        display: none;
    }

    .hero-viewfinder-overlay {
        display: none !important;
    }
}



.hero-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 11, 40, 0.72);
    /* Fallback */
    background: color-mix(in srgb, var(--primary-dark) 72%, transparent);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: -1;
    pointer-events: none;
}

/* Scroll Indicator */
.hero-section__scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-section__scroll-indicator.fade-out {
    opacity: 0;
    transform: translate(-50%, 15px);
}

.hero-section__scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    display: block;
}

.hero-section__scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s ease-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        top: 6px;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 18px;
    }
}

.hero-section__inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding-left: 40px;
    padding-right: 40px;
}

/* Cinematic Typographic titles */
.hero-section__title {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--text-light);
    font-weight: 800;
}

.hero-section__title .outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-light);
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
    display: inline-block;
}

.hero-section__title .outline-text:hover {
    color: var(--text-light);
    -webkit-text-stroke: 1.5px transparent;
}

.hero-section__title .filled-text {
    color: var(--primary-highlight);
    text-shadow: 0 0 40px rgba(99, 57, 216, 0.3);
}

/* Staggered word animation wrappers */
.hero-section__title .word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 5px;
    margin-bottom: -5px;
}

.hero-section__title .word-inner {
    display: inline-block;
    transform: translateY(115%) rotate(3deg);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-section.is-loaded .hero-section__title .word-inner {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}

.hero-section__subtitle {
    font-size: 1.45rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--text-light);
    max-width: 600px;
    opacity: 0;
    transform: translateY(35px);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.5s;
    will-change: transform, opacity;
}

.hero-section.is-loaded .hero-section__subtitle {
    opacity: 0.85;
    transform: translateY(0);
}

.hero-section__actions {
    opacity: 0;
    transform: translateY(35px);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.7s;
    will-change: transform, opacity;
}

.hero-section.is-loaded .hero-section__actions {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-section__title {
        font-size: 2.2rem;
    }

    .hero-section__title .outline-text {
        -webkit-text-stroke: 1px var(--text-light);
    }

    .hero-section__subtitle {
        font-size: 1.15rem;
    }

    .hero-portal-mask {
        width: 100%;
        height: 100%;
        border-radius: 0 !important;
        animation: none;
    }
}


/* Cinematic Play-Button Mask */
.play-portal-clip-path {
    clip-path: url(#play-portal-clip);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s ease;
}

.hero-lens-container:hover .play-portal-clip-path {
    transform: scale(1.03) rotate(3deg);
}

.hero-section__bg-video,
.hero-section__bg-image {
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        scale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Color Grading LUT presets */
.lut-rec709 {
    filter: saturate(1.08) contrast(1.03) brightness(1.0) blur(var(--dof-blur, 0px));
}

.lut-teal-orange {
    filter: contrast(1.18) saturate(1.3) hue-rotate(-8deg) brightness(0.92) sepia(0.05) blur(var(--dof-blur, 0px));
}

.lut-noir {
    filter: grayscale(1) contrast(1.45) brightness(0.88) blur(var(--dof-blur, 0px));
}

.lut-log {
    filter: saturate(0.48) contrast(0.68) brightness(1.12) sepia(0.04) blur(var(--dof-blur, 0px));
}

/* Aspect Ratio Letterbox overlays on Viewfinder */
.hero-viewfinder-overlay::before,
.hero-viewfinder-overlay::after {
    content: '';
    position: absolute;
    background-color: var(--primary-dark);
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

/* 2.39:1 Cinemascope Crop Bars (Top & Bottom) */
.ratio-2-39 .hero-viewfinder-overlay::before {
    top: 0;
    left: 0;
    right: 0;
    height: 12%;
    opacity: 0.9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ratio-2-39 .hero-viewfinder-overlay::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 12%;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 9:16 Vertical Framing Crop Bars (Left & Right) */
.ratio-9-16 .hero-viewfinder-overlay::before {
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(50% - 28vh);
    opacity: 0.9;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ratio-9-16 .hero-viewfinder-overlay::after {
    top: 0;
    bottom: 0;
    right: 0;
    width: calc(50% - 28vh);
    opacity: 0.9;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rule of Thirds framing grid */
.viewfinder-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.viewfinder-grid-lines.active {
    opacity: 0.22;
}

.grid-line {
    position: absolute;
    background-color: var(--text-light);
}

.grid-line--v1 {
    top: 0;
    bottom: 0;
    left: 33.33%;
    width: 1px;
    border-left: 1px dashed var(--text-light);
}

.grid-line--v2 {
    top: 0;
    bottom: 0;
    left: 66.66%;
    width: 1px;
    border-left: 1px dashed var(--text-light);
}

.grid-line--h1 {
    left: 0;
    right: 0;
    top: 33.33%;
    height: 1px;
    border-top: 1px dashed var(--text-light);
}

.grid-line--h2 {
    left: 0;
    right: 0;
    top: 66.66%;
    height: 1px;
    border-top: 1px dashed var(--text-light);
}

/* Left Sidebar HUD (Audio VU Meter & Stats) */
.viewfinder-sidebar-left {
    position: absolute;
    left: min(10vw, 10vh);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 4;
    pointer-events: auto;
}

.audio-vu-meter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 11, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vu-channel {
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
}

.vu-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 32px;
    width: 45px;
}

.vu-bar {
    flex: 1;
    height: var(--height-val, 20%);
    background-color: #34c759;
    border-radius: 1px;
    animation: vuBounce 1.2s ease-in-out infinite alternate;
    animation-delay: calc(var(--i, 1) * -0.15s);
}

.vu-bar:nth-child(n+7) {
    background-color: #ffcc00;
}

.vu-bar:nth-child(n+9) {
    background-color: #ff3b30;
}

@keyframes vuBounce {
    0% {
        height: 10%;
    }

    100% {
        height: var(--height-val, 80%);
    }
}

.vu-bar:nth-child(1) {
    --i: 1;
}

.vu-bar:nth-child(2) {
    --i: 3;
}

.vu-bar:nth-child(3) {
    --i: 2;
}

.vu-bar:nth-child(4) {
    --i: 5;
}

.vu-bar:nth-child(5) {
    --i: 4;
}

.vu-bar:nth-child(6) {
    --i: 7;
}

.vu-bar:nth-child(7) {
    --i: 6;
}

.vu-bar:nth-child(8) {
    --i: 9;
}

.vu-bar:nth-child(9) {
    --i: 8;
}

.vu-bar:nth-child(10) {
    --i: 10;
}

.camera-gauge-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.camera-gauge {
    display: flex;
    flex-direction: column;
    background: rgba(18, 11, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.gauge-label {
    color: rgba(255, 255, 255, 0.35);
}

.gauge-val {
    color: var(--text-light);
    font-size: 0.88rem;
}

/* Camera Interactive Control Console Panel */
.viewfinder-console {
    position: absolute;
    right: min(10vw, 10vh);
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    background: rgba(18, 11, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 4;
    pointer-events: auto;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.viewfinder-console:hover {
    border-color: rgba(99, 57, 216, 0.45);
    box-shadow: 0 20px 60px rgba(99, 57, 216, 0.18);
}

.viewfinder-console__header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Gemunu Libre', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--primary-highlight);
}

.viewfinder-console__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.console-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.console-section--inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.console-section-title {
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.lut-selector-buttons,
.ratio-selector-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.ratio-selector-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.lut-btn,
.ratio-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 4px;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.lut-btn:hover,
.ratio-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.15);
}

.lut-btn.active,
.ratio-btn.active {
    background: var(--primary);
    border-color: var(--primary-highlight);
    color: var(--text-light);
    box-shadow: 0 0 12px rgba(96, 44, 185, 0.3);
}

.console-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-value-display {
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-light);
}

.console-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    margin: 8px 0;
}

.console-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-highlight);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(99, 57, 216, 0.6);
    transition: transform 0.15s ease;
}

.console-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Framing Grid Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .4s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-light);
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(16px);
    background-color: var(--text-light);
}

/* Bottom camera HUD specs */
.viewfinder-info-specs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cam-parameter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.param-lbl {
    color: rgba(255, 255, 255, 0.35);
}

.param-val {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cam-timecode {
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ff3b30;
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.2);
}

@media (max-width: 991px) {
    .viewfinder-sidebar-left {
        left: 20px;
        gap: 15px;
    }

    .viewfinder-console {
        display: none;
    }

    .audio-vu-meter {
        padding: 5px 6px;
    }

    .vu-bars {
        height: 24px;
        width: 35px;
    }
}

@media (max-width: 768px) {
    .viewfinder-sidebar-left {
        display: none;
    }

    .viewfinder-info-specs .cam-parameter:not(:last-child) {
        display: none;
    }

    .viewfinder-info-specs {
        gap: 10px;
    }

    .cam-timecode {
        font-size: 0.95rem;
    }

    .play-portal-clip-path {
        clip-path: none !important;
    }
}

/* ==========================================================================
   2. Diferencial Section (Asymmetrical Split)
   ========================================================================== */
.differentiator-section {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-body);
}

.asymmetric-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.differentiator__media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-media-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(18, 11, 40, 0.1);
    box-shadow: 0 20px 45px rgba(18, 11, 40, 0.12), 0 0 40px rgba(96, 44, 185, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-media-image:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 30px 60px rgba(18, 11, 40, 0.18), 0 0 50px rgba(96, 44, 185, 0.12);
}

.about-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(18, 11, 40, 0.1);
    box-shadow: 0 20px 45px rgba(18, 11, 40, 0.12), 0 0 40px rgba(96, 44, 185, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-video-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(18, 11, 40, 0.18), 0 0 50px rgba(96, 44, 185, 0.12);
}

.about-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-eyebrow {
    display: block;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.differentiator__content {
    max-width: 550px;
}



/* DNA Shape concentric geometries */
.dna-shape {
    width: 100%;
    max-width: 320px;
    position: relative;
}

.dna-ring {
    stroke: var(--primary-highlight);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 6 6;
    transform-origin: center;
}

.dna-ring--1 {
    animation: rotateRing 20s linear infinite;
}

.dna-ring--2 {
    animation: rotateRing 10s linear infinite reverse;
    stroke: var(--primary);
}

.dna-triangle {
    stroke: var(--primary-highlight);
    stroke-width: 2.5;
    fill: rgba(96, 44, 185, 0.06);
    stroke-linejoin: round;
    transform-origin: center;
    animation: rotateTriangleShape 22s ease-in-out infinite alternate;
}

@media (max-width: 991px) {
    .asymmetric-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .differentiator__content {
        margin: 0 auto;
    }

}

/* ==========================================================================
   3. Awards Section (3D Glare Cards)
   ========================================================================== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
    perspective: 1200px;
    /* Habilita efeito 3D nos filhos */
}

.award-card {
    position: relative;
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transform-style: preserve-3d;
}

.award-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(96, 44, 185, 0.35);
    box-shadow: 0 25px 60px rgba(96, 44, 185, 0.15);
}

.award-card__glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover .award-card__glare {
    opacity: 1;
}

.award-card__image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transform: translateZ(35px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.award-card__image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.award-card:hover .award-card__image img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.award-card__title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0;
    transform: translateZ(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   4. Ancine Section (Skewed Ribbon & Floating Orb)
   ========================================================================== */
/* ==========================================================================
   4. Ancine Section (Glassmorphic Certification Badge)
   ========================================================================== */
.ancine-section {
    position: relative;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border: none;
    padding: 100px 0;
    margin: 0;
    overflow: hidden;
}

.ancine-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px 50px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.ancine-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 57, 216, 0.35);
    box-shadow: 0 40px 80px rgba(96, 44, 185, 0.15);
}

.ancine-card__glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ancine-card:hover .ancine-card__glare {
    opacity: 1;
}

.ancine-section__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.ancine__orb-container {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Liquid Glass Orb containing the Logo */
.ancine__glass-orb {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 75%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45),
        inset 0 10px 25px rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floatOrb 6s ease-in-out infinite;
    padding: 25px;
}

.ancine__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ancine__logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.ancine__content {
    flex: 1;
}

.ancine__eyebrow {
    display: block;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary-highlight);
    margin-bottom: 12px;
}

.ancine__title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: var(--text-light);
}

.ancine__description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 25px 0;
}

.ancine__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ancine__badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: default;
}

.ancine__badge:hover {
    background: rgba(99, 57, 216, 0.2);
    border-color: rgba(99, 57, 216, 0.4);
    color: var(--text-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ancine-card {
        padding: 40px 24px;
    }

    .ancine-section__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .ancine__orb-container {
        flex: auto;
    }

    .ancine__glass-orb {
        width: 140px;
        height: 140px;
    }

    .ancine__title {
        font-size: 1.8rem;
    }

    .ancine__description {
        font-size: 1rem;
    }

    .ancine__badges {
        justify-content: center;
    }
}

/* ==========================================================================
   5. Projects Section (Asymmetric Editorial Grid)
   ========================================================================== */
.projects-section {
    position: relative;
    overflow: hidden;
}

.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
}

.project-card__image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background-color: var(--primary-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(18, 11, 40, 0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.project-card:hover .project-card__image-wrapper {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(99, 57, 216, 0.12), 
                0 10px 25px rgba(18, 11, 40, 0.04);
    border-color: rgba(99, 57, 216, 0.25);
}

.project-card__image {
    position: relative;
    padding-top: 58%; /* Aspect Ratio aproximado de 1.7 */
    overflow: hidden;
}

.project-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.01) brightness(0.9) saturate(0.95);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
    filter: contrast(1.05) brightness(0.85) saturate(1.05);
}

/* Project Hover Video Preview */
.project-card__hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    filter: contrast(1.03) brightness(0.85);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.project-card:hover .project-card__hover-video {
    opacity: 1;
    transform: scale(1.05);
}

/* HUD de Câmera (Cinematic Viewport Overlays) */
.project-card__hud {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.project-card__hud-top,
.project-card__hud-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-card:hover .project-card__hud {
    color: rgba(255, 255, 255, 0.9);
}

.hud-rec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
}

.hud-rec-dot {
    width: 7px;
    height: 7px;
    background-color: #ff3b30;
    border-radius: 50%;
    display: inline-block;
    animation: blinkRec 1.5s infinite steps(1, start);
    box-shadow: 0 0 8px #ff3b30;
}

.hud-tc {
    font-family: monospace, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    background: rgba(18, 11, 40, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-spec,
.hud-fps {
    background: rgba(18, 11, 40, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
}

/* Badge especial de Destaque */
.project-card__featured-badge {
    font-size: 0.76rem;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-highlight) 0%, var(--primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}

/* Frame Viewfinder Corners */
.project-card__frame {
    position: absolute;
    inset: 24px;
    pointer-events: none;
    z-index: 4;
    opacity: 0.18;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                inset 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__frame {
    opacity: 0.85;
    inset: 16px;
}

.frame-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.3s ease;
}

.project-card:hover .frame-corner {
    border-color: var(--primary-highlight);
}

.frame-corner--tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.frame-corner--tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.frame-corner--bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.frame-corner--br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Content Container (Vertical layout layout) */
.project-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 6px;
    transition: transform 0.3s ease;
}

.project-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.project-card__client {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(96, 44, 185, 0.06);
    border: 1px solid rgba(96, 44, 185, 0.15);
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}

.project-card__title {
    margin: 0;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 2.1rem;
    color: var(--primary-dark);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.project-card:hover .project-card__title {
    color: var(--primary-highlight);
}

.project-card__excerpt {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(18, 11, 40, 0.72);
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-card__excerpt {
    color: rgba(18, 11, 40, 0.9);
}

.project-card__cta {
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-transform: uppercase;
    transition: color 0.3s ease, gap 0.3s ease;
}

.project-card__cta .cta-arrow {
    transition: transform 0.3s ease;
}

.project-card:hover .project-card__cta {
    color: var(--primary-highlight);
}

.project-card:hover .project-card__cta .cta-arrow {
    transform: translateX(6px);
}

/* Asymmetric Grid classes updated for 3-item showcase */
.project-card--type-1 {
    grid-column: span 8;
}

.project-card--type-2 {
    grid-column: span 4;
}

@media (min-width: 992px) {
    .project-card--type-2 {
        margin-top: 40px;
    }

    .project-card--type-3 {
        grid-column: span 12;
    }

    .project-card--type-3 .project-card__image {
        padding-top: 35%; /* Formato banner horizontal cinematográfico para o destaque */
    }

    .project-card--type-3 .project-card__title {
        font-size: 2.6rem;
    }
}

/* Centralização dinâmica para grades incompletas (UX Fallback) */
.projects-editorial-grid:has(> :only-child) {
    display: flex;
    justify-content: center;
}

.projects-editorial-grid:has(> :only-child) .project-card {
    width: 100%;
    max-width: 860px;
}

.projects-editorial-grid:has(> :only-child) .project-card__image {
    padding-top: 52%;
}

.projects-editorial-grid:has(> :nth-child(2):last-child) {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.projects-editorial-grid:has(> :nth-child(2):last-child) .project-card {
    flex: 1;
    min-width: 320px;
    max-width: 550px;
    margin-top: 0 !important;
}

.videos-grid:has(> :only-child) {
    display: flex;
    justify-content: center;
}

.videos-grid:has(> :only-child) .video-card {
    width: 100%;
    max-width: 450px;
}

.videos-grid:has(> :nth-child(2):last-child) {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.videos-grid:has(> :nth-child(2):last-child) .video-card {
    flex: 1;
    max-width: 450px;
}

@media (max-width: 991px) {
    .project-card--type-1,
    .project-card--type-2,
    .project-card--type-3,
    .project-card--type-4,
    .project-card--type-5,
    .project-card:nth-child(n+6) {
        grid-column: span 12;
        margin-top: 0 !important;
        width: 100%;
    }

    .project-card__title {
        font-size: 1.7rem;
    }

    .project-card__excerpt {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .project-card__hud {
        padding: 16px;
    }

    .project-card__hud-bottom {
        display: none; /* Oculta timecode e FPS no mobile para ficar mais limpo */
    }

    .project-card__frame {
        inset: 16px;
        opacity: 0.4;
    }
}

@media (max-width: 600px) {
    .project-card {
        gap: 14px;
    }

    .project-card__title {
        font-size: 1.45rem;
    }

    .project-card__excerpt {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .project-card__hud {
        padding: 12px;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   6. Videos Section
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.video-card {
    display: block;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(18, 11, 40, 0.06);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(18, 11, 40, 0.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.4s ease,
        border-color 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(99, 57, 216, 0.15);
    box-shadow: 0 20px 45px rgba(99, 57, 216, 0.08);
}

/* Ajustes de card de vídeo para fundo escuro */
.bg-dark-purple .section-eyebrow {
    color: var(--primary-highlight);
}

.bg-dark-purple .video-card {
    background: color-mix(in srgb, var(--text-light) 2%, transparent);
    border-color: color-mix(in srgb, var(--text-light) 6%, transparent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bg-dark-purple .video-card:hover {
    background: color-mix(in srgb, var(--text-light) 5%, transparent);
    border-color: color-mix(in srgb, var(--primary-highlight) 45%, transparent);
    box-shadow: 0 20px 45px color-mix(in srgb, var(--primary-highlight) 18%, transparent);
}

.bg-dark-purple .video-card__title {
    color: var(--text-light);
}

.bg-dark-purple .video-card:hover .video-card__title {
    color: var(--primary-highlight);
}

.bg-dark-purple .video-card__thumbnail {
    border-color: color-mix(in srgb, var(--text-light) 6%, transparent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Cantoneiras de enquadramento (Viewfinder) para o card de vídeo */
.video-card__frame {
    position: absolute;
    inset: 18px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        inset 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-card__frame {
    opacity: 1;
    inset: 12px;
}

.video-card__frame .frame-corner {
    border-color: rgba(255, 255, 255, 0.3);
}

.video-card:hover .video-card__frame .frame-corner {
    border-color: var(--primary-highlight);
}

.video-card__thumbnail {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #000;
    border: 1px solid rgba(18, 11, 40, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reflexo de lente (Lens glare sweep) */
.video-card__thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25) 30%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.25) 70%,
            transparent);
    transform: skewX(-25deg);
    transition: none;
    z-index: 3;
    pointer-events: none;
}

.video-card:hover .video-card__thumbnail::after {
    left: 150%;
    transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, scale 0.5s ease;
}

.video-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    opacity: 0.85;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(18, 11, 40, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: playPulse 2.5s infinite ease-in-out;
}

.video-card:hover .video-card__thumbnail {
    box-shadow: 0 12px 25px rgba(96, 44, 185, 0.08);
}

.video-card:hover .video-card__thumbnail img {
    opacity: 0.95;
    scale: 1.03;
}

.video-card:hover .video-card__play-icon {
    opacity: 1;
    background: var(--primary-highlight);
    border-color: var(--primary-highlight);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 10px 20px rgba(99, 57, 216, 0.35);
    animation: none;
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.video-card__title {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0;
    padding: 0 4px 6px 4px;
    color: var(--primary-dark);
    line-height: 1.35;
    transition: color 0.3s ease;
}

.video-card:hover .video-card__title {
    color: var(--primary);
}

/* ==========================================================================
   7. Clients Section
   ========================================================================== */
.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
}

/* Sombra degradê nas bordas para mesclagem de vidro */
.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body) 0%, transparent 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body) 0%, transparent 100%);
}

.clients-marquee__track {
    display: flex;
    width: calc(240px * 16);
    animation: marqueeContinuous 38s linear infinite;
}

.client-logo {
    width: 240px;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.35s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   8. Liquid Expansion Video Modal
   ========================================================================== */
.video-portal-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-portal-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.video-portal-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 7, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.video-portal-modal__body {
    position: relative;
    width: 90vw;
    max-width: 1100px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.85) translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.video-portal-modal[aria-hidden="false"] .video-portal-modal__body {
    transform: scale(1) translateY(0);
}

.video-portal-modal__container {
    width: 100%;
    height: 100%;
}

.video-portal-modal__container video,
.video-portal-modal__container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-portal-modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.3s, transform 0.3s;
}

.video-portal-modal__close:hover {
    background-color: var(--primary-highlight);
    border-color: var(--primary-highlight);
    transform: scale(1.08) rotate(90deg);
}

/* ==========================================================================
   8.5. Services Section (Types of Videos)
   ========================================================================== */
.services-section {
    background-color: var(--primary-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-bottom: 1px solid color-mix(in srgb, var(--text-light) 5%, transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    background: color-mix(in srgb, var(--text-light) 2%, transparent);
    border: 1px solid color-mix(in srgb, var(--text-light) 6%, transparent);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background: color-mix(in srgb, var(--text-light) 5%, transparent);
    border-color: color-mix(in srgb, var(--primary-highlight) 45%, transparent);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px color-mix(in srgb, var(--primary-highlight) 15%, transparent);
}

/* Service Card Glare Effect */
.service-card__glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), color-mix(in srgb, var(--text-light) 12%, transparent) 0%, transparent 60%);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card__glare {
    opacity: 1;
}

/* Icon Styling using Movy design tokens */
.service-card__icon-wrapper {
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-highlight) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-highlight) 25%, transparent);
    border-radius: 16px;
    color: var(--primary-highlight);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__icon-wrapper {
    background: var(--primary-highlight);
    color: var(--text-light);
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary-highlight) 40%, transparent);
}

.service-card__icon {
    width: 36px;
    height: 36px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom SVG parts details matching Movy Brand */
.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__icon .icon-circle,
.service-card__icon .icon-circle-small,
.service-card__icon .icon-circle-reel,
.service-card__icon .icon-circle-inner,
.service-card__icon .icon-screen {
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__icon .icon-horn-body {
    stroke: currentColor;
    stroke-width: 2.5;
    fill: color-mix(in srgb, var(--primary-highlight) 10%, transparent);
    stroke-linejoin: round;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__icon .icon-horn-body {
    fill: color-mix(in srgb, var(--text-light) 20%, transparent);
}

.service-card__icon .icon-wave {
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    fill: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__icon .icon-wave--1 {
    animation: pulseWave 2s infinite ease-in-out;
}

.service-card__icon .icon-wave--2 {
    animation: pulseWave 2s infinite ease-in-out 0.4s;
}

.service-card__icon .icon-connection-line {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    fill: none;
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__icon .icon-screen-notch {
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.service-card__icon .icon-circle-btn {
    fill: currentColor;
}

.service-card__icon .icon-reel-hole {
    fill: color-mix(in srgb, var(--primary-highlight) 20%, transparent);
    stroke: currentColor;
    stroke-width: 1.5;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__icon .icon-reel-hole {
    fill: color-mix(in srgb, var(--text-light) 30%, transparent);
}

/* DNA highlight detail inside icons */
.service-card__icon .icon-dna-triangle {
    fill: var(--primary-highlight);
    stroke: var(--primary-highlight);
    stroke-width: 1.5;
    stroke-linejoin: round;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__icon .icon-dna-triangle {
    fill: var(--text-light);
    stroke: var(--text-light);
}

.service-card__title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0 0 15px 0;
    font-weight: 800;
}

.service-card__description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--text-light) 70%, transparent);
    margin: 0;
    font-weight: 300;
}

/* Animations inside icons */
@keyframes pulseWave {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

/* Responsive Services */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 35px 25px;
    }
}

/* ==========================================================================
   9. Disruptive & Interactive Core Styles (DNA Movy)
   ========================================================================== */

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Halos e Blobs Flutuantes */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 0;
    opacity: 0.32;
    pointer-events: none;
    will-change: transform, border-radius;
}

.shape-blob--circle {
    background: var(--primary-highlight);
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    animation: floatOrganic 24s ease-in-out infinite;
}

.shape-blob--circle-2 {
    background: var(--primary);
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: floatOrganic 18s ease-in-out infinite -4s;
    opacity: 0.22;
}

.shape-blob--triangle-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 30%;
    right: 5%;
    opacity: 0.15;
    z-index: 0;
    animation: rotateTriangle 40s linear infinite;
}

.shape-blob--triangle-glow svg {
    width: 100%;
    height: 100%;
}

/* keyframes */
@keyframes floatOrganic {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }

    33% {
        transform: translate(40px, -50px) scale(1.1) rotate(15deg);
        border-radius: 40% 60% 50% 50% / 40% 40% 60% 60%;
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9) rotate(-10deg);
        border-radius: 50% 40% 60% 40% / 50% 50% 40% 60%;
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
}

@keyframes rotateTriangle {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.08);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes rotateOuterLens {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateInnerLens {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes lensFocusBreath {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes rotateRing {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateTriangleShape {
    0% {
        transform: rotate(0deg) scale(0.95);
    }

    100% {
        transform: rotate(360deg) scale(1.05);
    }
}

@keyframes marqueeContinuous {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   10. Extreme Mobile Performance Optimizations
   ========================================================================== */
@media (max-width: 768px) {

    /* Disable GPU-killing heavy blur filter shapes on mobile */
    .shape-blob {
        display: none !important;
    }

    /* Disable video/image CSS filters and continuous scaling animations */
    .hero-section__bg-media video,
    .hero-section__bg-media img {
        animation: none !important;
        filter: none !important;
        transform: scale(1) !important;
    }

    /* Disable 3D Glare overlays to save processing power */
    .service-card__glare,
    .award-card__glare,
    .ancine-card__glare {
        display: none !important;
    }
}