@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --bg-color: #FDFCF0;
    --primary-color: #4A6741;
    --accent-color: #E8A856;
    --text-dark: #2D2D2D;
    --text-light: #FDFCF0;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(253, 252, 240, 0.7), rgba(253, 252, 240, 0.7)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #555;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 103, 65, 0.2);
}

/* Features */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 3rem;
    background: var(--bg-color);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Products */
.products {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
}

.product-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.product-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    font-size: 2.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .steps {
        flex-direction: column;
    }
}
