body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    max-width: 450px;
    width: 100%;
    background: #111111;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55, 0.38);
    box-shadow:
        0 0 0 1px rgba(212,175,55, 0.07),
        0 0 22px rgba(212,175,55, 0.16),
        0 0 55px rgba(212,175,55, 0.06),
        0 14px 40px rgba(0,0,0, 0.9);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Progress Bar */
.progress-bar-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a1a1a;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c9a227, #D4AF37, #f5e6a3);
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto 12px;
    object-fit: contain;
}

.subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Star Rating */
.stars {
    font-size: 45px;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    user-select: none;
}

.stars span {
    color: #333;
    transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
    padding: 0 4px;
    display: inline-block;
}

/* Form elements */
form {
    width: 100%;
}

textarea,
input[type="text"],
input[type="tel"] {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Heebo', sans-serif;
    box-sizing: border-box;
    font-size: 16px; /* 16px prevents iOS auto-zoom */
    transition: border-color 0.3s, background 0.3s;
}

textarea {
    resize: none;
    height: 110px;
}

textarea:focus,
input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #D4AF37;
    background: #151515;
}

/* File Upload */
.file-upload {
    border: 1px dashed #555;
    padding: 25px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: border-color 0.3s, background 0.3s;
    display: block;
}

.file-upload:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

.file-name-display {
    font-size: 12px;
    color: #D4AF37;
    margin-bottom: 15px;
    min-height: 18px;
}

/* Submit Button */
.btn-submit {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    min-height: 50px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    margin-top: 10px;
    font-family: 'Heebo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-spinner-el {
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 2.5px solid rgba(0, 0, 0, 0.18);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
    flex-shrink: 0;
}

.btn-submit:hover:not(:disabled) {
    background-color: #D4AF37;
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Status Message */
.status-message {
    margin-top: 18px;
    font-size: 14px;
    min-height: 20px;
    transition: color 0.3s;
}

.status-message.error {
    color: #e55;
}

.status-message.success {
    color: #D4AF37;
}

.status-message.info {
    color: #888;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    .modal-box {
        padding: 28px 18px;
    }
}

/* ─── Welcome Modal ──────────────────────────────────────────────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
    animation: overlayFadeIn 0.4s ease both;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: #111111;
    border: 1px solid #D4AF37;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.modal-body {
    font-size: 15px;
    color: #ccc;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 28px;
}

.modal-btn {
    background: #D4AF37;
    color: #000;
    border: none;
    padding: 13px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}

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

@media (max-width: 400px) {
    .modal-box {
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 22px;
    }
}
