* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    color: #eaf2ff;
    background:
        radial-gradient(circle at 50% 110%, #26164a 0%, transparent 35%),
        #07111f;
}

header {
    height: 88px;
    padding: 18px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: #3987ff;
}

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

.brand span {
    display: block;
    color: #8da7ca;
    margin-top: 3px;
}

.profile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #172845;
    display: grid;
    place-items: center;
}

main {
    max-width: 1460px;
    margin: auto;
    padding: 10px 35px 120px;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 5px;
}

.hero p {
    margin-top: 0;
    color: #8fa9cc;
}

.analyze-box {
    margin-top: 25px;
    padding: 25px;
    border: 1px solid #233653;
    border-radius: 15px;
    background: rgba(11, 25, 44, .82);
}

.analyze-box label {
    display: block;
    margin-bottom: 10px;
    color: #85baff;
}

.input-row {
    display: flex;
    gap: 15px;
}

input {
    flex: 1;
    height: 52px;
    border-radius: 9px;
    border: 1px solid #304867;
    background: #081525;
    color: white;
    padding: 0 17px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #347cff;
}

#analyzeBtn {
    width: 240px;
    border: 0;
    border-radius: 9px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(90deg, #147dff, #6837ff);
}

.analyze-box small {
    display: block;
    color: #7188a7;
    margin-top: 12px;
}

.status {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #286ed9;
    border-radius: 12px;
}

.hidden {
    display: none;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.card {
    min-height: 115px;
    padding: 20px;
    border-radius: 13px;
    border: 1px solid #233653;
    background: #0c192b;
}

.card span {
    display: block;
    color: #8da7ca;
    font-size: 14px;
}

.card strong {
    display: block;
    margin-top: 12px;
    font-size: 25px;
}

.dock {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: rgba(10, 25, 44, .96);
    border: 1px solid #233b5e;
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.dock button {
    min-width: 190px;
    height: 58px;
    border: 0;
    color: #91a9c8;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

.dock button.active {
    color: #52a0ff;
    box-shadow: inset 0 -2px #2b86ff;
}

@media(max-width: 900px) {
    .kpis {
        grid-template-columns: 1fr 1fr;
    }

    .dock button {
        min-width: 70px;
    }

    .dock span {
        display: none;
    }
}
