:root {
    --galaxy-purple: #6a0dad;
    --neon-blue: #00f7ff;
    --deep-space: #0a0a1a;
    --cosmic-glow: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--deep-space);
    color: white;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%2300f7ff' d='M12,2L4,12L12,22L20,12L12,2M12,6L16,12L12,18L8,12L12,6Z'/></svg>"), auto;
}

h1, h2, h3, .title-font {
    font-family: 'Orbitron', sans-serif;
}

/* Starfield Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

* Section Glow Effects */
.section-glow {
    position: relative;
    overflow: hidden;
}

.section-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106,13,173,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

/* Card Hover Effects */
.portfolio-card {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.portfolio-card:hover {
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}

/* Pricing Card Animation */
.pricing-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(50px);
    opacity: 0;
}

.pricing-card.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Button Effects */
.btn-neon {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.4), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Rocket Launch Effect */
.rocket-launch {
    animation: launch 1.5s forwards;
}

@keyframes launch {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Testimonial Carousel */
.testimonial-slide {
    transition: all 0.5s ease;
}

/* Form Input Effects */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 247, 255, 0.3);
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Floating Space Elements */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Slider styles */
.testimonial-slider, .portfolio-slider, .pricing-slider {
    overflow: hidden;
}

#testimonial-slides, #portfolio-slides, #pricing-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-glow::before {
        background: radial-gradient(circle, rgba(106,13,173,0.1) 0%, rgba(0,0,0,0) 70%);
    }
    
    .portfolio-card:hover {
        transform: none;
        box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
    }
    
    #mobile-menu {
        display: none;
    }
    
    #mobile-menu.show {
        display: block;
    }
}

/* Glass Effect for Select Options */
select.form-input option {
    background-color: rgba(10, 10, 26, 0.8); /* Warna dasar deep-space dengan transparansi */
    color: white;
    padding: 10px;
}

select.form-input option:hover,
select.form-input option:focus,
select.form-input option:checked {
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.7) 0%, rgba(0, 247, 255, 0.5) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-weight: bold;
}

select.form-input:focus option:checked {
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.9) 0%, rgba(0, 247, 255, 0.7) 100%);
}

/* Style untuk dropdown arrow */
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}
/* Tambahkan di style.css */
select.form-input option[value=""][disabled] {
    display: none;
}

select.form-input:required:invalid {
    color: rgba(255, 255, 255, 0.5);
}

select.form-input option {
    color: white;
}

/* Efek untuk select yang sudah dipilih */
select.form-input:valid {
    background: rgba(106, 13, 173, 0.2);
    border-color: var(--neon-blue);
}

/* Modal Styles */
#imageModal {
    transition: opacity 0.3s ease;
}

#imageModal:not(.hidden) {
    display: flex;
}

/* Animation for modal */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#imageModal {
    animation: modalFadeIn 0.3s ease forwards;
}
#imageModal {
    z-index: 1000;
    touch-action: manipulation;
    cursor: pointer;
}
#imageModal .modal-content {
    cursor: default;
}