/* ===================================
   Mealo Landing Page Styles
   Converted from Elementor/WordPress
   =================================== */

/* CSS Variables */
:root {
    --primary-green: #53B175;
    --dark-text: #080530;
    --text-gray: #344356DE;
    --text-muted: #444D6F;
    --white: #FFFFFF;
    --black: #000000;
    --light-green-bg: rgba(83, 177, 117, 0.08);
    --orange-accent: #F9914F;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ===================================
   Button Styles
   =================================== */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--black);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background-color: #344356;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-download i {
    font-size: 20px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-white {
    background-color: var(--white);
    color: var(--black);
}

.btn-white:hover {
    background-color: #f5f5f5;
}

/* ===================================
   Animations
   =================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.floating-animation {
    animation: float 4s ease-in-out infinite;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    background-color: var(--white);
    padding: 180px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 600px;
    height: 600px;
    background-image: url('assets/images/Decor6.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.8;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 0 0 55%;
    max-width: 698px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 50px;
    padding-right: 100px;
}

.hero-image {
    flex: 0 0 42%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    margin-left: auto;
}

/* ===================================
   Tagline Section
   =================================== */
.tagline-section {
    padding: 60px 0;
    background-color: var(--white);
}

.tagline-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.4;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(83, 177, 117, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step-card {
    flex: 0 0 300px;
    text-align: center;
    padding: 30px;
}

.step-image {
    margin-bottom: 25px;
}

.step-image img {
    max-width: 200px;
    margin: 0 auto;
    border-radius: 16px;
}

.step-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    background: var(--light-green-bg);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===================================
   We Love To Serve Section
   =================================== */
.serve-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.serve-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.serve-text {
    flex: 0 0 50%;
}

.serve-title-green {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.3;
    margin-bottom: 10px;
}

.serve-title-dark {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
}

.serve-image {
    flex: 0 0 45%;
}

.main-serve-image {
    border-radius: 20px;
}

.floating-decor {
    position: absolute;
    animation: floatSlow 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.floating-decor.leaf {
    top: 10%;
    left: 5%;
    width: 100px;
    animation-delay: 0s;
}

.floating-decor.ginger {
    bottom: 20%;
    left: 10%;
    width: 80px;
    animation-delay: 2s;
}

.floating-decor.onion {
    top: 30%;
    right: 5%;
    width: 90px;
    animation-delay: 4s;
}

/* ===================================
   Subscription Plans Section
   =================================== */
.subscription-section {
    padding: 100px 0;
    background-color: var(--white);
}

.subscription-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.subscription-text {
    flex: 0 0 45%;
}

.subscription-text h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.4;
    margin-bottom: 20px;
}

.subscription-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.subscription-images {
    flex: 0 0 50%;
}

.sub-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sub-img {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* ===================================
   Get Started Section
   =================================== */
.get-started-section {
    padding: 100px 0;
    background-color: var(--white);
}

.get-started-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.get-started-text {
    flex: 0 0 50%;
}

.get-started-text .label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.get-started-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 20px;
}

.get-started-text p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.get-started-image {
    flex: 0 0 45%;
    text-align: center;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-green-bg);
}

.faq-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.faq-images {
    flex: 0 0 40%;
    position: relative;
}

.cloud-decoration {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    opacity: 0.5;
}

.testimonial-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 60px;
}

.testimonial-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-text {
    flex: 0 0 55%;
}

.faq-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--orange-accent);
    margin-bottom: 10px;
}

.faq-text h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-green-bg);
}

.faq-question i {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   Outlet App Section
   =================================== */
.outlet-section {
    padding: 100px 0;
    background-color: var(--primary-green);
}

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

.outlet-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
}

.outlet-image {
    margin-bottom: 30px;
}

.outlet-image img {
    max-width: 200px;
    border-radius: 16px;
}

.outlet-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.4;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 0 40px;
    background-color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-logo {
    font-size: 63px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.footer-contact p,
.footer-contact a {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.67);
    display: block;
    margin-bottom: 10px;
}

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

.footer-links a {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.66);
    display: block;
    margin-bottom: 15px;
}

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

/* ===================================
   Responsive Styles
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-section {
        padding: 140px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-description {
        padding-right: 0;
    }

    .hero-image {
        flex: 0 0 100%;
        text-align: center;
        padding-top: 50px;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .serve-content,
    .subscription-content,
    .get-started-content {
        flex-direction: column;
        text-align: center;
    }

    .serve-text,
    .subscription-text,
    .get-started-text {
        flex: 0 0 100%;
    }

    .faq-content {
        flex-direction: column;
    }

    .faq-images,
    .faq-text {
        flex: 0 0 100%;
    }

    .outlet-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 50px;
    }

    .hero-section::before {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        flex: 0 0 100%;
    }

    .floating-decor {
        display: none;
    }

    .sub-img-grid {
        gap: 15px;
    }

    .testimonial-images {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .testimonial-img {
        height: 120px;
    }

    .btn-download {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .footer-logo {
        font-size: 48px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .tagline-title {
        font-size: 24px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .outlet-card {
        padding: 30px 20px;
    }

    .outlet-content h3 {
        font-size: 20px;
    }
}

/* ===================================
   Scroll Animations (AOS-like)
   =================================== */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}
