:root {
    --xita-blue: #2563eb;
    --xita-blue-dark: #1d4ed8;
    --xita-blue-soft: #eff6ff;
    --xita-sky: #38bdf8;
    --xita-ink: #0f172a;
    --xita-muted: #64748b;
    --xita-border: rgba(15, 23, 42, .10);
    --xita-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    --xita-radius: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--xita-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(56, 189, 248, .24), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(37, 99, 235, .16), transparent 30rem),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f6faff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
}

.xita-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--xita-border);
    backdrop-filter: blur(20px);
}

.xita-logo,
.xita-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--xita-ink);
    font-weight: 900;
    letter-spacing: -.045em;
}

.xita-brand:hover {
    color: var(--xita-blue-dark);
}

.xita-logo-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    border-radius: 16px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .42), transparent 35%),
        linear-gradient(135deg, var(--xita-blue), var(--xita-sky));
    box-shadow: 0 14px 34px rgba(37, 99, 235, .30);
}

.xita-header-simple {
    min-height: 64px;
}

.xita-home-section {
    min-height: 82vh;
}

.xita-home-logo {
    font-size: clamp(5rem, 13vw, 8.5rem);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: .95;
    user-select: none;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .08));
}

.xita-home-logo span {
    display: inline-block;
    margin: 0 .035em;
    transition: transform .2s ease, filter .2s ease;
}

.xita-home-logo span:hover {
    transform: translateY(-5px) scale(1.03);
    filter: brightness(1.04);
}

.xita-home-logo {
    font-size: clamp(5rem, 13vw, 8rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .95;
    color: #0f172a;
}

.xita-home-logo span {
    color: inherit;
}

.xita-home-subtitle {
    max-width: 680px;
    margin-inline: auto;
    color: var(--xita-muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.xita-search-wrap {
    max-width: 780px;
    margin-inline: auto;
}

.xita-search-input {
    height: 66px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    padding-inline: 1.8rem;
    font-size: 1.08rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.xita-search-input:hover,
.xita-search-input:focus {
    border-color: rgba(37, 99, 235, .38);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .14);
}

.xita-search-input:focus {
    transform: translateY(-1px);
}

.xita-btn {
    background: #111827;
    border: 1px solid #111827;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.xita-btn:hover {
    background: #111827;
    border: 1px solid #111827;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.xita-btn-primary {
    background: linear-gradient(135deg, #0b74ff, #38bdf8);
    border: 0;
    color: #fff;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(11, 116, 255, .18);
    transition: all .25s ease;
}

.xita-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(11, 116, 255, .25);
    color: #fff;
}

.xita-nav-link {
    color: var(--xita-muted);
    font-weight: 700;
    border-radius: 999px;
    padding: .6rem .95rem;
}

.xita-nav-link:hover {
    color: var(--xita-blue-dark);
    background: var(--xita-blue-soft);
}

.xita-hero-media {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 0 0 46px 46px;
    background: linear-gradient(135deg, var(--xita-blue), var(--xita-sky));
}

.xita-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(2, 12, 38, .78), rgba(37, 99, 235, .34)),
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, .45), transparent 18rem);
}

.xita-hero-media img {
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
}

.xita-card,
.xita-card-soft {
    border: 1px solid var(--xita-border);
    border-radius: var(--xita-radius);
    background: rgba(255, 255, 255, .90);
    box-shadow: var(--xita-shadow);
    backdrop-filter: blur(16px);
}

.xita-card-soft {
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.xita-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--xita-blue-dark);
    background: var(--xita-blue-soft);
    border: 1px solid rgba(37, 99, 235, .16);
    border-radius: 999px;
    padding: .48rem .78rem;
    font-size: .86rem;
    font-weight: 850;
}

.xita-section-title {
    margin-bottom: 1rem;
    font-weight: 950;
    letter-spacing: -.045em;
}

.xita-muted {
    color: var(--xita-muted);
}

.xita-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .58rem .85rem;
    color: var(--xita-blue-dark);
    background: #edf7ff;
    border: 1px solid rgba(37, 99, 235, .13);
    font-weight: 800;
}

.xita-search-title {
    font-weight: 950;
    letter-spacing: -.055em;
    color: black;
}

.xita-result-url {
    color: #15803d;
    font-size: .92rem;
}

.xita-result-card {
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, .09);
}

.xita-result-card h2 a {
    color: var(--xita-blue-dark);
}

.xita-result-card h2 a:hover {
    color: var(--xita-blue);
}

.xita-cta-band {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .35), transparent 18rem),
        linear-gradient(135deg, var(--xita-blue), var(--xita-sky));
    color: #fff;
}

.xita-footer {
    position: relative;
    overflow: hidden;
    color: #dbeafe;
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .16), transparent 18rem),
        linear-gradient(135deg, #061833, #0b3b88 55%, var(--xita-blue));
}

.xita-footer::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -140px;
    top: -190px;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
}

@media (max-width: 767px) {
    .xita-hero-media img {
        height: 240px;
    }

    .display-4 {
        font-size: 2.35rem;
    }

    .xita-card,
    .xita-card-soft {
        border-radius: 22px;
    }

    .xita-home-logo {
        letter-spacing: -.055em;
    }

    .xita-search-input {
        height: 60px;
        font-size: 1rem;
        padding-inline: 1.35rem;
    }
}