/* Header / Nav / Drawer — matching index.html */

/* ── Header ── */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.08));
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    font-family: 'Inter', sans-serif;
}
.header a { text-decoration: none; color: inherit; }
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
}
@media (min-width: 1024px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: 0 40px;
    }
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-logo img {
    height: 32px;
    width: auto;
}
.header-logo span {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    color: var(--foreground, #1e293b);
}

.desktop-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
}
.nav-link-simple {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    transition: color 0.2s;
}
.nav-link-simple:hover { color: var(--primary, var(--primary)); }
.nav-link-simple i { margin-right: 4px; }

.header-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
@media (min-width: 1024px) {
    .header-actions { display: flex; }
}
.header .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary, var(--primary));
    background: rgba(52,168,211,0.1);
    border: 1px solid rgba(52,168,211,0.2);
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.header .lang-toggle:hover {
    background: rgba(52,168,211,0.18);
}

.header .btn-login {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted, #64748b);
    border: 1px solid var(--hairline, rgba(0,0,0,0.08));
    transition: all 0.2s;
    text-decoration: none;
}
.header .btn-login:hover {
    color: var(--foreground, #1e293b);
    background: #f8fafc;
}
.header .btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    background: var(--primary, var(--primary));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 8px 24px -8px rgba(52,168,211,0.5);
    transition: all 0.2s;
    text-decoration: none;
}
.header .btn-get-started:hover {
    filter: brightness(1.08);
}
.header .btn-get-started .arrow {
    opacity: 0.7;
    transition: transform 0.2s;
}
.header .btn-get-started:hover .arrow {
    transform: translateX(2px);
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (min-width: 1024px) {
    .mobile-header-actions { display: none; }
}
.hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--hairline, rgba(0,0,0,0.08));
    background: #ffffff;
    color: var(--foreground, #1e293b);
    cursor: pointer;
}
.hamburger-btn svg { width: 20px; height: 20px; }

/* ── Mobile Drawer ── */
.drawer a { text-decoration: none; color: inherit; }
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-family: 'Inter', sans-serif;
}
.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    border-left: 1px solid var(--hairline, rgba(0,0,0,0.08));
    box-shadow: -18px 0 42px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.08));
    height: 64px;
}
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--hairline, rgba(0,0,0,0.08));
    background: #ffffff;
    color: var(--foreground, #1e293b);
    cursor: pointer;
}
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.drawer-group {
    margin-bottom: 24px;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground, #1e293b);
    border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.08));
    text-decoration: none;
}
.drawer-link i {
    width: 24px;
    text-align: center;
    color: var(--primary, var(--primary));
}
.drawer-link:hover { color: var(--primary, var(--primary)); }
.drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--hairline, rgba(0,0,0,0.08));
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-footer .btn-login {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
}
.drawer-footer .btn-get-started {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    justify-content: center;
}

/* ── Spacing for pages using this nav ── */

/* ── Verification Badge (Global Public) ── */
.tm-verification-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 0;
    margin-left: 4px;
}
.tm-verification-mark {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.tm-verification-mark svg {
    width: 100%;
    height: 100%;
}
.tm-verification-mark svg path {
    fill: #1d9bf0 !important;
}
.verification-mark {
    filter: none !important;
}
