/* Arquivo: css/index.css */

/* CSS Variables */
:root {
    --primary-color: #28a745; /* Green */
    --secondary-color: #1e1e1e; /* Dark Gray */
    --background-dark: #121212; /* Very Dark Gray */
    --text-light: #e0e0e0; /* Light Gray */
    --header-bg: #333; /* Header Background */
    --button-hover: #218838; /* Green Hover */
    --login-button-hover: #444; /* Dark Gray Hover */
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: var(--header-bg);
    padding: 1.5rem 0; /* Increased padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for depth */
}

header .container {
    display: flex;
    justify-content: center;
}

.logo {
    width: 200px;
}

.hero {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 6rem 0; /* Increased padding for more vertical space */
    text-align: center;
}

.hero h1 {
    font-size: 3rem; /* Larger font size for impact */
    margin-bottom: 1.5rem; /* Increased margin */
    font-weight: 700; /* Bolder font weight */
    letter-spacing: 0.05em; /* Slight letter spacing */
}

.hero p {
    font-size: 1.8rem; /* Larger font size */
    margin-bottom: 2.5rem; /* Increased margin */
    font-weight: 300; /* Lighter font weight for contrast */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 0.9rem 1.8rem; /* Slightly larger padding */
    text-decoration: none;
    border-radius: 8px; /* More rounded corners */
    font-size: 1.2rem; /* Slightly larger font */
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Added transform and box-shadow to transition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.cta-button:hover {
    background: var(--button-hover);
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.cta-button.login-button {
    background: var(--secondary-color);
}

.cta-button.login-button:hover {
    background: var(--login-button-hover);
}

.features {
    padding: 4rem 0; /* Increased padding */
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.features h2 {
    font-size: 2.5rem; /* Larger heading */
    margin-bottom: 3rem; /* Increased margin */
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem; /* Increased margin */
    padding: 1.5rem; /* Added padding to feature box */
    border-radius: 10px; /* Rounded corners */
    background: #2a2a2a; /* Slightly lighter background for feature box */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.feature-icon {
    font-size: 3.5rem; /* Larger icon */
    margin-bottom: 1.2rem; /* Increased margin */
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.1rem;
    max-width: 400px;
}

footer {
    background: var(--header-bg);
    color: var(--text-light);
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icon {
    color: var(--text-light);
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ddd; /* Keeping #ddd for a slight change on hover, or could use a variable for a darker shade */
}

/* Animações */
.animate__animated.animate__fadeInDown {
    animation-duration: 1.5s;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.animate__animated.animate__fadeInUp {
    animation-duration: 1.5s;
    animation-delay: 1s;
    animation-fill-mode: both;
}

.animate__animated.animate__fadeIn {
    animation-duration: 1.5s;
    animation-delay: 1.5s;
    animation-fill-mode: both;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 1rem;
    }
}
