/* Basic Reset and Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --accent-color: #d32f2f;
    /* A strong red for action/urgency */
    --button-hover: #b71c1c;
    --white: #ffffff;
    --spacing: 20px;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column-reverse;
    /* Image on top on mobile if desired, or stacked text then image. Let's do stacked default. */
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    gap: 30px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
}

.hero-content .tagline {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-image img {
    max-width: 100%;
    width: 200px;
    /* Reasonable size for the kitten */
    height: auto;
    border-radius: 10px;
    /* Slight rounding for friendly feel */
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: var(--button-hover);
}

.cta-button .subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.9;
}

/* Description & Features */
.description,
.features {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.features ul {
    list-style-position: inside;
    display: inline-block;
    text-align: left;
}

.features li {
    margin-bottom: 8px;
}

/* Screenshot Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.02);
    border-color: #bbb;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Responsive Desktop Styles */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-content {
        flex: 1;
        padding-right: 20px;
        /* Space between text and image */
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        flex: 0 0 250px;
    }

    .hero-image img {
        width: 100%;
        /* Fill the flex basis */
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}