/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background: white;
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header and Logo */
header {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 270px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.hero {
    text-align: center;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
}

.hero h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 700;
}

.subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Signup section */
.signup-section {
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
}

.signup-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

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

/* Form styles */
.signup-form {
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    position: relative;
}

.signup-form input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fff;
}

.signup-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.signup-form input::placeholder {
    color: #999;
}

.signup-btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

.signup-btn:active {
    transform: translateY(-1px);
}

/* Success message */
.success-message {
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    border: 2px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-weight: 600;
    animation: fadeIn 0.3s ease-in;
}

.success-message p {
    margin: 0;
    font-size: 1rem;
}

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

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #e1e8ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ffd700 100%);
    border-radius: 15px 15px 0 0;
    color: white;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 0.8rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 5px;
    }
    
    header {
        margin-bottom: 5px;
    }
    
    .logo {
        max-width: 240px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .hero, .signup-section {
        padding: 15px 20px;
    }
    
    .signup-section h2 {
        font-size: 1.2rem;
    }
    
    .signup-section p {
        font-size: 0.8rem;
    }
    
    .signup-form {
        gap: 10px;
        max-width: 300px;
    }
    
    .signup-form input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .signup-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 3px;
    }
    
    header {
        margin-bottom: 3px;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .hero, .signup-section {
        padding: 12px 15px;
    }
    
    .signup-section h2 {
        font-size: 1.1rem;
    }
    
    .signup-section p {
        font-size: 0.75rem;
    }
    
    .signup-form {
        max-width: 280px;
    }
    
    .signup-form input {
        padding: 7px 10px;
        font-size: 0.8rem;
    }
    
    .signup-btn {
        padding: 7px 18px;
        font-size: 0.85rem;
    }
    
    /* Modal responsive */
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
}
