html {
    background-color: #111112;
    font-family: 'Inter', sans-serif;
    color: #f1f5f9;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #111112;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    user-select: none;
    vertical-align: middle;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.2em 2.5em 0 2.5em;
    box-sizing: border-box;
}
.midNav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    font-weight: 400;
}
.companyLogoLink {
    position: absolute;
    left: 2.5em;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.companyLogoLink:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}
.companyLogoImg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}
.navLink {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95em;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}
.navLink:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}
.navLink:active {
    color: #fff;
}

.navSearchBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #161619;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.navSearchBtn:hover {
    background: #1c1c20;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.navSearchBtn .material-symbols-outlined {
    font-size: 16px;
}
.navSearchBtn kbd {
    font-family: 'Google Sans Code', monospace;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 1px 5px;
    color: rgba(255, 255, 255, 0.5);
}

.mainContent {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 1rem 4rem 1rem;
}

#heroMain {
    color: #ffffff;
    font-size: 2.2em;
    text-align: center;
    font-weight: 500;
    letter-spacing: -0.04em;
    margin: 3.5rem 0 0.4rem 0;
}

#heroSecondary {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    text-align: center;
    letter-spacing: -0.015em;
    margin: 0.4rem 0 2.2rem 0;
}

.installComponent {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.install-card {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #161619;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.install-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.install-header {
    display: flex;
    align-items: center;
    padding: 4px 14px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #161619;
}

.install-tabs {
    display: flex;
    position: relative;
    gap: 8px;
}

.install-tab-btn {
    position: relative;
    background: none;
    border: none;
    padding: 10px 14px 11px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: color 0.18s ease;
    user-select: none;
    outline: none;
}

.install-tab-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

.install-tab-btn.active {
    color: #ffffff;
    font-weight: 500;
}

.install-tab-btn:focus-visible {
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px 2px 0 0;
    pointer-events: none;
    transition: left 0.22s cubic-bezier(0.4, 0, 0.2, 1), width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-body {
    position: relative;
    padding: 8px;
    background: #161619;
}

.snippet-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.snippet-panel.active {
    display: block;
    opacity: 1;
}

.snippet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    user-select: none;
    outline: none;
}

.snippet-row:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.snippet-row:active {
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(0.997);
}

.snippet-row:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.code-text {
    font-family: 'Google Sans Code', ui-monospace, monospace;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.code-text::-webkit-scrollbar {
    display: none;
}

.token-cmd {
    color: #f1f5f9;
    font-weight: 500;
}

.token-url {
    color: #8ea0b8;
}

.token-param {
    color: #00f59b;
    font-weight: 500;
}

.copy-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
}

.copy-feedback {
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #00f59b;
    pointer-events: none;
}

.snippet-row.copied .copy-feedback {
    opacity: 1;
    transform: translateX(0);
}

.copy-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.15s ease;
}

.copy-icon-btn .material-symbols-outlined {
    font-size: 18px;
}

.snippet-row:hover .copy-icon-btn {
    color: #ffffff;
}

.copy-icon-btn .icon-check {
    display: none;
    color: #00f59b;
}

.snippet-row.copied .copy-icon-btn .icon-copy {
    display: none;
}

.snippet-row.copied .copy-icon-btn .icon-check {
    display: inline-flex;
    animation: checkPop 0.22s ease-out;
}

@keyframes checkPop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.search-result-url {
    font-family: 'Google Sans Code', monospace;
    font-size: 0.74rem;
    color: #00f59b;
    margin-top: 3px;
    letter-spacing: -0.01em;
}

.search-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    box-sizing: border-box;
}

.search-modal-backdrop.open {
    display: flex;
}

.search-modal-panel {
    background: #161619;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: modalSlideIn 0.18s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-input-icon {
    color: rgba(255, 255, 255, 0.45);
    font-size: 20px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.search-close-btn:hover {
    color: #ffffff;
}

.search-results-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.12s ease;
    cursor: pointer;
}

.search-result-item:hover,
.search-result-item.selected {
    background-color: rgba(255, 255, 255, 0.08);
}

.search-result-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-icon {
    color: #00f59b;
    font-size: 18px;
}

.search-result-title {
    font-size: 0.92rem;
    font-weight: 500;
}

.search-result-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.search-modal-footer {
    padding: 10px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.search-modal-footer kbd {
    font-family: 'Google Sans Code', monospace;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 1px 4px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 820px) {
    .midNav {
        gap: 1em;
    }
    .navSearchBtn .navSearchLabel,
    .navSearchBtn kbd {
        display: none;
    }
    .companyLogoLink {
        position: static;
        transform: none;
    }
    .navbar {
        justify-content: space-between;
        padding: 1.2em 1.5em 0 1.5em;
    }
}
