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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Presentation */
.presentation {
    padding: 30px;
    text-align: center;
}

.presentation h2 {
    font-size: 1.8rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.presentation p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 150px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 30px;
    background: #fafafa;
}

.map-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.instructions {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
}

#map {
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Email Section */
.email-section {
    padding: 30px;
    background: white;
}

.email-section h3 {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.email-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

#emailForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#emailInput {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#emailInput:focus {
    border-color: #4CAF50;
}

/* Time Input Group */
.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-input-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

#timeInput {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

#timeInput:focus {
    border-color: #4CAF50;
}

/* Gender Input Groups */
.gender-input-group,
.gender-preference-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gender-input-group label,
.gender-preference-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

#genderInput,
#genderPreferenceInput {
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
}

#genderInput:focus,
#genderPreferenceInput:focus {
    border-color: #4CAF50;
}

/* Consent Box */
.consent-box {
    background: #e8f5e9;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 15px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.consent-label span {
    color: #333;
}

.consent-label a {
    color: #4CAF50;
    text-decoration: underline;
    font-weight: 600;
}

.consent-label a:hover {
    color: #45a049;
}

/* Success Section */
.success-section {
    padding: 30px;
}

.success-message {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border-radius: 10px;
    border: 2px solid #4CAF50;
}

.success-message .icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.5rem;
    color: #155724;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1rem;
    color: #155724;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #ddd;
}

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

/* Footer */
footer {
    background: #f5f5f5;
    padding: 30px 20px;
    text-align: center;
    border-top: 3px solid #4CAF50;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #45a049;
    text-decoration: underline;
}

.footer-links .separator {
    color: #999;
}

.footer-info {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.footer-contact {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.footer-contact a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-project {
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-style: italic;
}

.footer-project a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
}

.footer-project a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 10px;
    }

    header {
        padding: 20px;
    }

    .presentation {
        padding: 20px;
    }

    .presentation h2 {
        font-size: 1.4rem;
    }

    .presentation p {
        font-size: 1rem;
    }

    .map-section {
        padding: 20px;
    }

    #map {
        height: 300px;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        min-width: auto;
    }

    .map-controls {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-links .separator {
        display: none;
    }
}
