/* AgriCore Software - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #1e3a5f, #2a4a6b);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 250px;
    height: auto;
    max-height: 200px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.logo-text .core {
    color: #8bc34a;
}

.logo-subtitle {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #8bc34a;
}

.login-btn {
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(139, 195, 74, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #7cb342, #689f38);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(42, 74, 107, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f9fa" width="1200" height="600"/><path fill="%238bc34a" opacity="0.15" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/><circle cx="200" cy="150" r="3" fill="%238bc34a" opacity="0.3"/><circle cx="800" cy="100" r="2" fill="%238bc34a" opacity="0.3"/><circle cx="1000" cy="200" r="2.5" fill="%238bc34a" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 70px;
}

.btn-primary {
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.5);
    background: linear-gradient(135deg, #7cb342, #689f38);
}

.btn-secondary {
    background: linear-gradient(135deg, #006666, #009999);
    color: white;
    border: 2px solid white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a5f;
    transform: translateY(-2px);
}

.btn-select {
    background: linear-gradient(135deg, #006666, #009999);
    color: white;
    border: 2px solid white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-select:hover {
    background: white;
    color: #1e3a5f;
    transform: translateY(-2px);
}

/* Features Grid */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #8bc34a;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3.5rem;
    color: #8bc34a;
    margin-bottom: 25px;
    background: rgba(139, 195, 74, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-card h3 {
    font-size: 1.6rem;
    color: #1e3a5f;
    font-weight: 600;
    margin-bottom: 18px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Login Section */
.login-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f, #2a4a6b);
    color: white;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.login-info h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.login-info p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-top: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-list i {
    color: #8bc34a;
    margin-right: 15px;
    width: 20px;
}

.login-form {
    background: rgba(255,255,255,0.1);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.3);
}

.login-submit {
    width: 100%;
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-submit:hover {
    background: linear-gradient(135deg, #7cb342, #689f38);
    transform: translateY(-2px);
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #8bc34a;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid #e8f5e8;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: #8bc34a;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 195, 74, 0.2);
}

.pricing-card:hover {
    border-color: #8bc34a;
    box-shadow: 0 15px 35px rgba(139, 195, 74, 0.15);
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    color: white;
    margin: -45px -35px 30px;
    padding: 15px;
    border-radius: 18px 18px 0 0;
    font-weight: 600;
}

.price {
    font-size: 3.5rem;
    color: #8bc34a;
    font-weight: bold;
    margin: 25px 0;
}

.price-period {
    color: #666;
    font-size: 1.1rem;
    font-weight: normal;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #1e3a5f;
    font-weight: 600;
}

.pricing-card ul {
    text-align: left;
    margin: 35px 0;
    list-style: none;
}

.pricing-card li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-weight: bold;
}

/* Footer */
footer {
    background: #1e3a5f;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #8bc34a;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #8bc34a;
}

.footer-section p {
    color: #ccc;
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid #2a4a6b;
    padding-top: 30px;
    text-align: center;
    color: #aaa;
}

.footer-bottom a {
    color: #8bc34a;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .login-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}