*{box-sizing:border-box}

body{
margin:0;
font-family:'Inter',-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Segoe UI,Roboto,Helvetica,Arial,sans-serif;
background:#f5f5f7;
color:#1d1d1f;
-webkit-font-smoothing:antialiased;
overflow-x:hidden;
}

/* NAVBAR */

.navbar{
display:flex;
align-items:center;
justify-content:center;
height:88px;
padding:0 40px;
overflow:visible;
--brand-panel-width:404px;
--brand-panel-cut-center:318px;
--brand-panel-cut-shift:82px;
font-family:'Inter',-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Segoe UI,Roboto,Helvetica,Arial,sans-serif;
font-synthesis:none;
text-rendering:optimizeLegibility;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
background:rgba(255,255,255,0.84);
backdrop-filter:saturate(190%) blur(22px);
-webkit-backdrop-filter:saturate(190%) blur(22px);
border-bottom:1px solid rgba(37,99,235,0.10);
box-shadow:0 10px 28px rgba(15,23,42,0.06);
position:fixed;
width:100%;
top:0;
z-index:20;
isolation:isolate;
}

.navbar::before{
content:"";
position:absolute;
left:0;
top:0;
bottom:0;
width:var(--brand-panel-width);
background:
linear-gradient(135deg, rgba(237,243,250,0.98), rgba(225,235,246,0.94));
box-shadow:
inset -1px 0 0 rgba(255,255,255,0.48),
0 8px 20px rgba(15,23,42,0.04);
clip-path:polygon(
0 0,
calc(var(--brand-panel-cut-center) - (var(--brand-panel-cut-shift) / 2)) 0,
calc(var(--brand-panel-cut-center) + (var(--brand-panel-cut-shift) / 2)) 100%,
0 100%
);
pointer-events:none;
z-index:0;
}

/* LOGO */

.logo-container{
position:absolute;
left:28px;
display:flex;
align-items:center;
height:100%;
z-index:1;
}

.logo-link{
position:relative;
display:flex;
align-items:center;
justify-content:center;
height:64px;
padding:0 10px 0 6px;
pointer-events:none;
}

.logo{
display:block;
height:134px;
opacity:.94;
filter:
drop-shadow(0 10px 18px rgba(15,23,42,0.05))
drop-shadow(0 2px 6px rgba(255,255,255,0.32));
}

/* MENU */

.menu{
display:flex;
gap:34px;
font-size:15px;
font-weight:700;
position:relative;
z-index:1;
}

.menu a{
text-decoration:none;
color:#183153;
opacity:.82;
font-weight:inherit;
letter-spacing:.01em;
transition:color .25s ease, opacity .25s ease, transform .25s ease;
}

.menu a:hover{
opacity:1;
transform:translateY(-1px);
}

.menu a.active{
opacity:1;
color:#0f4fd6;
}

.menu-nav-item--dropdown{
position:relative;
display:inline-flex;
align-items:center;
flex-shrink:0;
outline:none;
}

.menu-submenu-wrap{
position:absolute;
left:50%;
transform:translateX(-50%);
top:100%;
padding-top:10px;
min-width:100%;
opacity:0;
visibility:hidden;
pointer-events:none;
transition:opacity .2s ease, visibility .2s ease;
z-index:100;
}

/* Értékbecslő csak legördülőben, egér az Elemzések felett (érintőn nincs hover) */
@media (hover:hover){
.menu-nav-item--dropdown:hover .menu-submenu-wrap{
opacity:1;
visibility:visible;
pointer-events:auto;
}
}

.menu-submenu{
min-width:200px;
padding:6px 0;
background:#ffffff;
border-radius:14px;
box-shadow:0 16px 40px rgba(15,23,42,0.12);
border:1px solid rgba(37,99,235,0.1);
text-align:center;
}

.menu-submenu__link{
display:block;
padding:10px 18px;
text-align:center;
font-size:14px;
font-weight:700;
color:#183153;
text-decoration:none;
letter-spacing:.01em;
opacity:.88;
transition:background .2s ease, opacity .2s ease, color .2s ease;
border-radius:10px;
margin:2px 8px;
}

.menu-submenu__link:hover{
opacity:1;
background:rgba(37,99,235,0.08);
color:#0f4fd6;
}

.menu-submenu__link.active{
opacity:1;
color:#0f4fd6;
background:rgba(37,99,235,0.06);
}

/* SEARCH */

.search-container{
position:absolute;
right:80px;
display:flex;
align-items:center;
z-index:30;
}

.search-container input{
width:240px;
padding:10px 18px;
border-radius:22px;
border:1px solid rgba(37,99,235,0.10);
background:rgba(255,255,255,0.92);
font-size:14px;
color:#183153;
outline:none;
transition:all .25s ease;
box-shadow:0 6px 16px rgba(15,23,42,0.04);
}

.search-container input::placeholder{
color:#8da0b8;
}

.search-container input:focus{
border-color:rgba(37,99,235,0.24);
box-shadow:0 0 0 4px rgba(37,99,235,0.08);
}

/* HAMBURGER */

.hamburger{
position:absolute;
right:28px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
width:42px;
height:42px;
gap:5px;
cursor:pointer;
border:1px solid rgba(24,49,83,0.08);
border-radius:14px;
padding:0;
background:rgba(255,255,255,0.72);
box-shadow:0 8px 18px rgba(15,23,42,0.06);
transition:background .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease;
appearance:none;
z-index:31;
}

.hamburger span{
width:22px;
height:2px;
border-radius:999px;
background:#314761;
transition:background .25s ease, transform .25s ease, opacity .25s ease;
}

.hamburger:hover{
background:rgba(255,255,255,0.92);
border-color:rgba(24,49,83,0.14);
box-shadow:0 12px 22px rgba(15,23,42,0.1);
transform:translateY(-1px);
}

.hamburger:focus-visible{
outline:2px solid rgba(15,79,214,0.35);
outline-offset:3px;
}

.hamburger.active span{
background:#183153;
}

.hamburger.active{
background:rgba(243,247,252,0.96);
border-color:rgba(24,49,83,0.16);
box-shadow:0 14px 28px rgba(15,23,42,0.12);
}

.hamburger.active span:nth-child(1){
transform:translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
opacity:0;
transform:scaleX(.7);
}

.hamburger.active span:nth-child(3){
transform:translateY(-7px) rotate(-45deg);
}

.nav-dropdown{
position:absolute;
top:76px;
right:28px;
width:290px;
padding:18px;
border-radius:22px;
background:rgba(255,255,255,0.96);
border:1px solid rgba(37,99,235,0.12);
box-shadow:0 20px 44px rgba(15,23,42,0.16);
backdrop-filter:saturate(180%) blur(18px);
-webkit-backdrop-filter:saturate(180%) blur(18px);
display:none;
z-index:25;
}

.nav-dropdown.open{
display:block;
}

.nav-dropdown-badge{
display:inline-flex;
align-items:center;
padding:6px 10px;
border-radius:999px;
background:rgba(37,99,235,0.08);
color:#0f4fd6;
font-size:11px;
font-weight:700;
letter-spacing:.08em;
text-transform:uppercase;
}

.nav-dropdown-title{
margin-top:12px;
font-size:20px;
font-weight:700;
color:#183153;
}

.nav-dropdown-text{
margin-top:8px;
font-size:14px;
line-height:1.5;
color:#51657e;
}

.nav-dropdown-action{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:16px;
padding:7px 12px;
border-radius:14px;
background:linear-gradient(135deg, #1d4ed8, #2563eb);
color:#ffffff;
text-decoration:none;
font-size:12px;
font-weight:700;
opacity:.55;
pointer-events:none;
}
#navLogoutBtn{
pointer-events:auto;
opacity:1;
cursor:pointer;
background:linear-gradient(135deg,#dc2626,#b91c1c);
}

#navGlobalPageLink{
pointer-events:auto;
opacity:1;
cursor:pointer;
}

@media(max-width:1180px){
.navbar{
--brand-panel-width:380px;
--brand-panel-cut-center:295px;
--brand-panel-cut-shift:82px;
}

.logo-link{
height:58px;
padding:0 12px 0 8px;
}

.logo{
height:122px;
}
}
/* HERO */

.hero{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
padding-top:100px;
}

.hero img{
width:1600px;
max-width:140vw;
opacity:.18;
}

/* SEARCH RESULTS */

#searchResults{
position:absolute;
top:44px;
right:0;
width:320px;
max-height:min(430px, calc(100vh - 130px));
background:white;
border-radius:14px;
box-shadow:0 20px 40px rgba(0,0,0,0.15);
display:none;
flex-direction:column;
z-index:40;
overflow-y:auto;
overscroll-behavior:contain;
scrollbar-width:thin;
scrollbar-color:#b9c8df transparent;
}

#searchResults::-webkit-scrollbar{
width:8px;
}

#searchResults::-webkit-scrollbar-track{
background:transparent;
}

#searchResults::-webkit-scrollbar-thumb{
background:#b9c8df;
border-radius:999px;
}

.search-item{
padding:12px 16px;
cursor:pointer;
}

.search-item-meta{
display:flex;
align-items:center;
gap:8px;
margin-bottom:4px;
}

.search-item-type{
display:inline-flex;
align-items:center;
height:20px;
padding:0 8px;
border-radius:999px;
background:#eef4ff;
color:#1a4fa0;
font-size:10px;
font-weight:800;
letter-spacing:.04em;
text-transform:uppercase;
}

.search-item-title{
font-size:14px;
font-weight:600;
color:#183153;
}

.search-item-subtitle{
margin-top:4px;
font-size:12px;
line-height:1.4;
color:#6b7c93;
}

.search-item:hover{
background:#f5f5f7;
}

.search-item--all{
border-top:1px solid #f0f0f5;
background:#fafbff;
border-radius:0 0 14px 14px;
}
.search-item--all:hover{
background:#eef4ff;
}

.search-item-links{
display:flex;
gap:6px;
margin-top:8px;
flex-wrap:wrap;
}

.search-item-link-btn{
font-size:11px;
font-weight:600;
padding:4px 10px;
border-radius:20px;
border:1px solid #c8d8f0;
background:#eef4ff;
color:#1a4fa0;
cursor:pointer;
transition:background 0.15s, color 0.15s;
}

.search-item-link-btn:hover{
background:#1a4fa0;
color:#fff;
border-color:#1a4fa0;
}

/* MOBILE */

@media(max-width:900px){

.navbar{
--brand-panel-width:338px;
--brand-panel-cut-center:262px;
--brand-panel-cut-shift:82px;
}

.logo-link{
height:50px;
padding:0 8px 0 6px;
}

.logo{
height:106px;
}

.menu{
gap:18px;
font-size:14px;
overflow-x:auto;
max-width:calc(100% - 220px);
padding-inline:8px;
scrollbar-width:none;
}

.menu::-webkit-scrollbar{
display:none;
}

.hamburger{
display:flex;
}

.search-container{
right:84px;
}

.search-container input{
width:200px;
}

.nav-dropdown{
right:16px;
width:min(290px, calc(100vw - 32px));
}

#searchResults{
background:#ffffff;
color:#111;
}

.search-item{
color:#111;
}

.search-item:hover{
background:#f3f4f6;
color:#000;
}
}
