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

html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d4821;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0d4821;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d4821 0%, #16613a 50%, #22744d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="5" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="15" r="1.2" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    padding: 3rem 2rem;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
    letter-spacing: 0.02em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.hero-image {
    flex: 1;
    position: relative;
    padding: 2rem;
}

.farmland-bg {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.farmland-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><linearGradient id="sky" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%2387ceeb"/><stop offset="100%" style="stop-color:%23e0f2fe"/></linearGradient></defs><rect width="800" height="300" fill="url(%23sky)"/><circle cx="650" cy="80" r="40" fill="%23fbbf24"/><path d="M0,250 Q200,220 400,250 T800,250 L800,600 L0,600 Z" fill="%2322c55e"/><path d="M100,350 Q200,320 300,350 T500,350" stroke="%236b7280" stroke-width="2" fill="none"/><rect x="600" y="300" width="40" height="60" fill="%23a3a3a3"/><polygon points="600,300 620,280 640,300" fill="%23ef4444"/></svg>') center/cover;
}

/* Section Styling */
section {
    padding: 6rem 0;
}

section:nth-child(even) {
    background-color: #fafafa;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #0d4821;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h3 {
    font-weight: 600;
    color: #1a1a1a;
}

p {
    color: #4a5568;
    line-height: 1.6;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.problem-item {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.problem-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.problem-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
}

.problem-item h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: #0d4821;
    font-weight: 600;
}

.problem-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Solution Section */
#solution {
    background: #f8fafc;
}

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

.solution-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.solution-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.device-container {
    text-align: center;
}

.scanner-device {
    width: 200px;
    height: 280px;
    background: white;
    border-radius: 16px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    border: 2px solid #e5e7eb;
}

.device-screen {
    width: 100%;
    height: 120px;
    background: #0d4821;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.device-body {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.sensor {
    width: 16px;
    height: 16px;
    background: #f97316;
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-icon {
    font-size: 1.25rem;
    background: #0d4821;
    color: white;
    padding: 8px;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h4 {
    color: #0d4821;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.impact-item {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.impact-number {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.impact-item h3 {
    font-size: 1.5rem;
    color: #0d4821;
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Market Section */
.market-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.market-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat p {
    font-weight: 500;
    color: #4a5568;
}

.market-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

/* Business Model */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.business-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0d4821;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.business-item h3 {
    color: #0d4821;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.business-item p {
    line-height: 1.6;
    color: #4a5568;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #0d4821 0%, #16613a 100%);
    color: white;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="5" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="15" r="1.2" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact h2 {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-item strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.contact-item ul {
    list-style: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.contact-item li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.demo-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-form h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.demo-form select {
    color: white;
}

.demo-form select option {
    background: #1a1a1a;
    color: white;
}

/* Footer */
footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    nav {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .solution-showcase,
    .market-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .problem-grid,
    .impact-grid,
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .problem-item,
    .impact-item,
    .business-item {
        padding: 2rem 1.5rem;
    }
    
    .demo-form {
        padding: 2rem 1.5rem;
    }
}
