/* --- Global Styles --- */

:root {
    /* Your requested background color */
    --color-background: #1b2941;
    /* Bright accent color for the button (Vibrant Green) */
    --color-accent: #34d399; 
    /* Lighter text for the dark background */
    --color-text-light: #e5e7eb;
    /* Slightly darker text for contrast */
    --color-text-dim: #9ca3af;
    /* Card/element background */
    --color-card-bg: #273752; 
    /* Button hover color */
    --color-button-hover: #10b981;
}

/* Base reset and font application */
body {
    background-color: var(--color-background);
    color: var(--color-text-light);
    /* Using Roboto, a modern sans-serif like Arial, for web readability */
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

/* Headings */
h1, h2, h3 {
    font-weight: 700;
    color: white;
}

/* --- Header & Hero Section --- */

.hero-section {
    text-align: center;
    padding: 100px 0 50px;
    background: linear-gradient(180deg, var(--color-background) 0%, #172338 100%);
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 5px;
}

.hero-section h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--color-text-dim);
    margin-bottom: 40px;
    font-weight: 400;
}

.main-visual {
    width: 100%;
    max-width: 900px; /* Wider image looks great on dark landing pages */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(255, 255, 255, 0.05); /* Added subtle border glow */
    margin-top: 50px;
}


/* --- Download Button Styles --- */

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: var(--color-accent);
    color: var(--color-background); 
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(52, 211, 153, 0.3);
}

.download-button:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(52, 211, 153, 0.4);
}

.download-button .icon {
    width: 30px; /* Made icon slightly larger */
    height: 30px;
    margin-right: 12px;
    /* Ensures the icon is white/light on the green background, adjust if your image is already white */

}

/* --- Features Section --- */

.features-section {
    padding: 80px 0;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center; /* Center content, including the new icon */
    border-top: 4px solid var(--color-accent); /* Added a color bar for visual interest */
    transition: box-shadow 0.3s ease;
}

/* UPDATED STYLE FOR FEATURE ICONS */
.feature-icon {
    width: 220px; /* Increased size for prominence */
    margin-bottom: 20px;
    /* If your images are dark like your icon128.png, this will make them white */
}


.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card h3 {
    color: var(--color-text-light);
    font-size: 1.5rem;
    margin-top: 10px;
}

.feature-card p {
    color: var(--color-text-dim);
}

/* --- Call to Action Section (Bottom) --- */
.call-to-action-section {
    padding: 60px 0;
    text-align: center;
    background-color: #172338; /* Slightly different background for visual break */
}

.call-to-action-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.large-button {
    font-size: 1.5rem;
    padding: 18px 40px;
}

/* --- Footer --- */

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--color-card-bg);
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .download-button {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .large-button {
        font-size: 1.25rem;
        padding: 15px 30px;
    }
}