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

:root {
    --primary-green: #2d5a27;
    --primary-green-hover: #1e3d1a;
    --light-bg: #f8faf9;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --muted-text: #64748b;
    --accent-blue: #6366f1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

/* HEADER */
header {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background: var(--primary-green-hover);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-ctas .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cta-secondary:hover {
    background: var(--primary-green);
    color: var(--white) !important;
}

/* FEATURES SECTION */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-card p {
    color: var(--muted-text);
    line-height: 1.8;
}

/* BENEFITS SECTION */
.benefits {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.benefits .container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.benefit-text h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

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

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

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

.step-card {
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-image:hover img {
    transform: scale(1.05);
}

.step-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(45, 90, 39, 0.3);
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-green);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 10;
}

.step-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.step-content p {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

.step-badge {
    display: inline-block;
    background: rgba(45, 90, 39, 0.1);
    color: var(--primary-green);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
    width: fit-content;
}

/* MODAL FOR IMAGE ENLARGEMENT */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-green);
    color: var(--white);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* INTEGRATION SECTION */
.integrations {
    padding: 5rem 2rem;
    background: var(--white);
}

.integrations .container {
    max-width: 1200px;
    margin: 0 auto;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.integration-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

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

/* CTA SECTION */
.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e3d1a 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary-green);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .cta-button:hover {
    background: var(--light-bg);
}

/* FOOTER */
footer {
    background: #0d1117;
    color: #a0aec0;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 1rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav {
        display: none;
    }

    .benefits-content {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}
.form-message--success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.form-message--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
