/* style.css - Clean & Responsive Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 1.2s ease-in-out;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem); /* Ukuran font adaptif */
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #818cf8;
    color: #818cf8;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #818cf8;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.4);
}

.btn-primary {
    background-color: #818cf8;
    color: #0f172a;
}

/* Horizontal Gallery */
.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    width: 100%;
    max-width: 1000px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #818cf8 #1e293b;
}

.gallery::-webkit-scrollbar {
    height: 6px;
}
.gallery::-webkit-scrollbar-thumb {
    background: #818cf8;
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 280px; /* Lebar box di desktop */
    background: #1e293b;
    padding: 10px;
    border-radius: 15px;
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    text-align: left;
    width: 100%;
    max-width: 1100px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(129, 140, 248, 0.1);
}

/* Decorative Circles */
.circle {
    position: fixed;
    width: 300px;
    height: 300px;
    background: rgba(129, 140, 248, 0.05);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .gallery-item {
        flex: 0 0 85%; /* Di HP, gambar memenuhi 85% lebar layar agar terlihat ada next-nya */
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}