/* ========================================
   AKSES CEPAT FLUID RESPONSIVE - STYLE.CSS
   by LOMBOKGG TEAM
   True Fluid Design | No Scroll | Single Viewport
   ======================================== */

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFD700;
    --gold-dark: #DAA520;
    --gold-light: #FFE066;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --white: #ffffff;
}

html, body {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: fixed;
}

body {
    font-family: 'Outfit', sans-serif;
    background: url(assets/aksescepat_bg.jpg) center center no-repeat;
    background-size: cover;
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    z-index: 1;
}

/* ========== PARTICLES BACKGROUND ========== */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.05;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ========== FLOATING DECORATIONS ========== */
.floating-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    filter: blur(clamp(40px, 8vw, 60px));
    animation: floatSlow 20s ease-in-out infinite;
}

.circle-1 {
    width: clamp(150px, 30vw, 300px);
    height: clamp(150px, 30vw, 300px);
    top: -10%;
    right: -10%;
}

.circle-2 {
    width: clamp(120px, 25vw, 250px);
    height: clamp(120px, 25vw, 250px);
    bottom: -8%;
    left: -8%;
    animation-delay: 5s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

/* ========== MAIN WRAPPER - FLUID LAYOUT ========== */
.main-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: clamp(12px, 2vh, 25px) clamp(15px, 3vw, 30px);
    gap: clamp(8px, 1.5vh, 20px);
}

/* ========== HEADER - FLUID ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    animation: slideDown 0.6s ease-out;
    height: clamp(40px, 6vh, 60px);
}

.logo {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.logo img {
    height: clamp(32px, 5vh, 50px);
    width: auto;
    object-fit: contain;
}

.badge {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 8px);
    padding: clamp(5px, 1vh, 8px) clamp(12px, 2vw, 18px);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 600;
    backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    cursor: default;
}

.badge i {
    color: var(--gold);
    font-size: clamp(12px, 1.4vw, 15px);
}

/* ========== CONTENT - ADAPTIVE GRID ========== */
.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.content-grid {
    width: 100%;
    max-width: min(1200px, 95vw);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(10px, 1vh, 30px);
    align-items: center;
}

/* Desktop/Tablet Landscape: Show image on right */
@media (min-width: 769px) and (min-aspect-ratio: 1/1) {
    .content-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
    
    .content-right {
        order: 2;
    }
}

/* Mobile/Portrait: Image on top */
@media (max-width: 768px), (max-aspect-ratio: 1/1) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-right {
        order: -1;
    }
    
    .content-left {
        text-align: center;
    }

    .typed-line {
        justify-content: center;
    }

    
}

/* ========== LEFT CONTENT ========== */
.content-left {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vh, 30px);
}

/* ========== TITLE - FLUID ========== */
.title {
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: clamp(6px, 1vh, 10px);
}

.title .highlight {
    background: linear-gradient(
        110deg,
        var(--gold) 0%,
        var(--gold) 45%,
        #FFF 50%,
        var(--gold) 55%,
        var(--gold) 80%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: fast-shine 5s linear infinite;
}

.title .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    border-radius: 2px;
}

@keyframes fast-shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========== TYPED LINE ========== */
.typed-line {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 8px);
    flex-wrap: wrap;
    justify-content: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
    font-size: clamp(12px, 1.6vw, 14px);
}

.typed-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.typed-text {
    font-weight: 600;
    color: var(--gold);
    min-width: clamp(80px, 15vw, 120px);
    display: flex;
}

.typed-text::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* ========== SEARCH BOX - ADAPTIVE ========== */
.search-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vh, 20px);
    padding: clamp(15px, 2.5vh, 25px);
    background: rgba(26, 26, 26, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.25);
    border-radius: clamp(12px, 2vw, 16px);
    backdrop-filter: blur(15px);
}

/* Desktop: Horizontal split */
@media (min-width: 769px) and (min-aspect-ratio: 1/1) {
    .search-split {
        grid-template-columns: 1fr auto minmax(200px, 220px);
    }
    
    .search-split-divider {
        width: 1px;
        align-self: stretch;
        background: linear-gradient(
            to bottom,
            transparent,
            rgba(255, 215, 0, 0.5),
            transparent
        );
    }
}

/* Mobile: Vertical split */
@media (max-width: 768px), (max-aspect-ratio: 1/1) {
    .search-split-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent,
            rgba(255, 215, 0, 0.5),
            transparent
        );
    }

    .typed-line {
        justify-content: center;
    }
}

.search-split-left,
.search-split-right {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vh, 12px);
    justify-content: center;
}

.input-group-split {
    position: relative;
}

.search-icon-split {
    position: absolute;
    left: clamp(12px, 2vw, 18px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--gold-light);
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 10;
}

.search-icon-split.icon-error {
    color: #ff4444;
}

.search-icon-split.icon-success {
    color: var(--gold);
}

.search-input-split {
    width: 100%;
    padding: clamp(10px, 1.8vh, 14px) clamp(12px, 2vw, 18px) clamp(10px, 1.8vh, 14px) clamp(40px, 7vw, 50px);
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: clamp(8px, 1.5vw, 10px);
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 600;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-input-split:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-input-split::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.split-hint {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 6px);
    font-size: clamp(12px, 1.6vw, 14px);
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.split-hint i {
    font-size: clamp(13px, 1.8vw, 15px);
    color: var(--gold);
}

.split-hint strong {
    color: var(--gold);
}

.search-btn-split {
    width: 100%;
    padding: clamp(12px, 2vh, 16px);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: clamp(10px, 1.5vw, 12px);
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 800;
    color: var(--black);
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.2vw, 10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-btn-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.search-btn-split:hover::before {
    left: 100%;
}

.search-btn-split:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.search-btn-split:active {
    transform: translateY(0);
}

.search-btn-split i {
    font-size: clamp(14px, 1.8vw, 16px);
    transition: transform 0.3s ease;
}

.search-btn-split:hover i {
    transform: translateX(5px);
}

.split-features {
    display: flex;
    gap: clamp(6px, 1.2vw, 8px);
    font-size: clamp(11px, 1.4vw, 13px);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.split-features span {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.8vw, 5px);
}

.split-features i {
    color: #2ecc71;
    font-size: clamp(10px, 1vw, 12px);
}

.split-features i.fa-circle {
    color: #2ecc71;
    animation: breathOnline 2s ease-in-out infinite;
}

@keyframes breathOnline {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* ========== FEATURES - ADAPTIVE GRID ========== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(70px, 15vw, 120px), 1fr));
    gap: clamp(6px, 1.2vh, 10px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 0.8vh, 6px);
    padding: clamp(8px, 1.5vh, 12px) clamp(6px, 1vw, 8px);
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: clamp(8px, 1.5vw, 10px);
    font-size: clamp(10px, 1.4vw, 12px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.feature i {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--gold);
}

/* ========== RIGHT CONTENT - IMAGE ========== */
.content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: min(380px, 40vw);
}

/* Mobile: Smaller image */
@media (max-width: 768px), (max-aspect-ratio: 1/1) {
    .image-container {
        max-width: min(160px, 40vw);
    }

    .typed-line {
        justify-content: center;
    }
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: clamp(12px, 2vw, 16px);
    animation: floatImage 4s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========== FLOATING ICONS ========== */
.floating-icon {
    position: absolute;
    width: clamp(30px, 5vw, 45px);
    height: clamp(30px, 5vw, 45px);
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: floatIcon 3s ease-in-out infinite;
}

.floating-icon i {
    font-size: clamp(14px, 2.5vw, 20px);
    color: var(--gold);
}

/* Desktop: posisi default */
@media (min-width: 769px) and (min-aspect-ratio: 1/1) {
    .icon-1 {
        top: 0%;
        right: -8%;
        animation-delay: 0s;
    }

    .icon-2 {
        top: 45%;
        left: -8%;
        animation-delay: 1s;
    }

    .icon-3 {
        top: 70%;
        right: -3%;
        animation-delay: 2s;
    }
}

/* Mobile: posisi baru */
@media (max-width: 768px), (max-aspect-ratio: 1/1) {
    .icon-1 {
        top: 10%;
        right: -20%;
        animation-delay: 0s;
    }

    .icon-2 {
        top: 50%;
        left: -15%;
        animation-delay: 1s;
    }

    .icon-3 {
        bottom: 5%;
        right: -5%;
        animation-delay: 2s;
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* ========== FOOTER - ADAPTIVE ========== */
.footer {
    flex-shrink: 0;
    animation: slideUp 0.6s ease-out;
    height: clamp(45px, 7vh, 70px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 50px);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
}

.stat-icon {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--gold);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.stat-label {
    font-size: clamp(8px, 1.2vw, 10px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== ANIMATIONS ========== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

/* ========== LOADING STATE ========== */
.loading .search-btn-split {
    pointer-events: none;
    opacity: 0.7;
}

.loading .search-btn-split i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}