/* AKGU development website - maintenance page */

:root {
    --akgu-blue: #295098;
    --akgu-dark: #102b55;
    --akgu-cyan: #4bf4fd;
    --text: #172b48;
    --muted: #66758b;
    --light-bg: #f4f7fb;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: var(--light-bg);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5ebf2;
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--akgu-dark);
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--akgu-blue);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-name strong {
    display: block;
    font-size: 16px;
}

.brand-name small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.site-label {
    color: var(--akgu-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Main content */

.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--akgu-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18a879;
}

h1 {
    margin: 22px 0;
    color: var(--akgu-dark);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;
}

h1 span {
    color: var(--akgu-blue);
}

.intro {
    max-width: 500px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.maintenance-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    max-width: 500px;
    margin-top: 25px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
}

.note-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--akgu-blue);
    background: #eaf1fb;
    border-radius: 50%;
    font-weight: 700;
}

.maintenance-note p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.maintenance-note strong {
    color: var(--text);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 0;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: var(--akgu-blue);
}

.button-primary:hover {
    background: var(--akgu-dark);
}

.button-secondary {
    color: var(--akgu-dark);
    background: #ffffff;
    border: 1px solid #dce5ef;
}

.button-secondary:hover {
    background: #edf3fa;
}

.retry-message {
    min-height: 16px;
    margin-top: 15px;
    color: #8794a6;
    font-size: 11px;
}

/* CSS illustration */

.illustration {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(140deg, #e5eef9, #d9f3f5);
    border-radius: 25px;
}

.circle {
    position: absolute;
    border: 1px solid rgba(41, 80, 152, 0.15);
    border-radius: 50%;
}

.circle-large {
    width: 390px;
    height: 390px;
}

.circle-small {
    width: 270px;
    height: 270px;
}

.maintenance-card {
    position: relative;
    z-index: 2;
    width: min(340px, 78%);
    padding: 25px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ffffff;
    border-radius: 17px;
    box-shadow: 0 20px 55px rgba(16, 43, 85, 0.15);
    animation: cardFloat 4s ease-in-out infinite;
}

.card-header,
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-logo {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--akgu-dark);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.working-label {
    color: #60738b;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.working-label span {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 5px;
    background: #18a879;
    border-radius: 50%;
}

.card-title {
    margin-top: 27px;
    color: var(--akgu-dark);
    font-size: 21px;
    font-weight: 700;
}

.card-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.progress-track {
    height: 7px;
    margin-top: 24px;
    overflow: hidden;
    background: #e8eef5;
    border-radius: 10px;
}

.progress-bar {
    width: 65%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg, var(--akgu-blue), var(--akgu-cyan));
    border-radius: 10px;
    animation: progressMove 3s ease-in-out infinite alternate;
}

.card-footer {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #e8edf3;
    color: #8290a2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.floating-label {
    position: absolute;
    z-index: 3;
    padding: 11px 15px;
    color: var(--akgu-dark);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(16, 43, 85, 0.12);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.label-top {
    top: 65px;
    left: 25px;
    transform: rotate(-5deg);
}

.label-bottom {
    right: 22px;
    bottom: 60px;
    transform: rotate(4deg);
}

/* Footer */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5ebf2;
}

.footer-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #8290a2;
    font-size: 11px;
}

.footer-inner a {
    color: var(--akgu-blue);
    font-weight: 700;
    text-decoration: none;
}

/* Animations */

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes progressMove {
    from { width: 45%; }
    to { width: 78%; }
}

/* Mobile layout */

@media (max-width: 760px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .illustration {
        min-height: 350px;
    }

    h1 {
        font-size: 58px;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name strong {
        font-size: 13px;
    }

    .brand-name small {
        font-size: 9px;
    }

    .site-label {
        max-width: 95px;
        font-size: 8px;
        line-height: 1.5;
        text-align: right;
    }

    h1 {
        font-size: 51px;
        letter-spacing: -2px;
    }

    .intro {
        font-size: 14px;
    }

    .button-row {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .illustration {
        min-height: 310px;
    }

    .circle-large {
        width: 300px;
        height: 300px;
    }

    .circle-small {
        width: 210px;
        height: 210px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}
