:root {
    --primary: #E8192C;
    --primary-light: #FFF0F0;
    --bg-dark: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --text-gray: #6B7280;
    --text-gray-light: #9CA3AF;
    --border-color: #E0E0E0;
    --font-sans: 'Space Grotesk', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 100px;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--primary);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .header-container {
        padding: 0 80px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 40px;
    }

    .nav-links a {
        color: #fff;
        font-weight: 500;
        font-size: 15px;
        transition: opacity 0.2s ease;
    }

    .nav-links a:hover {
        opacity: 0.8;
    }
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

.btn-login {
    background: #fff;
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
}

.btn-download {
    background: #370303;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: #250202;
    transform: translateY(-1px);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    color: #fff;
    min-height: 780px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./ChatGPT Image 28 de mai. de 2025, 12_00_19.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 10;
    min-height: calc(100% - 140px);
    /* stretch */
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    max-width: 620px;
    padding-bottom: 20px;
}

.badge-keep {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 25, 44, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.badge-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

.headline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(38px, 9vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    h1 {
        font-size: clamp(48px, 5vw, 72px);
    }
}

.h1-line-1 {
    color: #ececec;
    white-space: nowrap;
}

.h1-line-2 {
    color: var(--primary);
    white-space: nowrap;
}

.subtext {
    font-size: 18px;
    color: #fff;
    max-width: 520px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .subtext {
        font-size: 20px;
    }
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 500px) {
    .cta-row {
        flex-direction: row;
    }
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d41727;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 25, 44, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.trust-row {
    display: flex;
    gap: 32px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-val {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.trust-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    width: 100%;
    margin-bottom: -80px;
    /* Offset the hero padding */
}

@media (min-width: 1024px) {
    .hero-right {
        width: auto;
        justify-content: flex-end;
    }
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.hero-img {
    max-width: 100%;
    width: 380px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    display: block;
}

@media (min-width: 768px) {
    .hero-img {
        width: 550px;
    }
}

@media (min-width: 1024px) {
    .hero-img {
        width: 750px;
        max-width: 750px;
    }
}

.blur-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.blur-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(232, 25, 44, 0.3);
    filter: blur(120px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blur-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(232, 25, 44, 0.2);
    filter: blur(100px);
    bottom: -50px;
    right: -50px;
}

/* How Section */
.how-section {
    position: relative;
    padding: 80px 0;
    background-color: #6b943e;
    /* Base background from design, overlay with image */
    overflow: hidden;
}

@media (min-width: 1024px) {
    .how-section {
        padding: 100px 0;
    }
}

.how-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* Wider width for scrolling */
    height: 100%;
    background-image: url('./food-background-pattern-texture-healthy-eating-line-icons_857340-4408.jpg');
    background-repeat: repeat;
    background-size: 50% auto;
    /* 50% of 200% width = 100% viewport width */
    opacity: 0.05;
    z-index: 1;
    animation: scrollBg 60s linear infinite;
}

@keyframes scrollBg {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.how-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.how-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.how-badge {
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    color: #fff;
}

.how-badge-text {
    font-size: 12px;
    font-weight: 700;
}

.how-title {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
}

@media (min-width: 768px) {
    .how-title {
        font-size: 52px;
    }
}

.how-sub {
    color: #fff;
    font-size: 16px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .how-sub {
        font-size: 18px;
    }
}

.steps-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .steps-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.step-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-card.highlight {
    background: var(--primary-light);
    border-color: rgba(232, 25, 44, 0.3);
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 800;
}

.step-title {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .step-title {
        font-size: 24px;
    }
}

.step-desc {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

@media (min-width: 1024px) {
    .features {
        padding: 100px 0;
    }
}

.features .container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 1024px) {
    .features .container {
        gap: 80px;
    }
}

.feat-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.feat-badge {
    background: rgba(232, 25, 44, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
}

.feat-badge-text {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.feat-title {
    color: var(--text-dark);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 800px;
}

@media (min-width: 768px) {
    .feat-title {
        font-size: 52px;
    }
}

.feat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feat-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.15s ease;
}

.feat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 25, 44, 0.3);
}

.feat-icon {
    width: 72px;
    height: 72px;
    background: rgba(232, 25, 44, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-family: var(--font-inter);
    color: #9a0d0d;
    font-size: 24px;
    font-weight: bold;
}

.feature-img-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.feat-card-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .feat-card-title {
        font-size: 20px;
    }
}

.feat-desc {
    color: var(--text-gray);
    font-size: 14px;
}

/* Pricing Table */
.pricing {
    position: relative;
    padding: 80px 0;
    background-color: var(--primary);
}

@media (min-width: 1024px) {
    .pricing {
        padding: 100px 0;
    }
}

.pricing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./386291381_e2b574ea-cd26-496f-88dd-23a9291cac65.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.pricing .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .pricing .container {
        gap: 56px;
    }
}

.pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: #fff;
}

.pricing-badge {
    background: #fff;
    padding: 6px 16px;
    border-radius: 100px;
}

.pricing-badge-text {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.pricing-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .pricing-title {
        font-size: 52px;
    }
}

.pricing-sub {
    font-size: 16px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .pricing-sub {
        font-size: 18px;
    }
}

.table-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.table-header {
    display: flex;
    background: #f8f8f8;
    height: 72px;
}

.table-row {
    display: flex;
    height: 60px;
    border-top: 1px solid var(--border-color);
}

.table-row:hover .col-ipu {
    background: #ffebeb;
}

.col-fat {
    width: 30%;
    min-width: 140px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-weight: 800;
    color: var(--primary);
}

.table-row .col-fat {
    font-weight: 500;
    color: #4B5563;
    font-size: 14px;
}

@media (min-width: 768px) {
    .col-fat {
        width: 360px;
        padding: 0 32px;
        font-size: 15px;
    }
}

.col-ipu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--primary-light);
    border-top: 3px solid rgba(232, 25, 44, 0.4);
    padding: 0 10px;
    transition: background 0.2s ease;
}

.table-row .col-ipu {
    background: #FFF5F5;
    border-top: none;
}

.ipu-name {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .ipu-name {
        font-size: 16px;
    }
}

.ipu-sub {
    color: rgba(232, 25, 44, 0.8);
    font-size: 10px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .ipu-sub {
        font-size: 12px;
    }
}

.price-val {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
}

@media (min-width: 768px) {
    .price-val {
        font-size: 15px;
    }
}

.col-ifood {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.table-row .col-ifood {
    color: var(--text-gray-light);
    font-size: 12px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .table-row .col-ifood {
        font-size: 14px;
    }
}

.ifood-name {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 800;
}

@media (min-width: 768px) {
    .ifood-name {
        font-size: 16px;
    }
}

.ifood-sub {
    color: var(--text-gray-light);
    font-size: 10px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .ifood-sub {
        font-size: 12px;
    }
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 80px 0;
    background: radial-gradient(circle at center, #FFF5F5 0%, rgba(213, 210, 210, 0.1) 100%);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .final-cta {
        padding: 120px 0;
    }
}

.cta-orb-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    background: rgba(232, 25, 44, 0.05);
    filter: blur(80px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.cta-tag {
    background: rgba(232, 25, 44, 0.15);
    padding: 6px 16px;
    border-radius: 100px;
}

.cta-tag-text {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.cta-main-title {
    color: var(--text-dark);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
}

@media (min-width: 768px) {
    .cta-main-title {
        font-size: 64px;
    }
}

.cta-sub {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .cta-sub {
        font-size: 18px;
    }
}

.cta-btns-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

@media (min-width: 500px) {
    .cta-btns-row {
        flex-direction: row;
    }
}

.app-store-btn {
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: #d41727;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 25, 44, 0.3);
}

.play-store-btn {
    background: #fff;
    border: 2px solid var(--primary);
    padding: 16px 32px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.play-store-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.play-logo {
    color: var(--primary);
    font-size: 24px;
}

.store-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 500;
}

.play-sub {
    color: var(--text-gray-light);
}

.store-title {
    font-size: 16px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .store-title {
        font-size: 18px;
    }
}

.play-title {
    color: var(--text-dark);
}

.cta-trust-line {
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .cta-trust-line {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 40px;
}

@media (min-width: 1024px) {
    .footer {
        padding: 80px 0 48px;
    }
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 1024px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        gap: 80px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    color: var(--text-gray-light);
    font-size: 14px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.soc-btn {
    width: 36px;
    height: 36px;
    background: #2D2D2D;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.soc-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    flex: 1;
}

@media (min-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.col-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-gray-light);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        gap: 0;
    }
}

.footer-copy {
    color: var(--text-gray-light);
    font-size: 13px;
}

.footer-badge {
    background: rgba(232, 25, 44, 0.1);
    padding: 6px 14px;
    border-radius: 8px;
}

.footer-badge-text {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}