:root {
    --bg: #f4f5f7;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --card-border: #e6e8ec;
    --text: #111317;
    --muted: #5f6673;
    --accent: #14171d;
    --accent-soft: #ff5a2f;
    --danger: #ff6b6b;
    --ok: #3ddc97;
    --input-bg: #ffffff;
    --input-border: #d8dde5;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}
.top-nav {
    margin: 0 0 18px;
    border: 1px solid #eceff4;
    border-radius: 0;
    background: #ffffff;
    padding: 14px 16px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.top-nav .brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #14171d;
}
.top-nav .links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.top-nav .links a {
    border: 1px solid #eceff4;
    border-radius: 999px;
    padding: 7px 12px;
    color: #525a68;
    text-decoration: none;
}
.hero {
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #eceff4;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
}
.hero h1 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.2;
}
.hero p {
    margin: 0;
    color: #5f6673;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.hero-meta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.slider-dots {
    margin-top: 18px;
    display: flex;
    gap: 7px;
}
.slider-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d6dbe4;
}
.slider-dots span.active {
    background: #ff5a2f;
}
.pill {
    border: 1px solid #eceff4;
    background: #ffffff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    color: #5f6673;
}
.card {
    background: var(--surface);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(16, 20, 27, 0.06);
}
h1 {
    margin: 0 0 8px;
    font-size: 28px;
}
p.lead {
    margin: 0 0 24px;
    color: var(--muted);
}
.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 12px;
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
input,
textarea {
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 12px;
    background: var(--input-bg);
    color: #14171d;
    outline: none;
}
input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.2);
}
.hint {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}
button {
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    cursor: pointer;
    margin-top: 8px;
}
button:hover {
    opacity: 0.92;
}
button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.alert-danger {
    border: 1px solid rgba(255, 107, 107, 0.6);
    background: rgba(255, 107, 107, 0.12);
    color: #ffd1d1;
}
.alert-success {
    border: 1px solid rgba(61, 220, 151, 0.6);
    background: rgba(61, 220, 151, 0.12);
    color: #d0ffe9;
}
.alert-warning {
    border: 1px solid rgba(255, 196, 0, 0.55);
    background: rgba(255, 196, 0, 0.12);
    color: #ffeab0;
}
.result-list {
    margin: 0;
    padding-left: 16px;
}
.footer-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}
.section-title {
    margin: 0 0 12px;
    font-size: 20px;
    letter-spacing: 0.2px;
}
.recent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.recent-item {
    border: 1px solid #eceff4;
    border-radius: 10px;
    padding: 12px;
    background: #ffffff;
}
.recent-item .meta {
    color: #6a7280;
    font-size: 12px;
    margin-top: 5px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.stat-box {
    border: 1px solid #eceff4;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}
.stat-label {
    font-size: 12px;
    color: #6a7280;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #111317;
}
.table-wrap {
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.data-table th,
.data-table td {
    text-align: left;
    border-bottom: 1px solid #eceff4;
    padding: 10px;
    font-size: 14px;
}
.services {
    margin-bottom: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.service-box {
    border: 1px solid #eceff4;
    border-radius: 14px;
    padding: 16px;
    background: #ffffff;
    position: relative;
}
.service-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 2px;
    background: var(--accent-soft);
}
.service-box h3 {
    margin: 0 0 8px 8px;
    font-size: 16px;
}
.service-box p {
    margin: 0 0 0 8px;
    color: #5f6673;
    font-size: 13px;
}
.site-footer {
    margin-top: 26px;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid #eceff4;
    padding: 22px 16px 14px;
    width: 100%;
}
.footer-copy {
    text-align: center;
    color: #596273;
    font-size: 13px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff4;
}
.footer-meta {
    margin-top: 14px;
    padding-top: 2px;
    border-top: 1px solid #f2f4f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-left {
    color: #6e7788;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-brand {
    color: #111317;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.footer-sep {
    color: #c0c6d2;
}
.footer-text {
    color: #687283;
}
.footer-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links a {
    color: #495368;
    text-decoration: none;
    font-size: 11px;
    white-space: nowrap;
}
.footer-links a:hover {
    color: #111317;
}
button { background: #14171d; }
a { color: #2b3342; }

@media (max-width: 900px) {
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    .top-nav .links {
        width: 100%;
    }
    .top-nav .links a {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
    .hero {
        padding: 24px 16px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 25px;
    }
    .top-nav .links a {
        flex: 1 1 100%;
    }
    .pill {
        font-size: 12px;
        padding: 6px 10px;
    }
}
