/* =============================================
   NUTRIZEN · index.css
   ============================================= */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.hero {
    margin-top: 80px;
    padding: 5rem 2rem 4rem;
    max-width: 1400px;
    margin-left: auto; margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 85vh;
    animation: fadeIn 1s ease-out;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--sage-800);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: slideUp 0.8s ease-out 0.2s both;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--neutral-600);
    margin-bottom: 1rem;
    font-weight: 400;
    animation: slideUp 0.8s ease-out 0.4s both;
}
.hero-description {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: slideUp 0.8s ease-out 0.6s both;
}
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    animation: slideUp 0.8s ease-out 0.8s both;
}
.hero-image {
    position: relative;
    animation: slideUp 0.8s ease-out 0.4s both;
}
.hero-image-wrapper {
    position: relative;
    border-radius: 300px 300px 20px 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 8px solid var(--sage-100);
}
.hero-image img { width: 100%; height: auto; display: block; }
.floating-badge {
    position: absolute;
    bottom: 30px; right: -20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: floatBadge 3s ease-in-out infinite;
    text-align: center;
}
.badge-icon { font-size: 2rem; color: var(--peach-400); margin-bottom: 0.5rem; }
.floating-badge h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--sage-700);
    margin-bottom: 0.3rem;
}
.floating-badge p { color: var(--neutral-600); font-size: 1rem; }

/* Stats */
.stats {
    background: white;
    padding: 3rem 2rem;
    margin: 4rem auto;
    max-width: 1400px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-icon { font-size: 3rem; color: var(--sage-500); margin-bottom: 1rem; }
.stat-item h3 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--sage-600);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.stat-item p { font-size: 1.15rem; color: var(--neutral-600); font-weight: 500; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid var(--sage-100);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--sage-300);
}
.feature-icon { font-size: 3.5rem; color: var(--sage-600); margin-bottom: 1.5rem; }
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--sage-800);
    margin-bottom: 1rem;
    font-weight: 600;
}
.feature-card p { color: var(--neutral-600); font-size: 1.1rem; line-height: 1.7; }

/* Services preview */
.services-preview {
    background: linear-gradient(135deg, var(--sage-100) 0%, var(--sage-50) 100%);
    border-radius: 40px;
    padding: 5rem 3rem;
    margin: 4rem auto;
}
.services-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.service-preview-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s;
    border: 2px solid transparent;
}
.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: var(--sage-300);
}
.service-preview-icon { font-size: 3.5rem; color: var(--sage-600); margin-bottom: 1.5rem; }
.service-preview-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--sage-800);
    margin-bottom: 1rem;
    font-weight: 600;
}
.service-preview-card p {
    color: var(--neutral-600);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.link-arrow { display: inline-flex; align-items: center; color: var(--sage-600); font-size: 1.2rem; transition: transform 0.3s; }
.service-preview-card:hover .link-arrow { transform: translateX(5px); }

/* Testimonials */
.testimonials-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.quote-icon { font-size: 3rem; color: var(--sage-200); line-height: 1; margin-bottom: 1rem; }
.testimonial-text {
    font-size: 1.15rem;
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.3rem;
}
.author-info p { font-weight: 600; color: var(--sage-700); }
.rating { color: #FFB800; font-size: 1rem; margin-top: 0.3rem; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .hero-cta-group { justify-content: center; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-cta-group { flex-direction: column; }
    .services-grid-preview,
    .testimonials-grid-preview,
    .features-grid { grid-template-columns: 1fr; }
    .floating-badge { right: 50%; transform: translateX(50%); }
}