* {
    margin: 0;
    padding: 0;
}

*, *:after, *:before {
    box-sizing: border-box;
}

*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 130, 31, 0.3);
    border-color: #f6821f !important;
    transition: all 0.2s ease;
}

html {
    font-size: 16px;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003682 0%, #001f4d 100%);
    background-color: #f8fbfb;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    overflow-x: hidden;
    line-height: 1.4;
    height: 100vh;
    width: 100vw;
    padding: 1rem;
}

main {
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6821f 0%, #ff9c4a 100%);
    z-index: 1;
}

form {
    position: relative;
    z-index: 2;
}

h1 {
    color: #003682;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 54, 130, 0.1);
}

blockquote {
    display: block;
    font-size: 0.85rem;
    padding: 1rem;
    border-left: 4px solid #f6821f;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    background: linear-gradient(to right, rgba(246, 130, 31, 0.05), transparent);
    border-radius: 0 4px 4px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

blockquote p {
    margin-bottom: 0.5rem;
    color: #555;
}

blockquote p:last-child {
    margin-bottom: 0;
}

.input {
    display: block;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
}

.input label,
.checklist > label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #003682;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.input input,
.input select,
.input textarea {
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    min-height: 2.5rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.input input:hover,
.input select:hover,
.input textarea:hover {
    border-color: #f6821f;
    box-shadow: 0 2px 8px rgba(246, 130, 31, 0.1);
}

.input input:focus,
.input select:focus,
.input textarea:focus {
    border-color: #f6821f;
    box-shadow: 
        0 0 0 3px rgba(246, 130, 31, 0.15),
        0 2px 8px rgba(246, 130, 31, 0.1);
    transform: translateY(-1px);
}

.input::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 54, 130, 0.1), transparent);
}

.input:last-child::after {
    display: none;
}

.checklist {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.checklist ul {
    margin-top: 0.75rem;
}

.checklist li {
    list-style: none;
    padding: 0.5rem 0 0.5rem 2rem;
    margin-bottom: 0.25rem;
    position: relative;
    transition: all 0.2s ease;
}

.checklist li:hover {
    background: rgba(246, 130, 31, 0.05);
    border-radius: 4px;
}

.checklist input {
    position: absolute;
    left: 0.5rem;
    top: 0.7rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    margin-right: 0.5rem;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.checklist input:checked {
    background-color: #f6821f;
    border-color: #f6821f;
}

.checklist label {
    cursor: pointer;
    color: #555;
}

.checklist label:hover {
    color: #003682;
}

button {
    width: 100%;
    display: block;
    cursor: pointer;
    margin-top: 2rem;
    background: linear-gradient(135deg, #f6821f 0%, #e67300 100%);
    border-radius: 8px;
    font-weight: 700;
    padding: 1rem;
    outline: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px rgba(246, 130, 31, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

button:hover {
    background: linear-gradient(135deg, #ff8c2a 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 12px rgba(246, 130, 31, 0.3),
        0 3px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

button:hover::before {
    left: 100%;
}

button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(246, 130, 31, 0.2),
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

button:focus {
    box-shadow: 
        0 0 0 3px rgba(246, 130, 31, 0.3),
        0 4px 6px rgba(246, 130, 31, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 54, 130, 0.1);
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    main {
        padding: 1.75rem;
        margin: 0.5rem;
        border-radius: 10px;
    }
    
    body {
        padding: 0.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}
