/* RESET ET STYLES DE BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --military-green: #2E8B57;
    --text-dark: #212529;
    --text-light: #6c757d;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* HERO SECTION */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 1s ease-out;
}

.hero-bg-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover .hero-bg-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(46, 139, 87, 0.2));
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero h1 span {
    color: var(--military-green);
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* FEATURES SECTION */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.5s; }
.feature-card:nth-child(5) { animation-delay: 0.6s; }
.feature-card:nth-child(6) { animation-delay: 0.7s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--military-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* HOW IT WORKS */
.how-it-works {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: var(--medium-gray);
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--military-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* APP SHOWCASE */
.app-showcase {
    padding: 100px 0;
    background-color: var(--white);
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-text {
    flex: 1;
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.showcase-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.showcase-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.app-features {
    margin-bottom: 30px;
}

.app-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background-color: var(--military-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.showcase-image {
    flex: 1;
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
}

.showcase-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.showcase-image:hover img {
    transform: scale(1.03);
}

/* DELIVERY SHOWCASE */
.delivery-showcase {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.delivery-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.delivery-image {
    flex: 1;
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.delivery-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.delivery-image:hover img {
    transform: scale(1.03);
}

.delivery-text {
    flex: 1;
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
}

.delivery-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.delivery-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.delivery-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--military-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* CTA SECTION */
.cta {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.cta p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

/* FOOTER */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-btn {
    padding: 12px 20px;
    background-color: #495057;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.download-btn:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .showcase-content,
    .delivery-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .delivery-stats {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .auth-buttons {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .showcase-text h2,
    .delivery-text h2,
    .cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        width: 100%;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-bg-image {
        height: 300px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}