/* ===== Shared ===== */

body {
    font-family: 'Katlav', system-ui, sans-serif;
}

.logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: #0a1628;
}

/* ===== Homepage ===== */

.grid-bg {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(10, 22, 40, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 22, 40, 0.04) 1px, transparent 1px);
}

.float {
    animation: float 6s ease-in-out infinite;
}

.dot-animation span {
    animation: pulse-slow 1.5s ease-in-out infinite;
}
.dot-animation span:nth-child(2) { animation-delay: 0.3s; }
.dot-animation span:nth-child(3) { animation-delay: 0.6s; }

.progress-bar {
    background: linear-gradient(90deg, transparent, #0a1628, transparent);
    animation: progress-slide 2.5s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

@keyframes progress-slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== Step Wizard ===== */

.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: default;
    padding: 0;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(10, 22, 40, 0.05);
    color: rgba(10, 22, 40, 0.35);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(10, 22, 40, 0.35);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.step-dot.active .step-num {
    background: #0a1628;
    color: #fff;
}

.step-dot.active .step-label {
    color: #0a1628;
}

.step-dot.completed {
    cursor: pointer;
}

.step-dot.completed .step-num {
    background: rgba(10, 22, 40, 0.12);
    color: rgba(10, 22, 40, 0.6);
}

.step-dot.completed .step-label {
    color: rgba(10, 22, 40, 0.5);
}

.step-line {
    width: 3rem;
    height: 2px;
    background: rgba(10, 22, 40, 0.08);
    border-radius: 1px;
    margin-top: -1.25rem;
    transition: background 0.3s ease;
}

.step-line.completed {
    background: rgba(10, 22, 40, 0.25);
}

.form-step.hidden {
    display: none;
}

/* ===== Characterization ===== */

.section-card {
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0a1628;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #0a1628;
    background: rgba(10, 22, 40, 0.02);
    border: 1px solid rgba(10, 22, 40, 0.08);
    border-radius: 0.75rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: rgba(10, 22, 40, 0.4);
}

.form-input:focus {
    border-color: rgba(10, 22, 40, 0.3);
    box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.05);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.75rem;
    color: rgba(10, 22, 40, 0.5);
    margin-top: 0.375rem;
}

.form-input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.form-error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.375rem;
}
