* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --navy: #082c58;
    --blue: #075fc4;
    --text: #10233c;
    --muted: #718096;
    --border: #e3e9f1;
    --green: #17956a;
    --orange: #e79528;
    --bg: #f6f8fb
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5
}

a {
    text-decoration: none;
    color: inherit
}

button,
input,
select {
    font: inherit
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.topbar {
    position: fixed;
    z-index: 1000;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100% - 28px));
    color: #fff;
    background: rgba(8, 44, 88, .58);
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow: 0 12px 35px rgba(0, 24, 55, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease
}

.topbar:hover {
    background: rgba(8, 44, 88, .72);
    border-color: rgba(255, 255, 255, .30);
    box-shadow: 0 16px 45px rgba(0, 24, 55, .28), inset 0 1px 0 rgba(255, 255, 255, .18)
}

.topbar.inner-top {
    position: fixed
}

.nav {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 172px;
    transition: transform .3s ease, filter .3s ease
}

.brand:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.15)
}

.brand-mark {
    font-size: 27px;
    transition: transform .5s ease
}

.brand:hover .brand-mark {
    transform: translateX(4px) rotate(-8deg)
}

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

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 2.5px;
    opacity: .75
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none
}

.main-nav::-webkit-scrollbar {
    display: none
}

.main-nav a {
    position: relative;
    font-size: 10px;
    white-space: nowrap;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    opacity: .84;
    transition: color .28s ease, background .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: #8fd0ff;
    transform: translateX(-50%);
    transition: width .3s ease
}

.main-nav a:hover {
    color: #fff;
    opacity: 1;
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .14);
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .10)
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 45%
}

.main-nav a.active {
    opacity: 1;
    color: #fff;
    background: linear-gradient(135deg, rgba(45, 143, 232, .85), rgba(7, 95, 196, .72));
    border-color: rgba(147, 211, 255, .35);
    box-shadow: 0 5px 18px rgba(0, 91, 190, .25), inset 0 1px 0 rgba(255, 255, 255, .18);
    animation: navGlow 3s ease-in-out infinite
}

.student-badge {
    font-size: 9px;
    white-space: nowrap;
    color: #d9e9fb;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07)
}

.hero {
    min-height: 410px;
    position: relative;
    color: white;
    background: linear-gradient(90deg, rgba(3, 31, 68, .94), rgba(4, 55, 111, .58), rgba(7, 93, 168, .18)), url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat
}

.hero-content {
    padding-top: 95px
}

.hero h1 {
    font-size: clamp(43px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -2px;
    margin: 10px 0 14px
}

.hero-content>p:not(.eyebrow) {
    color: #e2efff;
    font-size: 14px
}

.eyebrow {
    color: #d7eaff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px
}

.eyebrow.dark {
    color: var(--blue)
}

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-top: 22px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 0;
    border-radius: 22px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer
}

.primary,
.primary-btn {
    background: #287ff1;
    color: #fff
}

.outline {
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff
}

.dark-btn {
    background: var(--navy);
    color: #fff
}

.search-panel {
    position: relative;
    margin-top: -55px;
    background: #fff;
    border-radius: 15px;
    padding: 0 22px 17px;
    box-shadow: 0 12px 35px rgba(20, 48, 80, .18);
    z-index: 2
}

.search-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--border)
}

.search-tabs b {
    font-size: 11px;
    color: var(--muted);
    padding: 14px 3px 10px
}

.search-tabs .active {
    color: var(--blue);
    border-bottom: 2px solid var(--blue)
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .8fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 13px
}

.field {
    border-right: 1px solid var(--border);
    padding: 4px 12px 4px 4px
}

.field span,
.field small {
    display: block;
    color: var(--muted);
    font-size: 8px
}

.field strong {
    display: block;
    font-size: 13px
}

.search-btn {
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 12px 17px;
    font-size: 10px;
    font-weight: 700
}

.section {
    padding: 60px 0
}

.section.light,
.light {
    background: #f0f5fa
}

.section-heading,
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px
}

.section-heading h2,
.page-heading h1 {
    font-size: 28px;
    letter-spacing: -.6px
}

.page-heading {
    align-items: center
}

.page-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 11px
}

.text-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.stat-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 19px
}

.stat-icon {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    background: #eaf4ff;
    color: var(--blue);
    border-radius: 9px
}

.stat-card small,
.stat-card em {
    display: block;
    font-size: 10px;
    color: var(--muted);
    font-style: normal
}

.stat-card strong {
    display: block;
    font-size: 29px;
    margin: 5px 0 2px
}

.good-text {
    color: var(--green) !important
}

.warning-text {
    color: #bd7411 !important
}

.table-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 10px
}

th {
    background: #f7f9fc;
    color: #526276;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px
}

td {
    color: #5f6e80
}

td b {
    color: var(--text)
}

.badge {
    display: inline-block;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 9px;
    font-weight: 700
}

.badge.green {
    background: #e6f7f0;
    color: var(--green)
}

.badge.blue {
    background: #e8f1ff;
    color: var(--blue)
}

.badge.orange {
    background: #fff3df;
    color: #bd7411
}

.badge.large {
    padding: 8px 13px
}

.form-card,
.dataset-card,
.search-box-large {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 23px;
    margin-bottom: 22px
}

.form-card h2,
.search-box-large h2 {
    font-size: 19px;
    margin-bottom: 17px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 18px
}

.form-grid label,
.dataset-card label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #516177
}

.form-grid input,
.form-grid select,
.dataset-card select {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 10px;
    font-size: 11px;
    outline: none;
    background: #fff
}

.small-btn {
    border: 1px solid #cbd7e4;
    background: #fff;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 9px;
    cursor: pointer;
    margin-right: 5px
}

.small-btn.danger {
    color: #c94d4d
}

.boarding-main {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 20px
}

.boarding-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 24px
}

.boarding-number {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.boarding-number strong {
    font-size: 31px
}

.boarding-number span {
    font-size: 10px;
    color: var(--muted)
}

.progress {
    height: 9px;
    background: #e9eef4;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 17px
}

.progress span {
    display: block;
    height: 100%;
    background: var(--blue);
    border-radius: inherit
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
    margin-top: 5px
}

.boarding-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 25px
}

.boarding-columns div {
    background: #f6f8fb;
    padding: 13px;
    border-radius: 9px
}

.boarding-columns b {
    font-size: 10px;
    margin-left: 5px
}

.boarding-columns strong {
    display: block;
    font-size: 18px;
    margin-left: 14px
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.waiting {
    background: #a6b2c0
}

.boarding {
    background: var(--orange)
}

.boarded {
    background: var(--green)
}

.priority-card {
    background: var(--navy);
    color: #fff;
    border-radius: 13px;
    padding: 25px
}

.priority-card h2 {
    font-size: 25px
}

.priority-card p {
    font-size: 11px;
    color: #bdd0e6;
    margin: 7px 0 15px
}

.white {
    background: #fff;
    color: var(--navy)
}

.margin-top {
    margin-top: 45px
}

.track-hero {
    background: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center
}

.track-hero h2 {
    font-size: 29px
}

.track-hero p {
    color: #bdd0e6;
    font-size: 11px
}

.track-form {
    display: flex;
    gap: 8px
}

.track-form input {
    flex: 1;
    border: 0;
    border-radius: 8px;
    padding: 12px;
    outline: 0
}

.track-form button {
    border: 0;
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    color: var(--navy);
    font-weight: 700
}

.tracking-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px
}

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 19px
}

.info-card span {
    display: block;
    color: var(--blue);
    font-size: 20px
}

.info-card small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 10px
}

.info-card strong {
    font-size: 18px
}

.api-message,
.info-banner {
    background: #edf5ff;
    border-left: 4px solid var(--blue);
    padding: 18px;
    margin-top: 20px;
    border-radius: 7px
}

.api-message h3 {
    font-size: 16px
}

.api-message p,
.info-banner {
    font-size: 10px;
    color: #5d6e82;
    margin-top: 6px
}

.problem-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 20px;
    margin-bottom: 20px
}

.problem-card>div {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 13px
}

.step {
    background: #eaf4ff;
    color: var(--blue);
    padding: 8px;
    border-radius: 7px;
    font-weight: 700
}

.problem-card b {
    font-size: 11px
}

.problem-card p {
    font-size: 10px;
    color: var(--muted)
}

.arrow {
    color: var(--blue)
}

.algorithm-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 25px
}

.algo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 10px;
    margin-bottom: 12px
}

.algorithm-card h2 {
    font-size: 25px
}

.algorithm-card p {
    font-size: 11px;
    color: var(--muted);
    max-width: 800px
}

.complexity {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 17px 0
}

.complexity span {
    padding: 8px 10px;
    background: #f4f7fa;
    border-radius: 7px;
    font-size: 9px;
    color: var(--muted)
}

.complexity b {
    display: block;
    color: var(--text);
    margin-top: 2px
}

.algo-flow,
.flow-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 9px;
    color: var(--blue)
}

.algo-flow span,
.flow-grid span {
    padding: 7px 10px;
    background: #edf5ff;
    border-radius: 6px
}

.algorithm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px
}

.mini-algo {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px
}

.mini-algo h3 {
    font-size: 15px
}

.mini-algo p {
    font-size: 10px;
    color: var(--muted);
    margin: 7px 0
}

.mini-algo b {
    font-size: 10px;
    color: var(--blue)
}

.how-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 23px;
    margin-top: 20px
}

.how-card h2 {
    font-size: 20px
}

.how-card ol {
    padding-left: 20px;
    margin-top: 10px
}

.how-card li {
    font-size: 11px;
    margin: 5px
}

.dataset-card {
    display: flex;
    align-items: end;
    gap: 14px
}

.dataset-card label {
    min-width: 170px
}

.chart-placeholder {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    margin-top: 20px;
    padding: 25px
}

.chart-placeholder h2 {
    font-size: 19px
}

.bars {
    height: 230px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    border-bottom: 1px solid #ccd6e2;
    margin-top: 20px
}

.bars div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 7px
}

.bars i {
    display: block;
    width: 50px;
    background: var(--blue);
    border-radius: 5px 5px 0 0
}

.bars span {
    font-size: 9px
}

.chart-placeholder p {
    font-size: 9px;
    color: var(--muted);
    margin-top: 12px
}

.search-box-large h2 {
    font-size: 21px
}

.search-line {
    display: flex;
    gap: 8px
}

.search-line input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.search-method {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 24px
}

.search-method h2 {
    font-size: 21px
}

.search-method>p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 7px
}

.result {
    background: #f5f8fc;
    padding: 12px;
    border-radius: 7px;
    font-size: 10px;
    color: var(--muted)
}

.result b {
    color: var(--green)
}

.about-layout {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 20px
}

.about-main,
.tech-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 27px
}

.about-main h2,
.tech-card h2 {
    font-size: 22px;
    margin-bottom: 9px
}

.about-main p {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 25px
}

.concepts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.concepts span {
    background: #edf5ff;
    color: var(--blue);
    padding: 8px 11px;
    border-radius: 18px;
    font-size: 9px;
    font-weight: 700
}

.tech-card li {
    list-style: none;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 10px
}

.tech-card li:last-child {
    border: 0
}

.flow-grid {
    justify-content: center;
    margin-top: 17px
}

footer {
    background: #061f3d;
    color: #fff;
    padding: 21px 0;
    margin-top: 20px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #aac0d8
}

.footer-inner b {
    color: #fff
}

.muted {
    color: var(--muted) !important
}

/* Glass UI and interaction effects */
.page {
    padding-top: 35px
}

.topbar+.page {
    padding-top: 125px
}

.search-panel {
    border: 1px solid rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px)
}

.btn,
.search-btn,
.search-line button,
.track-form button,
.small-btn {
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease
}

.btn:hover,
.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(7, 95, 196, .24)
}

.btn:active,
.search-btn:active,
.search-line button:active,
.track-form button:active,
.small-btn:active {
    transform: translateY(0) scale(.97)
}

.primary:hover,
.primary-btn:hover {
    background: linear-gradient(135deg, #39a0ff, #075fc4)
}

.dark-btn:hover {
    background: linear-gradient(135deg, #0d4f91, #075fc4)
}

.white:hover {
    color: #075fc4;
    background: #edf7ff
}

.search-btn:hover {
    background: linear-gradient(135deg, #0c4c91, #087be7)
}

.small-btn:hover {
    color: #075fc4;
    background: #edf7ff;
    border-color: #8cc7f5;
    transform: translateY(-2px)
}

.small-btn.danger:hover {
    color: #fff;
    background: #d95555;
    border-color: #d95555
}

.search-tabs b {
    cursor: pointer;
    border-radius: 9px 9px 0 0;
    transition: color .25s ease, background .25s ease, transform .25s ease
}

.search-tabs b:hover {
    color: #075fc4;
    background: #f0f7ff;
    transform: translateY(-2px)
}

.flight-card,
.stat-card,
.info-card,
.mini-algo,
.algorithm-card,
.form-card,
.dataset-card,
.search-method,
.about-main,
.tech-card,
.boarding-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.flight-card:hover,
.stat-card:hover,
.info-card:hover,
.mini-algo:hover,
.algorithm-card:hover,
.form-card:hover,
.dataset-card:hover,
.search-method:hover,
.about-main:hover,
.tech-card:hover,
.boarding-card:hover {
    transform: translateY(-4px);
    border-color: #c5dcf1;
    box-shadow: 0 12px 30px rgba(20, 48, 80, .10)
}

input,
select {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease
}

input:hover,
select:hover {
    border-color: #a9cce9 !important
}

input:focus,
select:focus {
    border-color: #2d8fe8 !important;
    box-shadow: 0 0 0 3px rgba(45, 143, 232, .12);
    background: #fbfdff
}

.badge {
    transition: transform .25s ease, filter .25s ease
}

.badge:hover {
    transform: scale(1.05);
    filter: brightness(1.03)
}

.js-ripple {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple .55s ease-out forwards;
    pointer-events: none
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(24);
        opacity: 0
    }
}

@keyframes navGlow {

    0%,
    100% {
        box-shadow: 0 5px 18px rgba(0, 91, 190, .25)
    }

    50% {
        box-shadow: 0 8px 24px rgba(45, 143, 232, .42)
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

.team-section {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(20, 48, 80, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.team-section:hover {
    transform: translateY(-4px);
    border-color: #c5dcf1;
    box-shadow: 0 12px 30px rgba(20, 48, 80, .10)
}

.team-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.team-subtitle {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px
}

.team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease
}

.team-card:hover {
    transform: translateY(-3px);
    background: #edf5ff;
    border-color: #a9cce9;
    box-shadow: 0 6px 18px rgba(7, 95, 196, .12)
}

.team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0
}

.team-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text)
}

.team-id {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px
}

@media(max-width:1050px) {
    .main-nav {
        gap: 10px
    }

    .main-nav a {
        font-size: 9px
    }

    .student-badge {
        display: none
    }

    .search-fields {
        grid-template-columns: 1fr 1fr 1fr
    }
}

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

    .topbar {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 14px
    }

    .nav {
        min-height: 58px;
        padding: 0 10px
    }

    .main-nav {
        display: flex;
        justify-content: flex-start;
        gap: 3px;
        overflow-x: auto
    }

    .main-nav a {
        font-size: 9px;
        padding: 8px 9px
    }

    .brand {
        min-width: 145px
    }

    .brand strong {
        font-size: 13px
    }

    .hero {
        min-height: 420px
    }

    .search-panel {
        margin-top: -35px
    }

    .search-fields,
    .stats-grid,
    .form-grid,
    .boarding-main,
    .tracking-info,
    .algorithm-grid,
    .search-grid,
    .about-layout,
    .track-hero {
        grid-template-columns: 1fr
    }

    .search-btn {
        width: 100%;
        text-align: center
    }

    .section {
        padding: 45px 0
    }

    .page {
        padding-top: 30px
    }

    .page-heading,
    .section-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .boarding-columns {
        grid-template-columns: 1fr
    }

    .problem-card>div {
        grid-template-columns: 1fr
    }

    .arrow {
        display: none
    }

    .dataset-card {
        align-items: stretch;
        flex-direction: column
    }

    .dataset-card label {
        min-width: 0
    }

    .footer-inner {
        flex-direction: column;
        gap: 7px
    }

    .hero h1 {
        font-size: 45px
    }
}

@media(max-width:480px) {
    .hero-buttons {
        flex-direction: column
    }

    .hero {
        min-height: 450px
    }

    .search-tabs {
        overflow: auto
    }

    .search-fields {
        grid-template-columns: 1fr
    }

    .track-form,
    .search-line {
        flex-direction: column
    }

    .track-form button {
        padding: 11px
    }

    .btn {
        width: 100%
    }
}

.sort-controls select {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 10px;
    font-size: 11px;
    background: #fff;
    outline: none
}

.sort-status span {
    background: #edf5ff;
    color: var(--blue);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 9px
}

.js-ripple {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple .55s ease-out forwards;
    pointer-events: none
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(24);
        opacity: 0
    }
}

@media(max-width:800px) {
    .sort-controls {
        grid-template-columns: 1fr !important
    }
}

.search-found {
    margin: 18px 0 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 18px
}

.search-found-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.search-found-heading h2 {
    font-size: 16px
}

.search-found-heading span {
    font-size: 10px;
    color: var(--muted)
}

.search-found-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 12px
}

.search-found-card {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #f9fbfe
}

.search-found-card>div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.search-found-card strong {
    font-size: 13px
}

.search-found-card span {
    font-size: 9px;
    color: var(--muted)
}

.search-found-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px
}

.search-found-card dt {
    font-size: 9px;
    color: var(--muted)
}

.search-found-card dd {
    font-size: 10px;
    font-weight: 700
}

.linear-empty {
    grid-column: 1/-1;
    padding: 18px;
    text-align: center;
    color: var(--muted);
    background: #f7f9fc;
    border: 1px dashed var(--border);
    border-radius: 10px;
    font-size: 12px
}