* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #D72638 0%, #A31E2D 100%);
    color: white;
    text-align: center;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: pulse 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.login-text {
    margin-top: 16px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-text a {
    color: #FFD700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.login-text a:hover {
    color: #FFF;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: white;
    color: #D72638;
    border: none;
    padding: 22px 48px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

/* Section Styling */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #D72638;
    text-align: center;
}

/* Como Funciona */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    background: white;
    border-radius: 24px;
    padding: 48px 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    text-align: center;
}

.step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(215, 38, 56, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D72638, #A31E2D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(215, 38, 56, 0.3);
}

.step h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #333;
}

.step p {
    font-size: 1.1rem;
    color: #666;
}

/* Porquê NutriFy */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.why-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(215, 38, 56, 0.12);
}

.why-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #333;
}

.why-card p {
    color: #666;
    font-size: 1.05rem;
}

/* Parceiros */
.partners {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    padding: 120px 40px;
    text-align: center;
}

.partners h2 {
    color: #D72638;
    max-width: 800px;
    margin: 0 auto 24px;
}

.partners p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.btn-partner {
    background: #A31E2D;
    color: white;
    padding: 20px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(163, 30, 45, 0.3);
}

.btn-partner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(163, 30, 45, 0.4);
}

/* Testemunhos */
.testimonials {
    padding: 120px 40px;
    text-align: center;
    background: white;
}

.carousel {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: #f9f9f9;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.author {
    font-weight: 600;
    color: #D72638;
    font-style: normal;
    font-size: 1.1rem;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #D72638 0%, #A31E2D 100%);
    color: white;
    text-align: center;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 48px;
    color: white;
    position: relative;
    z-index: 2;
}

.btn-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-group a {
    background: white;
    color: #D72638;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-group a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-group a:nth-child(2) {
    background: #A31E2D;
    color: white;
}

/* Footer */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 60px 40px;
}

footer p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

footer a {
    color: #D72638;
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}