/* Custom CSS for Bioma Prelander */

/* Root Variables */
:root {
    --primary-color: #2d5016;    /* Deep Forest Green */
    --secondary-color: #f5f5dc;  /* Warm Beige */
    --accent-color: #d4a574;     /* Warm Gold/Tan */
    --dark-color: #212529;
    --light-color: #faf8f3;
    --gradient-primary: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    --gradient-secondary: linear-gradient(135deg, #f5f5dc 0%, #ede0c8 100%);
    --gradient-accent: linear-gradient(135deg, #d4a574 0%, #c19a5b 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(45,80,22,0.03)"/><circle cx="90" cy="90" r="1" fill="rgba(212,165,116,0.03)"/><circle cx="50" cy="30" r="1" fill="rgba(45,80,22,0.02)"/><circle cx="20" cy="80" r="1" fill="rgba(212,165,116,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: -1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(45, 80, 22, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.element-4 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.hero-main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-eyebrow {
    margin-bottom: 20px;
}

.eyebrow-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(45, 80, 22, 0.1);
}

.hero-subheadline {
    font-size: 1.4rem;
    line-height: 1.5;
    color: #495057;
    margin-bottom: 40px;
    font-weight: 400;
}

.highlight-green {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-problem-solution {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 220, 0.95) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(212, 165, 116, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.problem-side, .solution-side {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.problem-side {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08) 0%, rgba(220, 53, 69, 0.04) 100%);
    border: 1px solid rgba(220, 53, 69, 0.15);
}

.solution-side {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(45, 80, 22, 0.04) 100%);
    border: 1px solid rgba(45, 80, 22, 0.15);
}

.problem-icon, .solution-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.solution-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a7c59 100%);
    color: white;
}

.problem-content h4, .solution-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.problem-content h4 {
    color: #dc3545;
}

.solution-content h4 {
    color: var(--primary-color);
}

.problem-content p, .solution-content p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
    color: #495057;
}

.arrow-container {
    padding: 20px 0;
}

.arrow-pulse {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: arrowPulse 2s ease-in-out infinite;
    text-align: center;
}

.throb {
    animation: throb 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(10px) scale(1.1);
        opacity: 1;
    }
}

@keyframes throb {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(45, 80, 22, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-cta-section {
    margin-bottom: 40px;
}

.hero-main-cta {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

.hero-main-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.6);
    color: white;
    text-decoration: none;
}

.cta-text {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.cta-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-guarantee {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-social-proof {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.3;
    max-width: 200px;
    margin: 0 auto;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #dee2e6;
}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Pulse Button Animation */
.pulse-btn {
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: var(--transition);
}

.pulse-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.pulse-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pulse-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Benefits Section */
.benefits-section {
    background: var(--light-color);
}

.benefit-card {
    background: white;
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.benefit-icon {
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* How It Works */
.how-it-works {
    border-top: 1px solid rgba(45, 80, 22, 0.1);
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.step-card {
    position: relative;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Testimonials */
.stars {
    font-size: 1.1rem;
}

/* Testimonials - Rebuilt */
.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-header .stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.testimonial-footer {
    margin-top: auto;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-details {
    flex: 1;
}

.customer-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.customer-badge {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Urgency Section */
.urgency-section {
    background: var(--gradient-primary);
    position: relative;
}

.urgency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="urgency" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23urgency)"/></svg>');
    z-index: 1;
}

.urgency-section .container {
    position: relative;
    z-index: 2;
}

#countdown {
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Final CTA */
.final-cta {
    background: var(--gradient-primary);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-problem-solution {
        padding: 30px 20px;
    }
    
    .problem-side, .solution-side {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .arrow-container {
        padding: 10px 0;
        transform: rotate(90deg);
    }
    
    .arrow-pulse {
        font-size: 2rem;
    }
    
    .problem-icon, .solution-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .problem-content h4, .solution-content h4 {
        font-size: 1rem;
    }
    
    .problem-content p, .solution-content p {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 80px 0 60px 0;
        min-height: 100vh;
    }
    
    .hero-headline {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .eyebrow-text {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .hero-problem-solution {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .problem-text,
    .solution-text {
        font-size: 1.1rem;
    }
    
    .solution-arrow {
        font-size: 1.8rem;
    }
    
    .hero-main-cta {
        padding: 18px 40px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-subtitle {
        font-size: 0.8rem;
    }
    
    .proof-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .hero-main-content {
        padding: 0 15px;
    }
    
    .hero-social-proof {
        padding: 20px 15px;
    }
}
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 10px;
    }
    
    .sticky-cta {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
    }
    
    .sticky-cta.show {
        transform: none;
        transform: none;
    }
    
    .glow-btn {
        width: 100%;
    }
    
    .glow-btn-small {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn {
    transition: var(--transition);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-success {
    background: var(--gradient-primary);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #1aa085 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Loading Animation for Counters */
.counter {
    transition: var(--transition);
}

/* Navbar Enhancement */
.navbar {
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Card Enhancements */
.card {
    border: none;
    transition: var(--transition);
}

/* Form Elements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Footer Styles */
.disclaimer-text {
    font-size: 0.7rem;
    color: #adb5bd;
    line-height: 1.4;
    margin-bottom: 8px;
}

.footer-links {
    font-size: 0.7rem;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-separator {
    color: #6c757d;
    margin: 0 8px;
}