:root {
    --primary: #1F4D1F;
    --accent-gold: #FFD700;
    --gray-bg: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --whatsapp-green: #25D366;
    --whatsapp-light: #DCF8C6;
    --whatsapp-dark: #128C7E;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gray-bg);
    overflow-x: hidden;
}

/* Focus Styles */
a:focus,
button:focus,
.cta-button:focus,
.button-secondary:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    transition: transform 0.3s var(--animation-timing);
    box-shadow: 0 1px 3px rgba(31,77,31,0.08);
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s var(--animation-timing);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 3.8rem;
    vertical-align: middle;
    margin-right: 0.5rem;
    display: inline-block;
}

.logo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: middle;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    padding: 7rem 2rem 4rem;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--animation-timing) forwards;
}

.hero-sub {
    font-size: 0.1rem;
}
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    max-width: 540px;
}

.hero-content p strong {
    color: var(--primary);
}

.hero-image {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s var(--animation-timing) 0.3s forwards;
    max-width: 480px;
}

.hero-image video {
    width: 100%;
    height: 480px;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #ECE5DD;
    display: block;
}

/* WhatsApp Preview */
.whatsapp-preview {
    background: #ECE5DD;
    border-radius: 1rem;
    padding: 1rem;
    height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.whatsapp-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    animation: messageSlide 0.2s var(--animation-timing);
}

.whatsapp-message.bot {
    background: var(--whatsapp-light);
    margin-right: auto;
    border-top-left-radius: 0;
}

.whatsapp-message.user {
    background: var(--whatsapp-green);
    color: white;
    margin-left: auto;
    border-top-right-radius: 0;
}

/* Sections */
section {
    padding: 6rem 2rem;
}

/* Features */
.features {
    background: var(--gray-bg);
}

.features h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.features-sub {
    text-align: center;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transition: transform 0.3s var(--animation-timing),
                box-shadow 0.3s var(--animation-timing);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 77, 31, 0.12);
}

.feature-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.feature-card i {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    border-radius: 8px;
    background: #F1F8F2;
    padding: 0.5rem;
    transition: color 0.2s, background 0.2s;
}

.feature-card:hover i {
    color: var(--white);
    background: var(--primary);
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    background: var(--gray-bg);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonials {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-info img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--gray-bg);
}

/* FAQ */
.faq {
    background: var(--gray-bg);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--text-light);
}

/* Pricing */
.pricing {
    background: var(--gray-bg);
    text-align: center;
    padding: 6rem 2rem;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-card {
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 3rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.currency {
    font-size: 1.75rem;
    vertical-align: super;
    margin-right: 0.25rem;
}

.period {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 0.25rem;
}

.benefits {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}

.benefits li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    font-size: 1.125rem;
    line-height: 1.5;
}

.benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.pricing-card .cta-button {
    margin: 1.5rem 0 1rem;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}

.small-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta {
    text-align: center;
    background: var(--primary);
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.cta .cta-button, .cta-button:link, .cta-button:visited {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--animation-timing);
    box-shadow: 0 2px 8px rgba(31, 77, 31, 0.12);
    position: relative;
    overflow: hidden;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(31, 77, 31, 0.1);
}

.cta-button:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.cta-button strong {
    color: inherit;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s var(--animation-timing) forwards;
}

.pricing h2.animate,
.pricing-card.animate {
    animation: fadeInUp 0.8s var(--animation-timing) forwards;
}

/* Hero CTA Button */
.hero .cta-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* Pricing CTA Button */
.pricing-card .cta-button {
    margin: 1.5rem 0 1rem;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}

/* CTA Section Button */
.cta .cta-button {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta .cta-button:hover {
    background: var(--gray-bg);
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 4rem 1rem;
    }

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

    .hero {
        padding: 6rem 1rem 3rem;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-image video {
        height: 380px;
    }

    .whatsapp-preview {
        height: 300px;
    }

    .pricing {
        padding: 4rem 1rem;
    }

    .pricing-card {
        margin: 1.5rem 1rem 0;
        padding: 2rem;
    }

    .price {
        font-size: 3rem;
        margin: 1.25rem 0;
    }

    .benefits li {
        font-size: 1rem;
        padding: 0.5rem 0 0.5rem 1.75rem;
    }

    .pricing-card .cta-button {
        padding: 0.875rem;
        margin: 1.25rem 0 0.75rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .hero .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .cta .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .nav-links,
    .cta-button.desktop-only {
        display: none !important;
    }

    .nav-container {
        justify-content: center;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .logo-img {
        display: inline-block !important;
        margin-right: 0.5rem;
        height: 2.4rem;
    }

    .logo-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary);
        vertical-align: middle;
    }

    .features-grid .feature-card:nth-child(4),
    .features-grid .feature-card:nth-child(5),
    .features-grid .feature-card:nth-child(6) {
        display: none !important;
    }
}

.desktop-only {
    display: inline-block;
}

.mobile-hide {
    display: inline-block;
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .logo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: middle;
  }
}

/* Email Capture Popup Styles */
.email-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s var(--animation-timing);
}

.email-popup.active {
    display: flex;
    opacity: 1;
}

.email-popup-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(31, 77, 31, 0.15);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--animation-timing);
}

.email-popup.active .email-popup-content {
    transform: translateY(0);
    opacity: 1;
}

.email-popup-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.email-popup-content p {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-popup:hover {
    color: var(--primary);
    background-color: var(--gray-bg);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.email-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.email-form input[type="email"] {
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s ease;
    background-color: var(--white);
    margin-top: 0.25rem;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 77, 31, 0.1);
}

.email-form input[type="email"]::placeholder {
    color: #9CA3AF;
}

.email-form input[type="email"].error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.email-form input[type="email"].error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-form .cta-button:hover {
    background-color: #1a421a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 77, 31, 0.2);
}

.email-form .cta-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .email-popup-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .email-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .email-popup-content p {
        font-size: 1rem;
    }
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 3rem 2.5rem;
}

.success-content h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.success-sub {
    color: var(--text-light) !important;
    font-size: 1rem !important;
    margin-top: 1rem;
}

.success-icon {
    margin-top: 2rem;
}

.success-icon i {
    width: 64px;
    height: 64px;
    color: var(--primary);
    animation: scaleIn 0.5s var(--animation-timing);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .success-content {
        padding: 2rem;
    }
    
    .success-content h3 {
        font-size: 1.75rem;
    }
    
    .success-content p {
        font-size: 1.1rem;
    }
}

/* WhatsApp Testimonials Custom Styles */
.whatsapp-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.whatsapp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1rem 1rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 12px -2px rgba(0,0,0,0.10);
    min-height: 420px;
    max-width: 420px;
    margin: 0 auto;
}

.whatsapp-img-scroll {
    width: 100%;
    max-width: 340px;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #ECE5DD;    
    margin-bottom: 1.2rem;
}

.whatsapp-img-scroll img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    object-fit: contain;
}

.whatsapp-card .user-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: 0.5rem;
    width: 100%;
}

.whatsapp-card .user-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.whatsapp-card .user-info p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .whatsapp-testimonials {
        grid-template-columns: 1fr;
    }
    .whatsapp-card {
        max-width: 100%;
        min-height: 340px;
    }
    .whatsapp-img-scroll {
        max-width: 100%;
        max-height: 350px;
        overflow: hidden;
        position: relative;
    }
    .whatsapp-img-scroll img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 1rem;
        object-fit: cover;
    }
    .whatsapp-img-scroll::after {
        content: '';
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 40px;
        background: linear-gradient(to bottom, rgba(236,229,221,0) 0%, rgba(236,229,221,0.95) 100%);
        border-radius: 0 0 1rem 1rem;
        pointer-events: none;
    }
} 