/*
Theme Name: iCAR MAS Custom
Author: MAS Group
Description: Tema single-page eksklusif untuk iCAR V23 Custom.
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Rajdhani:wght@500;600;700&display=swap');
        
:root {
    --bg: #050505;
    --bg-alt: #0a0a0a;
    --accent: #ccff00;
    --accent-glow: rgba(204, 255, 0, 0.4);
    --text: #ffffff;
    --text-muted: #888888;
    --border: #222222;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Prevent scroll saat preloader aktif */
body.no-scroll {
    overflow: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: skewX(-10deg);
}

.btn-primary span, .btn-primary svg {
    transform: skewX(10deg);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: skewX(-10deg) translateY(-2px);
}

/* -------------------------------------------
   PRELOADER
---------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader__logo {
    width: 160px;
    height: auto;
    animation: preloaderPulse 1.2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 15px rgba(204, 255, 0, 0.2));
}

@keyframes preloaderPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.25); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar__logo {
    display: flex;
    align-items: center;
}

.navbar__logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
}

.navbar__toggle-bar {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.25s ease, background-color 0.3s ease;
}

.navbar__toggle.active .navbar__toggle-bar {
    background: var(--accent);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar__links-cta {
    display: none;
}

.navbar__links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.navbar__link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.navbar__link:hover {
    color: var(--text);
}

.navbar__link:hover::after {
    width: 100%;
}

/* -------------------------------------------
   VIDEO SECTIONS (HERO & FEATURES)
---------------------------------------------- */
.hero, .features {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--bg);
}

/* Wrapper Video Desktop */
.hero__video-wrap {
    position: relative;
    width: 100%;
    height: 85vh; /* Desktop Proporsi Besar */
    background: #000;
    z-index: 1;
}

.features__video-wrap {
    position: absolute; /* Desktop jadikan background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
}

.hero__video, .features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    opacity: 1;
}

.hero__video-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Gradien bagian bawah saja */
    background: linear-gradient(to top, var(--bg) 0%, rgba(5,5,5,0.4) 45%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.features__video-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(5, 5, 5, 0.75), rgba(5, 5, 5, 0.95)); /* Desktop lebih gelap */
    pointer-events: none;
    z-index: 2;
}

/* Teks & Konten */
.hero__content {
    padding: 4rem 2rem 8rem;
    text-align: center;
    background-color: var(--bg);
    position: relative;
    z-index: 3;
    margin-top: -2rem; /* Seamless connection */
}

.features .container {
    position: relative;
    z-index: 3;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mono-label {
    font-family: 'Rajdhani', monospace;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero__desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Sections */
.section {
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-sub {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.features__card {
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.features__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204,255,0,0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.features__card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.05);
    background: rgba(10, 10, 10, 0.85);
}

.features__card:hover::before {
    left: 150%;
}

.features__icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
    width: 32px;
    height: 32px;
}

.features__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.features__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Build Credits Section */
.credits__banner {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid rgba(204,255,0,0.3);
    background: rgba(204,255,0,0.05);
    padding: 0.9rem 1.5rem;
    margin: 0 auto 3.5rem;
    max-width: 560px;
    position: relative;
    overflow: hidden;
}

.credits__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204,255,0,0.35), transparent);
    transform: skewX(-25deg);
    animation: creditsBannerSweep 3.5s ease-in-out infinite;
}

@keyframes creditsBannerSweep {
    0% { left: -60%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

.credits__flagline {
    position: relative;
    height: 6px;
    max-width: 560px;
    margin: -2.5rem auto 3rem;
    overflow: hidden;
    background:
        repeating-linear-gradient(45deg, var(--accent) 0 6px, transparent 6px 12px, transparent 12px, #fff 12px 18px, transparent 18px 24px),
        repeating-linear-gradient(-45deg, transparent 0 6px, #000 6px 12px);
    background-size: 48px 6px;
    opacity: 0.55;
    animation: creditsFlagScroll 2.4s linear infinite;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

@keyframes creditsFlagScroll {
    0% { background-position: 0 0; }
    100% { background-position: 48px 0; }
}

.credits.section {
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.credits.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(204,255,0,0.05) 45%, rgba(204,255,0,0.09) 50%, rgba(204,255,0,0.05) 55%, transparent 100%);
    background-size: 220% 100%;
    animation: creditsSpeedLines 9s linear infinite;
    pointer-events: none;
}

@keyframes creditsSpeedLines {
    0% { background-position: -220% 0; }
    100% { background-position: 220% 0; }
}

.credits__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.75rem;
    text-align: center;
    position: relative;
}

.credits__card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 340px;
    transition: transform 0.4s cubic-bezier(0.19,1,0.22,1), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.credits__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204,255,0,0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.credits__card:hover::before {
    left: 150%;
}

.credits__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.5s cubic-bezier(0.19,1,0.22,1);
}

.credits__card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(204,255,0,0.08);
}

.credits__card:hover::after {
    width: 100%;
}

.credits__icon-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.credits__icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(204,255,0,0.25);
    animation: creditsGaugeIdle 3s ease-in-out infinite;
}

@keyframes creditsGaugeIdle {
    0%, 100% { transform: scale(0.85); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

.credits__icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0deg, transparent 0deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.credits__card:hover .credits__icon-wrap::after {
    opacity: 1;
    animation: creditsRevSweep 0.7s cubic-bezier(0.19,1,0.22,1) forwards;
}

@keyframes creditsRevSweep {
    0% { background: conic-gradient(var(--accent) 0deg, transparent 0deg); }
    100% { background: conic-gradient(var(--accent) 320deg, transparent 320deg); }
}

.credits__icon {
    width: 30px;
    height: 30px;
    color: var(--accent);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.credits__card:hover .credits__icon {
    transform: scale(1.15) rotate(-6deg);
}

.credits__card--wide {
    flex-basis: 100%;
    max-width: 100%;
}

.credits__cat {
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}

.credits__brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.credits__brand span {
    color: var(--accent);
    font-style: italic;
}

.credits__list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    width: 100%;
}

.credits__card--wide .credits__list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    column-gap: 1.5rem;
    row-gap: 0.85rem;
}

.credits__list li {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text);
}

.credits__list li svg {
    flex-shrink: 0;
    color: var(--accent);
}

.specs__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: 
        linear-gradient(145deg, rgba(10,10,10,0.95), rgba(5,5,5,0.98)),
        repeating-linear-gradient(45deg, #111 0, #111 2px, #0a0a0a 2px, #0a0a0a 6px);
    padding: 4rem;
    border: 1px solid #333;
    border-top: 4px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 60px rgba(204,255,0,0.03);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.specs__hl {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-left: 4px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: skewX(-5deg);
}

.specs__hl-inner {
    transform: skewX(5deg);
}

.specs__hl::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(204,255,0,0.15), transparent);
    transition: width 0.4s ease;
    z-index: 0;
}

.specs__hl:hover {
    border-left-color: var(--accent);
    background: rgba(204,255,0,0.05);
}

.specs__hl:hover::after {
    width: 100%;
}

.specs__hl:last-child {
    margin-bottom: 0;
}

.specs__hl-title {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
    color: #fff;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.specs__hl:hover .specs__hl-title {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(204,255,0,0.4);
}

.specs__hl-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.specs__snapshot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.specs__row {
    background: rgba(0,0,0,0.6);
    border: 1px solid #222;
    border-left: 4px solid #222;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    transform: skewX(-10deg);
    position: relative;
    overflow: hidden;
}

.specs__row::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.specs__row-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: skewX(10deg);
}

.specs__row:hover {
    border-left-color: var(--accent);
    background: rgba(20, 20, 20, 0.8);
    box-shadow: inset 5px 0 15px rgba(204,255,0,0.05);
}

.specs__row:hover::before {
    width: 100%;
}

.specs__row-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.specs__row:hover .specs__row-label {
    color: #fff;
}

.specs__row-value {
    font-family: 'Rajdhani', monospace;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    font-style: italic;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
    display: flex;
    align-items: baseline;
}

.counter {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 1ch;
}

.specs__row:hover .specs__row-value {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(204,255,0,0.6);
    transform: scale(1.05) translateX(-5px);
}

.specs__row-unit {
    color: var(--text-muted);
    font-size: 1rem;
    margin-left: 6px;
    font-style: normal;
    font-weight: 500;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 3000;
    transition: width 0.1s ease-out;
}

/* Sticky Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 58px;
    height: 58px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 0 rgba(204,255,0,0.5);
    cursor: pointer;
    border: none;
    z-index: 1500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 0 rgba(204,255,0,0.5);
    }
    50% {
        box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 10px rgba(204,255,0,0);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
    }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    width: 100%;
    max-width: 420px;
    background:
        linear-gradient(145deg, rgba(10,10,10,0.97), rgba(5,5,5,0.99)),
        repeating-linear-gradient(45deg, #111 0, #111 2px, #0a0a0a 2px, #0a0a0a 6px);
    border: 1px solid #333;
    border-top: 4px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), inset 0 0 60px rgba(204,255,0,0.03);
    padding: 2.5rem 2rem;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #000;
    background: var(--accent);
    border-color: var(--accent);
}

.modal-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.modal-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.modal-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
}

/* -------------------------------------------
   COVERFLOW GALLERY SLIDER
---------------------------------------------- */
.gallery__slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery__track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery__slide {
    position: absolute;
    width: 640px;
    aspect-ratio: 2258 / 1684;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                z-index 0.6s, box-shadow 0.6s;
    opacity: 0;
    transform: translateX(0) scale(0.8);
    z-index: 0;
    pointer-events: none;
}

.gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.6);
    transition: filter 0.8s ease;
}

/* The Centered / Active Card */
.gallery__slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 25px rgba(204,255,0,0.15);
}

.gallery__slide.active img {
    filter: grayscale(0%) brightness(1);
}

/* The Left / Prev Card */
.gallery__slide.prev {
    opacity: 0.6;
    transform: translateX(-65%) scale(0.8);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

/* The Right / Next Card */
.gallery__slide.next {
    opacity: 0.6;
    transform: translateX(65%) scale(0.8);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.gallery__slide.prev:hover, .gallery__slide.next:hover {
    opacity: 0.8;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9), 0 0 15px rgba(204,255,0,0.2);
}

.gallery__slide.prev:hover img, .gallery__slide.next:hover img {
    filter: grayscale(30%) brightness(0.8);
}

/* Controls Section Below Gallery */
.gallery__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    z-index: 10;
}

.gallery__btn {
    background: rgba(5, 5, 5, 0.7);
    border: 1px solid #444;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    transform: skewX(-10deg);
    backdrop-filter: blur(5px);
}

.gallery__btn svg {
    transform: skewX(10deg);
    transition: stroke 0.3s;
}

.gallery__btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(204,255,0,0.3);
}

.gallery__btn:hover svg {
    stroke: var(--accent);
}

.gallery__indicators {
    display: flex;
    gap: 6px;
    flex-wrap: wrap; /* Menjaga 15 titik foto agar responsif di HP */
    justify-content: center;
    max-width: 60%;
}

.gallery__dot {
    width: 16px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: skewX(-20deg);
}

.gallery__dot:hover {
    background: rgba(255,255,255,0.8);
}

.gallery__dot.active {
    background: var(--accent);
    width: 32px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* -------------------------------------------
   GIIAS GALLERY SECTION
---------------------------------------------- */
.giias-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
}

/* Marquee Partners Setup */
.partners {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.partners__label {
    margin-bottom: 3rem;
}

.partners__marquee {
    display: flex;
    overflow-x: hidden; 
    touch-action: pan-y; 
    -webkit-overflow-scrolling: touch;
    user-select: none;
    gap: 4rem;
    cursor: grab;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners__marquee:active {
    cursor: grabbing;
}

.partners__track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    flex-shrink: 0;
}

.partners__logo {
    flex-shrink: 0;
    display: block;
    user-select: none;
    -webkit-user-drag: none; 
}

.partners__logo img {
    height: 60px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; 
}

.partners__logo:hover img {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 15px rgba(204,255,0,0.4));
    transform: scale(1.1);
}

/* Contact / CTA */
.cta {
    text-align: center;
    padding: 10rem 0;
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.9)), 
                url('assets/banner/cta.webp') center/cover no-repeat;
    position: relative;
}

.cta__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.cta__sub {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.cta__actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-alt);
}

.footer__brand {
    margin-bottom: 1rem;
}

.footer__logo-mark {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.footer__bottom-inner {
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   MOBILE RESPONSIVENESS OVERRIDES
================================================== */
@media (max-width: 768px) {
    
    /* HERO VIDEO AND FEATURES VIDEO -> FIXED 16:9 NO CROP */
    .hero__video-wrap, 
    .features__video-wrap {
        position: relative; 
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; /* Jaga proporsi agar tidak melar/crop */
        min-height: unset;
        max-height: unset;
        display: block;
    }

    .hero__video,
    .features__video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain; /* Memastikan video masuk utuh */
        background: #000;
    }

    /* Hapus gradient hero video agar batas hitam rapi atau sesuaikan */
    .hero__video-fade {
        display: none; 
    }

    .features__video-fade {
        background: linear-gradient(to top, var(--bg) 0%, rgba(5,5,5,0.4) 45%, transparent 100%);
    }

    /* Adjust Hero Layout (Video at top, content below) */
    .hero {
        padding-top: 4rem; /* Jarak untuk navbar transparent */
    }

    .hero__content {
        padding: 2rem 2rem 5rem;
        margin-top: 0;
    }

    /* Adjust Features Layout (Video at top, content below) */
    .features {
        display: flex;
        flex-direction: column;
        padding-top: 0; 
    }

    .features .container {
        padding-top: 2rem;
        z-index: 3;
    }

    /* Other adjustments */
    .specs__layout {
        grid-template-columns: 1fr;
        padding: 2rem;
        clip-path: none;
    }
    .navbar__toggle {
        display: flex;
    }
    .navbar__desktop-cta {
        display: none;
    }
    .navbar__links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.4s;
    }
    .navbar__links.active {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
    }
    .navbar__link {
        display: block;
        padding: 1.1rem 2rem;
        border-bottom: 1px solid var(--border);
    }
    .navbar__links-cta {
        display: block;
        padding: 1.25rem 2rem 1.5rem;
    }
    .navbar__links-cta .btn-primary {
        width: 100%;
    }
    .hero__title {
        font-size: 2.5rem;
    }
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    .cta__actions .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    /* Adjust CTA background */
    .cta {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--bg);
    }

    /* Adjust gallery for mobile/tablet */
    .gallery__slider-wrapper {
        height: 320px; 
    }
    .gallery__slide {
        width: 420px;
    }
    .gallery__slide.prev {
        transform: translateX(-55%) scale(0.85);
    }
    .gallery__slide.next {
        transform: translateX(55%) scale(0.85);
    }
    
    .gallery__indicators {
        max-width: 90%;
    }
}

 @media (max-width: 480px) {
    .gallery__slider-wrapper {
        height: 220px; 
    }
    .gallery__slide {
        width: 320px;
    }
    .modal-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .credits__banner::after,
    .credits__flagline,
    .credits.section::before,
    .credits__icon-wrap::before,
    .credits__card:hover .credits__icon-wrap::after {
        animation: none !important;
    }
}
