/* Global Styles */
:root {
    --primary-color: #0D6020; /* Verde escuro */
    --secondary-color: #6c757d; /* Cinza neutro */
    --accent-color: #0D6020; /* Verde escuro para destaque */
    --dark-color: #343a40; /* Texto escuro */
    --light-color: #f8f9fa; /* Fundo claro */
    --success-color: #0D6020; /* Verde escuro para sucesso */
    --danger-color: #dc3545; /* Vermelho para alerta */
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background-color: var(--dark-color) !important; /* Navbar escura para contraste */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand svg {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 600;
    color: var(--light-color) !important;
    transition: color 0.3s ease, transform 0.3s ease;
    margin: 0 0.8rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 30 30\'%3e%3cpath stroke=\'rgba%28255, 255, 255, 0.55%29\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' stroke-width=\'2\' d=\'M4 7h22M4 15h22M4 23h22\'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0D6020 0%, #0a4818 100%); /* Gradiente verde escuro */
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay mais escuro */
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.hero-section p.fs-5 {
    font-size: 1.2rem !important;
    margin-bottom: 3rem;
}

.hero-image-container {
    position: relative;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-image-container video {
    border-radius: 10px;
}

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

/* General Section Styling */
section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

section .lead {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* Problem Section */
.problem-section {
    background-color: var(--light-color);
}

.problem-section h2 {
    color: var(--danger-color);
}

/* Solution Section */
.solution-section {
    background: linear-gradient(45deg, #0a4818 0%, #0D6020 100%);
    color: white;
}

.solution-section h2 {
    color: white;
}

.solution-section img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Advanced Features Section */
.advanced-features-section {
    background-color: var(--dark-color);
    color: white;
}

.advanced-features-section h2 {
    color: white;
}

.advanced-features-section .feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advanced-features-section .feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* App Screenshots Section */
.app-screenshots-section {
    background-color: var(--light-color);
}

.app-screenshots-section img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-screenshots-section img:hover {
    transform: scale(1.03);
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--light-color);
}

.step-number {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0D6020 0%, #0a4818 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0D6020 0%, #0a4818 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 1rem;
}

/* Accordion Styles (FAQ) */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    border-radius: 10px !important;
    padding: 1.2rem 1.5rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #0D6020;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    border-top: 1px solid var(--light-color);
    border-radius: 0 0 10px 10px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #0D6020 0%, #0a4818 100%);
    color: white !important;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 96, 32, 0.4);
    position: relative;
    overflow: hidden;
    animation: cta-pulse 2s ease-in-out infinite, cta-glow 3s ease-in-out infinite;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: cta-shimmer 3s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(13, 96, 32, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, #0D6020 0%, #0a4818 100%);
    color: white !important;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 96, 32, 0.4);
    position: relative;
    overflow: hidden;
    animation: cta-pulse 2s ease-in-out infinite, cta-glow 3s ease-in-out infinite;
}

.btn-warning::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: cta-shimmer 3s ease-in-out infinite;
}

.btn-warning:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(13, 96, 32, 0.5);
}

/* CTA Button Animations */
@keyframes cta-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes cta-glow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(13, 96, 32, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 193, 7, 0.4);
    }
}

@keyframes cta-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #0D6020;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    section h2 {
        font-size: 2.5rem;
    }

    .btn-primary, .btn-warning {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

    .hero-image-container {
        margin-top: 3rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .btn-primary, .btn-warning {
        width: 100%;
        margin-bottom: 1rem;
    }
}


/* Sobrescrever cores do Bootstrap */
.bg-primary {
    background-color: #0D6020 !important;
}

.text-primary {
    color: #0D6020 !important;
}

.navbar-brand svg {
    color: #0D6020 !important;
}

/* CRO Improvements - Video Play Badge */
.video-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.video-play-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(13, 96, 32, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.video-play-badge::before {
    content: '▶';
    font-size: 12px;
}

/* Trust Badges Display */
.trust-badges {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-badges img {
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.3s;
    display: block;
}

.trust-badges img:hover {
    opacity: 1;
}

/* Testimonial Stars */
.testimonial-stars {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

/* Floating CTA Enhancement */
.floating-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 1030;
    display: none;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-cta .wrap {
    margin: 0 auto;
    max-width: 980px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 2px solid #0D6020;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.floating-cta p {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    color: #0D6020;
}

.floating-cta .btn {
    white-space: nowrap;
    background: linear-gradient(135deg, #0D6020, #0a4818) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    animation: cta-pulse 2s ease-in-out infinite, cta-glow 3s ease-in-out infinite;
}

.floating-cta .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: cta-shimmer 3s ease-in-out infinite;
}

/* Social Proof Notification */
.social-proof-notification {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 1020;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    display: none;
    animation: slideInLeft 0.5s ease-out;
    max-width: 320px;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.social-proof-notification img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.social-proof-notification .content {
    flex: 1;
}

.social-proof-notification .name {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
}

.social-proof-notification .action {
    font-size: 12px;
    color: #6c757d;
}

/* Exit Intent Popup */
.exit-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

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

.exit-popup-content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.3s;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
}

.exit-popup-close:hover {
    color: #212529;
}

/* Responsive adjustments for CRO elements */
@media (max-width: 768px) {
    .video-play-badge {
        padding: 10px 16px;
        font-size: 13px;
        top: 15px;
        left: 15px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .trust-badges img {
        height: 32px;
    }
    
    .floating-cta .wrap {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    
    .social-proof-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}


/* ===== CRO ENHANCEMENTS ===== */

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0D6020, #0a4818);
    color: white;
    padding: 15px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideUpBar 0.5s ease-out;
}

@keyframes slideUpBar {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Countdown Popup */
.countdown-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.countdown-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.countdown-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
}

.countdown-close:hover {
    color: #dc3545;
}

.countdown-timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 800;
    color: #0D6020;
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D6020;
}

.countdown-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Exit Intent Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.exit-popup-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.exit-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
}

.exit-close:hover {
    color: #dc3545;
}

/* Activity Notifications */
.activity-notifications {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-notification {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 350px;
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.activity-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.activity-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.activity-text strong {
    color: #0D6020;
}

.activity-text small {
    color: #6c757d;
}

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

/* Mobile Responsive CRO Elements */
@media (max-width: 768px) {
    .sticky-cta-bar {
        padding: 10px 0;
    }
    
    .sticky-cta-bar .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .sticky-cta-bar .col-md-4 {
        text-align: center !important;
    }
    
    .countdown-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .countdown-number {
        font-size: 2rem;
        padding: 15px;
        min-width: 70px;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
    }
    
    .exit-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .exit-popup-content h2 {
        font-size: 1.5rem;
    }
    
    .exit-popup-content .btn {
        font-size: 1.2rem !important;
        padding: 15px 30px !important;
    }
    
    .activity-notifications {
        bottom: 70px;
        left: 10px;
        right: 10px;
    }
    
    .activity-notification {
        padding: 12px 15px;
        max-width: 100%;
    }
    
    .activity-icon {
        font-size: 1.5rem;
    }
    
    .activity-text {
        font-size: 0.85rem;
    }
}

/* Pain Point Cards */
.pain-point-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #dc3545;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pain-icon {
    font-size: 3rem;
    text-align: center;
}
