body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
    overflow-x: hidden;
}

h1, h2 {
    font-weight: bold;
}

a {
    text-decoration: none;
}
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;  
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-sizing: border-box;  
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.logo img {
    margin-right: 10px;
}

.nav {
    display: flex;
    flex-wrap: wrap; 
}

.nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap; 
}

.nav a:hover {
    color: rgb(4, 168, 255);
}



.hero {
    text-align: center;
    padding: 80px 20px;
    background: #0d1b2a;
    transition: all 0.7s ease-out;
}

.subheadline {
    max-width: 600px;
    margin: 20px auto;
    font-size: 1.2rem;
    color: #bbb;
}

.buttons {
    margin-top: 20px;
}

section{
    transition: all 0.7s ease-out;
}

.btn {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn.primary {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
}

.btn.primary:hover {
    background: linear-gradient(45deg, #0056b3, #0099cc);
}

.btn.secondary {
    border: 2px solid white;
    color: white;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.features {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.screenshots {
    background: #0d1b2a;
    padding: 60px 20px;
    text-align: center;
}

.screenshots-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    box-sizing: border-box; 
}

.screenshots-grid img {
    margin: 10px;
    max-width: 900px;
    width: 100%;
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

}

.cta {
    text-align: center;
    background: #162447;
    padding: 60px 20px;
}

.btn.large {
    font-size: 1.5rem;
    padding: 20px 40px;
}

footer {
    background: #0d1b2a;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
}

.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Base style untuk screenshot items */
.screenshot-item {
    opacity: 0; /* Semua gambar dimulai tersembunyi */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Transisi umum */
}

/* Kelas untuk animasi dari kiri */
.screenshot-item.from-left.hidden {
    transform: translateX(-100px); /* Mulai 100px ke kiri */
}

/* Kelas untuk animasi dari kanan */
.screenshot-item.from-right.hidden {
    transform: translateX(100px); /* Mulai 100px ke kanan */
}

/* Ketika ditampilkan, kembali ke posisi normal */
.screenshot-item.show {
    opacity: 1;
    transform: translateX(0); /* Posisi akhir setelah animasi */
}
