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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #1a1a1a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.brand svg {
    display: block;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #666;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 32px;
    font-family: Georgia, 'Times New Roman', serif;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 40px;
    max-width: 540px;
}

.btn-yellow {
    background: #FFC107;
    color: #1a1a1a;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-yellow:hover {
    background: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-signin {
    background: #1B4332;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3);
}

.btn-signin:hover {
    background: #0F2E20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.4);
}

.hero-right {
    position: relative;
}

.image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 600px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* How It Works Section */
.how-it-works {
    background: #EBE6DD;
    padding: 100px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 24px auto 24px;
    max-width: 1100px;
    font-family: Georgia, 'Times New Roman', serif;
}

.how-it-works .subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
    text-align: left;
}

.feature {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-icon svg {
    display: block;
}

.feature h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-family: Georgia, 'Times New Roman', serif;
}

.feature p {
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
}

/* For Buyers Section */
.for-buyers {
    background: #ffffff;
    padding: 100px 0;
}

.for-buyers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.for-buyers-left {
    max-width: 560px;
}

.section-label {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.for-buyers h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 32px;
    font-family: Georgia, 'Times New Roman', serif;
}

.for-buyers .description {
    font-size: 17px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 40px;
}

.for-buyers-right .image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 650px;
}

.produce-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* For Farmers Section */
.for-farmers {
    background: #EBE6DD;
    padding: 100px 0;
}

.for-farmers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.for-farmers-right {
    max-width: 560px;
}

.for-farmers h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 32px;
    font-family: Georgia, 'Times New Roman', serif;
}

.for-farmers .description {
    font-size: 17px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 40px;
}

.for-farmers-left .image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 650px;
}

/* Contact Section */
.contact {
    background: #ffffff;
    padding: 100px 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 24px 0 16px;
    font-family: Georgia, 'Times New Roman', serif;
}

.contact .subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 48px;
}

.contact-form {
    text-align: left;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.required {
    color: #FFC107;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.input-wrapper input:focus {
    border-color: #FFC107;
}

.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s;
}

textarea:focus {
    border-color: #FFC107;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 16px;
    color: #1a1a1a;
    cursor: pointer;
    margin: 0;
}

.btn-submit {
    width: auto;
    padding: 14px 48px;
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #1B4332;
    color: #ffffff;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 100px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand svg {
    display: block;
}

.footer-brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.footer-tagline {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-subscribe {
    background: #ffffff;
    color: #1B4332;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.footer-privacy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-privacy a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #FFC107;
}

.social-links svg {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-text h1 {
        font-size: 56px;
    }

    .hero-right .image-container {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .how-it-works h2 {
        font-size: 48px;
    }

    .for-buyers-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .for-buyers h2 {
        font-size: 48px;
    }

    .for-buyers-right .image-container {
        height: 500px;
    }

    .for-farmers-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .for-farmers h2 {
        font-size: 48px;
    }

    .for-farmers-left .image-container {
        height: 500px;
    }
}

@media (max-width: 900px) {
    /* Fix header transparency on mobile */
    header {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .container {
        padding: 0 24px;
    }

    .navbar {
        position: relative;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: flex;
    }

    /* Hide and transform nav-right into mobile menu */
    .nav-right {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        gap: 20px;
    }

    .nav-right.active {
        max-height: 500px;
        opacity: 1;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .nav-right .btn-yellow {
        width: 100%;
        text-align: center;
    }

    .nav-right .btn-signin {
        width: 100%;
        text-align: center;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .how-it-works h2 {
        font-size: 38px;
    }

    .feature h3 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-right .image-container {
        height: 400px;
    }

    .for-buyers {
        padding: 60px 0;
    }

    .for-buyers h2 {
        font-size: 38px;
    }

    .for-buyers-right .image-container {
        height: 400px;
    }

    .for-farmers {
        padding: 60px 0;
    }

    .for-farmers h2 {
        font-size: 38px;
    }

    .for-farmers-left .image-container {
        height: 400px;
    }

    .contact {
        padding: 60px 0;
    }

    .contact h2 {
        font-size: 38px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .how-it-works h2 {
        font-size: 32px;
    }

    .feature h3 {
        font-size: 24px;
    }

    .for-buyers h2 {
        font-size: 32px;
    }

    .for-farmers h2 {
        font-size: 32px;
    }

    .contact h2 {
        font-size: 32px;
    }

    .hero-right .image-container,
    .for-buyers-right .image-container,
    .for-farmers-left .image-container {
        height: 350px;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }
}

