/* Inter Font */
* {
    font-family: 'Inter', sans-serif;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Links - Square Blocks Style */
.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #EBF4DD;
    color: #3B4953;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    background-color: #90AB8B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(90, 171, 139, 0.3);
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    background-color: #EBF4DD;
    color: #3B4953;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.nav-link-mobile:hover {
    background-color: #90AB8B;
    color: white;
}

/* Feature Cards - Unique Block Style */
.feature-card {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(90, 171, 139, 0.15);
    background: linear-gradient(135deg, #EBF4DD 0%, white 100%);
}

/* Benefit Cards - Unique Block Style */
.benefit-card {
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

.benefit-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(even) {
    animation-delay: 0.2s;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(90, 171, 139, 0.2);
    border-left: 4px solid #90AB8B;
}

/* Ingredient Items - Unique Block Style */
.ingredient-item {
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease-out;
}

.ingredient-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ingredient-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ingredient-item:nth-child(3) {
    animation-delay: 0.3s;
}

.ingredient-item:nth-child(4) {
    animation-delay: 0.4s;
}

.ingredient-item:nth-child(5) {
    animation-delay: 0.5s;
}

.ingredient-item:hover {
    transform: translateX(8px);
    background-color: white;
    box-shadow: 0 8px 16px rgba(90, 171, 139, 0.15);
}

/* Review Cards - Unique Block Style */
.review-card {
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out;
}

.review-card:nth-child(1) {
    animation-delay: 0.1s;
}

.review-card:nth-child(2) {
    animation-delay: 0.2s;
}

.review-card:nth-child(3) {
    animation-delay: 0.3s;
}

.review-card:nth-child(4) {
    animation-delay: 0.4s;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(90, 171, 139, 0.2);
    background: linear-gradient(135deg, white 0%, #EBF4DD 100%);
}

/* FAQ Accordion - Unique Block Style */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(90, 171, 139, 0.15);
}

/* Form Input Focus States */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 171, 139, 0.1);
}

/* Button Hover Effects */
button[type="submit"],
a[href="#contact-form"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:hover::before,
a[href="#contact-form"]:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button[type="submit"]:hover::before,
a[href="#contact-form"]:hover::before {
    width: 300px;
    height: 300px;
}

/* Cookie Banner Animation */
#cookie-banner.show {
    transform: translateY(0) !important;
}

/* Loading Animation for Images */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.image-placeholder {
    background: linear-gradient(
        90deg,
        #EBF4DD 0%,
        #90AB8B 50%,
        #EBF4DD 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Z-Shape Layout Enhancement */
@media (min-width: 768px) {
    /* Hero section creates first Z-line */
    section:first-of-type {
        position: relative;
    }
    
    /* Features create horizontal line */
    section:nth-of-type(2) {
        position: relative;
    }
    
    /* Benefits create diagonal */
    section:nth-of-type(3) {
        position: relative;
    }
}

/* Soft Pastel Design Enhancements */
body {
    background: linear-gradient(135deg, #EBF4DD 0%, #f5f9f0 100%);
}

/* Smooth Transitions */
* {
    transition-property: color, background-color, border-color, transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #EBF4DD;
}

::-webkit-scrollbar-thumb {
    background: #90AB8B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5A7863;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .benefit-card,
    .review-card {
        animation-duration: 0.4s;
    }
}

/* Print Styles */
@media print {
    #cookie-banner,
    header {
        display: none;
    }
}

