/* Shared footer for the ST applications (ST Visualizer, ST Competition Analyzer) */
.st-footer {
    background: #111118;
    border-top: 1px solid #313244;
    color: #a6adc8;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    flex-shrink: 0;
}

.st-footer a { color: inherit; text-decoration: none; }

.st-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 20px;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 20px;
}

.st-footer-col h3 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c7086;
    margin-bottom: 10px;
}

.st-footer-col .st-company-name {
    font-size: 1rem;
    font-weight: 700;
    color: #00d289;
    margin-bottom: 4px;
}

.st-footer-col .st-company-sub {
    font-size: 0.8rem;
    color: #6c7086;
    margin-bottom: 10px;
}

.st-footer-col p {
    font-size: 0.8rem;
    color: #6c7086;
    line-height: 1.6;
}

.st-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
}

.st-footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #00d289;
}

.st-footer-contact-item a,
.st-footer-contact-item span {
    font-size: 0.8rem;
    color: #6c7086;
    line-height: 1.5;
}

.st-footer-contact-item a:hover { color: #00d289; }

.st-footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.st-footer-nav a {
    font-size: 0.8rem;
    color: #6c7086;
    transition: color 0.15s;
}

.st-footer-nav a:hover { color: #cdd6f4; }

.st-footer-bottom {
    border-top: 1px solid #313244;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.st-footer-bottom p,
.st-footer-bottom span {
    font-size: 0.75rem;
    color: #6c7086;
}

.st-footer-legal { display: flex; gap: 16px; }
.st-footer-legal a { color: #00d289; }

@media (max-width: 700px) {
    .st-footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 500px) {
    .st-footer-inner { padding: 20px 15px; }
    .st-footer-grid { gap: 16px; }
    .st-footer-bottom { flex-direction: column; text-align: center; }
    .st-footer-legal { gap: 8px; }
}
