/* Logo link styling */
.logo-link {
    color: inherit;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: opacity 0.15s;
}
.logo-link:hover, .logo-link:focus {
    opacity: 0.7;
    text-decoration: underline;
}
/* Screenshot Figure and Caption Styling */
.screenshot-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.screenshot-caption {
    margin-top: 1em;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    min-height: 2.2em;
    font-style: italic;
}
/* App Icon Styling */
.app-icon-img {
    width: 280px;
    height: 280px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}
/* Screenshots Row and Image Styling */

.screenshots-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5vw;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.screenshot-img {
    width: 100%;
    aspect-ratio: 9/20;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    object-fit: cover;
    transition: transform 0.2s;
    display: block;
}

.screenshot-img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

@media (max-width: 900px) {
    .screenshots-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vw;
    }
}

@media (max-width: 600px) {
    .screenshots-row {
        grid-template-columns: 1fr;
        gap: 6vw;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #4a7c59;
    --accent-color: #97be5a;
    --text-dark: #333;
    --text-light: #666;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --app-store-blue: #007AFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 95, 45, 0.7), rgba(74, 124, 89, 0.7)), url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0;
}

.app-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.app-icon-placeholder {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.promo-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.app-store-button {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
}

.app-store-badge {
    height: 60px;
    width: auto;
    display: block;
}

.screenshots-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-box {
    aspect-ratio: 9/16;
    background-color: rgba(255,255,255,0.2);
    border: 3px dashed rgba(255,255,255,0.5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    min-height: 400px;
}

/* Description Section */
.description {
    padding: 4rem 0;
    background-color: var(--background);
}

.description h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.features h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

.features .closing {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Page Content (Support & Privacy) */
.page-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.content-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.content-card h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.content-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-card ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.content-card a {
    color: var(--app-store-blue);
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.contact-email {
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-email a {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-showcase {
        flex-direction: column;
        text-align: center;
    }

    .app-icon-placeholder {
        width: 150px;
        height: 150px;
    }

    .app-info h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .promo-text {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .app-icon-placeholder {
        width: 120px;
        height: 120px;
        font-size: 1rem;
    }

    .app-info h2 {
        font-size: 1.5rem;
    }

    .screenshots-placeholder {
        grid-template-columns: 1fr;
    }

    .screenshot-box {
        min-height: 300px;
    }
}
