* {
    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: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

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

.logo-image {
    max-width: 300px;
    height: auto;
}

.logo h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

main {
    padding: 40px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.form-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e3a8a;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.875rem;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

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

.success-message p {
    color: #047857;
    margin-bottom: 20px;
}

.dashboard-link {
    display: inline-block;
    padding: 12px 24px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.dashboard-link:hover {
    background: #059669;
}

.error-message {
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    color: #991b1b;
}

.features {
    margin-top: 50px;
}

.features h3 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature {
    background: #f1f5f9;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.feature h4 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: #64748b;
    font-size: 0.95rem;
}

footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .logo-image {
        max-width: 200px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 20px;
    }
}
