:root {
    --purple: #A000F0;
    --dark: #0a0a0a;
    --card-bg: #161616;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--dark); color: var(--text-white); line-height: 1.6; overflow-x: hidden; }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 8%; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; }
.logo img { height: 40px; border-radius: 8px; }
.nav-links a { color: var(--text-white); text-decoration: none; margin-left: 20px; font-weight: 600; font-size: 0.9rem; }
.download-small { background: var(--purple); padding: 8px 18px; border-radius: 6px; transition: 0.3s; }
.download-small:hover { opacity: 0.8; }

/* Hero */
.hero { padding: 80px 8%; display: flex; justify-content: center; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1200px; gap: 40px; }
.badge { background: rgba(160, 0, 240, 0.15); color: var(--purple); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.hero h1 { font-size: 4rem; margin: 20px 0; }
.purple-text { color: var(--purple); }
.hero p { color: var(--text-gray); font-size: 1.2rem; margin-bottom: 40px; }
.btn-main { background: var(--purple); color: white; padding: 18px 35px; text-decoration: none; border-radius: 12px; font-weight: bold; display: inline-block; }

/* Phone Mockup */
.phone-mockup { width: 280px; height: 550px; background: var(--card-bg); border: 6px solid #333; border-radius: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.floating-icon { width: 100px; border-radius: 22px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: float 3s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Features */
.features { padding: 80px 8%; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.card { background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid #222; }
.card i { font-size: 2.5rem; color: var(--purple); margin-bottom: 20px; }

/* Changelog Section */
.changelog { padding: 80px 8%; background: #0f0f0f; }
.changelog h2 { text-align: center; margin-bottom: 40px; }
.version-box { max-width: 700px; margin: 0 auto; background: var(--card-bg); padding: 30px; border-radius: 15px; border-left: 5px solid var(--purple); }
.version-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.version-tag { background: var(--purple); padding: 4px 12px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }
.version-date { color: var(--text-gray); font-size: 0.9rem; }
.change-list { list-style: none; }
.change-list li { margin-bottom: 12px; color: #ddd; display: flex; align-items: center; gap: 12px; }
.change-list li i { font-size: 0.8rem; color: var(--purple); }

/* Screenshots */
.screenshots { padding: 80px 8%; text-align: center; }
.gallery {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 40px 20px;
    justify-content: center; /* Center them if they don't fill the screen */
    scroll-snap-type: x mandatory;
}

.app-screen {
    width: 280px; /* Adjust based on your preference */
    height: auto;
    border-radius: 20px;
    border: 4px solid #222; /* Adds a "phone frame" look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    scroll-snap-align: center;
}

.app-screen:hover {
    transform: scale(1.05);
    border-color: var(--purple);
}

/* Hide scrollbar for a cleaner look but keep functionality */
.gallery::-webkit-scrollbar {
    display: none;
}
.gallery {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.screen-placeholder { min-width: 250px; height: 500px; background: #222; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #444; border: 1px dashed #444; }

footer { padding: 40px; text-align: center; color: var(--text-gray); border-top: 1px solid #111; }

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
}