/* ============================================
   VKÜ Stone s.r.l. — Under Construction Page
   Colors: Red · White · Black · Anthracite
   ============================================ */

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

:root {
    --black:        #0a0a0a;
    --anthracite:   #2b2d2f;
    --anthracite-2: #3c3f42;
    --anthracite-3: #52565a;
    --red:          #c0001e;
    --red-light:    #e8001f;
    --white:        #ffffff;
    --off-white:    #ececec;
    --muted:        #888c90;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    position: relative;
}

/* ── Background ── */
.bg-overlay {
    position: fixed;
    inset: 0;
    background:
            radial-gradient(ellipse at 15% 40%, rgba(192,0,30,0.08) 0%, transparent 55%),
            radial-gradient(ellipse at 85% 70%, rgba(192,0,30,0.05) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 0%,   rgba(43,45,47,0.9) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle diagonal grid lines */
.bg-overlay::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
            repeating-linear-gradient(
                    -55deg,
                    transparent,
                    transparent 80px,
                    rgba(255,255,255,0.015) 80px,
                    rgba(255,255,255,0.015) 81px
            );
    pointer-events: none;
}

/* Red accent line at very top */
.bg-overlay::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    z-index: 10;
}

/* ── Floating particles ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--red);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(0) scale(1);        opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.2; }
    100% { transform: translateY(-110vh) scale(0.2); opacity: 0; }
}

/* ── Page wrapper ── */
.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Top bar ── */
.top-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease forwards;
}

.dev-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.codenest-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* ── Main content ── */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 40px;
    width: 100%;
}

/* ── Center block ── */
.center-block {
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ── Gear icon ── */
.icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--anthracite);
    border: 2px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    box-shadow: 0 0 30px rgba(192,0,30,0.3), 0 0 60px rgba(192,0,30,0.1);
}

.gear-icon {
    width: 42px;
    height: 42px;
}

/* ── Label ── */
.under-label {
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.under-label::before,
.under-label::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--red);
    opacity: 0.6;
}

/* ── Headline ── */
.headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.headline .accent {
    color: var(--red);
    display: block;
}

/* ── Subtext ── */
.subtext {
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 44px;
    max-width: 460px;
}

/* ── Progress bar ── */
.progress-wrap {
    width: 100%;
    margin-bottom: 44px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--anthracite-3);
    margin-bottom: 10px;
}

.progress-pct {
    color: var(--red);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 3px;
    background: var(--anthracite-2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    border-radius: 2px;
    animation: grow 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
    box-shadow: 0 0 10px rgba(192,0,30,0.6);
}

@keyframes grow {
    from { width: 0%; }
    to   { width: 0%; }
}

/* ── Divider ── */
.divider-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 32px;
}

/* ── Contact row ── */
.contact-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.contact-item:hover {
    color: var(--off-white);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--red);
    opacity: 0.9;
}

/* ── Footer ── */
.footer {
    width: 100%;
    padding: 18px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--anthracite-3);
    background: rgba(10,10,10,0.5);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .main-content {
        padding: 50px 24px;
    }

    .top-bar {
        padding: 16px 24px;
    }

    .icon-wrap {
        width: 68px;
        height: 68px;
    }

    .gear-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 600px) {
    .top-bar {
        padding: 14px 18px;
        gap: 10px;
    }

    .codenest-logo {
        height: 34px;
    }

    .main-content {
        padding: 40px 18px;
    }

    .headline {
        font-size: 48px;
    }

    .subtext {
        font-size: 14px;
    }

    .contact-row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .footer {
        padding: 14px 18px;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .headline {
        font-size: 40px;
    }

    .under-label::before,
    .under-label::after {
        width: 24px;
    }
}