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

:root {
    /* Colors - Agro Premium Theme */
    --primary: #22c55e;        /* Vibrant Green */
    --brand-green: #15803d;   
    --bg-dark: #020617;        /* Deeper Navy/Black */
    --bg-card: rgba(15, 23, 42, 0.8); 
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --gold: #eab308;
    --alert: #ef4444;       /* Red for Alerts */
    --warning: #f59e0b;     /* Orange for Warning */

    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-max-width: 1200px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--brand-green));
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.btn-whatsapp-glow {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-glow::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Navigation */
nav {
    height: 100px;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo-badge {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-badge img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 0 60px;
    background: linear-gradient(to right, var(--bg-dark) 45%, rgba(2, 6, 23, 0.6) 75%, transparent 100%), 
                url('capa.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.h-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1f5f9;
}

.h-feat i { color: var(--primary); }

.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-main-img {
    width: 100%;
    max-height: 500px; /* Prevents image from pushing content down excessively */
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* CPR Section Styles */
.cpr-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(34, 197, 94, 0.03) 100%);
}

.alert-box {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid var(--alert);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.warning-text {
    color: var(--warning);
    font-weight: 700;
}

.cpr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.highlight-box {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.1);
    padding: 30px;
    border-radius: 16px;
    height: 100%;
}

.lang-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(234, 179, 8, 0.1);
    color: var(--gold);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .cpr-grid { grid-template-columns: 1fr; }
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-tag {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 20px;
    color: #fff;
    max-width: 800px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
}

/* Problem Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

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

/* Feature Grid with Images */
.feature-images {
    display: block; /* Simpler for a single main image */
    width: 100%;
}

.feat-img-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-color);
}

.feat-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feat-img-item:hover img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.img-overlay h4 {
    color: #fff;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px; top: 40px; bottom: -50px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before { display: none; }

.t-number {
    width: 45px; height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.t-content {
    background: rgba(255,255,255,0.02);
    padding: 25px 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-features { justify-content: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 640px) {
    .hero-features { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .feature-images { grid-template-columns: 1fr; }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.aos-animate {
    opacity: 1;
    transform: translateY(0);
}
