:root {
    --sky-blue: #87CEEB;
    --field-green: #388E3C;
    --drone-orange: #FF9800;
    --data-purple: #9C27B0;
    --white: #ffffff;
    --dark-green: #2E7D32;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--sky-blue) 0%, #B0E0E6 100%);
    color: var(--field-green);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(56, 142, 60, 0.2);
}

.top-bar p {
    color: var(--field-green);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(56, 142, 60, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--field-green);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--field-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--drone-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--drone-orange);
}

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--field-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--drone-orange);
    color: white;
    border-color: var(--drone-orange);
}

.btn-primary:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--field-green);
    border-color: var(--field-green);
}

.btn-outline:hover {
    background: var(--field-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 142, 60, 0.4);
}

/* Drone Swarm Container */
.drone-swarm-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, rgba(135, 206, 235, 0.3) 0%, rgba(56, 142, 60, 0.2) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.drone {
    position: absolute;
    width: 40px;
    height: 40px;
    transition: transform 0.1s linear;
}

.drone svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--field-green);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid rgba(56, 142, 60, 0.2);
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--drone-orange);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--field-green);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-green);
    font-size: 1rem;
    line-height: 1.7;
}

/* Field Simulation */
.field-simulation {
    padding: 5rem 0;
}

.simulation-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#fieldCanvas {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(135, 206, 235, 0.4) 0%, rgba(56, 142, 60, 0.3) 100%);
    display: block;
}

/* Footer */
.footer {
    background: rgba(56, 142, 60, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid rgba(56, 142, 60, 0.4);
}

.footer p {
    color: var(--field-green);
    font-weight: 600;
    font-size: 1rem;
}

.footer-link {
    color: var(--drone-orange);
    text-decoration: none;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #F57C00;
    background: rgba(255, 152, 0, 0.25);
    text-decoration: underline;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .drone-swarm-container {
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

