/* ===== Custom Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    /* Colors (Premium Green Palette based on Mockup Logo 2) */
    --primary: #7CAC58; /* Vibrant Green */
    --primary-glow: rgba(124, 172, 88, 0.4);
    --secondary: #154E48; /* Dark Teal Green */
    --dark: #0a0c0a; /* True Dark (No Blue) */
    --dark-surface: #121512;
    --text-main: #ffffff;
    --text-muted: #a3a8a3;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7CAC58 0%, #5b8c3b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.highlight {
    color: var(--primary);
}

.mt-4 { margin-top: 2rem; }

/* ===== Typography ===== */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
p { font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); }

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(124, 172, 88, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 172, 88, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(124, 172, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 172, 88, 0); }
}

/* ===== Glassmorphism Utilities ===== */
.glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.glass-heavy {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-img, .logo-img-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: kenburns 30s infinite alternate linear;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,12,10,0.3) 0%, rgba(10,12,10,0.85) 70%, rgba(10,12,10,0.95) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(124, 172, 88, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.hero-price {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gradient-glass);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    display: inline-block;
}

.hero-price span {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-price h2 {
    font-size: 3.5rem;
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: baseline;
}

.hero-price h2 small {
    font-size: 1.5rem;
}

.hero-price h2 span {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
    display: inline;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

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

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-text p {
    font-size: 1.2rem;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 2px solid rgba(124, 172, 88, 0.3);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    cursor: zoom-in;
}

.feature-image img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(124, 172, 88, 0.4);
}

@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* ===== App Showcase Section ===== */
.app-showcase {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-surface) 100%);
    overflow: hidden;
}

.app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-image {
    position: relative;
}

.mockup-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ===== Pricing Section ===== */
.pricing {
    position: relative;
    padding: 8rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.pricing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.pricing-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    animation: pan-horizontal 45s infinite alternate linear;
}

.pricing-container {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--primary);
    margin-bottom: 2rem;
}

.price .currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.price .amount {
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1;
}

.price .cents {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.pricing-body ul {
    text-align: left;
    margin-bottom: 3rem;
}

.pricing-body li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.pricing-body i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== Instagram Invite ===== */
.instagram-invite {
    padding: 6rem 0;
    background: var(--dark-surface);
    text-align: center;
    border-top: 1px solid rgba(124, 172, 88, 0.1);
}

.invite-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== Image Lightbox Modal ===== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px rgba(124, 172, 88, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

/* ===== Footer ===== */
footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.socials a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-location h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-location p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(124, 172, 88, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
}

.btn-location:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(124, 172, 88, 0.3);
}

.hero-text h1 .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(124, 172, 88, 0.4);
}

.typewriter-cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 0.8s infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

/* ===== Cinematic Animations ===== */
@keyframes kenburns {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.25); }
}

@keyframes pan-horizontal {
    0% { transform: scale(1.2) translateX(-8%); }
    100% { transform: scale(1.2) translateX(8%); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===== Floating WhatsApp Button ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .app-container {
        grid-template-columns: 1fr;
    }
    
    .app-image {
        order: 2;
    }
    
    .app-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-price h2 {
        font-size: 2.2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .feature-text h3 {
        font-size: 1.8rem;
    }

    .feature-text p {
        font-size: 1.05rem;
    }

    .features-showcase {
        gap: 3.5rem;
    }

    .instagram-invite {
        padding: 4rem 1rem;
    }

    .instagram-invite h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .app-text h2 {
        font-size: 2rem;
        text-align: center;
    }

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

    .feature-list {
        margin: 0 auto 2rem auto;
        display: inline-block;
        text-align: left;
    }

    .app-text .btn-primary {
        display: flex;
        justify-content: center;
    }

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

    .footer-info, .footer-links, .footer-location {
        align-items: center;
    }
    
    .socials {
        justify-content: center;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
