/* ==========================================================================
   Vengga - Under Construction stylesheet
   Works cleanly in IE9+, modern Chrome/Firefox/Edge, and IIS 7
   ========================================================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #f5f5f5;
    background: #1a1f36;
    background: -webkit-linear-gradient(135deg, #1a1f36 0%, #2c3e70 50%, #1a1f36 100%);
    background: linear-gradient(135deg, #1a1f36 0%, #2c3e70 50%, #1a1f36 100%);
}

form {
    width: 100%;
    min-height: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px 20px;
}

.construction-container {
    max-width: 720px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 50px 40px 30px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* --- Animated gear icon ------------------------------------------------- */
.icon-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 24px auto;
}

.gear {
    position: absolute;
    border-radius: 50%;
    background: #ffb84d;
    box-shadow: 0 0 0 10px #1a1f36, 0 0 0 12px #ffb84d;
}

.gear-large {
    width: 100px;
    height: 100px;
    top: 10px;
    left: 10px;
    -webkit-animation: spin 6s linear infinite;
    animation: spin 6s linear infinite;
}

.gear-small {
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: 10px;
    background: #4dc3ff;
    box-shadow: 0 0 0 8px #1a1f36, 0 0 0 10px #4dc3ff;
    -webkit-animation: spin-reverse 4s linear infinite;
    animation: spin-reverse 4s linear infinite;
}

.gear-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    margin-top: -35%;
    margin-left: -35%;
}

.gear-inner .bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 16%;
    margin-top: -8%;
    margin-left: -50%;
    background: #1a1f36;
    border-radius: 3px;
}

.gear-inner .bar:nth-child(2) {
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
}

.gear-inner .bar:nth-child(3) {
    -webkit-transform: rotate(120deg);
    transform: rotate(120deg);
}

@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@-webkit-keyframes spin-reverse {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(-360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* --- Typography --------------------------------------------------------- */
.title {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.subtitle {
    font-size: 17px;
    font-weight: 300;
    color: #cbd5e0;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

/* --- Progress bar ------------------------------------------------------- */
.progress-wrapper {
    margin: 20px auto 30px auto;
    max-width: 420px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 65%;
    background: #ffb84d;
    background: -webkit-linear-gradient(left, #ffb84d 0%, #ff8c42 100%);
    background: linear-gradient(to right, #ffb84d 0%, #ff8c42 100%);
    border-radius: 5px;
    -webkit-animation: progress-pulse 2s ease-in-out infinite;
    animation: progress-pulse 2s ease-in-out infinite;
}

@-webkit-keyframes progress-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes progress-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #a0aec0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Info panel --------------------------------------------------------- */
.info-panel {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.info-item {
    padding: 8px 16px;
    text-align: center;
}

.info-label {
    display: block;
    font-size: 12px;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.info-value {
    display: block;
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

/* --- Contact form ------------------------------------------------------- */
.contact-panel {
    margin: 30px 0 20px 0;
}

.contact-text {
    font-size: 14px;
    color: #cbd5e0;
    margin: 0 0 14px 0;
}

.form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 480px;
    margin: 0 auto;
}

.form-input {
    -ms-flex: 1 1 240px;
    flex: 1 1 240px;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px 0 0 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    outline: none;
    min-width: 180px;
}

.form-input:focus {
    border-color: #ffb84d;
    background: rgba(255, 255, 255, 0.12);
}

.form-input::-webkit-input-placeholder { color: #8a95ab; }
.form-input:-ms-input-placeholder { color: #8a95ab; }
.form-input::placeholder { color: #8a95ab; }

.btn-primary {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1f36;
    background: #ffb84d;
    border: 1px solid #ffb84d;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #ffa726;
}

.btn-primary:active {
    background: #ff8c42;
}

/* --- Status messages ---------------------------------------------------- */
.status-label {
    display: block;
    margin: 10px 0;
    font-size: 14px;
    min-height: 20px;
}

.status-success {
    color: #68d391;
}

.status-error {
    color: #fc8181;
}

.validator-message {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #fc8181;
}

/* --- Footer ------------------------------------------------------------- */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #8a95ab;
}

.footer p {
    margin: 0;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 540px) {
    .construction-container {
        padding: 30px 20px 20px 20px;
    }

    .title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
    }

    .form-input,
    .btn-primary {
        border-radius: 6px;
        margin: 4px 0;
        width: 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
    }
}
