/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a1628;
    color: #ffffff;
    line-height: 1.6;
}

/* Image Sections */
.hero-section,
.content-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Form Section */
.form-section {
    background: linear-gradient(180deg, #0a1628 0%, #1a2d4a 100%);
    padding: 60px 20px 100px;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 16px;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.required {
    color: #f87171;
}

.form-group input {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: #94a3b8;
    cursor: pointer;
}

.submit-btn {
    margin-top: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-notice {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(245, 158, 11, 0.8);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #ffffff;
}

/* Success Modal Icon */
.success-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Duplicate Modal Icon */
.duplicate-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    font-weight: 700;
}

/* Error Modal Icon */
.error-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.modal-content p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.modal-btn {
    padding: 12px 40px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #2563eb;
}

.duplicate-btn {
    background: #f59e0b;
}

.duplicate-btn:hover {
    background: #d97706;
}

.error-btn {
    background: #ef4444;
}

.error-btn:hover {
    background: #dc2626;
}

/* Privacy Link */
.privacy-link {
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.privacy-link:hover {
    color: #93c5fd;
}

/* Privacy Modal */
.modal-content.privacy {
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content.privacy h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-content {
    text-align: left;
    margin-bottom: 25px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.privacy-content p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.privacy-content p strong {
    color: #ffffff;
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
}

.privacy-content::-webkit-scrollbar {
    width: 6px;
}

.privacy-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: #0a1628;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #64748b;
    font-size: 14px;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .form-title {
        font-size: 24px;
    }

    .floating-cta {
        padding: 14px 30px;
        font-size: 16px;
        bottom: 15px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* Hide floating CTA when form is visible */
.form-section:target ~ .floating-cta,
.floating-cta.hidden {
    opacity: 0;
    pointer-events: none;
}
