:root {
    --primary: #ff6b35;
    --primary-dark: #e44d26;
    --secondary: #3a86ff;
    --dark: #333333;
    --light: #f9f9f9;
    --accent: #38b000;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    margin: 0 12px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

.btn-app {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.btn-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)),
    url('https://images.unsplash.com/photo-1495195134817-aeb325a55b65?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
}

.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
    transition: all 0.3s;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.35);
    color: white;
}

.btn-secondary-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    margin-left: 15px;
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-5px);
}

.app-preview {
    position: relative;
    z-index: 2;
}

.app-preview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s;
}

.app-preview img:hover {
    transform: perspective(1000px) rotateY(0);
}

.floating-items {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    opacity: 0.7;
    animation: float 6s infinite ease-in-out;
}

.item-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.item-2 {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.item-3 {
    top: 25%;
    right: 10%;
    animation-delay: 2s;
}

.item-4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.highlight-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-bottom: 20px;
}

/* Estilos da seção Como Funciona */
.how-it-works {
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.section-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 30px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
}

.steps-container {
  position: relative;
  z-index: 2;
}

.steps-container:before {
  content: '';
  position: absolute;
  top: 80px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: -1;
  border-radius: 3px;
}

.step-card {
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.step-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 2.2rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.25);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 15px 0;
  color: var(--dark);
}

.step-card p {
  color: #666;
  font-size: 1rem;
}

.btn-cta {
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
  transition: all 0.3s;
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.35);
  color: white;
}

/* Estilos da seção Benefícios */
.benefits {
  background: white;
  position: relative;
}

.benefit-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.8rem;
  transition: all 0.3s;
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: white;
  transform: rotate(360deg);
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
}

.recipe-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.recipe-img {
    position: relative;
    overflow: hidden;
}

.recipe-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.recipe-card:hover .recipe-img img {
    transform: scale(1.05);
}

.recipe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: space-between;
}

.recipe-overlay span {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255,107,53,0.8);
}

.recipe-content {
    padding: 20px;
}

.recipe-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--dark);
}

.ingredients {
    margin-bottom: 10px;
}

.ingredients span {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

.recipe-meta {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.recipe-meta span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.pricing-section {
    background-color: var(--light);
    position: relative;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 2;
}

.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 0 15px 0 15px;
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 15px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    vertical-align: top;
    margin-right: 2px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #777;
}

.pricing-features {
    padding: 30px 20px;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i.fa-check {
    color: var(--accent);
    margin-right: 8px;
}

.pricing-features i.fa-times {
    color: #dc3545;
    margin-right: 8px;
    opacity: 0.5;
}

.pricing-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.pricing-info {
    margin-top: 60px;
}

.link-faq {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.link-faq:hover {
    color: var(--primary-dark);
}

/* Estilos para o popup da newsletter */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.newsletter-popup.show {
    opacity: 1;
    visibility: visible;
}

.newsletter-content {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s ease-in-out;
}

.newsletter-popup.show .newsletter-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #333;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.newsletter-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-form .form-group {
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
    outline: none;
}

.newsletter-footer {
    text-align: center;
    margin-top: 15px;
}

.newsletter-footer .small {
    font-size: 12px;
    color: #888;
}

.success-message {
    text-align: center;
    color: #28a745;
}

.success-message i {
    font-size: 48px;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .popular {
        transform: scale(1);
    }
}

@media (max-width: 991px) {
  .steps-container:before {
    display: none;
  }
}

/* Responsividade */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .app-preview {
        margin-top: 50px;
    }

    .btn-secondary-hero {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .btn-hero, .btn-secondary-hero {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}