/* 
   EcoCuidado Design System
   Colors: Nature Green Palette
   Typography: Modern & Clean
*/

:root {
    --primary: #2D6A4F;
    --primary-light: #52B788;
    --primary-extra-light: #B7E4C7;
    --secondary: #D8F3DC;
    --accent: #FFB703;
    --dark: #1B4332;
    --text-main: #2D3436;
    --text-muted: #636E72;
    --bg-white: #FFFFFF;
    --bg-soft: #F9FBF9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-soft);
    overflow-x: hidden;
}

section {
    scroll-margin-top: 120px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, background 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 40px;
    /* Leave space for time banner if active */
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: top 0.3s;
}

.nav-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
}

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

.mobile-toggle {
    display: none;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    position: relative;
    background: linear-gradient(180deg, #E9F5EF 0%, #F9FBF9 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.store-badge {
    height: 48px;
}

.hero-proof {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-proof span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(27, 67, 50, 0.2);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--primary);
    padding: 40px 20px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plant-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f1f3f1;
    border-radius: 12px;
}

.plant-img {
    font-size: 1.5rem;
}

.plant-info {
    flex: 1;
}

.p-name {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
}

.p-status {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.plant-action {
    color: var(--primary);
    font-weight: 800;
}

.plant-action.check {
    color: var(--primary-light);
}

.app-ai-banner {
    margin-top: auto;
    padding: 15px;
    background: var(--secondary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ai-icon {
    font-size: 1.2rem;
}

.app-nav {
    border-top: 1px solid #eee;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    font-size: 1.2rem;
}

.floating-decorator {
    position: absolute;
    font-size: 4rem;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    right: 0%;
}

.leaf-2 {
    bottom: 10%;
    left: 0%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Proof Bar */
.proof-bar {
    background: white;
    padding: 40px 0;
    border-bottom: 2px solid #f0f0f0;
}

.proof-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 40px;
    color: var(--text-muted);
}

.brand-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ced4da;
}

/* Problem Section */
.problem {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

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

.pain-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.pain-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Features */
.solution {
    padding: 80px 0;
    background-color: #E9F5EF;
}

.badge {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.feature-rows {
    margin-top: 80px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.f-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-extra-light);
    display: block;
}

.feature-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.f-list {
    list-style: none;
    margin-top: 30px;
}

.f-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.f-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 900;
}

.visual-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.calendar-box {
    background: white;
}

.cal-header {
    font-weight: 800;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cal-item {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    background: #f8f9fa;
}

.cal-item.active {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    border: 1px dashed var(--primary);
}

.ai-box {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #eee url('https://w0.peakpx.com/wallpaper/559/314/HD-wallpaper-monstera-leaf-nature-thumbnail.jpg') center/cover;
}

.ai-scan-line {
    height: 4px;
    background: var(--primary-light);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    animation: scan 3s linear infinite;
}

.ai-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #C0392B;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 800;
}

.ai-solution {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-md);
}

.t-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
}

.author-info span {
    display: block;
}

.a-name {
    font-weight: 800;
}

.a-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.price-card {
    background: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow);
}

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

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
}

.price-header h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.price-val {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.price-val span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-micro {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

.cta-leaves {
    position: absolute;
    bottom: -20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 100px;
    font-size: 6rem;
    opacity: 0.1;
}

/* Footer */
.footer {
    background: #f9f9f9;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-links-col h4 {
    margin-bottom: 20px;
}

.footer-links-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.social-icons span {
    margin-right: 15px;
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-card {
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 60px 40px;
    border-radius: var(--radius-md);
    position: relative;
    border-top: 10px solid var(--primary);
    animation: popScale 0.3s ease;
}

@keyframes popScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #ccc;
}

.popup-emoji {
    font-size: 4rem;
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.popup-content-inner h2 {
    text-align: center;
    margin-bottom: 15px;
}

.popup-content-inner p {
    text-align: center;
    margin-bottom: 30px;
}

.popup-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.popup-micro {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* Slide-in Promo */
.slide-in {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    display: none;
    max-width: 300px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-flex {
    display: flex;
    gap: 15px;
    align-items: center;
}

.slide-visual {
    font-size: 2.5rem;
}

.slide-text strong {
    display: block;
    font-size: 0.9rem;
}

.slide-text p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.slide-text a {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
}

.slide-close {
    position: absolute;
    top: 5px;
    right: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #ccc;
}

/* Top Banner */
.top-banner {
    background: var(--primary-light);
    height: 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    color: white;
}

.banner-flex {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.timer {
    font-weight: 800;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

    .hero-text {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

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

    .feature-row.reverse {
        direction: ltr;
    }

    .f-list {
        display: inline-block;
        text-align: left;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        border: none;
        background: transparent;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

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

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

    .price-card.popular {
        transform: none;
    }
}
