
:root {
    --primary-green: #209EBB;
    --secondary-orange: #FC8500;
    --accent-yellow: #FFB701;
    --dark-blue: #023047;
    --light-blue: #8ECAE6;
    --text-dark: #333;
    --text-light: #fff;
    --background-light-gray: #f9fafb;
    --shadow-color: rgba(0, 0, 0, 0.08); /* Softer shadow */
    --shadow-color-hover: rgba(252, 133, 0, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    scroll-behavior: smooth; /* For smooth scrolling to #download-section */
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-green), var(--light-blue));
    color: var(--text-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
}

.logo .marido {
    color: var(--secondary-orange);
}
.logo .perfeito {
    color: var(--text-light);
}


/* CTA Button in Header */
.cta-button {
    background: var(--secondary-orange);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #e07500; /* Slightly darker orange */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green), var(--light-blue), var(--accent-yellow));
    color: var(--text-light);
    padding: 140px 0 80px; /* Increased top padding due to fixed header */
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero h1 .highlight-yellow {
    color: var(--accent-yellow);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Ensures text and icon are centered */
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 2px solid transparent; 
}

.btn-primary {
    background: var(--secondary-orange);
    color: var(--text-light);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    transition: background-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-color-hover);
    background-color: #e07500;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Focus Visible Styles for Accessibility */
.cta-button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 3px solid var(--dark-blue); /* High contrast focus */
    outline-offset: 3px;
    box-shadow: 0 0 0 5px var(--light-blue); /* Optional: outer glow for more visibility */
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; /* Slightly increased gap */
    margin-top: 3rem;
}

.feature-card {
    background: var(--text-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-green));
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Placeholder Section */
.download-placeholder-section {
    padding: 60px 0; 
    text-align: center; 
    background-color: #eef1f3; /* Light neutral background */
}
.download-placeholder-section h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}
.download-placeholder-section p {
    font-size: 1.1rem;
    color: #555;
}


/* Footer */
.footer {
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
}
.footer nav {
    margin-top: 0.5rem;
}

.footer nav a {
    color: var(--light-blue);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s ease-out, text-decoration 0.2s ease-out;
}

.footer nav a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero .subtitle {
        font-size: 1.15rem;
    }
    .section-title, .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }
    .nav {
        flex-direction: column;
        gap: 0.75rem;
    }
    .logo {
        font-size: 1.3rem;
    }
    .cta-button { /* Header CTA */
       padding: 0.6rem 1.2rem;
       font-size: 0.9rem;
    }
    .hero {
        padding-top: 150px; /* Adjust for taller fixed header on mobile */
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 80%;
        max-width: 320px;
    }

    .section-title, .cta-section h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero .subtitle {
        font-size: 0.9rem;
    }
    .section-title, .cta-section h2 {
        font-size: 1.8rem;
    }
    .btn-primary, .btn-secondary {
        font-size: 1rem;
        padding: 0.9rem 1.5rem; /* Slightly larger tap target */
    }
    .feature-card h3 {
        font-size: 1.3rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .download-placeholder-section h2 {
        font-size: 1.8rem;
    }
    .download-placeholder-section p {
        font-size: 1rem;
    }
}
