:root {
    --primary-color: #4A90E2; /* A nice blue */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --grey-color: #888;
    --background-color: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.hero {
    background-color: var(--light-color);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #357ABD;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    max-width: 80vw;
    max-height: 30vh;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

main {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--light-color);
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.screenshot-gallery {
    display: grid;
    /* Default mobile-friendly grid */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    align-items: center; /* Better vertical alignment for all items */
}

/* Apply a 4-column grid on larger screens */
@media (min-width: 960px) {
    .screenshot-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.screenshot-gallery img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .disclaimer {
    font-size: 0.8rem;
    color: var(--grey-color);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Style for the wide, second screenshot */
.screenshot-gallery img:nth-child(2) {
    /* Make this image span two grid columns */
    grid-column: span 2;

    /* Vertically center the image within its grid row */
    align-self: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}
