:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--dark);
    background: var(--light);
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5%;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 12px;
    border-radius: 8px; /* Slight rounding if the logo is square */
}

/* Updated Hero Section for Side-by-Side layout */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 10%;
    background: white;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

h1 { 
    font-size: 2.8rem; 
    margin-bottom: 1rem; 
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.play-badge { 
    width: 200px; 
    transition: transform 0.2s; 
}

.play-badge:hover { 
    transform: scale(1.05); 
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.hero-image img {
    max-height: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    border: 4px solid white; /* Adds a nice device bezel effect */
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 10%;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* New Screenshot Gallery Styles */
.app-preview {
    padding: 4rem 0;
    text-align: center;
    background: white;
}

.app-preview h2 {
    margin-bottom: 2rem;
}

.screenshot-gallery {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 10%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.screenshot-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: var(--light);
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.screenshot-gallery img {
    height: 400px;
    border-radius: 20px;
    scroll-snap-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    border: 3px solid white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 5%;
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }
    h1 { font-size: 2.2rem; }
}