/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a38 50%, #1a472a 100%);
    min-height: 100vh;
    position: relative;
}

/* Add forest background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(72, 187, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 178, 172, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(72, 187, 120, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: forestSway 20s ease-in-out infinite;
}

@keyframes forestSway {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(10px) translateY(-5px); }
    66% { transform: translateX(-5px) translateY(5px); }
}

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

/* Header Styles */
.header {
    background: rgba(26, 71, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #48bb78;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-family: 'Creepster', cursive;
    color: #f7fafc;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.2rem;
}

.tagline {
    color: #48bb78;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover {
    color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
    transform: translateY(-2px);
}

.login-btn {
    background: #48bb78;
    color: white !important;
    font-weight: 600;
}

.login-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.8) 0%, rgba(45, 90, 56, 0.9) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f7fafc;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #48bb78;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Signup Form */
.signup-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #48bb78;
    position: relative;
    z-index: 10;
}

.signup-form h3 {
    color: #1a472a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.form-subtitle {
    color: #4a5568;
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #48bb78;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
    transform: translateY(-1px);
}

.signup-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.disclaimer {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.08);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f7fafc;
    margin-bottom: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: #48bb78;
    box-shadow: 0 15px 35px rgba(72, 187, 120, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #1a472a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: rgba(26, 71, 42, 0.3);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #48bb78;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-style: italic;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    color: #48bb78;
    font-weight: 600;
    text-align: right;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a38 100%);
    text-align: center;
}

.cta h2 {
    color: #f7fafc;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta p {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(72, 187, 120, 0.4);
}

/* Footer */
.footer {
    background: #1a472a;
    color: #e2e8f0;
    padding: 3rem 0 1rem;
    border-top: 3px solid #48bb78;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #48bb78;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #48bb78;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #2d5a38;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

.fun-disclaimer {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #718096;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease-in-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 3px solid #48bb78;
    border-radius: 15px;
    width: 80%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.5s ease-in-out;
}

.modal-content h2 {
    color: #1a472a;
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content ul li {
    margin-bottom: 1rem;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.modal-content ul li::before {
    content: '🌲';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

.modal-content strong {
    color: #2d5a38;
}

.modal-footer-text {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: #718096;
}


.close-btn {
    color: #aaa;
    float: right;
    font-size: 38px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #1a472a;
    text-decoration: none;
    cursor: pointer;
}

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

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .signup-form {
        padding: 1.5rem;
    }
}

/* Fun animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.signup-btn:active {
    animation: bounce 0.6s;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a472a;
}

::-webkit-scrollbar-thumb {
    background: #48bb78;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38a169;
}