/* --- CSS Reset & Variables (Light Theme) --- */
:root {
    /* Light Background Colors */
    --bg-main: #f4f7f9; /* Soft, airy background */
    --bg-card: #ffffff; /* Pure white cards */
    
    /* Dark Text for Light Mode */
    --text-primary: #111827; /* Near black for headings */
    --text-secondary: #374151; /* Dark gray for body */
    --text-muted: #6b7280; /* Medium gray for secondary text */
    
    /* SoDevX Brand Gradients (Matching the main site) */
    /* Cyan to Purple/Pink vibe from your "Get Started" and "Start a Project" buttons */
    --brand-gradient: linear-gradient(135deg, #7ef2ea 0%, #aeb4fd 50%, #c4b5fd 100%);
    --brand-glow: rgba(139, 92, 246, 0.25); /* Soft purple glow */
    
    /* Font Settings */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout Utility --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0 40px 0;
    text-align: center;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    /* Applying the SoDevX gradient to the text itself */
    background: linear-gradient(to right, #111827, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Features Section --- */
.features {
    padding: 20px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    /* Soft shadow for light mode instead of a border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Emoji Icons styling */
.emoji-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
    background: var(--bg-main);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 15px;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
}

/* Handling the centered 4th card */
.center-card {
    grid-column: 2 / span 1; 
}

/* --- Download Section --- */
.download-section {
    padding: 60px 0;
    text-align: center;
}

.download-card {
    background-color: var(--bg-card);
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.download-card h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.download-card h2 + p {
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styling (Using SoDevX Brand Gradient) */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-download {
    background: var(--brand-gradient); 
    color: #0f172a; /* Dark text for contrast against the light gradient */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px var(--brand-glow); 
}

.btn-download:hover {
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-download i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.support-area {
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.support-area p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-support {
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 12px 28px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.btn-support:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-support i {
    margin-right: 8px;
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    text-align: center;
    margin-top: 20px;
}

.legal-links {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #8b5cf6; /* Hover purple from the brand */
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .center-card {
        grid-column: span 2; 
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2.8rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .center-card {
        grid-column: span 1;
    }
    .download-card {
        padding: 40px 20px;
    }
    .feature-card {
        padding: 30px;
    }
}
