/* --- BRAND VARIABLES --- */
:root {
    --primary: #82b436;
    --primary-dark: #6e9a2d;
    --dark: #111111;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --gray: #666666;
    --border-color: #eeeeee;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--white); 
    color: var(--dark); 
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
.highlight { color: var(--primary); }
.eyebrow { 
    font-size: 0.85rem; 
    font-weight: 800; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    display: block; 
    margin-bottom: 15px; 
}
.section-title { 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 25px; 
}

/* --- BUTTONS --- */
.btn-main, .get-started-btn, .btn-consultation {
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--primary);
    cursor: pointer;
}
.btn-outline {
    background: transparent;
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid #ddd;
}
.btn-main:hover, .get-started-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(130, 180, 54, 0.3);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- HERO SECTION --- */
.home-hero { padding: 180px 0 100px; text-align: center; }
.brand-name { font-size: clamp(3.5rem, 8vw, 5.5rem); margin-bottom: 20px; }
.hero-subtext { max-width: 650px; margin: 0 auto 40px; font-size: 1.2rem; color: var(--gray); }
.hero-btns { display: flex; justify-content: center; gap: 20px; }

/* --- STATS BAR --- */
.stats-bar {
    background: var(--dark); /* Deep dark background from your brand variables */
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.stats-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns for Desktop */
    gap: 40px;
    text-align: center;
    align-items: center;
}

.unit {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--primary);
    margin-left: 2px;
}
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Fluid typography: adjusts size based on screen */
    font-weight: 800;
    color: var(--primary); /* Brand Green */
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline; /* Keeps symbols aligned with the bottom of numbers */
}
.stat-item p {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em; /* Pro agency spacing */
    color: rgba(255, 255, 255, 0.6); /* Subtle contrast */
    text-transform: uppercase;
}
/* --- PREMIUM WHY SECTION (THE GREEN FRAMES) --- */
.premium-why { padding: 100px 0; }
.premium-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.benefit-item { margin-bottom: 15px; font-weight: 700; display: flex; gap: 10px; color: var(--primary); }
.benefit-item span { color: var(--dark); }

.premium-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* The Frame Logic Requested */
.p-card {
    padding: 35px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--primary); /* Green Frame */
    transition: var(--transition-smooth);
    display: flex;
    gap: 25px;
    cursor: pointer;
}

.p-card:hover {
    background: var(--primary);
    transform: translateX(12px);
    box-shadow: 0 20px 40px -10px var(--primary-glow);
}
.p-card h3 { margin-bottom: 8px; transition: var(--transition); }
.p-card p { font-size: 0.95rem; color: var(--gray); transition: var(--transition); }
.p-card:hover h3, .p-card:hover p { color: white; }
.p-icon { font-size: 2rem; }

/* --- ROADMAP SECTION --- */
.roadmap-section { padding: 100px 0; background: var(--light-bg); }
.roadmap-header { text-align: center; margin-bottom: 60px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.step-card {
    padding: 50px 40px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--primary); /* Green Frame */
    position: relative;
    transition: var(--transition-smooth);
}
.step-card:hover {
    background: var(--primary);
    transform: translateY(-12px);
    box-shadow: 0 30px 50px -15px var(--primary-glow);
}

.step-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.step-num { font-size: 4rem; font-weight: 900; color: rgba(130, 180, 54, 0.1); position: absolute; top: 15px; right: 25px; }
.step-card:hover .step-num {
    opacity: 0.3; /* Keeps the number visible but subtle on green */
}

.p-icon, .quote-icon {
    color: var(--primary);
    transition: var(--transition-smooth);
}

/* --- TESTIMONIALS SLIDER --- */
.troozon-feedback { padding: 100px 0; overflow: hidden; }
.feedback-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }

/* Infinite Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* Shift by 50% width + half gap */
}

.slider-viewport {
    overflow: hidden;
    position: relative;
    /* Mask Image for Fade Effect on Both Sides */
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content; /* Ensure track takes full width of children */
    animation: scroll 40s linear infinite; /* Smooth continuous scroll */
    will-change: transform; /* Performance optimization */
}

.slider-track:hover {
    animation-play-state: paused; /* Pause on hover for readability */
}

.f-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--primary); /* Green Frame */
    transition: var(--transition-smooth);
    flex: 0 0 360px; /* Fits 3 cards perfectly in 1200px container */
}

.f-card:hover {
    background: var(--primary);
    transform: scale(1.02);
}

.f-card:hover .f-text,
.f-card:hover h4,
.f-card:hover span,
.f-card:hover .quote-icon {
    color: #ffffff;
}


/* Missing styles reconstructed */
.f-user { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.f-user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.f-info h4 { font-size: 1rem; margin-bottom: 2px; }
.f-info span { font-size: 0.85rem; color: var(--gray); }

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 992px) {
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-flex {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Adjustments */
    .home-hero {
        padding: 140px 0 60px;
    }
    .brand-name {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    /* Stack Grids */
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .stats-flex {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Feedback Slider */
    .f-card {
        min-width: 85vw; /* Safe width for mobile infinite scroll */
        padding: 25px;
    }
    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    /* .slider-nav removed */
    
    /* Adjust container padding */
    .container {
        padding: 0 20px;
    }
    
    /* Adjust typography */
    .section-title {
        font-size: 2rem;
    }
    .step-card {
        padding: 30px 20px;
    }
}
