body {
    background-color: #F5F5F7;
    color: #1D1D1F;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(200,200,210,0.8) 0%, transparent 70%); }
.glow-2 { top: 40%; right: -20%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(230,230,235,0.9) 0%, transparent 70%); filter: blur(150px); }

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.text-gradient-silver {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-blur {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-brand-logo {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
}

::-webkit-scrollbar { width: 0px; background: transparent; }

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

#toast-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
#toast-container .toast {
    background: #1D1D1F;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#mobile-menu {
    display: none;
}
#mobile-menu.is-open {
    display: flex;
    opacity: 1;
}

.site-home-auth-btn {
    height: 2rem;
    padding: 0 1rem;
    background: #1D1D1F;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}
.site-home-auth-btn:hover { background: #000; color: #fff; }

.site-home-nav-user-menu { position: relative; }
.site-home-nav-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 2rem;
    padding: 0 0.875rem;
    border-radius: 9999px;
    background: #1D1D1F;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
.site-home-nav-user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 12rem;
    background: #fff;
    border: 1px solid #E8E8ED;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 60;
}
.site-home-nav-user-menu.is-open .site-home-nav-user-dropdown { display: block; }
.site-home-nav-user-dropdown button,
.site-home-nav-user-dropdown a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.625rem 0.75rem;
    border: none;
    background: none;
    border-radius: 0.5rem;
    font-size: 13px;
    color: #1D1D1F;
    text-decoration: none;
    cursor: pointer;
}
.site-home-nav-user-dropdown button:hover,
.site-home-nav-user-dropdown a:hover { background: #F5F5F7; }
.site-home-nav-user-email {
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    color: #86868b;
    border-bottom: 1px solid #E8E8ED;
    margin-bottom: 0.25rem;
    word-break: break-all;
}
.site-home-nav-user-logout { color: #ef4444 !important; }

.lang-switcher { position: relative; }
.lang-switcher-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 13px;
    font-weight: 500;
    color: #1D1D1F;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}
.lang-switcher-trigger:hover { color: #000; }
.lang-switcher-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 10rem;
    background: #fff;
    border: 1px solid #E8E8ED;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 60;
}
.lang-switcher-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    background: none;
    border-radius: 0.5rem;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.lang-switcher-item:hover { background: #F5F5F7; }
.lang-switcher-item.is-active { font-weight: 600; }
.lang-check-placeholder { width: 1rem; }

.mobile-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mobile-lang-item {
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #E8E8ED;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}
.mobile-lang-item.is-active { border-color: #1D1D1F; font-weight: 600; }

.pricing-card-btn {
    width: 100%;
    height: 3.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
